/* Services  Section */

.services-tiles {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.service-tile .image {
    display: block;
    height: 170px;
}

.service-tile .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-tile .title {
    display: block;
    width: 100%;
    background: #57B3CD;
    color: #fff;
    padding: 10px;
}

@media(min-width: 420px) {
    .services-tiles {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    .service-tile {
        width: 48%;
    }
}

@media(min-width: 992px) {
    .services-tiles {
        flex-wrap: nowrap;
    }
    .service-tile {
        width: 25%;
    }
}

/******************
 * HEADER UPDATES *
 ******************/

.top-bar__inner {
    display: flex;
    flex-flow: wrap;
    align-items: center;
}

.top-bar__inner>ul {
    margin-left: auto;
}

.top-bar__inner .header__pay {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    min-height: 50px;
    padding: 0px 15px !important;
    background-color: #ecc716;
    border: 1px solid #ecc716;
    box-shadow: none;
    line-height: 40px;
}

.top-bar__inner .header__pay i,
.top-bar__inner .header__pay svg {
    margin-right: 10px;
}

.header__cta-box .header__pay {
    display: none;
}

.header__cta-box .header__phone {
    display: block;
}

.header__cta-box .header__phone i,
.header__cta-box .header__phone svg {
    transform: rotate(100deg);
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -ms-transform: rotate(100deg);
    -o-transform: rotate(100deg);
}

.header__cta-box .header__phone:hover {
    color: #fff;
}

.header__cta-box .header__phone:hover svg {
    fill: #fff;
}

.header__cta-box .header__phone:hover i {
    color: #fff;
}

.header__cta-box a {
    color: #000;
    padding: 0 5px;
    box-shadow: none;
}

.header .main-navigation {
    margin: 10px 10px 0;
}

.header-search-input input {
    font-size: 14px;
}

.header__cta-box {
    gap: 8px;
}

.header__cta-box .header_bookonline {
    background-color: #9bb87a;
    border: 1px solid #9bb87a;
}
.header__cta-box .header__phone {
    background-color: #57b3cd;
    border: 1px solid #57b3cd;
}
@media(max-width: 730px) {
    .top-bar {
        height: 70px !important;
    }
    .top-bar .top-bar__inner {
        display: none;
    }
}

/*link style*/

.accordion-desc li>a>strong,
.accordion-desc li>a>b {
    color: inherit !important;
}

.left__content a>strong,
.left__content a>b {
    color: inherit !important;
}

.post__content a>strong,
.post__content a>b {
    color: inherit !important;
}


/*******************************
 * BEFORE AFTER PAGE NEW STYLE *
 *******************************/

.page-template-page-before-afters .page__inner.style-1 .details h2,
.page-template-page-before-afters .page__inner.style-1 .bottom_content h2 {
    font-size: 24px;
}

@media(min-width: 40em) {
    .page-template-page-before-afters .page__inner.style-1 .before-after.collapse {
        display: flex;
        flex-flow: wrap;
        align-items: center;
    }
    .page-template-page-before-afters .page__inner.style-1 .before-after:nth-child(2n) {
        flex-direction: row-reverse;
    }
    .page-template-page-before-afters .page__inner.style-1 .before-after .detail-column {
        width: 55%;
        max-width: 580px;
        position: relative !important;
        z-index: 1;
        margin-right: -5vw;
        top: auto;
        left: 0;
    }
    .page-template-page-before-afters .page__inner.style-1 .before-after:nth-child(2n) .detail-column {
        width: 55%;
        max-width: 580px;
        position: relative;
        z-index: 1;
        margin-left: -3vw;
    }
}


/***********************
 * HEADER ISSUE FIXING *
 ***********************/

@media (min-width: 1200px) {
    .js-header-section.sticky {
        top: 0;
    }
}


/***********************
 * CONTAINER ADJUSMENT *
 ***********************/

.ct-container,
.ct-row {
    max-width: 1474px !important;
}

.single-services .featured-image-wrapper::before {
    left: 0;
}

.header__inner {
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}

.header__inner:after,
.header__inner:before {
    position: absolute;
}

.homepage__testimonials .testimonial-slider {
    max-width: 1366px !important;
}

@media(max-width: 767px) {
    #content .post .fixed-sidebar,
    #content .post .provider-sidebar {
        position: relative !important;
        width: 100% !important;
    }
    .single-services .medium-8 {
        width: 100% !important;
    }
    .single-providers .medium-8 {
        width: 100% !important;
    }
}

@media(min-width: 767px) {
    .page-breadcrumbs__inner {
        max-width: 1366px !important;
        margin-left: auto;
        margin-right: auto;
    }
    .top-bar__inner,
    .header__inner,
    .footer__inner {
        max-width: 1366px !important;
    }
    .post__inner {
        max-width: 1474px !important;
    }
    .row,
    .page__inner {
        max-width: 1366px !important;
    }
    #content .post .inner {
        max-width: 100% !important;
    }
}


/*****************************************
 * BEFORE AFTER GALLERY HEIGHT ISSUE FIX *
 *****************************************/

.page-template-page-before-afters .gallery-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-template-page-before-afters .before,
.page-template-page-before-afters .after {
    height: 250px;
}

@media(min-width: 767px) {
    .page-template-page-before-afters .before,
    .page-template-page-before-afters .after {
        height: 345px;
    }
}