

:root {
    --var-primary: #005792;
    --var-text-color: #336;
    --var-link-color: var(--var-primary);
    -var-header-color: #005792;
    /*--bs-gutter-x: 10px;*/
}

.row {
    --bs-gutter-x: 10px;
}


/* Farbe der Navigation active */
.active>.subnav-link {
    color: #222222 !important;
    background-color: transparent;
}


/* FAQ Liste */

.card-panel .card-header {
    background: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
    font-size: 1rem !important;
    padding: .5rem .5rem;
}

.panel-info {
    border-color: #bce8f1;
}
.card-panel-info {
    --cardpanel-header-background: #bce8f1;
    --cardpanel-header-color: #ffffff;
    --cardpanel-border-color: #bce8f1;
}

/* FIX für Navigation left */

@media (min-width:992px) {
    .subnav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem;
    color: inherit;
    border: none;
    border-bottom: 1px dotted #333;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}
    
.subnav-nav .subnav-nav {
    margin-top: -1px;
    border-left: 1rem solid transparent;
}

/* Das hier macht den linken dotted bei subnav*/
.subnav-item { 
    /*
    position: unset; 
*/
}



.subnav-item > .active {
    font-weight: bolder;
}

.subnav-link li  {
    padding: 0.4rem 1rem;
}
.subnav-nav li.active > a {
    color: black;
    font-weight: 800;
    font-size: 12px;
}

/* Rand für subnav */
.subnav-nav {
    padding-left: 0rem;
}

}
    /* subnav-left nach rechts */
@media (min-width:992px) {
.subnav-wrap .frame-container {
    /* padding-left: 20px; */
    padding-right: 10px;
}




/* FIX Startseite Kacheln Abstand weg*/


.frame-space-after-extra-small {
    padding-top: 0px;
    padding-bottom: 10px;
}
.frame-space-before-extra-small {
    padding-top: 0px;
    padding-bottom: 10px;
}


/* FIX BREITE bei xlarge Desktop */
@media (min-width: 1400px) {
    
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1140px;
/*        border: 1px solid red;*/
}
    
}

.section>.container {
    background: white;
}

.element-header h1,
.element-header h2,
.element-header h3,
.element-header n4 {
    color: var(--var-header-color);
}

a {
    color: var(--var-header-color);
}


/* FIX Kopfbild weil BS5 jetzt breiteer */
@media (min-width: 1200px) {
    .sda_header_full {
    width: 1180px;
    min-width: 1180px;
    max-width: 1180px;
}
}
@media (min-width: 1400px) {
    .sda_header_full {
    width: 1180px;
    min-width: 1180px;
    max-width: 1180px;
}
}



















/* Seite Team mit container_elements roman büchler */

@media (min-width:768px) {
    
    .class-1 .gallery-item {
        width: auto;
        
/*        border: 1px solid red;*/
    }
    .class-2 .gallery-item {
        width: auto;
        
        border: 1px solid green;
    }
    .class-3 .gallery-item img {
        width: auto;
        max-height: 178px;
        border: 1px solid blue;
    }
    
    .kontaktbild .gallery-item img {
        width: auto;
        max-height: 178px;
        border: 1px solid blue;
    }
    .kontaktbild .gallery-row {
        float: left;
    }
    
    body { font-size: .875rem;}
    p { font-size: .875rem;}
}

@media (max-width:768px) {
    
    
    .frame-type-container_3_columns {
        
    }
    
    .frame-type-container_3_columns .contentcontainer {   
        display: flex;
        flex-direction: row;
/*        border: 1px solid red;*/
        gap: 20px;
    }
    
    .frame-type-container_3_columns .contentcontainer-column {   
        border: 1px solid green;
        max-width: 100%;
    }
    
    .frame-type-container_3_columns .gallery-item {
            border: 1px solid var(--red);
            width: calc(100vw / 3 - 60px);
    }
    
    
}

@media (min-width:768px) {
    
    
    .frame-type-container_3_columns {   
        
    }
    /* Bild */
    .frame-type-container_3_columns .gallery-item.gallery-item-size-1 {
            border: 1px solid var(--red);
            width: 66%;
    }
    
    /* Text */
    .frame-type-container_3_columns .textpic-item.textpic-text p {
            color: var(--var-text-color);
    }
        
    .frame-type-container_3_columns .textpic-item.textpic-text a {
            color: var(--var-link-color);
    }
    
    
     .frame-header > .element-header {
        color: var(--var-primary);
        border-bottom: .5px dotted #999;
        font-size: 1.25rem;
        font-weight: 400;
    }
    
}
/* Startseite gutters */

@media (min-width: 992px) {
    .no-gutters.gutters-10 .gallery-item-size-1 {
        padding: 5px;
    }
    
}


/* BS5 Breite des Containers */
@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    /*max-width: 1320px;*/
    max-width: 1040px;
}
}

/* top_search */
@media (max-width:992) {
    .sda-top-search { 
        display: none;
    }
    .sda-top-flags-container {
        display: none;
    }
}

/* Footer left middle right aus */

@media (max-width: 1920px) {
    
    .footer-section-content-column-left {
        display: none;
    }
    footer-section-content-column-middle {
        display: none;
    }
    
    footer-section-content-column-right {
        display: none;
    }
    
    
}

/* Footer language nicht bei Desktop anzeigen */
@media (min-width: 992px) {
    .footer-language { display: none;}
    .footer-section-meta { /*border: 1px solid green;*/ }
    .footer-section-meta > .frame {
        /*border: 1px solid red;*/
        margin-left: calc(100% / 12 * 3);
    }  
}

/* Version 12 */
.section-row {
    
    --section-columns: 12;
    --section-colspan: 12;
    --section-gaps: 0;
    --section-gap-y: 0;
    /* FIX 12 */
    --section-gap-x: 0px;
    /* FIX 12 */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--section-gap-y) var(--section-gap-x);
    
    
    
}

/* Version 12  das mach border-left dotted weg */
.active>.subnav-link:before {
    position: absolute;
    opacity: 0;
    content: " ";
    width: 0px; /* Hier balekn links menü weg*/
    left: 0;
    top: 0;
    height: 100%;
    background-color: #ffffff;
}


.subnav-nav .subnav-nav:before {
    position: absolute;
    opacity: 0;
    content: " ";
    width: 0px; /* Hier balekn links menü weg*/
    left: 0;
    top: 0;
    height: 100%;
    background-color: #ffffff;
}


.dropdown-item a {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
        
    font-size: 14px;
    color: red;
}


.navbar-mainnavigation .dropdown-nav {
    padding: 0;
    display: flex;
    width: 100%;
    gap: var(--mainnavigation-dropdown-column-spacing);
    grid-template-columns: repeat(auto-fit, minmax(var(--mainnavigation-dropdown-column-min-width), 1fr));
}
