#cookieprefs {
    width: 700px;
    max-width: 100%;
    right: 20px;
    bottom: 0;
    padding: 30px;
    box-sizing: border-box;
    font-size: .9em;
    background-color: #fff;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.1);
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: opacity 300ms ease-in-out;
    opacity: 0;
    scrollbar-width: thin;
}
#cookieprefs.not-static {
    position: fixed;
}
#cookieprefs.appear {
    transform: translateY(0%);
    opacity: 1;
}
#cookieprefs .cookietitle {
    font-size: 1.4em;
    font-weight: 600;
}
#cookieprefs .cookieintro {
    margin-bottom: 1.2em;
    position: relative;
}

#cookieprefs .cookieopt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 1em;
    margin-bottom: 1em;
}
#cookieprefs .cookieopt details {
    flex-grow: 1;
    text-align: left;
}
#cookieprefs .cookieopt details summary {
    cursor: pointer;
    font-weight: 600;
}
#cookieprefs .cookieopt details p {
    margin-top: 20px;
    width: calc(100% + 60px);
}
#cookieprefs .cookieopt label.cookieopt-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    min-width: 60px;
    height: 30px;
}
#cookieprefs .cookieopt label.cookieopt-toggle .toggle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background-color: #ccc;
    transition: background-color 300ms ease-in-out;
}
#cookieprefs .cookieopt label.cookieopt-toggle .toggle-background:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--background);
    transition: transform 300ms ease-in-out;
}
#cookieprefs .cookieopt label.cookieopt-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}
#cookieprefs .cookieopt label.cookieopt-toggle input[type="checkbox"]:not(:disabled) + .toggle-background {
    cursor: pointer;
}
#cookieprefs .cookieopt label.cookieopt-toggle input[type="checkbox"]:checked + .toggle-background {
    background-color: var(--color);
}
#cookieprefs .cookieopt label.cookieopt-toggle input[type="checkbox"]:disabled + .toggle-background {
    background-color: #aaa;
}
#cookieprefs .cookieopt label.cookieopt-toggle input[type="checkbox"]:checked + .toggle-background:after {
    transform: translateX(30px);
}
#cookieprefs p a {
    color: var(--color);
}
#cookieprefs .button-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 2em;
    position: sticky;
    bottom: 0;
    background: var(--background);
    box-shadow: 0px 30px 30px 50px #fff;
    padding-top: 10px;
}
@media screen and (max-width: 900px) {
    #cookieprefs {
        font-size: .8em;
    }
    #cookieprefs .button-row {
        flex-direction: column;
    }
    #cookieprefs .button-row .btn {
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    #cookieprefs {
        padding: 15px;
    }
}

div.cookieconsent-optout-marketing {
    padding: 1em;
    /* border-radius: 35px; */
}
div.cookieconsent-optout-marketing a {
    cursor: pointer;
}
.row:nth-of-type(2n) div.cookieconsent-optout-marketing {
    background: var(--accents);
}
.row:nth-of-type(2n+1) div.cookieconsent-optout-marketing {
    background: var(--background);
}
div.content div.media div.videowrapper div.cookieconsent-optout-marketing a {
    display: initial;
}