/* ALLGEMEIN */

/* Margin */
.margin-top-tiny {
    margin-top: 1.5rem !important;
}

.margin-top-very-small {
    margin-top: 2.5rem !important;
}

.margin-top-small {
    margin-top: 5rem !important;
}

.margin-top-medium {
    margin-top: 8rem !important;
}


/* Text */
.hyphen-manual {
    hyphens: manual;
    -moz-hyphens: manual;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
}

.font-color-rose-light {
    color: #facfc2;
}

.font-color-rose-middle {
    color: #efb1a3;
}

.font-color-rose-dark {
}

.font-color-beton-light {
    color: #a5a49a;
}

.font-color-beton-middle {
    color: #7f7c6e;
}

.font-color-beton-dark {
}


/* Buttons */
.btn {
    text-transform: none;
}

.btn.btn-rose {
    background: #facfc2;
    border-color: #facfc2;
    color: #ffffff
}

.btn.btn-rose:hover, .btn.btn-blue:focus {
    background: transparent !important;
    border-color: #facfc2;
    color: #facfc2 !important
}

.btn.btn-aqua {
    background: #bfdddc;
    border-color: #bfdddc;
    color: #ffffff
}

.btn.btn-aqua:hover, .btn.btn-blue:focus {
    background: transparent !important;
    border-color: #bfdddc;
    color: #bfdddc !important
}


/* Color */
.gradient-text-beton {
    background: #a5a49a;
    background: -moz-linear-gradient(left, #a5a49a 2%, #7f7c6e 82%);
    background: -webkit-linear-gradient(left, #a5a49a 2%, #7f7c6e 82%);
    background: linear-gradient(to right, #a5a49a 2%, #7f7c6e 82%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a5a49a', endColorstr='#7f7c6e', GradientType=1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-rose {
    background: #facfc2;
    background: -moz-linear-gradient(left, #facfc2 2%, #efb1a3 82%);
    background: -webkit-linear-gradient(left, #facfc2 2%, #efb1a3 82%);
    background: linear-gradient(to right, #facfc2 2%, #efb1a3 82%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#facfc2', endColorstr='#efb1a3', GradientType=1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-aqua-light {
    background-color: #eaf4f3;
}

.bg-aqua-middle {
    background-color: #bfdddc;
}

.bg-rose-light {
    background-color: #f9ded7;
}

.bg-rose-middle {
    background-color: #facfc2;
}

.bg-beton-middle {
    background-color: #a5a49a;
}

.bg-gray {
    background-color: #DEDFE0 !important;
}

.gradient-bg-rose {
    background: #facfc2;
    background: -moz-linear-gradient(left, #facfc2 2%, #efb1a3 82%);
    background: -webkit-linear-gradient(left, #facfc2 2%, #efb1a3 82%);
    background: linear-gradient(to right, #facfc2 2%, #efb1a3 82%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#facfc2', endColorstr='#efb1a3', GradientType=1);
}


/* Tables */
.table-one-fifth {
    width: 16.8%;
    position: relative;
    float: left;
    margin-right: 4%;
    margin-bottom: 20px;
}


/* Positioning */
.last {
    margin-right: 0;
}


/* Images / Video */
.imageframe-align-center img {
    text-align: center;
}

video {
    width: 100% !important;
    height: auto !important;
}


/* NAVBAR */

.navbar {
    color: #fff;
}

.navbar.navbar-right {
    min-height: 440px;
}

@media screen and (max-height: 620px) {
    .navbar.navbar-right .navbar-nav .nav-link {
        padding: .2rem 1rem !important;
    }

    header #nav-logo-box {
        height: 180px;
    }
}

@media screen and (max-height: 560px) {
    .navbar.navbar-right .navbar-nav .nav-link {
        padding: .1rem 1rem !important;
    }

    header #nav-logo-box {
        height: 150px;
    }
}

@media screen and (max-height: 490px) {
    .navbar.navbar-right .navbar-nav .nav-link {
        padding: 0 1rem !important;
    }

    header #nav-logo-box {
        height: 120px;
    }
}

/* HOME */

#home-contact a:hover, a:active {
    color: #7f7c6e;
}


/* IMPORTANT INFO */

.important_info {
    position: relative;
    display: inline-block;
    float: left;
    margin-right: 15px;
}

#important_info h1 {
    font-size: 1.7rem;
    line-height: 2.5rem !important;
}

.important-info-box {
    padding: 4rem;
    background: #f8f9fa;
    /*    border-radius: 10px;*/
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.important-info-contact {
    font-size: 1.4rem;
    padding-top: 2rem;
    line-height: 2.5rem;
}

.important-info-opening {
    font-size: 1.1rem;
}

.important-info-opening td {
    padding-right: 1ex;
}

.important-info-phone {
    font-size: 1.1rem;
}

.important-info-phone-hours {
    font-size: 1.1rem;
    margin-top: 1rem;
}

.important-info-phone-hours td {
    padding-right: 1ex;
}

.important-info-emergency-phone {
    font-size: 1.1rem;
    margin-top: 1rem;
}

.important-info-social {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 1.5rem;
}

.important-info-social a {
    height: 30px;
    width: 30px;
    display: inline-block;
    line-height: 30px;
    border: 1px solid #a5a49a;
    color: #FFFFFF;
    background: #a5a49a;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


/* ABOUT */

#about {
    background-color: #f0f0f0;
}

#about-img-div {
    background: url("../zb-images/IMG_9739.jpg") no-repeat center left 30%;
    background-size: cover;
    min-height: 800px;
}

.bg-img-rooms {
    background-image: url(../zb-images/IMG_9556-3.jpg);
}

@media screen and (min-width: 1610px) {
    #about-img-div {
        background-position: center left 30%;
        background-size: cover;
        min-height: 600px;
    }
}

@media screen and (max-width: 1299px) {
    #about-img-div {
        background-position: center left 52%;
        background-size: cover;
        min-height: 600px;
    }
}

@media screen and (max-width: 1199px) {
    #about-img-div {
        background-position: center left 20%;
        background-size: cover;
        min-height: 600px;
    }
}

@media screen and (max-width: 991px) {
    #about-img-div {
        background-position: center left 53%;
        background-size: cover;
        min-height: 800px;
    }
}

@media screen and (max-width: 767px) {
    #about-img-div {
        background-position: center left 53%;
        background-size: cover;
        min-height: 600px;
    }
}

@media screen and (max-width: 576px) {
    #about-img-div {
        background-position: center left 22%;
        background-size: cover;
        min-height: 600px;
    }
}

@media screen and (max-width: 466px) {
    #about-img-div {
        background-position: center left 30%;
        background-size: cover;
        min-height: 600px;
    }
}

@media screen and (max-width: 353px) {
    #about-img-div {
        background-position: center left 53%;
        background-size: cover;
        min-height: 600px;
    }
}


/* DENTISTS */

.dentists_top {
    position: relative;
    overflow: hidden;
}

#dentists_top::before,
#dentists_top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    height: 90px;
    width: 100%;
}

#dentists_top::before {
    top: 0;
}

#dentists_top::after {
    bottom: 0;
}

#dentists_top .scroll-top-arrow-dentist {
    /*background-image: linear-gradient(to right, #DBDACC 0%, #ffffff 51%, #DBDACC 100%);*/
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 30px;
    line-height: 45px;
    color: #fff !important;
    display: none;
    height: 45px;
    width: 45px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    z-index: 99;
    border-radius: 100%;
    background-size: 200% auto;
}

.text_wrap {
    padding: 50px 2rem 0.5rem 2rem;
}

.itemshadow .cbp-item-wrapper {
    -webkit-box-shadow: 0 0 4px 1px rgba(101, 101, 101, 0.2);
    box-shadow: 0 0 4px 1px rgba(101, 101, 101, 0.2);
    padding-bottom: 2px;
    padding-top: 5px;
}

.border-dentists .cbp-item img {
    border: 20px solid #fff;
}

.bottom-text {
    display: table;
}

.bottom-text > .cells {
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

.bottom-text p {
    font-size: 15px;
    margin-bottom: 0;
}

.bottom-text .dentists-head {
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.6;
}


/* TEAM */

.team-box-two .team-two-block .team-two-content ul.packages {
    padding-top: 10px;
}

.team-box-two .team-two-block .team-two-content li {
    width: 100%;
    display: inline-block;
    position: inherit;
    line-height: normal;
}

.team-box-two .team-two-block:hover .team-two-content, .team-box-two .team-two-block:hover .team-two-content li {
    color: #ffffff;
}


.team-box-two .team-two-content span {
    line-height: 20px;
    margin-top: .4rem;
}

#team-empfang .team-box-two .team-two-block::before {
    background-image: linear-gradient(to right, #525050 0%, #373636 51%, #525050 100%);
}

#team-prophylaxe .team-box-two .team-two-block::before {
    background-image: linear-gradient(to right, #efb1a3 0%, #facfc2 51%, #efb1a3 100%);
}

#team-assistenz .team-box-two .team-two-block::before {
    background-image: linear-gradient(to right, #B1CDD9 0%, #9DB5BF 51%, #B1CDD9 100%);
}

@media screen and (max-width: 1249px) {
    h4 {
        font-size: 1.2rem;
    }

    .team-box-two .team-two-content span {
        line-height: 17px;
        font-size: 0.8rem;
    }

    .team-box-two .team-two-block .team-two-content li {
        line-height: 1rem;
    }
}

@media screen and (max-width: 1165px) {
    .team-box-two {
        float: none;
        width: 100%;
    }

    .team-box-two:nth-child(2) .team-two-block.left::before {
        right: -50%;
        left: 0;
    }

    .team-box-two:nth-child(2) li:nth-child(1) {
        order: 2;
    }

    .team-box-two:nth-child(3) .team-two-block::before {
        width: 100%;
    }

    .team-box-two:nth-child(3) .team-two-block.right::before {
        left: 0;
        right: 0;
    }

    .team-box-two:nth-child(3) li:nth-child(1) {
        order: initial;
    }

    .team-box-two:nth-child(6) .team-two-block.left::before {
        right: -50%;
        left: 0;
    }

    .team-box-two:nth-child(6) li:nth-child(1) {
        order: 2;
    }
}

/* LEISTUNGEN */

.cube-portfolio1 .cbp-l-grid-mosaic-flat .cbp-caption-activeWrap {
    background: #a5a49a;
    background: -moz-linear-gradient(left, #a5a49a 2%, #7f7c6e 82%);
    background: -webkit-linear-gradient(left, #a5a49a 2%, #7f7c6e 82%);
    background: linear-gradient(to right, #a5a49a 2%, #7f7c6e 82%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a5a49a', endColorstr='#7f7c6e', GradientType=1);
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

.cbp-l-caption-alignCenter .cbp-l-caption-body {
    padding: 1rem;
    line-height: 2ex;
}

.cbp-label {
    position: absolute;
    top: 1rem;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#leistungen .cbp-caption:hover .cbp-label {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.3) !important;
}

.cbp-white-border {
    border: 3px solid #fff;
    background: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}


/* SERVICE PROFI */

.service-profi {
    padding: 1rem 3.5rem;
    background: rgba(255, 255, 255, 0.7);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 0.4) 80%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 0.4) 80%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 0.4) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1);
    height: 100%;
    /*border-radius: 10px;*/
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.service-profi-bg {
    background: url("../zb-images/IMG_9187.jpg") no-repeat center center;
    background-size: cover;
}

.service-profi-label {
    font-weight: 600;
}

.service-profi ul.packages {
    max-width: 500px;
}

.service-profi ul.packages li {
    line-height: 2.7ex;
    margin-top: 2ex;
    text-indent: -10px;
    padding-left: 18px;
}

.service-profi ul.packages li i {
    width: 11px;
}

.service-profi ul.packages ul li {
    line-height: 2.7ex;
    padding-left: 18px;
    text-indent: unset;
    margin-top: 0.3rem;
}


/* KARRIERE */

.karriere-item-image {
    width: 33%;
    float: left;
}

.karriere-item-text {
    width: 66%;
    float: left;
    padding-left: 2rem;
}


@media screen and (max-width: 767px) {

    .karriere-item-image {
        display: none;
    }

    .karriere-item-text {
        width: 100%;
        float: inherit;
        padding-left: 0;
    }
}


/* GELÄCHELT */
.gelaechelt {
    position: relative;
    overflow: hidden;
}

#gelaechelt::before,
#gelaechelt::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    height: 90px;
    width: 100%;
}

#gelaechelt::before {
    top: 0;
}

#gelaechelt::after {
    bottom: 0;
}

#gelaechelt .overlay-two > p {
    color: #333;
}

#gelaechelt .geleachelt-label {
    position: absolute;
    left: 0;
    top: 10%;
    padding: 0 10%;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    line-height: 36px;
    color: #666;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#gelaechelt .cbp-item:hover .geleachelt-label {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(102, 102, 102, 0.4);
}

#gelaechelt .geleachelt-label-bottom {
    top: unset;
    bottom: 10%;
}

#gelaechelt p {
    line-height: 22px;
}

#gelaechelt .team-box {
    width: calc(100% - 20px);
}

#gelaechelt .team-box .team-text {
    padding-bottom: .5rem;
}

#gelaechelt .team-image {
    overflow: initial;
}

#gelaechelt .team-image .owl-dots .owl-dot::after {
    left: 6px;
    top: 4px;
}

#gelaechelt [role="tablist"] {
    border-bottom: none;
}

#gelaechelt [role="tablist"] * {
    box-sizing: inherit;
}

#gelaechelt [role="tab"][aria-selected="true"] {
    background-color: inherit;
}

#gelaechelt .slick-dots li button::before {
    font-size: 16px;
}

/* FOOTER */
.scroll-top-arrow {
    background-image: linear-gradient(to right, #facfc2 0%, #efb1a3 51%, #facfc2 100%);
}


/* POPUPS */
.modal {
    z-index: 10000 !important;
}

@media screen and (max-width: 767px) {

    .modal {
        text-align: left;
    }

    .modal__title {
        text-align: left !important;
        padding-right: 1rem;
    }

    .modal__close {
        margin-top: -10px;
    }

    #modal-raeume .modal__container {
        background-color: lightgray;
    }

    #modal-raeume .container {
        width: 90vw;
    }

    #modal-raeume .raeume-item {
        border: 15px solid white;
        /*width: 32%;*/
    }

    #modal-raeume .raeume-box {
        margin: 0 10px;
    }

    #modal-raeume .raeume-image {
        border: 20px solid white;
    }
}

@media screen and (max-width: 667px) {

    #modal-raeume .container {
        width: 100%;
    }
}

#modal-impressum ul {
    width: 30%;
    float: left;
}

#modal-impressum .impressum-tab {
    float: left;
    width: 70%;
    padding-left: 2rem;
}

#modal-datenschutz ul {
    list-style-type: circle;
    color: rgb(109, 109, 109);
    padding-left: 2rem;
}


@media screen and (max-width: 1199px) {

    .important-info-opening {
        font-size: 1rem;
    }

    .important-info-phone {
        font-size: 1rem;
    }

    .important-info-phone-hours {
        font-size: 1rem;
    }

    .important-info-emergency-phone {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1099px) {

    /*.gelaechelt-box:nth-child(3) {
        display: none;
    }*/
    .important-info-box {
        padding: 2rem;
    }

    .important-info-opening {
        font-size: 0.9rem;
    }

    .important-info-phone {
        font-size: 0.9rem;
    }

    .important-info-phone-hours {
        font-size: 0.9rem;
    }

    .important-info-emergency-phone {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 991px) {
    .important-info-opening {
        font-size: 1.1rem;
    }

    .important-info-phone {
        font-size: 1.1rem;
    }

    .important-info-phone-hours {
        font-size: 1.1rem;
    }

    .important-info-emergency-phone {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 767px) {

    div.service-profi {
        text-align: left;
    }

    #home-contact {
        height: 60px;
        font-size: 0.8em;
        line-height: 3ex;
        padding-right: 10px;
        padding-left: 70px;
    }

    table.important-info-opening {
        text-align: left;
    }

    table.important-info-phone-hours {
        text-align: left;
    }
}

@media screen and (max-width: 576px) {

    .loader-logo {
        width: 80%;
    }

    .single-version h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 466px) {

    #home-contact {
        height: 70px;
    }

    .home-contact-sep {
        display: block;
        height: 0;
        overflow: hidden;
    }

    .home-contact-sep:after {
        content: attr(data-text);
    }

    .single-version h2 {
        font-size: 1.7rem;
    }
}
