html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}
body {
    margin-bottom: 100px;
}
.container-fluid {
    max-width: 1920px;
}

.header {
    position: relative;
    padding: 0;
}

.header  .logo img {
    transition: all 0.5s;
    z-index: 997;
    padding: 12px 0;
    visibility: hidden;
}

#home .page-header {
    position: relative;
    background-size: cover;
    height: 65vh;
    max-height: 600px;
    width: 100%;
    background: whitesmoke url("../img/pages/home/header.jpg") center;
    margin-top: 65px;
}

.page-header img {
    float: left;
    margin-right: 60px;
}

.page-header h1 {
    display: inline-flex;
    font-size: 60px;
    font-weight: 600;
    color: #37a3a8;
    text-shadow: 2px 2px #777676;
}

.page-header h2 {
    display: inline-flex;
    font-size: 40px;
    font-weight: 200;
    color: #6c6c6c;

}

.page-header h3 {
    font-size: 18px;
    font-weight: lighter;
    position: absolute;
    right: 20px;
    bottom: 30px;
    text-shadow: none;
}

.header-content {
    position: absolute;
    bottom: 120px;
    left: 150px;
    width: 900px;
}

 .teaser {
     position: relative;
     top: 15px;
     margin: auto;
     max-width: 630px;
     border: 2px solid #37a3a8;
     border-radius: 6px;
     height: auto;
     padding: 10px 20px;
     background-color: rgba(233,231,232,0.9);
 }


/*  Navigation  */

.navbar {
    background-color: whitesmoke;
    border: none;
    margin-bottom: 30px;
    height: 65px;
}
.navbar-default .navbar-nav {
    display: inline-block;
    float: none;
    margin-top: 15px;
}

.navbar-default .navbar-header{
    padding-bottom: 10px;
}

.navbar-brand .logo {
    float: left;
    padding-right: 20px;
    height: 40px;
    width: auto;
}

.navbar-default .navbar-nav > li:last-child {
    margin-right: 0;
}
.navbar-default .navbar-nav > li > a {
    text-transform: uppercase;
    font-size: 12px;
    background-color: transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #37a3a8;
    background-color: transparent;
}
.navbar-collapse {
    padding-right: 0;
}

/* alle spalten einer zeile mit gleicher höhe */

.row.is-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row.is-flex > [class*='col-'] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
/* Silbentrennung */
p {
    -moz-hyphens: auto;
    -ms-hyphens: none;
    -webkit-hyphens: auto;
    hyphens: auto;
}
/* Darstellung der links */
a {
    color: #37a3a8;
}
a:hover {
    color: #37a3a8;
    text-decoration: none;
}
a:focus {
    text-decoration: none;
}

/* Schriftgroessen */

.navbar-brand h1 {
    color: #37a3a8;
    display: inline-flex;
    font-size: 20px;
    margin: 0;
}

.navbar-brand h2 {
    margin-top: 2px;
    font-size: 15px;
}

h1 {
    font-size: 44px;
    color: #37a3a8;

}

h2 {
    color: #6c6c6c;
    margin-top: 10px;
    font-size: 19px;
}

h3 {
    color:#37a3a8;
    font-size: 32px;
    letter-spacing: 1px;
}
h4 {
    background-color:#37a3a8;
    color: white;
    border-radius: 15px;
    padding: 10px 0 10px 15px;
    font-size: 20px;
    letter-spacing: 1px;
    margin: 20px 0 15px;
}
h5 {
    color: #37a3a8;
    font-size: 30px;
    margin-top: 25px;
}
h6 {
    color: #37a3a8;
    font-size: 22px;
    margin-top: 10px;
}
hr {
    width: 80%;
    margin: 30px auto;
    border-color: #37a3a8;
}
#impressum h6, #datenschutz h6 {
    color: #333;
}
.row.inner {
    margin-left: 0;
    margin-right: 0;
}
.article {
    font-size: 16px;
}

/* Infoblock */

.infoblock {
    border-left: 1px solid #37a3a8;
    font-size: 15px;
}
.infoblock h4 {
    width: 200px;
}
.infoblock .open {
    margin-bottom: 8px;
    width: 270px;
}
.infoblock .open .col1 {
    width: 90px;
    display: inline-block;
}
.infoblock .open .col2 {
    width: 150px;
    display: inline-block;
    text-align: right;
}
.text-primary {
    color: #37a3a8;
}

/*   footer   */

footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #37a3a8;
    color: white;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 15px 0;
}
footer a {
    color: white;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}
footer .qr {
    max-width: 120px;
    height: auto;
    margin: auto;
}
.footer .right a:first-child,
.footer .right a:nth-of-type(3) {
    margin-left: 25px;
}
footer .map {
    height: 40px;
    width: auto;
}

/* content - all pages */

.article-img {
    float: right;
    margin: 25px 15px 25px 35px;
}
.container.content {
    margin-top: 80px;
    padding-bottom: 100px;
}

#leistungen .content > h3 {
    text-align: center;
}
.content > .row {
    margin-top: 30px;
}
/* P A G E S */

/* Index */

#home .article-img {
    margin-top: 0;
}
.well {
    border-color: #37a3a8;
}
.well table td {
    padding-bottom: 0 !important;
}

/* Leistungen */

.leistungsspektrum {
    padding: 15px;
    background-color: #f5f5f5;
    margin-bottom: 25px;
}
.leistungsspektrum ul {
    margin-bottom: 0;
}

.leistungsspektrum .article {
    color: #333;
    hyphens: none;
}
.leistungsspektrum .article:hover,
.leistungsspektrum ul .active .article {
    color: #37a3a8;
}
.leistung-img {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 40vw;
    height: auto;
}

/* Team */

#team .article-img {
    margin-top: -60px;
}

/* Kontakte */

#contacts .numbers .col-1 {
    display: block;
    width: 80px;
    float: left;
}
#contacts .numbers .col-2 {
    display: block;
    width: 200px;
    float: left;
}
#contacts .sprechzeiten .col1 {
    width: 120px;
    display: block;
    float: left;
}
#contacts .sprechzeiten .col2 {
    width: 160px;
    display: block;
    float: left;
    text-align: right;
}
#contacts .qr-code {
     margin: 100px auto 0;
     padding: 10px;
     background-color: #37a3a8;
     border-radius: 22px;
 }
#contacts .contact-map {
    margin: 60px auto 30px;
}
#contacts p.notdienst  {
    display: inline-block;
}
#contacts p.notdienst.time {
    margin-left: 30px;
    text-align: right;
}
#formular {
    margin-top: 30px;
    max-width: 400px;
    height: auto;
    border: 1px solid #37a3a8;
    border-radius: 6px;
}
#contactForm {
    padding: 15px;
}
#contactForm label {
    color: #37a3a8;
}
#contactForm .form-control {
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #37a3a8;
    border-radius: 0;
}
#contactForm .btn-send {
    background-color: #37a3a8;
    color: white;
}
/*  Praxisräume  */

#rundgang {
    margin-top: 30px;
}
#rundgang img {
    border-radius: 6px;
}
.carousel-caption {
    top: 20px;
}
.carousel-caption p {
    font-size: 20px;
    color: white;
    background-color: rgba(80, 80, 80, 0.18);
}
.carousel-indicators {
    width: 80%;
    margin-left: -40%;
    bottom: 10px;
}
.carousel-indicators li, .carousel-indicators .active {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: white;
}
.carousel-indicators .active {
    background-color: #37a3a8;
    border-color: #37a3a8;
}

/* Anfahrt */

#anfahrt #aussenansicht {
    margin-top: 50px;
}
#anfahrt figure {
    float: right;
    margin-left: 30px;
    margin-bottom: 25px;
}
#anfahrt figcaption {
    font-style: italic;
    font-size: small;
    padding-top: 8px;
}

/* Impressum */

#impressum .col-1 {
    width: 10%;
    float: left;
}
#impressum .col-2 {
    width: 90%;
    float: left;
}
#impressum li {
    padding-left: 20px;
}
#impressum .article span {
    font-size: 90%;
}
#impressum ul {
    list-style: circle;
}

/* Datenschutz */



/*   DISPLAYS   */

@media screen and (min-width:1200px) {
    .top-img {
        border-radius: 6px;
    }
    .rundgang {
        padding-left: 0;
    }
}

/* md-display */

@media screen and (max-width: 1399px) {
    h3 {
        letter-spacing: 2px;
        font-size: 24px;
    }
    h4 {
        font-size: 18px;
        width: 170px;
    }
    h5 {
        font-size: 24px;
    }
    h6 {
        font-size: 18px;
    }
    .article {
        font-size: 15px;
    }
    .article {
        font-size: 16px;
    }
    #home .article-img {
        width: 300px;
    }
    .infoblock {
        font-size: 13px;
    }
    .infoblock .open {
        width: 240px;
    }
    .infoblock .open .col1 {
        width: 80px;
    }
    .infoblock .open .col2 {
        width: 130px;
    }
    footer {
        font-size: 13px;
    }
}

/* sm-display */

@media screen and (max-width: 991px) {

    .navbar-collapse {
        background-color: white;
    }
    .navbar-default .navbar-nav > li {
    }
    .navbar-default .navbar-nav > li > a {
        letter-spacing: normal;
        padding: 5px 10px;
        text-transform: none;
    }

    .navbar-brand h1 {
        font-size: 16px;
    }
    .navbar-brand h2 {
        font-size: 12px;
        font-weight: normal;
    }

    .page-header img {
        float: none;
       height: 120px;
        width: auto;
        margin-right: 0;
    }

    .page-header h1 {
        display: block;
        font-size: 40px;
    }

    .page-header h2 {
        display: block;
        font-size: 28px;
        font-weight: 200;
        color: #6c6c6c;

    }
    .header-content {
        left: 0;
        text-align: center;
        position: absolute;
        bottom: 120px;
        width: 100%;
    }

    h3 {
        letter-spacing: normal;
    }
    .infoblock {
        margin-top: 20px;
        border-left: none;
        border-top: 1px solid #37a3a8;
    }
    .article-img {
        margin-right: 0;
    }
    .leistungsspektrum {
        margin-top: 0;
    }
}

/* xs-display */

@media screen and (max-width: 767px) {

    .navbar-default .navbar-header {
        background-color: #37a3a8;
        height: 65px;
        padding: 12px 0;
    }
    .navbar-brand {
        width: 75vw;
    }
    .navbar-brand {
        padding: 5px 5px 3px 10px;
    }
    .navbar-brand h1 {
        font-size: 18px;
        letter-spacing: 1px;
        color: white;
    }
    .navbar-brand h2 {
        font-size: 12px;
        letter-spacing: 1px;
        font-weight: normal;
        text-transform: none;
        margin-top: 4px;
        margin-bottom: 0;
        color: white;
    }
    .navbar-default .navbar-nav {
         float: left;
     }
    .navbar-default .navbar-nav > li {
        margin: 0 20px;
    }
    .navbar-default .navbar-nav > li > a {
        text-transform: none;
        font-size: 16px;
        font-weight: normal;
        float: left;
        margin-bottom: 10px;
    }
    .navbar-default .navbar-toggle {
        border-color: white;
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: white;
    }
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: #37a3a8;
    }
    .footer .right a:first-child {
        margin-left: 15px;
    }

    #home .article-img {
        max-width: 45vw;
    }
    #team .article-img {
        margin-top: 0;
        max-width: 45vw;
    }
    h1 {
        color: white;
        font-size: 24px;
        margin-top: 0;
        letter-spacing: 2px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 16px;
        width: 150px;
    }
    h5 {
        font-size: 22px;
    }
    h6 {
        font-size: 16px;
    }
    .article {
        font-size: 14px;
    }
    .leistung-img {
        float: none;
        margin: 0 auto;
        max-width: 85%;
    }

    #contacts table.notdienst {
        max-width: 360px;
    }
    #contacts #formular {
        margin-left: auto;
        margin-right: auto;
    }
    #impressum .col-1 {
        width: 20%;
    }
    #impressum .col-2 {
        width: 80%;
    }
    .footer {
         font-size: 12px;
     }
    .footer img {
        height: 30px;
    }
}

/* xxs-display */

@media screen and (max-width: 479px) {


    .teaser {
        top: 0;
    }

    #home .article-img, #team .article-img {
        float: none;
        margin: 20px auto;
        max-width: 85%;
    }
    h1 {
        font-size: 18px;
        letter-spacing: 1px;
    }
    .navbar-brand {
        width: 80vw;
    }
    .navbar-brand h1 {
        font-size: 14px;
        letter-spacing: normal;
        font-weight: 500;
    }
    .navbar-brand h2 {
        letter-spacing: normal;
    }
    .footer .right  img {
        margin-top: 10px;
    }
    .leistung-img {
        margin: 20px auto;
    }
    #contacts p.notdienst.time {
        margin-left: 2px;
    }
    #contacts p.notdienst.time span {
        display: none;
    }
    #anfahrt figure  {
        float: none;
        margin: 20px 0;
    }
}
