.table-borderless th,
.table-borderless td {
    border: none;
    text-align: left; /* Links ausgerichtet */
    padding: 0; /* Entfernt Innenabstände */
}

body {
    --site-primary: #39646b;
    --site-primary-dark: #2f5c64;
    --site-nav-bg: #212529;
    --site-nav-link: rgba(255, 255, 255, 0.55);
    --site-nav-link-hover: rgba(255, 255, 255, 0.75);
    --site-nav-link-active: #fff;
    --site-body-text: #212529;
    --site-heading-color: #212529;
    --site-link-color: #39646b;
    --site-footer-bg: var(--site-primary);
    --site-footer-text: #212529;
    --site-footer-border: transparent;
    --site-cookie-header-bg: var(--site-primary);
    --site-cookie-title: #212529;
    --site-button-text: #fff;
    --site-button-secondary-bg: #fff;
}

.site-hausarzt {
    --site-primary: #39646b;
    --site-primary-dark: #2f5c64;
    --site-nav-bg: #212529;
    --site-nav-link: rgba(255, 255, 255, 0.55);
    --site-nav-link-hover: rgba(255, 255, 255, 0.75);
    --site-nav-link-active: #fff;
    --site-body-text: #212529;
    --site-heading-color: #212529;
    --site-link-color: #39646b;
    --site-footer-bg: var(--site-primary);
    --site-footer-text: #212529;
    --site-footer-border: transparent;
    --site-cookie-header-bg: var(--site-primary);
    --site-cookie-title: #212529;
    --site-button-text: #fff;
    --site-button-secondary-bg: #fff;
}

.site-hausarzt,
.site-betriebsmedizin {
    color: var(--site-body-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-betriebsmedizin {
    --site-primary: #9f0c11;
    --site-primary-dark: #650004;
    --site-nav-bg: var(--site-primary);
    --site-nav-link: rgba(255, 255, 255, 0.72);
    --site-nav-link-hover: #fff;
    --site-nav-link-active: #fff;
    --site-body-text: #000;
    --site-heading-color: #000;
    --site-link-color: var(--site-primary-dark);
    --site-footer-bg: #f3f3f3;
    --site-footer-text: var(--site-primary-dark);
    --site-footer-border: var(--site-primary-dark);
    --site-cookie-header-bg: var(--site-footer-bg);
    --site-cookie-title: var(--site-primary-dark);
}

.site-navbar {
    background-color: var(--site-nav-bg)!important;
}

.site-navbar .navbar-nav .nav-link {
    color: var(--site-nav-link);
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link:focus {
    color: var(--site-nav-link-hover);
}

.site-navbar .navbar-nav .nav-link.ifs_menuHover {
    color: var(--site-nav-link-active);
    text-decoration: none;
}

.site-footer {
    background-color: var(--site-footer-bg)!important;
    border-top: 4px solid var(--site-footer-border);
    color: var(--site-footer-text);
    margin-top: auto;
}

.site-footer-column,
.site-footer-text,
.site-footer a {
    color: var(--site-footer-text)!important;
}

.site-cookie-header {
    background-color: var(--site-cookie-header-bg);
}

.site-cookie-header .modal-title {
    color: var(--site-cookie-title);
}

.site-hausarzt .btn-primary,
.site-betriebsmedizin .btn-primary {
    color: var(--site-button-text);
    background-color: var(--site-primary);
    border-color: var(--site-primary-dark);
}

.site-hausarzt .btn-primary:hover,
.site-hausarzt .btn-primary:focus,
.site-betriebsmedizin .btn-primary:hover,
.site-betriebsmedizin .btn-primary:focus {
    color: var(--site-button-text);
    background-color: var(--site-primary-dark);
    border-color: var(--site-primary-dark);
}

.site-hausarzt .btn-secondary,
.site-betriebsmedizin .btn-secondary {
    color: var(--site-primary-dark);
    background-color: var(--site-button-secondary-bg);
    border-color: var(--site-primary-dark);
}

.site-hausarzt .btn-secondary:hover,
.site-hausarzt .btn-secondary:focus,
.site-betriebsmedizin .btn-secondary:hover,
.site-betriebsmedizin .btn-secondary:focus {
    color: var(--site-button-text);
    background-color: var(--site-primary-dark);
    border-color: var(--site-primary-dark);
}

.site-betriebsmedizin .navbar-brand img {
    background-color: #fff;
    border-color: var(--site-primary-dark);
}

.site-betriebsmedizin-hero {
    background: #f7f7f5;
}

.site-betriebsmedizin-cover {
    height: 575px;
    max-height: 42vw;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.site-betriebsmedizin-hero-logo {
    max-width: 214px;
    border: 3px solid var(--site-primary-dark);
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.3);
    background: #fff;
}

.site-betriebsmedizin h1,
.site-betriebsmedizin h2 {
    color: var(--site-heading-color);
}

.site-betriebsmedizin section a,
.site-betriebsmedizin .modal-body a {
    color: var(--site-link-color);
}

.site-betriebsmedizin-hours th,
.site-betriebsmedizin-hours td {
    font-weight: 400;
    font-size: 1.1rem;
    padding: 0 1rem 0.15rem 0;
}

.site-betriebsmedizin-hours th {
    width: 8rem;
}

.site-betriebsmedizin-service-list li {
    margin-bottom: 0.45rem;
}

.ifs_menuHover {
    font-weight: bold;
}
ul {
    list-style-type: square;
}
section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.ifs_extraPaddingTop {
    padding-top: 9rem;
}


.ifs_teamarzt_card {
    height: 515px;
    max-width: 216px;
}
.ifs_teamarzt_card_text {
    height: 50px!important;
    font-size: 0.75em;
}
.ifs_teamarzt_card-title {
    height: 50px!important;
}


.ifs_teammfa_card {
    height: 390px;
    max-width: 216px;
}
.ifs_teammfa_card_text {
    height: 50px!important;
    font-size: 0.75em;
}
.ifs_teammfa_card-title {
    height: 20px!important;
}




.ifs_cookieHints {
    background: lightgray;
    border: 1px solid black;
    box-sizing: border-box;
    overflow: hidden;
}

.ifs_cookieHints #ifs_map_cookieConsentNeccessary {
    height: 100%;
}

.ifs_cookieHints iframe {
    display: block;
    height: 100%;
}

.card {
    margin-bottom: 10px;
    top: 10px;
}

.navbar-brand img {
    height: 100px; /* Wie weit das Logo nach unten ragen soll */
    background-size: contain;
    bottom: -60px; /* So ragt es aus der Leiste */
    border: 3px solid black;
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.3);
}

#navbar-extratext-mobile_huge {
    color: white;
    margin-left: -1.3em;
}
#navbar-extratext-mobile_small {
    color: white;
    margin-left: -1.3em;
    font-size: 0.9em;
}
#navbar-extratext-mobile_extrasmall {
    color: white;
    margin-left: -1.3em;
    margin-left: -1.3em;
    font-size: 0.7em;
    line-height: 1.4em;
}

/* 
Desktop:            >992px      kein Extratext
Tablet:             491-992px   mobile_huge
SmartPhone:         400-490px   mobile_small
SmartphoneSmall:    0-400       mobile_extrasmall
*/
/* desktop view */
@media (min-width: 992px) {
    #navbar-extratext-mobile_extrasmall {
        display: none;
    }
    #navbar-extratext-mobile_small {
        display: none;
    }
    #navbar-extratext-mobile_huge {
        display: none;
    }
}
/* tablet view */
@media (min-width: 491px) and (max-width: 991px) {
    #navbar-extratext-mobile_extrasmall {
        display: none;
    }
    #navbar-extratext-mobile_small {
        display: none;
    }
    #navbar-extratext-mobile_huge {
    }
}
/* smartphone large*/
@media (min-width: 400px) and (max-width: 490px) {
    #navbar-extratext-mobile_extrasmall {
        display: none;
    }
    #navbar-extratext-mobile_small {
    }
    #navbar-extratext-mobile_huge {
        display: none;
    }
    .navbar-brand {
        margin-left: -20px!important;
    }
}
/* smartphone small*/
@media (max-width: 399px) {
    #navbar-extratext-mobile_extrasmall {
    }
    #navbar-extratext-mobile_small {
        display: none;
    }
    #navbar-extratext-mobile_huge {
        display: none;
    }
    .navbar-brand {
        margin-left: -20px!important;
    }
}

/* Desktop größer 991 px */
@media (min-width: 992px) {
    .navbar-brand img {
        position: absolute;
    }
    #navbar-extratext {
        display: none!important;
    }
    #coverimage-nondesktop {
        display: none;
    }
}

/* Tablet (Bootstrap md: 768px - 991px) */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 60px;
        bottom: -30px;
        position: static;
    }
    .navbar {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    #coverimage-desktop {
        display: none;
    }
}

/* Smartphone (Bootstrap sm: unter 768px) */
@media (max-width: 767px) {
    .navbar-brand img {
        height: 50px;
        bottom: 3px;
        position: static;
    }
    .navbar {
        padding: 0px;
    }
}



/* Schatten für Navbar horizontal unten */
.navbar {
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
}
.ifs-shadow-bottom {
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    padding-bottom: 0px!important;
}


/* Navigation etwas aufgelockerter */
.nav-item a {
    margin-left: 10px;
}

/* Navigaton rechtsbündig im Menü */

@media (max-width: 991px) { /* Bootstrap-Breakpoint für mobile Navigation */
    .navbar-nav {
        text-align: right; /* Rechtsbündig */
    }

    .navbar-nav .nav-item {
        width: 100%; /* Stellt sicher, dass jeder Menüpunkt die volle Breite einnimmt */
    }
}
