/*
Theme Name:   Starter 1
Author:       DentalQore
Author URI: https://dentalqore.com/
Template:     charlie
Description:  Child theme for DentalQore Website Platform - can be edited 
Version: 2.0
*/
@import url('css/footer.css');

p + .button-wrap {
    margin: 0;
}
form.form-appointment-modal h4 {
    text-align: center;
}
/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(0.95);
    }
    70% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.95);
    }
}

svg.external-link {
    display: none;
}

/* MAP SECTION
-----------------------------------------------*/
.no-webp .map-section {
    background-image: url(./images/map.jpg);
}

.webp .map {
    background-image: url(./images/map.webp);
}

.map {
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 379px;
}
/* Directions/Financial Section 
-----------------------------------------------*/
section.directions-financial {
    padding: 50px 0;
}
.directions-financial .container {
    max-width: 1730px;
    width: 100%;
}
.directions-financial .row {
    justify-content: center;
    flex-wrap: nowrap;
}
.directions-financial .box {
    max-width: 848px;
    width: 100%;
    text-align: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.directions-financial .box h3 {
    text-transform: uppercase;
    font-size: 35px;
    color: #fff;
}
.directions-financial .box p {
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 400;
    line-height: 33px;
    letter-spacing: 0px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.directions-financial .box img {
    display: block;
    margin: 0 auto 20px;
}
.webp.loaded .directions-financial .box.directions {
    background-image: url(../starter-1/images/directions-bg.webp);
}
.no-webp.loaded .directions-financial .box.directions {
    background-image: url(../starter-1/images/directions-bg.png);
}
.webp.loaded .directions-financial .box.financial {
    background-image: url(../starter-1/images/financial-bg.webp);
}
.no-webp.loaded .directions-financial .box.financial {
    background-image: url(../starter-1/images/financial-bg.png);
}

.right-dir-box {
    padding: 50px 1%;
}
.left-fin-box {
    padding: 50px 1%;
}

/* CONNECT WITH US TODAY SECTION
-----------------------------------------------*/
.connect {
    min-height: 168px;
    background: linear-gradient(270deg, #00acd7 17.94%, #004e7d 91.55%);
    display: flex;
    align-items: center;
}

.connect .container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1000px;
}

.connect h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 700;
    line-height: 130%;
    margin: 0;
    max-width: 620px;
    width: 100%;
}

.connect .foot-social a {
    background-image: url(./images/social-circle.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connect .foot-social svg {
    fill: #fff;
    width: 24px;
    height: auto;
}

/* RESPONSIVE
-----------------------------------------------*/
@media (max-width: 1715px) {
    .directions-financial .directions.box {
        max-width: 740px;
        background-position: center right;
        justify-content: flex-start;
    }

    .directions-financial .financial.box {
        max-width: 740px;
        background-position: center left;
        justify-content: flex-end;
    }
    .directions-financial .box p {
        max-width: 500px;
    }
    .right-dir-box {
        padding: 50px 1% 50px 8%;
    }
    .left-fin-box {
        padding: 50px 8% 50px 1%;
    }
}

@media (max-width: 1300px) {
    .directions-financial .directions.box {
        max-width: 580px;
    }
    .right-dir-box {
        padding: 50px 1% 50px 2%;
    }

    .directions-financial .financial.box {
        max-width: 5800px;
    }
    .left-fin-box {
        padding: 50px 2% 50px 1%;
    }
    .directions-financial .box p {
        max-width: 474px;
    }
}

@media (max-width: 1200px) {
    .connect .container {
        flex-flow: column;
        justify-content: center;
        padding: 25px 0;
    }
    .directions-financial .row {
        flex-wrap: wrap;
    }
    .directions-financial .box p {
        max-width: 600px;
    }
    .directions-financial .directions.box {
        max-width: 100%;
        justify-content: center;
        background-position: center center;
        margin-bottom: 40px;
    }
    .right-dir-box {
        padding: 50px 10px;
    }

    .directions-financial .financial.box {
        max-width: 100%;
        justify-content: center;
        background-position: center center;
    }
    .left-fin-box {
        padding: 50px 10px;
    }
    .webp.loaded .directions-financial .box.directions {
        background-image: url(../starter-1/images/directions-bgm.webp);
    }
    .no-webp.loaded .directions-financial .box.directions {
        background-image: url(../starter-1/images/directions-bgm.jpg);
    }
    .webp.loaded .directions-financial .box.financial {
        background-image: url(../starter-1/images/financial-bgm.webp);
    }
    .no-webp.loaded .directions-financial .box.financial {
        background-image: url(../starter-1/images/financial-bgm.jpg);
    }
}

@media (max-width: 767px) {
    .connect h2 {
        font-size: 25px;
        margin: 0 auto 10px;
        text-align: center;
    }

    .connect {
        min-height: 100px;
    }
}
