h1 {
    font-size: 2rem;
}

a:hover {
    text-decoration: none;
}

.text-success {
    color: #5c9c62 !important;
}

.info {
    color: #FF6F21 !important;
}

.bg-success {
    background-color: #5c9c62 !important;
}

p:last-child {
    margin-bottom: 0;
}

.bg-dark {
    background-color: rgba(0, 0, 0, 0.065) !important;
}

/* NAVBAR ----------------- */

#main-navbar {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    font-weight: 500;
}

#main-navbar.shrink {
    background-color: #eee !important;
    box-shadow: 0 .125rem .625rem rgba(0, 0, 0, .35) !important;
}

#main-navbar.shrink .navbar-brand {
    padding: 0;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

/*#main-navbar .navbar-brand img {
    width: 140px;
}

#main-navbar.shrink .navbar-brand img {
    width: 70px;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}*/

#main-navbar.shrink .navbar-brand em {
        display: block !important;
    }

#main-navbar .nav.navbar-nav {
    font-size: 1.125rem;
}

#main-navbar .nav-link {
    color: #ccc;
    /*color: #5c9c62;*/
    padding: .5rem .75rem !important;
    outline: 0;
}

#main-navbar.shrink .nav-link {
    color: #000;
}

#main-navbar.shrink .nav-link.text-white {
    color: #5c9c62 !important;
}

#main-navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.5);
    outline: 0;
}

@media (max-width: 767px) {
    #main-navbar .navbar-collapse {
        background-color: #fff;
        text-align: center;
        padding: 10px 0 ;
        box-shadow: 0 .125rem .625rem rgba(0, 0, 0, .35) !important;
    }

    #main-navbar .nav-link {
        color: #000;
        padding: .25rem 0 !important;
    }

    #main-navbar .nav-link.text-white {
        color: #5c9c62 !important;
    }

    #main-navbar.online-termine {
        background-color: #626279;
    }

    #main-navbar .navbar-brand .online-termine-brand {
        display: block !important;
    }

    #online-button {
        margin-top: 80px !important;
    }
}

/* HEADER ----------------- */

.site-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: inherit;
    background-color: rgba(0, 0, 35, 0.6);
}

.site-header {
    height: 300px;
    background-color: rgb(98, 98, 121);
    background-size: cover !important;
}

.site-header.home {
    height: 370px !important;
    background: url('/assets/images/header-home.jpg') top center no-repeat;
}

.site-header.leistungen {
    background: url('/assets/images/header-leistungen.jpg') no-repeat center center;
}

.site-header.team {
    background: url('/assets/images/header-team.jpg') no-repeat center center;
}

.site-header.kontakt {
    background: url("/assets/images/header-kontakt.jpg") no-repeat center center;
}

.site-header.online-termine {
    background: url('/assets/images/header-online-termine.jpg') no-repeat center center;
}

.site-header.screening-termine {
    background: url('/assets/images/header-screening-termine.jpg') no-repeat center center;
}

.site-header.impressum {
    background: url('/assets/images/header-impressum.jpg') no-repeat center center;
}

.site-header.datenschutz {
    background: url('/assets/images/header-datenschutz.jpg') no-repeat center center;
}

.site-header .logo {
    width: 180px;
}

.site-header h2 {
    font-size: 2.75rem;
    font-weight: 600;
}

.site-header h3 {
    font-size: 1.688rem;
}

.site-header h4 {
    font-size: 1.25rem;
    font-weight: normal;
}

@media (max-width: 500px) {
    .site-header.home, .site-header {
        height: 200px !important;
        background-color: rgb(98, 98, 121) !important;
        background-image: none !important;
    }

    .site-header .logo {
        width: 160px;
        margin-top: 0 !important;
    }

    .site-header h2 {
        font-size: 2rem;
    }

    .site-header h3 {
        font-size: 1.1rem;
    }

    .site-header h4 {
        font-size: 0.8rem;
    }
}

/* ONLINE TERMINE BUTTON ----------------- */

.online-termine a.home,
.online-termine button.home {
    font-weight: 600;
}

@media (min-width: 1200px) {
    .online-termine a.home,
    .online-termine button.home  {
        padding: .5rem 1rem;
        font-size: 1.25rem;
        line-height: 1.5;
    }
}

.online-termine h5 {
    font-weight: 400;
    line-height: 1.5
}

/* HOME ----------------- */

.card-home .card-img-overlay {
    height: 10px;
    background-image: linear-gradient(to top, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.1));
}

.card-home .card hr {
    border-color: #dee2e6;
}

.card-home .table-hover tbody tr:hover {
    background-color: rgba(0, 0, 25, .1);
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .card-deck.card-home .card {
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .card-deck.card-home .card {
        -ms-flex: 0 0 48.1%;
        flex: 0 0 48.1%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 360px) {
    .table {
        font-size: 14px;
    }
}

/* ACCORDION ----------------- */

#accordion-1 .card-header,
#accordion-2 .card-header {
    padding: .5rem 1rem;
}

#accordion-1 h5,
#accordion-2 h5 {
    font-size: 1rem;
}

h5.invisible {
    display: none;
}

/* KONTAKT ----------------- */

.map-placeholder {
    display: flex;
    min-height: 204px;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
}

.map-placeholder-content {
    max-width: 34rem;
}

.map-placeholder.is-loaded {
    display: block;
    padding: 0;
}

.map-placeholder iframe {
    display: block;
    width: 100%;
    min-height: 204px;
    border: 0;
}

.badge-danger-u6.px-2 {
    background-color: #9c6930;
}

.badge-success-u4.px-2 {
    background-color: #008000;
}

.badge-danger-s.px-2 {
    background-color: #9a3626;
}

/* FOOTER ----------------- */

.site-footer {
    background-color: #626279;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: rgba(0, 0, 0, .75);
}

/* IMPESSUM ----------------- */

#impressum strong.text-success {
    font-weight: 600;
}

#impressum strong.text-success.d-inline-block {
    width: 4.5rem;
}

.i18n-language-switcher {
    position: relative;
    display: inline-block;
    color: inherit;
    line-height: 1.2;
    white-space: nowrap;
}

.i18n-language-current {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 2rem;
    padding: .35rem .55rem;
    color: #ccc;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.i18n-language-current::marker {
    content: "";
}

.i18n-language-current::-webkit-details-marker {
    display: none;
}

.i18n-language-current:hover {
    color: #fff;
    background: rgba(92, 156, 98, .12);
    border-color: rgba(255, 255, 255, .5);
}

.i18n-language-current:focus-visible {
    color: #fff;
    background: rgba(92, 156, 98, .12);
    outline: 2px solid #5c9c62;
    outline-offset: 2px;
}

.i18n-language-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    font-size: 1rem;
    line-height: 1;
}

.i18n-language-chevron {
    width: .42rem;
    height: .42rem;
    margin: -.18rem .08rem 0 .1rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

.i18n-language-switcher[open] .i18n-language-chevron {
    transform: rotate(225deg);
}

.i18n-language-options {
    position: absolute;
    top: calc(100% + .3rem);
    right: 0;
    z-index: 1100;
    min-width: 100%;
    max-width: calc(100vw - 2rem);
    margin: 0;
    padding: .25rem;
    color: #263238;
    background: #fff;
    border: 1px solid #d7dfdc;
    border-radius: 0;
    box-shadow: 0 .35rem .9rem rgba(0, 0, 0, .14);
    list-style: none;
    white-space: nowrap;
}

.i18n-language-link {
    display: block;
    padding: .42rem .55rem;
    border-radius: 0;
    color: inherit;
    text-decoration: none;
}

.i18n-language-link:hover,
.i18n-language-link:focus-visible {
    color: #263238;
    background: rgba(92, 156, 98, .14);
    text-decoration: none;
}

.i18n-language-link:focus-visible {
    outline: 2px solid #5c9c62;
    outline-offset: -2px;
}

#main-navbar.shrink .i18n-language-current {
    color: #000;
    background: rgba(92, 156, 98, .08);
    border-color: rgba(0, 0, 0, .18);
}

@media (max-width: 767px) {
    #main-navbar .i18n-language-current {
        min-height: 2.5rem;
        color: #000;
        background: rgba(92, 156, 98, .08);
        border-color: rgba(0, 0, 0, .18);
    }

    #main-navbar .i18n-language-options {
        right: auto;
        left: 0;
    }
}
