/**
 * Cookie banner
 */
 .cn-info {
    background: #fff;
    border: 0;
    bottom: 30px;
    box-shadow: 0px 5px 20px rgba(49, 83, 78, 0.5);
    font-size: 16px;
    font-weight: 400;
    height: auto;
    left: 50%;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0;
    max-width: 1020px;
    min-width: auto;
    padding: 30px 30px 20px 30px;
    position: fixed;
    text-align: center;
    transform: translateX(-50%);
    width: 80%;
    z-index: 100000000000;
}

.cn-info,
.cn-info *,
.cn-info-extended,
.cn-info-extended * {
    box-sizing: border-box;
}

.cn-info.is-hidden {
    display: none;
}

.cn-info,
.cn-info * {
    box-sizing: border-box;
}

.cn-info-text p {
    margin-top: 0;
}

.cn-info-buttons {
    margin-top: 20px;
    text-align: center;
}

.cn-info-buttons .wp-block-button {
    display: inline-block;
    min-width: 140px;
}

.cn-info-extended .wp-block-button,
.cn-info-buttons .wp-block-button {
    margin: 10px;
    white-space: nowrap;
}

.cn-info-extended {
    background: #fff;
    box-shadow: 0px 5px 20px rgba(49, 83, 78, 0.5);
    font-size: 16px;
    line-height: 1.4;
    left: 50%;
    max-height: 90vh;
    max-width: 960px;
    overflow: hidden;
    padding: 0 0 80px 0;
    position: fixed;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 90%;
    z-index: 100000000000;
}

.cn-info-extended.is-hidden {
    opacity: 0;
    pointer-events: none;
    top: 100%;
}

.cn-info-extended-wrapper {
    height: calc(90vh - 80px);
    overflow: auto;
    position: relative;
    padding: 30px;
}

.cn-info-extended-text>p:first-child {
    margin-top: 0;
}

.cn-info-extended-buttons {
    align-items: center;
    background: #f0f0f0;
    box-shadow: 0 -8px 8px rgba(0, 0, 0, .075);
    bottom: 0;
    display: flex;
    height: 80px;
    left: 0;
    padding: 0 30px;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 100000000001;
}

.cn-info-extended-buttons .wp-block-button + .wp-block-button {
    margin-left: auto;
}

.cn-info-extended-checkboxes {
    list-style-type: none;
    margin: 30px -30px;
    padding: 0;
}

.cn-info-extended .cn-consent {
    padding: 15px 30px 20px 30px;
    position: relative;
}

.cn-info-extended .cn-consent input[type="checkbox"] {
    opacity: 0;
    left: 0;
    top: 25px;
    width: 15px;
}

.cn-info-extended .cn-consent input[type="checkbox"]:before,
.cn-info-extended .cn-consent input[type="checkbox"]:after {
    display: none;
}

.cn-info-extended .cn-consent input[type="checkbox"]:checked+.cn-consent-label-text:before {
    opacity: 1;
}

.cn-info-extended .cn-consent input[type="checkbox"]:disabled+.cn-consent-label-text:after,
.cn-info-extended .cn-consent input[type="checkbox"]:disabled+.cn-consent-label-text:before {
    opacity: .5;
    cursor: not-allowed;
}

.cn-info-extended .cn-consent-label {
    position: relative;
}

.cn-info-extended .cn-consent:nth-child(odd) {
    background: #f5f5f5;
}

.cn-info-extended .cn-consent-label-text {
    color: #444;
    font-size: 16px;
    font-weight: bold;
    margin-left: 15px;
}

.cn-info-extended .cn-consent-label-text:before {
    border: 2px solid #333;
    border-width: 0 2px 2px 0;
    content: "";
    height: 10px;
    left: 7px;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 15px;
    transform: translateY(-11px) rotate(45deg);
    transition: all .25s ease;
    width: 7px;
    z-index: 1;
}

.cn-info-extended .cn-consent-label-text:after {
    background: #fff;
    border: 2px solid #333;
    border-radius: 2px;
    content: "";
    height: 20px;
    left: 0;
    position: absolute;
    top: 0px;
    transition: all .25s ease;
    width: 20px;
}

.cn-info-extended .cn-consent-description {
    font-size: 14px;
    margin: 10px 0 0 0;
}

.cn-info-extended .cn-info-extended-button-accept-all {
    display: inline-block;
    margin: 10px 0 0 0;
}

.cn-info-extended-buttons .wp-block-button {
    margin-left: auto;
    margin-right: 0;
}

.cn-info-extended-buttons .wp-block-button + .wp-block-button {
    margin-left: auto;
}

.cn-info-buttons .cn-info-button-reject-all.wp-block-button {
    background-color: #fff;
    border: 2px solid var(--wp--preset--color--custom-primary-color);
    color: var(--wp--preset--color--custom-primary-color);
}

.cn-info-buttons .cn-info-button-reject-all.wp-block-button:active,
.cn-info-buttons .cn-info-button-reject-all.wp-block-button:focus,
.cn-info-buttons .cn-info-button-reject-all.wp-block-button:hover {
    border: 2px solid var(--wp--preset--color--custom-base-color);
    color: var(--wp--preset--color--custom-base-color);
}

@media (max-width: 960px) {
    .cn-info {
        bottom: 0;
        width: 100%;
    }
}

@media (max-width: 720px) {

    .cn-info,
    .cn-info-extended {
        font-size: 14px;
    }

    .cn-info-extended {
        max-height: 98%;
        max-width: 98%;
        width: 98%;
    }

    .cn-info-extended-wrapper {
        height: calc(98vh - 80px);
    }

    .cn-info-extended .cn-consent-label-text:before {
        top: 12px;
    }

    .cn-info-extended .cn-consent-label-text:after {
        top: -3px;
    }
}

@media (max-width: 600px) {
    .cn-info {
        padding: 20px 10px 10px 10px;
    }

    .cn-info,
    .cn-info-extended {
        font-size: 13px;
    }

    .cn-info-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    .cn-info-buttons .wp-block-button {
        margin: 5px;
    }

    .cn-info-buttons .cn-info-button-show-extended {
        margin-bottom: 10px;
        width: 100%;
    }

    .cn-info-buttons .wp-block-button {
        width: 45%;
    }
}
