/* Font */
@font-face {
    font-family: 'OpenSans';
    font-weight: 400;   // Regular
    font-style: normal;
    src: local('☺'),
    url('../fonts/OpenSans-Regular-webfont.woff') format('woff');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 600;   // SemiBold
    font-style: normal;
    src: local('☺'),
    url('../fonts/montserrat-semibold.woff') format('woff');
}

body {
    font-family: 'OpenSans', sans-serif;
}
h1 {
   font-size: 2.5rem;
   line-height: 2.5rem; 
}
h1 + h3,
h1 + p {
    margin-top: 40px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    color: #334d90;
    font-size: 1.675rem;
}
a {
   color: #334d90;
   transition: .3s ease;
}
a:hover {
   color: #b2c965;
}
h3 + p {
    margin-top: 20px;
}
p + h3 {
    margin-top: 60px;
}
.section-title {
    color: #b2c965;
    font: 16px/1rem 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.spinner-wrapper {
    background: #334d90;
}
a.back-to-top {
    background: #334d90 url("../img/up-arrow.png") no-repeat center 47%;
    right: 20px;
    bottom: 100px;
}
a:hover.back-to-top {
    background: #b2c965 url("../img/up-arrow.png") no-repeat center 47%;
}
.navbar.navbar-expand-md.navbar-dark.navbar-custom.fixed-top .logo-image.small {
    display: none;
}
.navbar.navbar-expand-md.navbar-dark.navbar-custom.fixed-top.top-nav-collapse .logo-image.small {
    display: block;
}
.navbar.navbar-expand-md.navbar-dark.navbar-custom.fixed-top.top-nav-collapse .logo-image {
    display: none;
}
.navbar {   
    background: rgba(255,255,255,0.9);
}
.navbar-custom {
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
}
.navbar-custom .nav-item .nav-link,
.navbar-custom.top-nav-collapse .nav-item .nav-link {
    color: #334d90;
    text-transform: uppercase;
}
.navbar-custom .nav-item .nav-link:hover, 
.navbar-custom .nav-item .nav-link.active, 
.navbar-custom.top-nav-collapse .nav-item .nav-link:hover, 
.navbar-custom.top-nav-collapse .nav-item .nav-link.active {
    color: #b2c965;
}
.navbar-custom .navbar-toggler {
    border: none;
    width: 60px;
    font-size: 10px;
}
.navbar-custom .navbar-toggler span {
    width: 100%;
    height: 4px;
    background: #334d90;
}
.navbar-custom.top-nav-collapse .navbar-toggler span {
    background: #fff;
}
.navbar-brand.logo-image svg {
    width: 200px;
}
.navbar-brand.logo-image.small svg {
    width: 150px;
}
.nav-link { cursor: pointer; }

/* Header */
.header .header-content {
  padding-top: 24.75rem;
  padding-bottom: 17.5rem;
}
#header {
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(51, 77, 144, 0.6)), url('../img/header/index.jpg') center center no-repeat;
    background-size: cover;
}
#header .text-container {
    margin-top: 0;
    margin-bottom: 0;
}
#header .text-container h3 {
    color: #fff;
    margin-bottom: 40px;
    font-size: 30px;
    line-height: 40px;
}
#header button {
    position: relative;
    top: 200px;
    background-color: #334D90;
    padding: 20px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding-left: 20px;
    transition: .3s ease;
}
#header button:hover {
  color: #334D90;
  background-color: #fff;
}
#header button img {
    margin-top: -8px;
}

/* Praxis */
/*
.basic-1 .image-container,
.basic-1 .image-container img {
    border-radius: 0;
}
*/
#praxis {
    padding-top: 6.625rem;
    padding-bottom: 6.625rem; 
}
.hero {
    position: relative;
    width: 100%;
}
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-left: 0;
    margin-bottom: 0;
}
.hero-slider-item {
    display: none;
}
.hero-slider-item img { 
    display: block;
    width: 100%;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -35px;
    padding: 15px;
    font-size: 70px;
    font-family: '';
    font-size: 60px;
    background-color: rgba(51,77,144,0.6);
    transition: .6s ease;
}
.next {
    display: block;
    right: 0;
    padding-right: 20px;
    border-radius: 5px 0 0 5px;
}
.next:after { 
    content: '\203A'; 
    color: #fff;
    font-family: 'OpenSans', sans-serif;
}
.next:hover { background: rgba(51,77,144,1); }
.prev {
    display: block;
    left: 0;
    padding-left: 20px;
    border-radius: 0 5px 5px 0;
}   
.prev:after { 
    content: '\2039'; 
    color: #fff;
    font-family: 'OpenSans', sans-serif;
}
.prev:hover { background: rgba(51,77,144,1); }

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from { opacity: .5; }
    to { opacity: 1; }
}

/* Team */
#team {
    padding-top: 6.625rem;
    padding-bottom: 6.625rem; 
}
.team {
    width: 100%;
    position: relative;
    display: inline-block;
    clear: both;
}
.team-item {
    width: calc(34.33% - 1%);
    padding: 0 1%;
    float: left;
}
.team-item:nth-of-type(1),
.team-item:nth-of-type(2) {
    width: 33.33%;
    float: none;
    margin: 0 auto;
}
.team-item:nth-of-type(2) {
    margin-top: 40px;
}
.team-item + .team-item {
    margin-bottom: 40px;
}
.team-img {
    width: 100%;
}
.team-txt {
    padding: 1.5rem;
    border: 1px solid #ebe8e8;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    background-color: #fff;
    text-align: left;
}
.team-txt h3 {
    color: #334d90;
    font-size: 17px;
    text-align: left;
    margin-bottom: 0;
}
.team-txt p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 15px;
}

.cards-2 .card {
    margin-bottom: 2.625rem;
}
.cards-2 .card-image img {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
#team .card-title {
    color: #334d90;
    font-size: 17px;
    text-align: left;
}
#team .card-body {
    padding: 1.5rem;
}
#team .card-body h3 {
    margin-bottom: 0;
}
#team .card-body p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 15px;
    text-align: left;
}
#team .section-title + h3 { 
    margin-bottom: 40px;
}

/* Leistungen */
#leistungen {
    text-align: center;
    padding-top: 6.625rem;
    padding-bottom: 6.625rem;
}
.leistungbox {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-top: 40px;
    clear: both;
}
.leistungbox-item {
    width: 33.33%;
    float: left;
}
.leistungbox-item + .leistungbox-item {
    margin-bottom: 40px;
}
.leistungbox-item:nth-of-type(10),
.leistungbox-item:nth-of-type(11),
.leistungbox-item:nth-of-type(12) {
    margin-bottom: 0;
}
.leistungbox-img {
    width: 20%;
}
.leistungbox-txt {
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 24px;
    font-size: 18px;
}

/* Notdienst */
#notdienst {
    text-align: center;
    padding-top: 6.625rem;
    padding-bottom: 6.625rem;
}
#notdienst .section-title + h3 {
    margin-bottom: 3.25rem;
}
.notdienst .card-body {
    border: none;
    padding: 2rem;
    background: #334d90;
    color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.notdienst .card-body h3,
.notdienst .card-body p,
.notdienst .card-body p a {
    color: #fff;
    transition: .3s ease;
    text-align: left;
}
.notdienst .card-body h3 {
    font-size: 25px;
    line-height: 35px;
}
.notdienst .card-body p {
    margin-bottom: 0;
}
.notdienst .card-body p a:hover {
    color: #b2c965;
}

/* Kontakt */
#kontakt {
    background-color: #fff;
}
.form-2 {
    padding-top: 6.625rem;
    padding-bottom: 6.625rem;
}

/* Impressum / Datenschutz */
#impressum .basic-1,
#datenschutz .basic-1 {
    padding-top: 11.875rem;
}

/* Footer */
.copyright {
  padding: 1.3rem 0 1rem 0;
  background-color: #334d90;
  text-align: center;
  text-transform: uppercase;
}
.copyright p {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}
.copyright p, .copyright a {
    color: #fff;
    transition: .3s ease;
}
.copyright p:hover, .copyright a:hover {
    color: #b2c965;
}

@media (max-width: 1199px) {
    .notdienst .card-body h3 {
        font-size: 22px;
        line-height: 32px;
    }
}
@media (max-width: 1200px) {
    .team-item {
        width: calc(34.33% - 1%);
        padding: 0 1%;
    }
}
@media (max-width: 992px) {
    .leistungbox-img { width: 35%; }
    .leistungbox-txt {
        line-height: 20px;
        font-size: 14px;
    }
    p + h3 {
        margin-top: 40px;
    }
    #kontakt .col-lg-6:nth-of-type(2) {
        margin-top: 40px;
    }
    .team-item:nth-of-type(1),
    .team-item:nth-of-type(2) {
        width: 50%;
    }
}
@media (min-width: 991px) and (max-width: 1199px)  {
    #team .container {
        max-width: 1100px;
    }
}
@media (max-width: 768px) {
    h3 {
        font-size: 18px;
    }
    p + h3 {
        margin-top: 20px;
    }
    h1 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
    h1 + h3,
    h1 + p {
        margin-top: 20px;
    }
    .navbar-custom.top-nav-collapse {
        background-color: #334d90;
    }
    .navbar-custom.top-nav-collapse .nav-item .nav-link {
        color: #fff;
    }
    .notdienst .card-body {
        height: 165px;
    } 
    #notdienst .col-lg-4:nth-of-type(3) .notdienst {
        margin-bottom: 0;
    }
    #notdienst {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    .cards-2 {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    .form-2 {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    #praxis {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    #team {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    #leistungen {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    .leistungbox-item {
        width: 50%;
    }
    .leistungbox-item:nth-of-type(10) {
        margin-bottom: 40px;
    }
    .leistungbox-txt {
        line-height: 24px;
        font-size: 16px;
    }
    #team .col-lg-4:nth-of-type(3) .card:nth-of-type(2) {
          margin-bottom: 0;
    }
    #kontakt .col-lg-6:nth-of-type(2) p:nth-of-type(5) {
        margin-bottom: 0;
    }
    .team {
        margin-top: 0;
    }
    .team-item:nth-of-type(1),
    .team-item:nth-of-type(2) {
        width: 50%;
        float: left;
        margin: unset;
        margin-bottom: 40px;
    }
    .team-item {
        width: 50%;
    }
}
@media (min-width: 768px){
    .navbar-custom.top-nav-collapse {
        background-color: #334d90;
    }
    .navbar-custom.top-nav-collapse .nav-item .nav-link {
        color: #fff;
    }
}
@media (min-width: 541px) and (max-width: 637px)  {
    #team .container {
        max-width: 700px;
    }
}
@media (max-width: 540px) {
    #header button {
        top: 45px;
        font-size: 20px;
        padding: 10px;
    }
    .prev { padding-left: 15px; }
    .next { padding-right: 15px; }
    .prev,
    .next {
        padding: 10px 10px 18px 10px;
        font-family: 'Open Sans', sans-serif;
        font-size: 50px;
        top: 55%;
    }
    .basic-1 .text-container { text-align: center; }
    .notdienst .card-body {
        height: unset;
    }
    .leistungbox {
        margin-top: 20px;
    }
    .leistungbox-item {
        width: 100%;
        padding: 0 40px;
    }
    .leistungbox-item:nth-of-type(1) { margin-bottom: 40px; }
    .leistungbox-item:nth-of-type(10),
    .leistungbox-item:nth-of-type(11) { margin-bottom: 40px; }
    .leistungbox-img {
        width: 40%;
    }
    .header .header-content {
        padding-top: 13.3rem;
        padding-bottom: 4rem;
    }
    .cards-2 .card {
        margin-bottom: 20px;
    }
    .notdienst .card-body {
        padding: 1.5rem;
    }
    .notdienst .card-body h3 {
        font-size: 20px;
        line-height: 30px;
    }
    .notdienst .card-body p {
        margin-top: 10px;
    }
    .form-2 {
        padding-bottom: 3rem;
    }
    #notdienst .section-title + h3 {
        margin-bottom: 2.25rem;
    }
    .team-item:nth-of-type(1),
    .team-item:nth-of-type(2) {
        width: 100%;
    }
    .team-item {
        width: 100%;
    }
    .team-txt {
        text-align: center;
    }
    .team-txt h3 {
        text-align: center;
        font-size: 16px;
    }
    .team-item:nth-of-type(8) {
        margin-bottom: 0;
    }
    #team .container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 380px) {
    .notdienst .card-body h3 {
        font-size: 18px;
        line-height: 28px;
    }
}
@media (max-width: 320px) {
    #notdienst .section-title + h3 {
        margin-bottom: 1.25rem;
    }
    .cards-2 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .cards-2 .card {
        margin-bottom: 2.625rem;
    }
    .form-2 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .form-2 .col-lg-6:nth-of-type(2) {
        padding-top: 3rem;
    }
    .notdienst .card-body h3 {
        font-size: 14px;
        line-height: 24px;
    }
    #header button {
    padding: 10px;
    font-size: 18px;
    }
    #team .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .team-txt p {
        font: 400 1rem/1.325rem "Open Sans", sans-serif;
    }
}

.footer-box { 
    display: block;
    text-align: center; 
    height: 35px;
    margin: 30px 0;
}

.footer-box:after {
    content: '';
    display: block;
    clear: both;
}

.footer-social {
    display: inline-block;
    padding-left: 0;
    margin-bottom: 0;
    height: 35px;
}

.footer-social-item {
    display: block;
    float: left;
}

.footer-social-item + .footer-social-item {
    margin-left: 10px;
}

.footer-social-item a {
    display: inline-block;
    width: 35px;
    height: 35px;
}

.footer-social-item svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: .3s ease;
    fill: #334d90;
}

.footer-social-item svg:hover {
    fill: #b2c965;
}
.footer-sticky {
    background: #334d90;
    color: #fff;
    position: sticky;
    bottom: 0;
    width: 100%;
    display: none;
}
@media (max-width: 540px){
    .footer-sticky {
        display: block;
        text-align: center;
    }
    .footer-sticky-icon {
        display: inline-block;
        margin: 0;
        padding: 0;
    }
    .footer-sticky-icon-item {
        display: block;
        float: left;
        padding: 7.5px 0 0 0;
    }
    .footer-sticky-icon-item + .footer-sticky-icon-item {
        margin-left: 30px;
    }
    .footer-sticky-icon-item a {
        display: block;
        width: 30px;
    }
    .footer-sticky-icon-item svg {
        display: block;
        width: 100%;
        height: 100%;
        transition: .3s ease;
        fill: #fff;
    }
    .footer-sticky-icon-item svg:hover {
        fill: #b2c965;
    }
    .footer-box {
        display: none;
    }
}