/* CONTENT AREA / WELCOME SECTION
-----------------------------------------------*/
.contentarea .external-link {
    display: none;
}

.no-webp .contentarea .home-photo .welcome-slider .photo.one {
    background-image: url(../images/welcome-photo.jpg);
}
.webp .contentarea .home-photo .welcome-slider .photo.one {
    background-image: url(../images/welcome-photo.webp);
}

.no-webp .contentarea .home-photo .welcome-slider .photo.two {
    background-image: url(../images/welcome-photo2.jpg);
}
.webp .contentarea .home-photo .welcome-slider .photo.two {
    background-image: url(../images/welcome-photo2.webp);
}

.no-webp .contentarea .home-photo .welcome-slider .photo.three {
    background-image: url(../images/welcome-photo3.jpg);
}
.webp .contentarea .home-photo .welcome-slider .photo.three {
    background-image: url(../images/welcome-photo3.webp);
}

.no-webp .contentarea .home-photo .welcome-slider .photo.four {
    background-image: url(../images/welcome-photo4.jpg);
}
.webp .contentarea .home-photo .welcome-slider .photo.four {
    background-image: url(../images/welcome-photo4.webp);
}

.no-webp .contentarea .home-photo .welcome-slider .photo.five {
    background-image: url(../images/welcome-photo5.jpg);
}
.webp .contentarea .home-photo .welcome-slider .photo.five {
    background-image: url(../images/welcome-photo5.webp);
}

.contentarea .home-photo .welcome-slider .photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 805px;
    width: 100%;
    min-height: 550px;
}

.contentarea article.col-xl-6 {
    padding-left: 135px;
}

h1.page-title {
    line-height: 124%;
    letter-spacing: 3px;
    color: #3e3b53;
    margin: 0;
}

.contentarea p {
    color: #3e3b53;
    /*margin: 50px 0;*/
}

/*Slick Slide Arrows*/
.slick-next {
    position: absolute;
    right: 50px;
    top: 0;
    bottom: 0;
    color: transparent;
    background-color: transparent;
    margin: auto 0;
    padding: 0;
    border-radius: 0;
    line-height: inherit;
    font-size: 0;
}

.slick-next::after {
    content: url(../images/welcome-arrow.svg);
    color: #000;
    width: 50px;
    height: 75px;
    position: absolute;
    font-weight: bold;
    font-size: 50px;
}

.slick-prev {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    color: transparent;
    background-color: transparent;
    z-index: 1;
    margin: auto 0;
    padding: 0;
    border-radius: 0;
    line-height: inherit;
    font-size: 0;
}

.slick-prev::before {
    content: url(../images/welcome-arrow.svg);
    color: #000;
    width: 50px;
    height: 75px;
    position: absolute;
    font-weight: bold;
    font-size: 50px;
    transform: rotate(180deg);
}

/* SERVICES SECTION
-----------------------------------------------*/
.services {
    padding: 100px 0;
}

.services .row {
    gap: 25px;
    justify-content: center;
    margin-bottom: 50px;
}

.service-box {
    background-color: transparent;
    width: 360px;
    height: 425px;
    perspective: 1000px;
    margin: 0 auto;
}

.inner-box {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.15);
    display: block;
}

.service-box:hover .inner-box {
    transform: rotateY(180deg);
}

.service-box .front {
    background-color: #fff;
    color: black;
}

.service-box .back {
    background-color: #6d4393;
    color: white;
    transform: rotateY(180deg);
}

.service-box .front,
.service-box .back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

.services h3 {
    font-size: 23px;
    line-height: 138%;
    text-transform: uppercase;
    color: #404040;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}

.services p {
    margin: 15px auto;
    max-width: 325px;
    width: 100%;
    min-height: 200px;
}

.services .back h3,
.services .back p {
    color: #fff;
}

.services .icon-wrapper {
    max-width: 100px;
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
}

.no-webp .services .family .icon {
    background-image: url(../images/family-dentistry-icon.png);
}
.webp .services .family .icon {
    background-image: url(../images/family-dentistry-icon.webp);
}

.services .family .icon {
    max-width: 41px;
}

.no-webp .services .crowns .icon {
    background-image: url(../images/dental-crowns-icon.png);
}
.webp .services .crowns .icon {
    background-image: url(../images/dental-crowns-icon.webp);
}

.services .crowns .icon {
    max-width: 26px;
}

.no-webp .services .whitening .icon {
    background-image: url(../images/teeth-whitening-icon.png);
}
.webp .services .whitening .icon {
    background-image: url(../images/teeth-whitening-icon.webp);
}

.services .whitening .icon {
    max-width: 59px;
}

.no-webp .services .ortho .icon {
    background-image: url(../images/ortho-icon.png);
}
.webp .services .ortho .icon {
    background-image: url(../images/ortho-icon.webp);
}

.services .ortho .icon {
    max-width: 64px;
}

.no-webp .services .cosmetic .icon {
    background-image: url(../images/cosmetic-dentistry-icon.png);
}
.webp .services .cosmetic .icon {
    background-image: url(../images/cosmetic-dentistry-icon.webp);
}

.services .cosmetic .icon {
    max-width: 51px;
}

.no-webp .services .implants .icon {
    background-image: url(../images/dental-implants-icon.png);
}
.webp .services .implants .icon {
    background-image: url(../images/dental-implants-icon.webp);
}

.services .implants .icon {
    max-width: 37px;
}

.no-webp .services .root-canals .icon {
    background-image: url(../images/root-canals-icon.png);
}
.webp .services .root-canals .icon {
    background-image: url(../images/root-canals-icon.png);
}

.services .root-canals .icon {
    max-width: 41px;
}

.services .icon {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50px;
}

.services .back .icon {
    filter: brightness(0) invert(1);
}

/* MEET YOUR DENTISTS SECTION
-----------------------------------------------*/
.your-dentists {
    padding: 100px 0;
    position: relative;
}

.no-webp .your-dentists .watermark {
    background-image: url(../images/your-dentists-watermark.png);
}
.webp .your-dentists .watermark {
    background-image: url(../images/your-dentists-watermark.webp);
}

.your-dentists .watermark {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 515px;
    height: 515px;
    z-index: -1;
    background-repeat: no-repeat;
}

.your-dentists .docs {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    padding:1rem;
}

.your-dentists .doctor {
    max-width: 340px;
    width: 100%;
}

.no-webp .your-dentists .docs .doctor.renyer .photo {
    background-image: url(../images/dr-renyer-photo.jpg);
}
.webp .your-dentists .docs .doctor.renyer .photo {
    background-image: url(../images/dr-renyer-photo.webp);
}

.no-webp .your-dentists .docs .doctor.cooper .photo {
    background-image: url(../images/dr-cooper-photo.jpg);
}
.webp .your-dentists .docs .doctor.cooper .photo {
    background-image: url(../images/dr-cooper-photo.webp);
}

.webp .your-dentists .docs .doctor.karissa .photo {
    background-image: url(../images/dr-k-headshot.webp);
}

.your-dentists .docs .doctor .photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 375px;
    width: 100%;
    min-height: 450px;
}

.your-dentists h2 {
    line-height: 120%;
    letter-spacing: 2px;
    color: #404040;
    text-transform: uppercase;
    max-width: 437px;
    width: 100%;
    margin: 0 0 25px;
}

.your-dentists p {
    max-width: 718px;
}

.your-dentists h3 {
    font-size: 23px;
    line-height: 138%;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6d4393;
    margin: 25px auto 0;
}

/* DO YOU HAVE QUESTIONS? SECTION
-----------------------------------------------*/
.no-webp .questions {
    background-image: url(../images/questions-photo.jpg);
}
.webp .questions {
    background-image: url(../images/questions-photo.webp);
}
.questions {
    padding: 100px 0;
    min-height: 568px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.questions h2 {
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 auto;
}

.questions h3 {
    color: #fff;
    text-transform: uppercase;
    margin: 0 auto 25px;
}

/* PROUD PARTNERS OF DELTA DENTAL SETION
-----------------------------------------------*/
.proud {
    padding: 100px 0;
    min-height: 568px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.proud .container .proud-container {
    border: 10px solid #6d4393;
    min-height: 373px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
}

.proud h2 {
    text-transform: uppercase;
    color: #3e3b53;
    margin: 0 auto 25px;
}

/* FIVE-STAR PATIENT REVIEWS SECTION
-----------------------------------------------*/
.reviews {
    padding: 100px 0;
    position: relative;
}

.no-webp .reviews .watermark {
    background-image: url(../images/reviews-watermark.png);
}

.webp .reviews .watermark {
    background-image: url(../images/reviews-watermark.webp);
}

.reviews .watermark {
    position: absolute;
    bottom: -140px;
    right: 0;
    width: 465px;
    height: 515px;
    z-index: 2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.no-webp .reviews .photo {
    background-image: url(../images/reviews-photo.jpg);
}
.webp .reviews .photo {
    background-image: url(../images/reviews-photo.webp);
}

.reviews .photo {
    max-width: 670px;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.no-webp .reviews .five-stars {
    background-image: url(../images/purple-five-stars.png);
}
.webp .reviews .five-stars {
    background-image: url(../images/purple-five-stars.webp);
}

.reviews .five-stars {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 215px;
    height: 35px;
}

.reviews .col-xl-6 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
}

.reviews .button-wrap {
    order: 1;
    margin-top: 25px;
    position: relative;
    z-index: 3;
}

.reviews .arrow {
    display: none;
}

.reviews h2 {
    text-transform: uppercase;
    color: #3e3b53;
    margin: 0 0 25px;
}

.reviews p {
    color: #3e3b53;
    margin: 0 0 50px;
}

.reviews h2.patient-name {
    font-size: 23px;
    line-height: 138%;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3e3b53;
    margin: 0;
}

.reviews .number-crumb-container .option {
    opacity: 1;
    width: 30px;
    height: 5px;
    background: #afafaf;
    border-radius: 10px;
    border: 0;
}

.reviews .number-crumb-container .option.selected {
    background: #6d4393;
}

.reviews .number-crumb-container .option.pause-play {
    width: 20px;
    height: 20px;
}

.reviews .number-crumb-container {
    justify-content: flex-start;
    bottom: auto;
}

.reviews .external-link {
    display: none;
}

.reviews .slide-container {
    min-height: 145px;
}

/* JOIN OUR DENTAL FAMILY SECTION
-----------------------------------------------*/
.no-webp .join {
    background-image: url(../images/join-photo.jpg);
}
.webp .join {
    background-image: url(../images/join-photo.webp);
}

.join {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #404040;
    background-blend-mode: multiply;
    min-height: 700px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-webp .join-shape {
    background-image: url(../images/join-shape.png);
}
.webp .join-shape {
    background-image: url(../images/join-shape.webp);
}

.join-shape {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 140px;
    z-index: 1;
}

.join h2 {
    color: #fff;
    text-transform: uppercase;
    margin: 0 auto 25px;
}

.join p {
    color: #fff;
    max-width: 1358px;
    margin: 0 auto 1em;
}

/* RESPONSIVE
-----------------------------------------------*/
@media (max-width: 1700px) {
    .your-dentists .docs .doctor .photo {
        max-width: 19vw;
        width: 100%;
        min-height: 23vw;
    }
}
@media (max-width: 1600px) {
    .contentarea article.col-xl-6 {
        padding-left: 5%;
    }

    .contentarea .home-photo .welcome-slider .photo,
    .welcome-slider {
        max-width: 40vw;
        min-height: 28vw;
        margin: 0 auto;
    }
}

@media (min-width: 1301px) {
    .your-dentists .laptop {
        display: none;
    }
}

@media (max-width: 1300px) {
    .your-dentists .desktop {
        display: none;
    }

    .your-dentists .button-wrap {
        margin-top: 25px;
    }

    .your-dentists .row {
        flex-flow: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .your-dentists .row .col-xl-6 {
        max-width: 100%;
    }

    .your-dentists h2 {
        margin: 0 auto 25px;
        max-width: 100%;
    }

    .your-dentists p {
        margin: 0 auto 1em;
    }

    .your-dentists .row .col-xl-6.center {
        margin-top: 50px;
    }

    .your-dentists .doctor {
        margin: 0 auto;
        text-align: center;
    }

    .your-dentists .docs .doctor .photo {
        margin: 0 auto;
        max-width: 450px;
        min-height: 403px;
    }
}

@media (max-width: 1200px) {
    .your-dentists .watermark {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        bottom: 470px;
        width: 500px;
        height: 500px;
    }

    .questions {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 1199px) {
    .contentarea .home-photo .welcome-slider .photo,
    .welcome-slider {
        max-width: 805px;
        min-height: 550px;
    }

    .contentarea article.col-xl-6 {
        padding: 0;
        margin-top: 50px;
        text-align: center;
    }

    .reviews .photo {
        margin: 0 auto 50px;
    }

    .reviews h2 {
        margin: 0 auto 25px;
        text-align: center;
    }

    .reviews .five-stars {
        margin: 0 auto;
    }

    .reviews p {
        margin: 0 auto 50px;
        text-align: center;
    }

    .reviews .number-crumb-container {
        margin: 0 auto;
        right: 0;
        left: 0;
        justify-content: center;
    }

    .reviews .button-wrap {
        margin: 25px auto 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-flow: column;
    }

    .no-webp .reviews .watermark {
        background-image: url(../images/your-dentists-watermark.png);
    }

    .webp .reviews .watermark {
        background-image: url(../images/your-dentists-watermark.webp);
    }

    .reviews .watermark {
        width: 350px;
        height: 350px;
        bottom: 40px;
    }
}

@media (max-width: 1025px) {
    .services {
        padding: 50px 0;
    }
}

@media (max-width: 825px) {
    .service-box {
        margin: 15px auto;
    }

    .your-dentists .docs .doctor .photo {
        max-width: 215px;
        min-height: 255px;
    }

    .your-dentists .watermark {
        width: 350px;
        height: 350px;
        bottom: 420px;
    }
}

@media (max-width: 768px) {
    .contentarea .row {
        flex-flow: column-reverse;
    }

    .contentarea article.col-xl-6 {
        margin-top: 0;
        margin-bottom: 50px;
    }

    .contentarea.min-80 {
        min-height: 100px;
        padding: 50px 0;
    }

    .contentarea .home-photo .welcome-slider .photo,
    .welcome-slider {
        max-width: 500px;
        min-height: 341px;
    }

    .your-dentists h3 {
        font-size: 20px;
    }

    .reviews .watermark {
        right: 0;
        left: 0;
        margin: 0 auto;
        bottom: 140px;
    }

    .reviews .container {
        padding: 0;
    }

    .reviews .col-xl-6:last-of-type {
        padding: 0 50px;
    }

    .reviews .photo {
        max-width: 100%;
        min-height: 74vw;
    }

    .proud,
    .reviews {
        padding: 50px 0;
    }
}

@media (max-width: 600px) {
    .contentarea .container {
        padding: 0;
    }

    .contentarea article.col-xl-6 {
        padding: 0 25px;
    }

    .contentarea .home-photo .welcome-slider .photo,
    .welcome-slider {
        max-width: 100%;
        min-height: 69vw;
    }

    .contentarea a.main-btn,
    .services a.main-btn,
    .reviews a.main-btn {
        min-width: 320px;
    }

    .proud .container .proud-container {
        padding: 25px;
        min-height: 300px;
    }

    .proud,
    .reviews {
        padding: 25px 0;
    }
}

@media (max-width: 520px) {
    .your-dentists .docs .doctor .photo {
        max-width: 42vw;
        min-height: 50vw;
    }

    .your-dentists h3 {
        font-size: 3vw;
    }

    .reviews .watermark {
        left: auto;
        margin: 0;
        bottom: -20px;
        right: -70px;
        z-index: 1;
    }
}

@media (max-width: 465px) {
    .service-box {
        width: 300px;
        height: 450px;
    }

    .service-box .front,
    .service-box .back {
        padding: 0 25px;
    }
}
