@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.ttf')  format('truetype');
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.ttf')  format('truetype');
    font-style: normal;
    font-weight: 700;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: #000;
}

.header {
    background-color: #fff;
}

.gridContainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "info"
        "urlaub"
        "notdienst"
        "zahnarzt"
        "titel-zahnarzt"
        "oeffnungszeiten"
        "titel-oeffnungszeiten"
        "leistungen"
        "titel-leistungen"
        "galerie"
        "titel-galerie"
        "mitte";
    width: 247px;
    margin-left: auto;
    margin-right: auto;
}

#info {
    grid-area: urlaub;
    text-align: center;
}
#info h3 {
    font-weight: bold;
}

#urlaub {
    grid-area: urlaub;
    text-align: center;
}
#urlaub h3 {
    font-weight: bold;
}

#notdienst {
    grid-area: notdienst;
    text-align: center;
}
#notdienst h3 {
    font-weight: bold;
}

#zahnarzt {
    grid-area: zahnarzt;
}
#titel-zahnarzt {
    grid-area: titel-zahnarzt;
}

#leistungen {
    grid-area: leistungen;
}

#titel-leistungen {
    grid-area: titel-leistungen;
}

#galerie {
    grid-area: galerie;
}

#titel-galerie {
    grid-area: titel-galerie;
}

#oeffnungszeiten {
    grid-area: oeffnungszeiten;
}

#titel-oeffnungszeiten {
    grid-area: titel-oeffnungszeiten;
}

#mitte {
    grid-area: mitte;
    text-align: center;
}

.home-top {
    border-bottom: #000 solid 1px;
}
.home-top.title {
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 50px;
}

.home-bottom {
    border-bottom: #000 solid 1px;
}
.home-bottom.title {
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 50px;
}

footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "pflichtlinks"
        "copyright";
    /*"link-disclaimer"
    "link-datenschutz"
    "copyright";*/
    justify-items: center;
    margin-top: 30px;
}

#copyright {
    grid-area: copyright;
    text-align: center;
}
#pflichtlinks {
    display: flex;
    justify-content: center;
    grid-area: pflichtlinks
}
#link-impressum::after, #link-disclaimer::after {
    content: "\00a0-";

}

#link-datenschutz::before, #link-disclaimer::before {
    content: "\00a0";
}

/*#link-impressum {
    grid-area: link-impressum;
}
#link-disclaimer {
    grid-area: link-disclaimer;
}
#link-datenschutz {
    grid-area: link-datenschutz;
}*/

.gridContainer-team {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "za-logo"
        "titel-za-bild"
        "za-bild"
        "dgzs-cert";
    width: 429px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
}

.gridContainer-team1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "titel-doehler"
        "bild-doehler"
        "none-yet";
    width: 429px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
}

#za-logo {
    grid-area: za-logo;
    width: 100%;
    padding: 10px 0 10px 0;
}
#titel-za-bild {
    grid-area: titel-za-bild;
    font-weight: bold;
    border-bottom: #000 solid 1px;
    padding: 10px 0 10px 0;
}
#za-bild {
    grid-area: za-bild;
    padding: 10px 0 10px 0;
}
#dgzs-cert {
    grid-area: dgzs-cert;
    padding: 10px 0 10px 0;
}
#titel-doehler {
    grid-area: titel-doehler;
    font-weight: bold;
    border-bottom: #000 solid 1px;
    padding: 10px 0 10px 0;
}
#bild-doehler {
    grid-area: bild-doehler;
    padding: 10px 0 10px 0;
}
#none-yet {
    grid-area: none-yet;
    padding: 10px 0 10px 0;
}

.gridContainer-offen {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "offen-logo"
        "offen-begruessung"
        "offen-zeiten"
        "offen-adresse-links"
        "offen-adresse";
    width: 429px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    /*text-transform: uppercase;*/
}

#offen-logo {
    grid-area: offen-logo;
}
#offen-begruessung {
    grid-area: offen-begruessung;
}
#offen-zeiten {
    grid-area: offen-zeiten;
    width: 250px;
}
#offen-adresse-links {
    grid-area: offen-adresse-links;
}
#offen-adresse-rechts {
    grid-area: offen-adresse-rechts;
    display: none;
    justify-self: right;
}
#offen-adresse {
    grid-area: offen-adresse;
}
#offen-maps {
    grid-area: offen-maps;
    display: none;
    justify-self: right;
}

.iframe {
    width: 500px;
    height: 400px;
}

.gridContainer-leistungen {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "leistungen-titel"
        "leistungen-text1"
        "leistungen-text2"
        "leistungen-text3";
    width: 429px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    text-transform: none;
}

#leistungen-titel {
    grid-area: leistungen-titel;
    padding-bottom: 15px;
}
#leistungen-text1 {
    grid-area: leistungen-text1;
}
#leistungen-text2 {
    grid-area: leistungen-text2;
}
#leistungen-text3 {
    grid-area: leistungen-text3;
}
#leistungen-bilder {
    grid-area: leistungen-bilder;
    display: none;
}
#leistungen-bild1 {
    grid-area: leistungen-bild1;
    display: none;
}
#leistungen-bild2 {
    grid-area: leistungen-bild2;
    display: none;
}
#leistungen-bild3 {
    grid-area: leistungen-bild3;
    display: none;
}

#leistung-bild5 {
    display: none;
}
#leistung-bild1 {
    display: none;
}

b.leistungen-ueberschrift {
    display: block;
    margin: 5px 0 5px 0;
}

.gridContainer-leistungen p {
    text-align: justify;
    hyphens: auto;
}

@media (min-width: 768px) {
    .navbar-nav {
        float:none;
        margin:0 auto;
        text-align: center;
    }

    .navbar-nav > li {
        display: inline-block;
        float:none;
    }
}

.tableFontSize {
    font-size: 1rem;
}

@media (min-width: 1200px) {
    body {
        background-image: url('../pics/Hintergrund.jpg');
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }

    footer {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-areas:
            "copyright pflichtlinks";
        margin-top: 50px;
        justify-items: stretch;
        padding: 10px 50px 30px 50px;
        border-top: #000 solid 1px;
    }

    #copyright {
        text-align: left;
    }
    #pflichtlinks {
        justify-content: flex-end;
    }

    .oeffnungszeitenGrid {
        /*margin-top: 50px;*/
    }

    .tableFontSize {
        font-size: 1.1rem;
    }

    .gridContainer {
        display: grid;
        gap: 1rem;
        grid-template-columns: 247px auto 247px;
        grid-template-areas:
            "urlaub urlaub urlaub"
            "notdienst notdienst notdienst"
            "zahnarzt  mitte leistungen"
            "titel-zahnarzt  mitte titel-leistungen"
            ".  mitte ."
            "titel-galerie mitte titel-oeffnungszeiten"
            "galerie  mitte oeffnungszeiten";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }

    .img-responsive {
        width: 100%;
    }

    .home-top {
        border-top: none;
        border-bottom: #000 solid 1px;
    }
    .home-top.title {
        margin-top: 0;
        padding-bottom: 10px;
    }

    .home-bottom {
        border-top: #000 solid 1px;
        border-bottom: none;
    }
    .home-bottom.title {
        margin-bottom: 0;
        padding-top: 10px;
    }

    #mitte-galerie {
        display: none;
    }

    .gridContainer-team {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "za-logo ."
            ". titel-za-bild"
            "za-bild dgzs-cert";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
    }

    #offen-adresse-rechts {
        display: inline-block;
    }
    #offen-adresse-links {
        display: none;
    }

    .gridContainer-offen {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "offen-logo offen-adresse-rechts"
            "offen-begruessung offen-adresse"
            "offen-zeiten offen-maps";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
    }

    #offen-zeiten {
        width: 250px;
    }
    #offen-adresse-links {
        display: none;
    }
    #offen-adresse-rechts {
        display: block;
    }
    #offen-adresse {
        justify-self: right;
        text-align: right;
    }
    #offen-maps {
        display: block;
    }

    .gridContainer-leistungen {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
            "leistungen-titel ."
            "leistungen-text1 leistungen-bilder"
            "leistungen-text2 leistungen-bilder"
            "leistungen-text3 leistungen-bilder";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        column-gap: 50px;
        row-gap: 0;
        text-transform: none;
    }

    #leistungen-bilder {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    #leistungen-bilder img {
        max-width: 275px;
    }

}

@media (min-width: 768px) and (max-width: 1199.98px){

    body {
        background-image: url('../pics/Hintergrund.jpg');
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }

    footer {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-areas:
            "copyright pflichtlinks";
        margin-top: 50px;
        justify-items: stretch;
        padding: 10px 50px 30px 50px;
        border-top: #000 solid 1px;
    }

    #copyright {
        text-align: left;
    }
    #pflichtlinks {
        justify-content: flex-end;
    }

    .oeffnungszeitenGrid {
        /*margin-top: 50px;*/
    }

    .tableFontSize {
        /*font-size: 0.8rem;*/
    }

    .gridContainer {
        display: grid;
        gap: 1rem;
        grid-template-columns: 200px auto 200px;
        grid-template-areas:
            "urlaub urlaub urlaub"
            "notdienst notdienst notdienst"
            "zahnarzt  mitte leistungen"
            "titel-zahnarzt  mitte titel-leistungen"
            ".  mitte ."
            "titel-galerie mitte titel-oeffnungszeiten"
            "galerie  mitte oeffnungszeiten";
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .img-responsive {
        width: 100%;
    }

    .home-top {
        border-top: none;
        border-bottom: #000 solid 1px;
    }
    .home-top.title {
        margin-top: 0;
        padding-bottom: 10px;
    }

    .home-bottom {
        border-top: #000 solid 1px;
        border-bottom: none;
    }
    .home-bottom.title {
        margin-bottom: 0;
        padding-top: 10px;
    }

    #mitte-galerie {
        display: none;
    }

    .gridContainer-team {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "za-logo ."
            ". titel-za-bild"
            "za-bild dgzs-cert";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
    }

    #offen-adresse-rechts {
        display: inline-block;
    }
    #offen-adresse-links {
        display: none;
    }

    .gridContainer-offen {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "offen-logo offen-adresse-rechts"
            "offen-begruessung offen-adresse"
            "offen-zeiten offen-maps";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
    }

    #offen-zeiten {
        width: 250px;
    }
    #offen-adresse-links {
        display: none;
    }
    #offen-adresse-rechts {
        display: block;
    }
    #offen-adresse {
        justify-self: right;
    }
    #offen-maps {
        display: block;
    }

    .gridContainer-leistungen {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
            "leistungen-titel ."
            "leistungen-text1 leistungen-bilder"
            "leistungen-text2 leistungen-bilder"
            "leistungen-text3 leistungen-bilder";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        column-gap: 20px;
        row-gap: 0;
        text-transform: none;
    }

    #leistungen-bilder {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    #leistungen-bilder img {
        max-width: 225px;
    }
    #leistung-bild1 {
        display: inline;
    }
    #leistung-bild5 {
        display: inline;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px){
    .gridContainer-leistungen {
        width: 750px;
    }
    .gridContainer-offen {
        width: 750px;
    }
    .iframe {
        width: 375px;
        height: 300px;
    }

    #leistung-bild1 {
        display: inline;
    }
    #leistung-bild5 {
        display: inline;
    }

    .gridContainer-team {
        width: 750px;
    }

}

@media (min-width: 768px) and (max-width: 991.98px){
    .gridContainer-team {
        display: grid;
        grid-template-columns: 60% 38%;
        grid-template-areas:
            "za-logo ."
            ". titel-za-bild"
            "za-bild dgzs-cert";
        width: 750px;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
    }

    #dgzs-cert {
        margin-top: 25px;
    }

    .gridContainer-leistungen {
        width: 750px;
        column-gap: 10px;
    }

    .gridContainer-offen {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "offen-logo offen-adresse-rechts"
            "offen-begruessung offen-adresse"
            "offen-zeiten offen-maps";
        width: 750px;
    }

    .iframe {
        width: 375px;
        height: 300px;
    }

    .gridContainer-team {
        width: 750px;
    }

}

/*@media (min-width: 768px) and (max-width: 991.98px){
    .gridContainer {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-areas:
            "zahnarzt mitte mitte leistungen"
            "leer1 mitte mitte leer2"
            "galerie mitte mitte oeffnungszeiten";
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }
}*/
@media (min-width: 575px) and (max-width: 767.98px){
    .gridContainer {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "urlaub"
            "notdienst"
            "zahnarzt"
            "titel-zahnarzt"
            "oeffnungszeiten"
            "titel-oeffnungszeiten"
            "leistungen"
            "titel-leistungen"
            "galerie"
            "titel-galerie"
            "mitte"
            "titel-mitte";
        width: 247px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*#zahnarzt {
    grid-row: 1;
    grid-column: 1;
}

#leistungen {
    grid-row: 1;
    grid-column: 3;
}

#galerie {
    grid-row: 3;
    grid-column: 1;

}

#oeffnungszeiten {
    grid-row: 3;
    grid-column: 3;

}

#mitte {
    grid-row: 1 / 4;
    grid-column: 2;

}*/

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.background {
    box-shadow: 0 10px 10px hsla(300,15%,25%,0.3) inset;
    padding-top: 25px;
}

li.nav-item {
    padding-top: 2.5px;
    margin-left: 0;
    margin-right: 0;
    border-top: 1px solid #000;
}
li.nav-item:hover {
    padding-top: 0;
    border-top: 3px solid #000;
}
li.nav-item.active{
    padding-top: 0;
    border-top: 3px solid #000;
}

.container {
    padding-top: 20px;
    /*display: flex;*/
}

.title {
    font-weight: bold;
}

.start-oeffnungszeiten {
    text-align: left;
}

.oeffnungszeitenGrid {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: repeat(7, auto);
    /*text-transform: uppercase;*/
}

.firstCol {
    text-align: left;
    grid-column: 1/2;
    border-bottom: #aaa solid 1px;
}
.secondCol {
    grid-column: 2/3;
    border-bottom: #aaa solid 1px;
    text-align: center;
}
.thirdCol {
    grid-column: 3/4;
    border-bottom: #aaa solid 1px;
    text-align: right;
}

#termin-bitte {
    text-align: left;
    grid-row: 1;
    grid-column: 1 / 4;
    padding-bottom: 15px;
}

#barrierefrei {
    text-align: left;
    grid-row: 7;
    grid-column: 1 / 4;
    padding-top: 15px;
    font-weight: 600;
}
