/* -------------------------------------------------------------------*/
/* General & Basic Styles
/* -------------------------------------------------------------------*/

/* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v18-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Light'), local('OpenSans-Light'),
        url('../fonts/open-sans-v18-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/open-sans-v18-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/open-sans-v18-latin-300.woff') format('woff'), /* Modern Browsers */
        url('../fonts/open-sans-v18-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/open-sans-v18-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Regular'), local('OpenSans-Regular'),
        url('../fonts/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('../fonts/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #FFF;
    color: #162259;
}

@media (max-width: 767.98px) {
    body.padding-top {
        padding-top: 170px;
    }
}
@media (min-width: 768px) {
    body.padding-top {
        padding-top: 250px;
    }
}
@media (min-width: 1200px) {
    body {
        font-size: 1.125rem;
    }
}
@media (min-width: 1400px) {
    body.padding-top {
        padding-top: 210px;
    }
}


/* -------------------------------------------------------------------*/
/* Content Basic Styles
/* -------------------------------------------------------------------*/

section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container, 
.container-fluid {
    position: relative;
}

.container-fluid {
    max-width: 2640px;
    padding: 0 !important;
}

.hblau {
    color: #61bbeb;
}
.mblau {
    color: #4168b0;
}
.dblau {
    color: #162259;
}
.weiss {
    color: #FFF;
}

.bg-hblau {
    background-color: #61bbeb;
}
.bg-mblau {
    background-color: #4168b0;
}
.bg-dblau {
    background-color: #162259;
}
.bg-weiss {
    background-color: #FFF;
}

span.tab50 {
    display: inline-block;
    width: 50px;
}
span.tab70 {
    display: inline-block;
    width: 70px;
}

a {
    color: #162259;
    text-decoration: none;
}
a:hover,
a:focus {
    color: #61bbeb;
    text-decoration: underline;
}

a.dblau {
    color: #162259;
    font-weight: bold;
    text-decoration: none;
}
a.dblau:hover,
a.dblau:focus {
    color: #162259;
    text-decoration: underline;
}

h1,
.h1 {
    width: 100%;
    display: inline-block;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    text-align: center;
    text-transform: uppercase;
    height: 124px;
    line-height: 100px;    
    background-position: center top;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.h1-dblau {
    background-image: url(../img/bg-h1-dblau.png);
    color: #FFF;
}
.h1-weiss {
    background-image: url(../img/bg-h1-weiss.png);
    color: #162259;
}
/* Small devices (phones) */
@media (max-width: 575.98px) {
    h1,
    .h1 {
        height: 42px;
        line-height: 33px;
        font-size: 1.25rem;
    }
}
@media (min-width: 576px) AND (max-width: 991.98px)  {
    h1,
    .h1 {
        height: 62px;
        line-height: 50px;
        font-size: 1.5rem;
    }
}
/* Medium devices (tablets) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    h1,
    .h1 {
        height: 82px;
        line-height: 66px;
        font-size: 1.5rem;
    }
}

li.arrow,
li.arrow-weiss,
li.arrow-dblau {
    margin: 20px 0;
    padding: 0 0 0 30px;
    list-style: none;
    background-image: url('../img/arrow.png');
    background-position: left 3px;
    background-repeat: no-repeat;
    -webkit-background-size: 20px auto;
    -moz-background-size: 20px auto;
    background-size: 20px auto;
    -o-background-size: 20px auto;
}
li.arrow-weiss {
     background-image: url('../img/arrow-weiss.png') !important;
}
li.arrow-dblau {
     background-image: url('../img/arrow-dblau.png') !important;
}

.vertical-line {
    border-left: 4px solid #162259;
}

/* btn-primary */
.btn-primary {
    --bs-btn-bg: #4168b0;
    --bs-btn-border-color: #4168b0;
    --bs-btn-hover-bg: #61bbeb;
    --bs-btn-hover-border-color: #61bbeb;
    --bs-btn-active-bg: #61bbeb;
    --bs-btn-active-border-color: #61bbeb;
}

.btn-outline-primary {
    color: #56ae32 !important;
    background-color: #fff;
    border-color: #56ae32;
}
.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #56ae32;
    border-color: #56ae32;
}
.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
    color: #fff;
    background-color: #56ae32;
    border-color: #56ae32;
}
.btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(86, 174, 50, 0.5);
}
.btn-outline-primary:disabled, .btn-outline-primary.disabled {
    color: #008244;
    background-color: transparent;
}

.balken {
    width: 100%;
    max-width: 2640px;
    display: block;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    height: 30px;
    background-image: url('../img/balken.png');
    background-position: right top;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* modal */
.modal {
  --bs-modal-header-border-color: #61bbeb;
  --bs-modal-footer-border-color: #61bbeb;
}

a.popup-link-close {
    color: #4168b0 !important;
    text-decoration: none;
}
a.popup-link-close:hover,
a.popup-link-close:focus {
    color: #61bbeb !important;
    text-decoration: none;
}


/* -------------------------------------------------------------------*/
/* Header / Navbar
/* -------------------------------------------------------------------*/ 

.main-header {
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.main-header-top {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .main-header-top {
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

.header-logo {
    width: 500px;
    height: auto;
}
@media (max-width: 767.98px) {
    .header-logo {
        width: 300px;
    }
}
@media (min-width: 768px) AND (max-width: 991.98px) {
    .header-logo {
        width: 300px;
    }
}
@media (min-width: 992px) AND (max-width: 1199.98px) {
    .header-logo {
        width: 400px;
    }
}

.header-button {
    width: 500px;
    height: auto;
}
@media (max-width: 767.98px) {
    .header-button {
        width: 300px;
        margin-top: 25px;
    }
}
@media (min-width: 768px) AND (max-width: 991.98px) {
    .header-button {
        width: 300px;
    }
}
@media (min-width: 992px) AND (max-width: 1199.98px) {
    .header-button {
        width: 400px;
    }
}

/* shrink */
.main-header.shrink .main-header-top {
    margin-top: 10px;
    margin-bottom: 10px;
}
.main-header.shrink .header-logo {
    width: 300px;
}
.main-header.shrink .header-button {
    width: 300px;
}

/* Navbar */
.navbar-dark.bg-dark {
    background-color: #162259 !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #FFF !important;
}

.nav-link {
    font-style: normal;
}
.nav-item.active .nav-link {
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .navbar-brand {
        max-width: 250px;
    } 
    .navbar-collapse {
        padding-top: 20px;
        padding-bottom: 500px;
        text-align: center;
    }
    .nav-link {
        padding: 2rem 0.5rem !important;
    }
}
@media (min-width: 768px) {
    .nav-link {
        font-size: 1.25rem;
        padding: 0.5rem 2.0rem !important;
    }
}
@media (min-width: 1200px) { 
    .nav-link {
        font-size: 1.5rem;
        padding: 0.5rem 3.0rem !important;
    }
}
@media (min-width: 1400px) {
    .nav-link {
        font-size: 1.5rem;
        padding: 0.5rem 5.0rem !important;
    }
}


/* -------------------------------------------------------------------*/
/* Main Content
/* -------------------------------------------------------------------*/

.main-content {
    position: relative;
    display: block;
    width: 100%;
}

.content-center {
    position: relative;
    margin: 0 auto;
}
@media (max-width: 1279px) {
    .content-center {
        padding: 25px;
    }
    .content-center-md {
        padding: 0 !important;
        max-width: 360px;
    }
}
@media (min-width: 1280px) {
    .content-center {
        max-width: 570px;
    }
}


/* -------------------------------------------------------------------*/
/* Home
/* -------------------------------------------------------------------*/

.notfallbox1 {
    
}

.notfallbox2 {
    
}
@media (max-width: 767.98px) {
    .notfallbox2 {
        background-color: #4168b0;
        color: #FFF;
    }
}

.notfallbox3 {
    background-color: #162259;
    color: #FFF;
}
@media (min-width: 768px) {
    .notfallbox3 {
        margin-top: -5rem !important;
        margin-bottom: 3rem !important;
    }
}


/* -------------------------------------------------------------------*/
/* Fachbereiche
/* -------------------------------------------------------------------*/

.icon-watermark {
    margin-top: 3rem !important;  
    margin-bottom: 3rem !important;
}
@media (min-width: 768px) {
    .icon-watermark::after {
        content: "";
        background-image: url('../img/logo-icon.png');
        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: center 0;
        opacity: 0.1;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;   
    }
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 180px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.fachbreich1 {
    background-color: #162259;
    color: #FFF;
}
.fachbreich2 {
    background-color: #4168b0;
    color: #FFF;
    width: 101%;
}
.fachbreich3 {    
    background-color: #61bbeb;
    color: #162259;
}
.fachbreich4 {
    background-color: #61bbeb;
    color: #162259;
}
.fachbreich5 {
    background-color: #162259;
    color: #FFF;
    width: 101%;
}
.fachbreich6 {    
    background-color: #4168b0;
    color: #FFF;
}
@media (max-width: 767.98px) {
    .fachbreich4 {
        background-color: #162259;
        color: #FFF;
    }
    .fachbreich5 {
        background-color: #4168b0;
        color: #FFF;
    }
    .fachbreich6 {    
        background-color: #61bbeb;
        color: #162259;
    }
}

.flip-card-back {
    background-color: #FFF;
    color: #162259;
    transform: rotateY(180deg);
}


/* -------------------------------------------------------------------*/
/* Team
/* -------------------------------------------------------------------*/

.team-card {
    position: relative;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    padding-left: 6rem !important;
    padding-right: 6rem !important;    
}
@media (max-width: 767.98px) {
    .team-card {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        padding-left: 3rem !important;
        padding-right: 3rem !important;    
    }
}

.team-card-img {
    max-width: 100%;
    height: auto;
    transition: filter 0.5s ease-in-out;
}
.team-card-img.grayscale {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.team-card-text {
    position: absolute;
    padding: 20px;
    width: 70%;
    bottom: 6rem;
    background-color: rgba(255, 255, 255, 0.7);
    color: #162259;    
}
@media (max-width: 767.98px) {
    .team-card-text {
        padding: 10px;
        bottom: 1.5rem;
    }
}
.team-card-text-left {
    left: 0px;
    text-align: right;
}
.team-card-text-right {
    right: 0px;
    text-align: left;
}
.team-card-text.active {
    background-color: #FFF;
    padding: 40px;
    -moz-transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}
@media (max-width: 767.98px) {
    .team-card-text.active {
        padding: 20px;
    }
}

.team-card-name {
}
@media (min-width: 768px) {
    .team-card-name {
        font-size: calc(1.3rem + 0.6vw) !important;
    }
}

.team-mt-first {
    margin-top: 50px !important;    
}
.team-mt-left {
    margin-top: 50px !important;
}
.team-mt-right {
    margin-top: 50px !important;    
}
@media (min-width: 768px) {
    .team-mt-first {
        margin-top: 380px !important;    
    }
    .team-mt-left {
        margin-top: -330px !important;
    }
    .team-mt-right {
        margin-top: 50px !important;    
    }
}


/* -------------------------------------------------------------------*/
/* Praxis / Galerie / Slick / Lightbox
/* -------------------------------------------------------------------*/

.gallery {
    padding-top: 50px;
    padding-bottom: 50px;
}

.gallery img {
    max-height: 300px;
    width: auto;
}
@media (min-width: 1200px) {
    .gallery img {
        max-height: 400px;
        width: auto;
    }
}

.slider-center .slick-slide {
    margin: 20px;
}
.slick-dots li button {
    height: 40px
}
.slick-dots li button:before {
    font-size: 10px;
    line-height: 40px;
    color: #4168b0;
}
.slick-dots li.slick-active button:before {
    color: #162259;
}

.modal-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    display: none;
    z-index: 99999;
}
@media (max-width: 575.98px) {
    .modal-lightbox {
        padding-top: 50px;
    }
}

.modal-lightbox-image {
    margin: auto;
    display: block;
    height: 80%;
    max-height: 700px;
}
@media (max-width: 575.98px) {
    .modal-lightbox-image {
        width: 100%;
        max-width: 700px;
        height: auto;
        max-height: none;
    }
}

.modal-lightbox-caption {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 50px;  
    color: #ccc;
}

.modal-lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
@media (max-width: 575.98px) {
    .modal-lightbox-close {
        top: 0px;
    }
}

.modal-lightbox-close:hover,
.modal-lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* -------------------------------------------------------------------*/
/* Team
/* -------------------------------------------------------------------*/




/* -------------------------------------------------------------------*/
/* Anfahrt
/* -------------------------------------------------------------------*/





/* -------------------------------------------------------------------*/
/* Footer / Kontakt / Impressum
/* -------------------------------------------------------------------*/

.main-footer {
    bottom: 0px;
    width: 100%;
}

.main-footer .container {
    padding-bottom: 50px;
}

.main-footer-kontakt {
    margin-top: 20px;
    padding-left: 100px;
}

/* Impressum */
#impressum {
    display: none;
}

#impressum a.impressum-link-close:hover,
#impressum a.impressum-link-close:focus {
    text-decoration: none;
}

.sprechzeiten {
    font-size: 1.5rem !important;
    line-height: 1.5 !important;
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .sprechzeiten {
        font-size: 1rem !important;
        line-height: 1 !important;
    }
}


/* -------------------------------------------------------------------*/
/* Back to top
/* -------------------------------------------------------------------*/

#back-to-top {
    position: fixed;
    right: -36px;
    bottom: 18px;
    background-color: #162259;
    text-align: center;
    text-decoration: none;
    outline: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    opacity: 0.8;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    z-index: 9999;
}

#back-to-top i {
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 18px;
    color: #FFF;
}

#back-to-top:hover {
    background-color: rgba(22, 34, 89, 0.7);
}

#back-to-top.visible {
    right: 18px;
}