/*==================================================
CUSTOM - OVERWRITES THE SASS GENERATED STYLESHEET
==================================================*/

.hidden{display:none!important}

.s2022-cookie-bar {
    --padding: 35px;
    --cookie-background-color: #eaeaea;
    --cookie-text-color: #000;
    --cookie-title-color: #000;
    --cookie-button-color:  #98664d;
    --cookie-button-text-color: #000;
    --cookie-switch-color:  #98664d;
    --cookie-button-outline-color:  #98664d;
    --cookie-border-color: #98664d;
    --title-size: 16px;
    --text-size: 14px;
    --button-text-size: 14px;
    --title-fw: 600;
    --text-fw: 300;
    --anchor-fw: 500;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9000;
    width: 100%;
    height: fit-content;
    background-color: var(--cookie-background-color);
}

.s2022-cookie-bar, .s2022-cookie-bar div {
    box-sizing: border-box;
}

.s2022-cookie-bar h1,
.s2022-cookie-bar h2,
.s2022-cookie-bar h3,
.s2022-cookie-bar h4,
.s2022-cookie-bar h5,
.s2022-cookie-bar h6,
.s2022-cookie-bar p,
.s2022-cookie-bar a {
    margin-top: 0;
    color: var(--cookie-text-color);
    font-family: inherit;
    font-weight: var(--title-fw);
    margin-bottom: 20px;
}

.s2022-cookie-bar p {
    font-size: var(--text-size);
    font-weight: var(--text-fw);
}

.s2022-cookie-bar a {
    font-size: var(--text-size);
    font-weight: var(--anchor-fw);
}

.s2022-cookie-bar .cb-button {
    font-size: var(--button-text-size);
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .s2022-cookie-bar {
        --title-size: 16px;
        --text-size: 14px;
        --button-text-size: 14px;
    }
}

.s2022-cookie-bar .cb-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    min-height: 50px;
    padding: 0 25px;
    line-height: 1.5;
    cursor: pointer;
    text-decoration: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    overflow: hidden;
    font-weight: 500;
    background-color: var(--cookie-button-color);
    color: #fff;
}

.s2022-cookie-bar .cb-button:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: none;
}

.s2022-cookie-bar .cb-button:hover:after {
    width: 120%;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.4s ease-out;
}

.s2022-cookie-bar .cb-button--outline {
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid var(--cookie-button-outline-color);
    color: var(--cookie-button-outline-color);
}

.s2022-cookie-bar .cb-button--outline:hover {
    background-color: var(--cookie-button-color);
    border: 1px solid var(--cookie-button-color);
    color: #fff;
}

.s2022-cookie-bar .cb-button--outline:hover:after {
    display: none;
}

.s2022-cookie-bar__basic {
    display: flex;
    justify-content: space-between;
    height: fit-content;
    width: 100%;
    padding: calc(var(--padding) * 1.3) var(--padding);
}

.s2022-cookie-bar__advanced {
    position: fixed;
    display: flex;
    justify-content: stretch;
    flex-direction: column;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: +20;
    max-height: 90%;
    width: 30vw;
    background-color: var(--cookie-background-color);
    padding: var(--padding);
    box-shadow: 3px 3px 20px rgba(87, 87, 87, 0.5);
}

.s2022-cookie-bar__advanced p {
    margin-bottom: 0;
    max-width: 75%;
}

.s2022-cookie-bar__advanced .cb-button {
    margin: 20px 0;
}

.s2022-cookie-bar__title {
    font-size: var(--title-size);
    max-width: 75%;
}

.s2022-cookie-bar__option-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
}

.s2022-cookie-bar__option {
    position: relative;
    min-height: 30%;
    border-bottom: 1px solid var(--cookie-border-color);
    padding: 20px 0;
}

.s2022-cookie-bar__option:last-of-type {
    border-color: transparent;
}

.s2022-cookie-bar__info {
    display: flex;
    flex-direction: column;
    width: 45%;
}

.s2022-cookie-bar__link {
    text-decoration: underline;
    transition: opacity 0.3s;
}

.s2022-cookie-bar__link:hover {
    opacity: 0.7;
}

.s2022-cookie-bar__subtitle {
    font-size: var(--title-size);
}

.s2022-cookie-bar__buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: fit-content;
}

.s2022-cookie-bar__buttons * {
    margin-bottom: 0;
    font-size: 18px;
}

.s2022-cookie-bar__buttons *:first-child {
    margin-bottom: 10px;
}

.s2022-cookie-bar__background {
    position: absolute;
    top: 0;
    background-color: #999;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 38px;
}

.s2022-cookie-bar__switch {
    position: absolute;
    right: 0;
    top: 20px;
    width: 55px;
    height: 30px;
}

.s2022-cookie-bar__switch input {
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.s2022-cookie-bar__switch input[checked="true"] ~ .s2022-cookie-bar__slider {
    left: auto;
    right: 2px;
}

.s2022-cookie-bar__switch input[checked="true"] ~ .s2022-cookie-bar__slider:after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" xml:space="preserve"><path d="M202.624 478.016 0 291.36l70.512-76.56 121.456 111.856L431.44 33.984 512 99.904z"/></svg>');
    background-size: 12px;
}

.s2022-cookie-bar__switch input[checked="true"] ~ .s2022-cookie-bar__background {
    background-color: var(--cookie-switch-color);
}

.s2022-cookie-bar__slider {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background-color: var(--cookie-background-color);
    border-radius: 50%;
}

.s2022-cookie-bar__slider:after {
    content: '';
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" xml:space="preserve"><path d="M512 59.076 452.922 0 256 196.922 59.076 0 0 59.076 196.922 256 0 452.922 59.076 512 256 315.076 452.922 512 512 452.922 315.076 256z"/></svg>');
    width: 26px;
    height: 26px;
    display: block;
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.s2022-cookie-bar__veil {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8999;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
}

.disabled .s2022-cookie-bar__switch * {
    cursor: not-allowed;
}

.s2022-cookie-bar .hide {
    display: none;
}

@media (max-width: 991.98px) {
    .s2022-cookie-bar__basic {
        flex-wrap: wrap;
    }
    .s2022-cookie-bar__info {
        width: 100%;
        margin-bottom: var(--padding);
    }
    .s2022-cookie-bar__advanced {
        width: 60vw;
    }
    .s2022-cookie-bar__buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .s2022-cookie-bar__advanced .cb-button {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .s2022-cookie-bar__basic {
        padding: var(--padding);
    }
    .s2022-cookie-bar__basic p {
        width: 100%;
        padding: 0;
    }
    .s2022-cookie-bar__info {
        justify-content: flex-start;
    }
    .s2022-cookie-bar__advanced {
        top: 0;
        left: 0;
        transform: translate(0, 0);
        height: 100%;
        max-height: 100%;
        width: 100%;
        z-index: +1;
    }
    .s2022-cookie-bar__advanced .cb-button {
        margin-top: auto;
    }
    .s2022-cookie-bar__option {
        min-height: 25%;
        width: 100%;
    }
    .s2022-cookie-bar__buttons {
        width: 100%;
    }
    .s2022-cookie-bar__buttons * {
        font-size: 16px;
    }
}
