.cookiebanner-wrapper {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    font-family: "Droid Sans", sans-serif;
}

#cookiebanner {
    background: rgba(255,255,255, 1);
    max-width: 500px;
    display: flex;
    padding: 20px 40px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-self: center;
    justify-self: center;
    z-index: 9999;
    transition: all 0.5s;
    margin-top: 20px;
    width: 90%;
    box-sizing: border-box;
}

@media screen and (min-width: 768px) {
    #cookiebanner {
        width: 70%;
    }
}

.cookiebanner-wrapper.visible {
    display: flex !important;
}

.cookiebanner-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
}

.cookiebanner-header .cookiebanner-header-text {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.cookiebanner-header #cookiebanner-header-close {
    width: 25px;
    height: 25px;
    border: 0 none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #322728;
}

.cookiebanner-header #cookiebanner-header-close svg {
    width: 25px;
    height: 25px;
}

.cookie-teaser {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.cookiebanner-intro {
    color: #fff;
    font-size: 14px;
    text-align: center;
    width: 90%;
}
.cookiebanner-intro p {
    line-height: 20px;
}
.cookiebanner-intro a {
    color: #ffffff;
    text-decoration: underline;
}
.cookiebanner-intro a:hover {
    text-decoration: none;
}

#cookiesallowed.lang_en_yes:after,
#cookiesallowed_page.lang_en_yes:after {
    content: "Yes";
}
#cookiesallowed.lang_en_no:after,
#cookiesallowed_page.lang_en_no:after {
    content: "No";
}
#cookiesallowed.lang_de_yes:after,
#cookiesallowed_page.lang_de_yes:after {
    content: "Ja";
}
#cookiesallowed.lang_de_no:after,
#cookiesallowed_page.lang_de_no:after {
    content: "Nein";
}

.cookie-choices {
    background: #ffffff;
    width: 100%;
    margin-bottom: 5px;
    font-size: 14px;
}

.cookie-choices .cookie-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #efefef;
    padding: 8px 0;
}
.cookie-choices .cookie-choice:last-child {
    margin-bottom: 0;
}
.cookie-choices .cookie-choice strong {
    color: #322728;
    display: inline-block;
}

.cookie-choices .cookie-choice span {
    color: #bf0b22;
}

.cookie-choices .cookie-choice span.always-active {
    color: rgba(16, 119, 2, 1);
}

.cookie-choices .cookie-choice .description {
    font-size: 16px;
    color: #322728;
    width: 70%;
}

.cookie-choices .cookie-choice .description.active span {
    color: rgba(16, 119, 2, 1);
}
.cookie-choices .cookie-choice .description#statistical_cookies_description, .cookie-choices .cookie-choice .description#statistical_cookies_description_page {
    color: #000000;
}
.cookie-choices .cookie-choice .description#statistical_cookies_description strong, .cookie-choices .cookie-choice .description#statistical_cookies_description_page strong {
    color: #000000;
}
.cookie-choices .cookie-choice input[type=checkbox] {
    display: none;
}
.cookie-choices .cookie-choice input[type=checkbox] + label {
    width: 25px;
    height: 16px;
    border-radius: 30px;
    border: 2px solid #ddd;
    background-color: #EEE;
    display: inline-block;
    content: "";
    float: left;
    margin-right: 5px;
    margin-bottom: 0;
    transition: background-color 0.5s linear;
}
.cookie-choices .cookie-choice input[type=checkbox] + label::before {
    width: 12px;
    height: 12px;
    border-radius: 30px;
    background-color: #fff;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    transition: margin 0.1s linear;
    box-shadow: 0 0 5px #aaa;
}
.cookie-choices .cookie-choice input[type=checkbox]:checked + label {
    background-color: #EEE;
}
.cookie-choices .cookie-choice input[type=checkbox]:checked + label::before {
    margin: 0;
}
.cookie-choices .cookie-choice .statistical_checkbox input[type=checkbox] {
    display: none;
}
.cookie-choices .cookie-choice .statistical_checkbox input[type=checkbox] + label {
    width: 25px;
    height: 16px;
    border-radius: 30px;
    border: 2px solid #ddd;
    background-color: #000000;
    display: inline-block;
    content: "";
    float: left;
    margin-right: 5px;
    margin-bottom: 0;
    transition: background-color 0.5s linear;
}
.cookie-choices .cookie-choice .statistical_checkbox input[type=checkbox] + label:hover {
    cursor: pointer;
}
.cookie-choices .cookie-choice .statistical_checkbox input[type=checkbox] + label::before {
    width: 12px;
    height: 12px;
    border-radius: 30px;
    background-color: #fff;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    transition: margin 0.1s linear;
    box-shadow: 0 0 5px #aaa;
}
.cookie-choices .cookie-choice .statistical_checkbox input[type=checkbox]:checked + label {
    background-color: #067876;
}
.cookie-choices .cookie-choice .statistical_checkbox input[type=checkbox]:checked + label::before {
    margin: 0 0 0 9px;
}

.frame-type-html .cookie-choices {
    width: 100%;
}


.cookiebanner-teaser-buttons{
    display: flex;
    flex-direction: column;
    width: 250px;
}

.cookiebanner-buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    margin-top: 30px;
}

@media screen and (min-width: 710px) {
    .cookiebanner-buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        margin-top: 30px;
    }
}

#acceptcookies {
    margin-top: 5px;
    background-color: rgba(224,224,224,1);
    border: 1px solid rgba(224,224,224,1);
    color: rgba(59, 58, 58, 1);
    font-size: 16px;
    padding: 7px 12px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

#acceptcookies:hover {
    background: rgba(224,224,224,.85);
    color: rgba(59, 58, 58, 1);
}

#toggle-all-cookies,
#teaser-accept-all {
    margin-top: 5px;
    background: rgba(16, 119, 2, 1);
    border: 1px solid rgba(16, 119, 2, 1);
    color: #ffffff;
    font-size: 16px;
    padding: 7px 12px;
    cursor: pointer;
    text-transform: uppercase;
}

#teaser-accept-all:hover {
    background: rgba(16, 119, 2, .9);
}

#toggle-all-cookies {
    background: rgba(16, 119, 2, 1);
    border: 1px solid rgba(16, 119, 2, 1);
    color: white;
    font-size: 16px;
    padding: 7px 12px;
    cursor: pointer;
    font-weight: bold;
}

#toggle-all-cookies:hover {
    background-color: rgba(16, 119, 2, .9);
}

#teaser-accept-all,
#cookie-settings {
    margin-bottom: 20px;

}

#teaser-accept-all:focus,
#cookie-settings:focus,
#toggle-all-cookies:focus {
    outline: 0;
}

#teaser-accept-all {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

#cookie-settings {
    text-transform: uppercase;
    background-color: rgba(224,224,224,1);
    color: #3B3A3A;
    border: 0 none;
    font-size: 15px;
    padding: 7px 12px;
    cursor: pointer;
    font-weight: bold;
}

#cookie-settings:hover {
    background-color: rgba(224,224,224,.85);
}

#cookiesettingslink {
    cursor: pointer;
}

.cookiebanner-teaser-links {
    width: 220px;
    justify-content: space-evenly;
    display: flex;

}

.cookiebanner-teaser-links a {
    font-size: 14px;
    color: #3B3A3A;
    text-decoration: underline;
}

.cookiebanner-teaser-links a:hover {
    text-decoration: none;
}

.switch {
    position:relative;
    display:inline-block;
    width:50px;
    height:26px;
}
.switch input {
    opacity:0;
    width:0;
    height:0;
}
.slider {
    position:absolute;
    cursor:pointer;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: rgba(182, 186, 182, 1);
    -webkit-transition:.3s;
    transition:.3s;
}
.slider:before {
    position:absolute;
    content:"";
    height:22px;
    width:22px;
    left:3px;
    bottom:2px;
    background-color:white;
    -webkit-transition:.4s;
    transition:.4s;
}
input:checked + .slider {
    background-color: rgba(16, 119, 2, 1);
}
.functional_cookies input:checked + .slider {
    background-color: rgba(120, 120, 120, 1);
}
input:focus + .slider {
    box-shadow:0 0 1px #2196F3;
}
input:checked + .slider:before {
    -webkit-transform:translateX(22px);
    -ms-transform:translateX(22px);
    transform:translateX(22px);
}
@media screen and (min-width:768px) {
    input:checked + .slider:before {
        -webkit-transform:translateX(22px);
        -ms-transform:translateX(22px);
        transform:translateX(22px);
    }
}
.slider.round {
    border-radius:34px;
}
.slider.round:before {
    border-radius:50%;
}