@-webkit-keyframes fadeinOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeinOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeinOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes flipCookie {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

@-moz-keyframes flipCookie {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

@keyframes flipCookie {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

.cOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    top: 0px;
    left: 0px;
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-animation: fadeinOverlay 0.5s ease-in;
    -moz-animation: fadeinOverlay 0.5s ease-in;
    animation: fadeinOverlay 0.5s ease-in;
}

.cOverlay .cContent {
    width: 100%;
    max-width: 800px;
    height: 0%;
    max-height: 800px;
    background: #313335;
    color: #fff;
    position: relative;
    -webkit-animation: flipCookie 0.5s ease;
    -moz-animation: flipCookie 0.5s ease;
    animation: flipCookie 0.5s ease;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    overflow: hidden;
    margin: 15px;
    font-size: 15px;
    font-family: "Verdana";
}

.cOverlay .cContent .cHeader .cHeadline {
    border-bottom: 1px solid #aaa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0px 15px;
}

.cOverlay .cContent .cHeader .cHeadline h2 {
    font-size: 25px;
    color: #fff;
    font-family: "Verdana";
}

.cOverlay .cContent .cHeader .cHeadline .cClose {
    position: absolute;
    right: 15px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
}

.cOverlay .cContent .cHeader .cHeadline .cClose:hover {
    opacity: 1;
    cursor: pointer;
}

.cOverlay .cContent .cHeader .cHeadline .cClose:before,
.cOverlay .cContent .cHeader .cHeadline .cClose:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}

.cOverlay .cContent .cHeader .cHeadline .cClose:before {
    transform: rotate(45deg);
}

.cOverlay .cContent .cHeader .cHeadline .cClose:after {
    transform: rotate(-45deg);
}

.cOverlay .cContent .cBody {
    margin-top: 15px;
    padding: 0px 15px;    
}

.cOverlay .cContent .cCookiePreferences {
    padding: 0px 15px;
    width: 100%;
    height: 100%;
    max-height: 480px;
    overflow-y: auto;
}

.cOverlay .cContent .visible-scroll-area {
    position: relative;
    bottom: 0px;
    width: 100%;
    height: 50px;
    top: -50px;
    z-index: 1;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(49,51,53,1) 100%);
}

.cOverlay .cContent .cCookiePreferences .kachel {
    background: #000;
    padding: 15px;
    margin-bottom: 15px;
}

.cOverlay .cContent .cCookiePreferences .kachel h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-family: "Verdana";
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight {
    display: flex;
    justify-content: end;
    margin-bottom: 15px;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight:last-child {
    margin-bottom: 0px;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel {
    background: #313335;
    padding: 15px;
    width: 95%
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel p {
    margin-bottom: 0px;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline {
    display: flex;
    justify-content: space-between;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .cSlider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    -webkit-transition: .4s;
    transition: .4s;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .cSlider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline input:checked + .cSlider {
    background-color: #ef8320;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline input:focus + .cSlider {
    box-shadow: 0 0 0px transparent;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline input:checked + .cSlider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .cSlider.disabledOption {
    opacity: 0.5;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .cSlider.round {
    border-radius: 34px;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .cSlider.round:before {
    border-radius: 50%;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .switchWrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .switchWrap p {
    margin-bottom: 0px;
    margin-right: 15px;
}

.cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline .switchWrap p.disabledOption {
    margin-bottom: 0px;
    margin-right: 15px;
    opacity: 0.5;
}

.cOverlay .cContent .cFooter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    border-top: 1px solid #aaa;
    position: absolute;
    bottom: 0px;
    width: 100%;
    left: 0px;
    padding: 0px 15px;
    background: #313335;
    z-index: 1;
}

.cOverlay .cContent .cFooter button {
    border: 0px;
    color: #313335;
    background: #ef8320;
    padding: 15px 20px;
    margin: 0px 10px;
    font-family: "Verdana";
    font-size: 15px;
}

.openCookie {
    text-align: center;
    color: #fff;
    background: #000;
    padding: 5px;
}

.openCookie:hover {
    cursor: pointer;
}

pt-20 {
    padding-top: 20px;
}

@media only screen and (max-width: 1000px) and (orientation : landscape) {
    .cOverlay .cContent {
        font-size: 13px;
    }

    .cOverlay .cContent .cHeader .cHeadline {
        height: 50px;
    }

    .cOverlay .cContent .cHeader .cHeadline h2 {
        font-size: 20px;
    }

    .cOverlay .cContent .cHeader .cHeadline .cClose {
        top: 7px;
    }

    .cOverlay .cContent .cFooter button {
        padding: 10px 20px;
    }

    .cOverlay .cContent .cFooter {
        height: 50px;
    }

    .cOverlay .cContent .cCookiePreferences {
        max-height: 610px;
    }

    .cOverlay .cContent .cCookiePreferences .kachel h3 {
        font-size: 18px;
    }

    .cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline h4 {
        font-size: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .cOverlay .cContent {
        font-size: 13px;
    }

    .cOverlay .cContent .cHeader .cHeadline {
        height: 50px;
    }

    .cOverlay .cContent .cHeader .cHeadline h2 {
        font-size: 20px;
    }

    .cOverlay .cContent .cHeader .cHeadline .cClose {
        top: 7px;
    }

    .cOverlay .cContent .cFooter button {
        padding: 10px 20px;
    }

    .cOverlay .cContent .cFooter {
        height: 50px;
    }

    .cOverlay .cContent .cCookiePreferences {
        max-height: 450px;
    }

    .cOverlay .cContent .cCookiePreferences .kachel h3 {
        font-size: 18px;
    }

    .cOverlay .cContent .cCookiePreferences .kachel .divRight .inner-kachel .innerHeadline h4 {
        font-size: 15px;
    }
}

@media only screen and (max-width: 576px) {
    .cOverlay .cContent .cFooter button {
        padding: 5px 5px;
        font-size: 10px;
    }
}