.content-small { max-width: 1136px; }

#cookiebar.overlay,
#cookiebar-external.overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0; left:0; right:0; bottom:0;
    z-index: 40000;
}
#cookiebar.overlay.hidden { display: none !important; }
#cookiebar-external.overlay.hidden { display: none !important; }

.cookie-banner { margin-left: 1rem !important; margin-right: 1rem !important; padding: 1rem; background-color: #ffffff; max-height: 100%; overflow: auto; }
.cookie-banner .bg-dark { color: #ffffff; }
.box_title { margin-top: 0; }

.cookie-banner-group-wrap { clear: both; display: flex; margin: 10px 0; padding:0; }
.cookie-banner-group-wrap li { display:block; padding-right: 20px;}
.cookie-banner-group-wrap label { font-weight:400; }

.consens-opacity {
    opacity: 0;
    max-height: 0px;
    transition: opacity 1s; }

.cookie-actions { margin-top: 20px; }

.cookie-banner .btn { flex: 1 1 100%; padding: .5rem .75rem; display: block; }
.cookie-banner .btn-submit { font-weight: 600; }

.cookie-options { margin-top: 20px; }

.cookie-banner .redirects { display: flex; }

.cookie-banner .link { color: #000000; }
    .cookie-banner .link.privacy { margin-right: 1rem; }


/* Details Table */
table.cookie-details {
    width: 100%;
    background: rgba(0,0,0,.04);
    margin: 5px 0;
}

.cookie-details th,
.cookie-details td {
    padding: 2px;
    vertical-align: top;
    line-height: 1.2;
    font-size:13px;
    color: #666;
}

.cookie-details th {
    color: #999; font-weight:400;
    width: 15%
}

.consens-visible {
    opacity: 1;
    max-height:2000px;
}

#consens-external-close {
    float: right; cursor: pointer;
}

.consens-list {
    width: 100%; padding:0;
    overflow: hidden;
    list-style: none;
    font-size: 14px; color:#666;
}

.consens-list > li {
    margin-top: 20px; padding:0; background:#fff;
}

.consens-group-header { background: #efefef; color:#333; padding:5px 10px; font-weight:bold; font-size: 16px; margin-bottom: 10px; }
.consens-group-description { text-align: justify; }


/* Listing Plugin  */
.cookie-listing .dsgvo_cookie-switch { margin-top: 30px; }
table.cookie-details-listing {
    width: 100%;
    margin: 15px 0; }
.cookie-details-listing th,
.cookie-details-listing td {
    padding: 4px 2px;
    vertical-align: top;
    line-height: 1.2;
    font-size:13px;
    color: #666;
    width:10%; }
.cookie-details-listing th {
    color: #999; font-weight:400; border-bottom: 1px solid #efefef; }
.cookie-details-listing th.purpose { width:50%; }
input[type="checkbox"].sbcustom:disabled + span:before {
    color: #999999 !important;
    box-shadow: 0 0 0 0.08em #cccccc !important;
}
input[type="checkbox"].sbcustom:disabled + span {
    color: inherit !important; cursor:default;
}


/* Iframe replacement */
.embed-responsive { position:relative; }
.videoWrapper .consens-replaced-iframe,
.embed-responsive .consens-replaced-iframe {
    position: absolute; top: 0; bottom: 0; left: 0; right:0;
    width: 100%; height: 100% !important; border: 0;
    display: flex;justify-content: center; flex-direction: column; text-align: center; }

.consens-replaced-iframe button { margin: 1rem auto; min-width:200px; }
.consens-replaced-iframe[data-src*=http] button:before { content: "Externen Inhalt "; }
.consens-replaced-iframe button + a { display: inline-block; color: #333; font-size: 14px; cursor: help; }

    .consens-replaced-iframe[data-src*=youtube] button:before { content: "Youtube-Video "; }
    .consens-replaced-iframe[data-src*=vimeo] button:before { content: "Vimeo-Video "; }

    .consens-replaced-iframe[data-src*=maps] { background-color: #efefef; border: none; }
    .consens-replaced-iframe[data-src*=maps] button:before { content: "Google Maps "; }

@media all and (min-width: 992px) {
    .cookie-banner { padding: 2rem !important; }

    .cookie-banner .btn {
        flex: 0 1 45%;
    }
    .cookie-banner .btn-submit {
        font-size: 16px;
    }
}
