/* Dental Samagra: final client corrections, loaded after every theme sheet. */

body.home-light-green .slider-two--glass-banner .slider-two_slide--new-banner {
    background-image: url(../images/main-slider/banner-desktop.webp) !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.home-light-green .slider-two--glass-banner .slider-two_slide--doctor {
    background-image: url(../images/main-slider/banner-doctor-desktop.webp) !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.home-light-green .slider-two--glass-banner .slider-two_slide--operatory {
    background-image: url(../images/main-slider/banner-operatory-desktop.webp) !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.health-one_discover { margin-top: 28px; }
.health-one_discover .theme-btn { border-radius: 11px; }

body.home-light-green .health-one_image-two,
body.home-light-green .health-one_image-two img {
    border-radius: 22px !important;
}

.treatment-doctor-nameplate {
    box-sizing: border-box;
    width: min(100%, 340px);
    padding: 15px 23px 14px;
    border: 1px solid #70b5d5;
    border-radius: 17px;
    background: linear-gradient(145deg, #fff 0%, #edf8fd 52%, #cceaf7 100%);
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.68), 0 15px 31px rgba(22,81,109,.16);
    filter: none;
}

.treatment-doctor-nameplate__name {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(198,153,42,.72);
    color: #123e60;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
}

.treatment-doctor-nameplate__credentials,
.treatment-doctor-nameplate__role {
    color: #244d62;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.treatment-doctor-nameplate__credentials {
    margin-top: 8px;
    text-align: right;
}

.treatment-doctor-nameplate__role {
    width: auto;
    margin: 5px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    text-align: center;
    letter-spacing: .02em;
    background: transparent;
    font-size: 17.5px;
}

.doctor-profile-identity .service-page-heading { margin-bottom: 0; }

.doctor-profile-nameblock {
    display: inline-flex;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
}

.doctor-profile-credentials {
    display: block;
    width: 100%;
    margin-top: 8px;
    text-align: right;
}

.doctor-profile-credentials strong {
    font-size: 16px;
    line-height: 1.35;
}

.doctor-profile-roles {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-top: 13px;
    color: #173f53;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
    text-align: left;
}

.doctor-profile-roles > span {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

.doctor-profile-narrative p {
    text-align: justify;
    text-justify: inter-word;
}

.patient-card-link .card-box {
    border-color: rgba(255,255,255,.64);
    color: #1d4d63;
    background: linear-gradient(145deg, #e1f3fb 0%, #b6dff0 54%, #7cc4df 100%);
    box-shadow: 0 14px 34px rgba(39,95,120,.15);
}

.patient-card-link .card-box h2,
.patient-card-cta { color: #1d4d63; }

.patient-card-icon {
    border-color: rgba(255,255,255,.72);
    color: #1d4d63;
    background: rgba(255,255,255,.32);
}

.justdial-badge-shell,
.justdial-badge-shell #JdBadgeDest,
.justdial-badge-shell #JdBadgeDest > *,
.justdial-badge-shell #JdBadgeDest iframe,
.justdial-badge-shell #JdBadgeDest img,
.justdial-badge-shell #JdBadgeDest table {
    overflow: hidden;
    border-radius: 18px !important;
}

.justdial-badge-shell #JdBadgeDest img {
    clip-path: inset(0 round 18px);
}

/* Make only the two supplied treatment artworks meet their square edges. */
.services-four .left-column > .service-block_four:nth-child(2) .service-block_four-icon,
.services-four .right-column > .service-block_four:first-child .service-block_four-icon {
    overflow: hidden;
}

.services-four .left-column > .service-block_four:nth-child(2) .service-block_four-icon img,
.services-four .right-column > .service-block_four:first-child .service-block_four-icon img {
    width: 122%;
    max-width: none;
    height: 122%;
    margin: -11%;
    object-fit: cover;
}

.footer-social-links {
    display: flex;
    width: 184px;
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-social-links a {
    display: inline-flex;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 9px 22px rgba(30,92,121,.16);
}

.footer-social-links a.footer-social-link--facebook { background: #1877f2; }
.footer-social-links a.footer-social-link--instagram {
    background: linear-gradient(145deg, #833ab4 0%, #e1306c 55%, #f77737 100%);
}
.footer-social-links a.footer-social-link--youtube { background: #f00; }

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-3px);
}

.footer-social-links i {
    display: inline-block;
    width: auto;
    height: auto;
    border-radius: 0;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    background: transparent;
}

@media only screen and (min-width: 1024px) {
    .main-footer > .auto-container {
        width: 100%;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .main-footer > .auto-container > .main-footer_widgets > .row {
        margin-right: 0;
        margin-left: 0;
    }

    .main-footer > .auto-container > .main-footer_widgets > .row > .big-column {
        padding-right: 0;
        padding-left: 0;
    }

    .main-footer .main-footer_bottom {
        width: min(1200px, calc(100% - 30px));
        margin-right: auto;
        margin-left: auto;
    }

    .header-style-three .header-upper > .auto-container {
        width: 100%;
        max-width: none;
        padding-right: clamp(72px, 6.4vw, 128px);
        padding-left: clamp(72px, 6.4vw, 128px);
    }

    .header-style-three .header-upper .inner-container > .ds-header-toprow {
        justify-content: space-between !important;
        gap: 12px;
    }

    .header-style-three .header-upper .ds-brand-box {
        width: 252px;
        flex: 0 0 252px;
        margin-left: 0 !important;
    }

    .header-style-three .header-upper .ds-brand-box .logo img {
        width: 230px;
        max-width: 230px;
    }

    .header-style-three .header-upper .right-box {
        flex: 0 1 auto;
        margin-left: auto;
    }

    .header-style-three .header-upper .main-menu .navigation > li > a {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 16px;
        letter-spacing: -.02em;
    }

    .header-style-three .header-upper .main-menu .navigation > li.dropdown > a { padding-right: 25px; }
    .header-style-three .header-upper .main-menu .navigation > li.dropdown > a::before { right: 7px; }
    .header-style-three .header-upper .main-menu .navigation > li:last-child > a { padding-right: 10px; }

    body.home-light-green .slider-two_glass-panel--metrics {
        height: 158px;
        min-height: 158px;
        justify-content: space-between;
        padding: 18px 24px 20px;
    }

    body.home-light-green .slider-two_glass-panel--metrics .slider-two_buttons {
        margin-top: 14px;
        transform: translateY(-20px);
    }

    .services-three .service-block_three-icon-box {
        min-height: 52px;
        padding-left: 76px;
    }

    .justdial-badge-shell {
        width: min(1160px, 100%);
        min-height: 340px;
        padding: 38px 46px;
    }

    .justdial-badge-shell #JdBadgeDest {
        min-height: 225px;
        align-items: center;
    }

    .justdial-badge-shell #JdBadgeDest > *,
    .justdial-badge-shell #JdBadgeDest iframe,
    .justdial-badge-shell #JdBadgeDest table {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 225px !important;
    }

    .justdial-badge-shell #JdBadgeDest img {
        width: min(100%, 980px) !important;
        max-width: 100% !important;
        max-height: 245px !important;
        height: auto !important;
        object-fit: contain;
    }

    .footer-equal-grid {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 160px 1fr 200px 1fr 280px 1fr 220px 1fr;
        column-gap: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .footer-equal-grid > .main-footer_column:nth-child(1) { grid-column: 2; }
    .footer-equal-grid > .main-footer_column:nth-child(2) { grid-column: 4; }
    .footer-equal-grid > .main-footer_column:nth-child(3) { grid-column: 6; }
    .footer-equal-grid > .main-footer_column:nth-child(4) { grid-column: 8; }

    .footer-equal-grid > .main-footer_column {
        width: auto;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .footer-equal-grid .main-footer_title {
        min-height: 43px;
        margin-top: 0;
    }

    .footer-equal-grid .social-widget .main-footer_title {
        white-space: nowrap;
    }

    .footer-iso-column,
    .footer-iso-badge {
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    .header-style-three .header-upper > .auto-container {
        padding-right: 48px;
        padding-left: 48px;
    }

    .header-style-three .header-upper .ds-brand-box {
        width: 205px;
        flex-basis: 205px;
    }

    .header-style-three .header-upper .ds-brand-box .logo img {
        width: 205px;
        max-width: 205px;
    }

    .header-style-three .header-upper .main-menu .navigation > li > a {
        padding-right: 4px;
        padding-left: 4px;
        font-size: 12.5px;
    }

    .header-style-three .header-upper .main-menu .navigation > li.dropdown > a { padding-right: 18px; }
    .header-style-three .header-upper .main-menu .navigation > li.dropdown > a::before { right: 4px; }
    .header-style-three .header-upper .main-menu .navigation > li:last-child > a { padding-right: 4px; }
    .header-style-three .sticky-header .main-menu .navigation > li > a { font-size: 10.5px; }
    .header-style-three .ds-brand-tagline { font-size: 8.5px; }

    .footer-equal-grid {
        grid-template-columns: 1fr 140px 1fr 178px 1fr 250px 1fr 200px 1fr;
    }
}

@media only screen and (max-width: 767px) {
    body.home-light-green .slider-two--glass-banner .slider-two_slide--new-banner {
        background-image: url(../images/main-slider/banner-mobile.webp) !important;
        background-position: center center;
    }

    body.home-light-green .slider-two--glass-banner .slider-two_slide--doctor {
        background-image: url(../images/main-slider/banner-doctor-mobile.webp) !important;
        background-position: center center;
    }

    body.home-light-green .slider-two--glass-banner .slider-two_slide--operatory {
        background-image: url(../images/main-slider/banner-operatory-mobile.webp) !important;
        background-position: center center;
    }

    body.home-light-green .slider-two_glass-panel--metrics {
        width: 100%;
        height: 193px;
        min-height: 193px;
    }

    .treatment-doctor-nameplate__name { font-size: 22px; }
    .treatment-doctor-nameplate__credentials { font-size: 14px; }
    .treatment-doctor-nameplate__role { font-size: 15.4px; }
    .doctor-profile-roles { font-size: 17px; }

    .health-one_discover {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .contact-info-block_inner {
        width: calc(100% - 24px);
        margin-right: auto;
        margin-left: auto;
        border-radius: 15px;
    }

    .footer-social-links {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-equal-grid > .main-footer_column,
    .footer-equal-grid .footer-widget,
    .footer-equal-grid .main-footer_title,
    .footer-equal-grid .main-footer_list,
    .footer-equal-grid .main-footer_contact-list {
        text-align: center;
    }

    .footer-equal-grid .main-footer_contact-list li {
        padding-left: 0;
    }

    .footer-equal-grid .main-footer_contact-list li .icon {
        position: static;
        display: inline-block;
        margin-right: 6px;
    }

    .footer-iso-column,
    .footer-iso-badge {
        align-items: center;
        justify-content: center;
    }

    .footer-iso-badge img {
        margin-right: auto;
        margin-left: auto;
    }

    .ds-media-viewer__stage {
        touch-action: none;
    }

    .main-footer_bottom { padding-bottom: 105px; }

    .main-footer_bottom .footer_copyright {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
}
