#sta-cc {
    /* position: fixed;
    z-index: 2147483647; */
}

#sta-cc [hidden] {
    display: none;
}

#sta-cc h1, #sta-cc h2, #sta-cc h3, #sta-cc h4, #sta-cc h5, #sta-cc h6 {
    color: #fafafa !important;
}

#sta-cc a {
    text-decoration: underline !important;
    color: #80b8d9 !important;
}

#sta-cc a:hover {
    text-decoration: none !important;
    color: #80a9cd !important;
}

#sta-cc a:active, #sta-cc a:focus {
    text-decoration: none !important;
    color: #202024 !important;
    background-color: #FFB400;
    outline: 3px solid #FFB400;
}

#sta-cc__cookie-icon {
    position: fixed;
    bottom: 0;
    left: 0;
    border: 2px solid #202024;
    background: #fafafa;
    color: #202024;
    z-index: 99;
    cursor: pointer;
}

#sta-cc__cookie-icon:hover {
    background: #f0f0f0;
}


#sta-cc .btn {
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    outline: none;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    font-size: 1em;
}

#sta-cc .btn:active, #sta-cc .btn:focus {
    outline: 3px solid #FFB400;
}

#sta-cc .btn-tertiary-2 {
    transition: all 200ms ease-out;
    color: #fff;
    background-color: #c60c46;
}
#sta-cc .btn-tertiary-2:hover {
    background-color: #a40a3a;
}
#sta-cc .btn-tertiary-1 {
    transition: all 200ms ease-out;
    color: #fff;
    background-color: #00853f;
}
#sta-cc .btn-tertiary-1:hover {
    background-color: #00612e;
}

#sta-cc__cookie-icon {
    padding: 10px 5px;
}

#sta-cc__cookie-icon p {
    margin: 0 !important;
}

#sta-cc__cookie-icon:focus {
    outline: 3px solid #FFB400;
}

#sta-cc__cookie-prefs {
    /* Grid */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: min-content 1fr;
    gap: 10px;

    /* Sidebar view */
    /* display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    bottom: 0;
    max-width: 520px;
    height: 100%; */

    background-color: #202024;
    color: #fafafa;

    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    overflow-y: auto;

    z-index: 214748364;
}

.et_divi_theme #page-container ~ #sta-cc {
    position: fixed;
    z-index: 2147483647;
    left: 0;
    bottom: 0;
    width: 100%;
}



#sta-cc__cookie-prefs--intro {
    /* Grid */
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr min-content;
    gap: 5px;
}

#sta-cc__cookie-prefs--intro h2 {
    /* Grid */
    grid-column: 1 / span 3;
    grid-row: 1;

}

.sta-cc__cookie-information {
    /* Grid */
    grid-column: 1 / span 3;
}

.sta-cc__notification-buttons {
    /* Grid */
    grid-column: span 2 / -1;
    justify-self: end;

    /* Flex */
    flex-shrink: 0;
}

#sta-cc__close-prefs {
    align-self: flex-end;

    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    grid-column: span 1 / -1;
}

#sta-cc__cookie-prefs .form-group ul {
    padding-left: 0 !important;
    margin-bottom: 5px !important;
}

#sta-cc__cookie-prefs .form-group ul li{
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
    align-items: center;
}

#sta-cc__cookie-prefs input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: #202024;
    width: 25px;
    height: 25px;

    display: grid;
    place-content: center;
}

#sta-cc__cookie-prefs input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
}

#sta-cc__cookie-prefs input[type="checkbox"]:checked::before {
    content: "\2714";
}

#sta-cc__cookie-prefs label {
    cursor: pointer;
    margin-left: 5px;
}

#sta-cc__cookie-prefs input[type="checkbox"]:focus {
    outline: 3px solid #FFB400;
}

#sta-cc__cookie-prefs .sta-third-party__alert {
    background: #0f0f11;
    border-radius: 5px;
    padding: 20px;
}

#sta-cc__notification {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

    padding: calc(1.5vw + 1em) 100px;
    background-color: #202024;
    color: #fafafa;
    height: auto;
    z-index: 10;
}

.sta-cc__notification-text {
    margin-right: 10px;
}

.sta-cc__notification-text h2 {
    /*font-size: inherit;*/
    line-height: 1.2;
    margin-bottom: 5px;
}

.sta-cc__notification-text p {
    margin: 0;
}

.sta-cc__notification-buttons button {
    margin: 4px 8px 4px 0;
    white-space: normal;
    word-wrap: break-word;
}

@media screen and (max-width: 1200px) {
    #sta-cc__notification {
        padding: calc(1.5vw + 1em) 16px;
    }
}

@media screen and (max-width: 1110px) {
    #sta-cc__cookie-prefs .sta-cc__notification-buttons {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    #sta-cc__cookie-prefs {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: min-content min-content min-content;
    }
}

@media screen and (max-width: 980px) {
    #sta-cc__notification {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

@media screen and (max-width: 610px) {
    #sta-cc__cookie-prefs--intro {
        display: flex;
        flex-direction: column;
    }
    #sta-cc__cookie-prefs {
        /* Grid */
        /* display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: min-content 1fr;
        gap: 10px; */

        /* Sidebar view */
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        bottom: 0;
        max-width: 520px;
        height: 100%;
        width: 90%;
    }
    #sta-cc__cookie-prefs .sta-cc__notification-buttons {
        align-items: flex-start;
    }

}
