#cookie-consent {
    background-color: #eee;
    border-top: 1px solid #999;
    font-size: 16px;

    position: fixed;
    z-index: 10000;
    bottom: 0;
    width: 100%;
}

.cookie-consent--wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em;
    max-width: calc(1440px + 2em);
    margin: 0 auto;
}

#cookie-consent p {
    padding: 0;
    flex-grow: 1;
    margin: 0;
}

#cookie-consent a {
    word-break: keep-all;
}

#cookie-consent p a {
    font-family: TheSansC4s-ExtraBold,Verdana,sans-serif;

}

#cookie-consent p a:hover {
    text-decoration: none;
}

#cookie-consent p a:hover span {
    border-bottom: 1px solid currentColor;
}

.cookie-consent--buttons {
    margin-left: 1em;
    flex-grow: 0;
    flex-shrink: 0;
}

#cookie-consent--spacer {
    clear: both;
}

@media (max-width: 479px) {
    .cookie-consent--wrap,
    #cookie-consent {
        display: block;
    }

    .cookie-consent--buttons {
        margin-left: 0;
        margin-top: 0.5em;
        text-align: right;
    }
}

.cc-tool--buttons button,
.cookie-consent--dismiss {
    /* button link style? */
    background-color: #005f87 !important;
    color: white !important;
    padding: 10px 15px;
    font-family: TheSansC4s-Plain,Verdana,sans-serif;
    font-size: 19px !important;
    line-height: 1.5;
}

.cc-tool--buttons .cc-button--save:not(:last-child):hover,
.cc-tool--buttons .cc-button--save:not(:last-child):focus,
.cc-tool--buttons button:hover,
.cc-tool--buttons button:focus,
.cookie-consent--dismiss:hover,
.cookie-consent--dismiss:focus {
    background-color: #00293b !important;
    color: white !important;
    text-decoration: underline;
}

.cc-tool--buttons .cc-button--save:not(:last-child) {
    background-color: white !important;
    color: #005f87 !important;
    box-shadow: inset 0 0 0 2px currentColor;
}

.cc-tool {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: TheSansC4s-Plain,Verdana,sans-serif;
    font-size: 19px;
    line-height: 1.5;
}

.cc-tool > button {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    border: none;
    padding: 0;
    text-indent: -999em;
}

.cc-tool--over {
    background: white;
    position: relative;
    max-width: 90%;
    width: 51em;
    max-height: 86vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.cc-tool a:visited,
.cc-tool a {
    color: #005f87;
}
.cc-tool a:hover {
    color: #00293b;
}

.cc-tool h2 {
    background: rgb(205, 205, 0);
    color: rgb(57, 57, 0);
    margin: 0;
    font-family: TheSansC4s-ExtraBold,Verdana,sans-serif;
    font-size: 32px;
    font-weight: 400;
}

.cc-tool h2,
.cc-tool--over > div {
    padding: 3vh;
}

.cc-tool--options {
    flex-grow: 1;
}

.cc-tool--buttons.cc-tool--buttons {
    margin-top: auto;
    display: block;
    text-align: right;
    padding-top: 0;
    padding-bottom: 3vh;
}

.cc-tool--buttons button {
    border: none;
    cursor: pointer;
    border-radius: 0 !important;
}

.cc-tool--option {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.cc-tool--option p {
    flex-grow: 1;
    margin: 0;
}

.cc-tool--option button {
    font-size: 1px;
    color: transparent;
    border: 1px solid #222;
    background: transparent;
    position: relative;
    height: 32px;
    width: 32px;
    /*border-radius: 12px;*/
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    margin-left: 15%;
    flex-shrink: 0;
    border-radius: 0 !important;
}

.cc-tool--option button:after {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 64% auto;
}

.cc-tool--option button[data-state="yes"]:after {
    background-image: url(images/icons/check-blau.svg);
}

.cc-tool--option button[data-state="no"] .cc-tool--option-yes,
.cc-tool--option button[data-state="yes"] .cc-tool--option-no {
    display: none;
}

.cc-tool--option button[disabled]:after {
    background-color: #f1f1e9;
}

.cc-option-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-grow: 1;
}

.cc-option-bar h3 {
    font-size: 16px;
    margin: 0;
}

.cc-option-bar .cc-tool--option button {
    margin-left: 6px;
}

.cc-option-bar .cc-tool--option {
    margin-bottom: 10px;
    margin-top: 10px;
}

.cc-option-bar--wrap .cc-tool--buttons {
    padding-bottom: 0;
    margin-top: 0;
}

.cc-button--save:not(:last-child),
.cc-button--details.cc-button--details {
    margin-right: 1em;
}


.cc-option-bar--wrap .cc-option-bar {
    margin-bottom: 1em;
}

@media (max-width: 1023px) {

    .cc-tool h2,
    .cc-tool--over > div {
        padding: 2.5vh;
    }
    .cc-tool--over {
        width: 95%;
    }
    .cc-tool h2 {
        font-size: 20px;
    }
    .cc-tool h3 {
        font-size: 16px;
    }
    .cc-tool p {
        font-size: 14px;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
    .cc-tool--option {
        margin-bottom: 16px;
    }
}

@supports (display: grid) {
    .cc-option-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 48px;
    }
    .cc-option-bar .cc-tool--option button {
        margin-left: auto;
    }

    @media (max-width: 360px) {
        .cc-option-bar {
            grid-template-columns: 1fr;
        }
    }
    @media (min-width: 768px) {
        .cc-option-bar {
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }
    }
}

@media (max-width: 536px) {
    .cc-tool--buttons button,
    .cookie-consent--dismiss {
        font-size: 11px !important;
        padding: 8px;
    }
    .cc-tool .cc-button--details {
        font-size: 11px !important;
    }
}