:root {
    --primary-color: #31318c;
    --primary-hover: #28247f;
	--secondary-color: #5f82b3;
    --text-color: #171717;
    --muted-color: #4b4b53;
    --border-color: #e5e5e5;
    --white: #ffffff;
   
}

.overlink, .overlink a {
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 9;
	opacity: 0;
}

#ry-pg-body {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgb(217 237 255) 100%);
}

#ry-pg-banner .ry-bnr-wrp .ry-pg-title h1 {
    text-align: center;
	font-weight: 400;
}
	
.global-header .ry-menu .ry-nav .dropdown-menu li {
    padding: 0 !important;
}

.global-header .ry-menu .ry-nav .dropdown-menu li a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    color: #fff !important;
}

.global-header .ry-menu .ry-nav .dropdown-menu li:hover a,
.global-header .ry-menu .ry-nav .dropdown-menu li:focus a {
    background: #31318c !important;
}


.inside-page-layout .hp-locations {
    padding-top: 60px !important;
    background: #d9edff;
}

.inside-page-layout #ry-pg-body .ry-left p:not(:last-child) {
	margin-bottom: 0.7rem;
}

.inside-page-layout #ry-pg-body .ry-left h2,
.inside-page-layout #ry-pg-body .ry-left h3{
	line-height: 1.2;
}

.inside-page-layout #ry-pg-body p:not(:last-child) {
	margin-bottom: 0.7rem;
}

.inside-page-layout #ry-pg-body h2,
.inside-page-layout #ry-pg-body h3{
	line-height: 1.2;
}


.hp-section a.ry-btn {
    width: 183px;
    height: 60px;
    border-radius: 12px;
    text-transform: uppercase;
}
	
.section-header h2 {
    font-size: clamp(2.625rem, 2.1789rem + 1.8301vw, 4.375rem) !important;
    line-height: 70px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4571b2;
    line-height: 1.2;
}

.section-header span {
    font-size: 40px;
    color: #212123;
    font-weight: 300;
    font-style: italic;
 
}
	
	
a.ry-btn.ry-btn-transparent {
   box-shadow: inset 0 0 0 2px #86a0bf;
    background: transparent !important;
}
/* =========================================
   GOOGLE TRANSLATE CUSTOM UI SAFETY
========================================= */

.language-select,
.mobile-translate,
.google-translate-engine {
    direction: ltr !important;
}

.language-select *,
.mobile-translate * {
    direction: ltr !important;
}

/* Ensure Google does not visually alter custom controls */

.language-select font,
.mobile-translate font {
    font: inherit !important;
    color: inherit !important;
}

/* Desktop translate menu */

.language-select {
    position: relative;
}

.language-select__menu[hidden] {
    display: none;
}

.language-select__option:hover,
.language-select__option:focus-visible {
    outline: 0;
    background: #f3f3f3;
}

.language-select.is-open .language-select__chevron {
    transform: rotate(180deg);
}

/* =========================================
   MOBILE TRANSLATE
========================================= */

.mobile-translate {position: fixed;top: auto;bottom: 1rem;left: 50%;transform: translateX(-50%);z-index: 999;display:none;}

.mobile-translate__trigger {
    display: grid;
    min-width: 116px;
    min-height: 48px;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 6px;
    background: #fff;
    color: #262626;
    box-shadow: 0 8px 22px rgb(0 0 0 / 16%);
    font: inherit;
    cursor: pointer;
}

.mobile-translate__trigger:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.mobile-translate__flag,
.mobile-translate__option-flag {
    display: flex;
    width: 29px;
    height: 21px;
    flex: 0 0 29px;
    overflow: hidden;
    border: 1px solid rgb(0 0 0 / 8%);
}

.mobile-translate__flag svg,
.mobile-translate__option-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

.mobile-translate__label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.mobile-translate__chevron {
    width: 16px;
    height: 16px;
    color: #676767;
    transition: transform 0.2s ease;
}

.mobile-translate.is-open .mobile-translate__chevron {
    transform: rotate(180deg);
}

.mobile-translate__menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 7px);
    z-index: 51;
    width: 100%;
    padding: 0;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 28px rgb(0 0 0 / 18%);
}

.mobile-translate__menu[hidden] {
    display: none;
}

.mobile-translate__option {
    display: grid;
    width: 100%;
    min-height: 43px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.mobile-translate__option:hover,
.mobile-translate__option:focus-visible {
    outline: 0;
    background: #f2f2f2;
}

.mobile-translate__option.is-selected {
    background: #f2f2f2;
    font-weight: 600;
}

/* Show mobile translator when desktop header switches off */

@media (max-width: 1200px) {
    .mobile-translate {
        display: block;
    }
}

@media (max-width: 380px) {
    .mobile-translate {
        right: 10px;
        bottom: 10px;
    }

    .mobile-translate__trigger {
        min-width: 108px;
        min-height: 44px;
        gap: 7px;
        padding-inline: 11px;
    }

    .mobile-translate__flag,
    .mobile-translate__option-flag {
        width: 26px;
        height: 19px;
        flex-basis: 26px;
    }

    .mobile-translate__label {
        font-size: 16px;
    }
}

/* =========================================
   HIDDEN GOOGLE TRANSLATE ENGINE
========================================= */

.google-translate-engine {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

.google-translate-engine .goog-te-gadget,
.google-translate-engine .goog-te-combo {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Google banner and tooltip cleanup */

.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}



/* ========================================
   1680px and below
======================================== */
@media (max-width: 1680px) {
    div.hp-technology__slick .each-tech {
        grid-template-columns: 1fr 700px;
        gap: 50px;
    }

    div.hp-technology__slick .each-tech .block-wrapper img {
        margin: unset;
    }
}


/* ========================================
   1537px and below
======================================== */
@media (max-width: 1537px) {
    .module-66 .bnr-textbox {
        margin-top: 10rem;
    }

    .testimonials__layout {
        grid-template-columns: repeat(3, 420px);
        gap: 0;
    }

    .testimonials__media img {
        height: 664px;
        object-fit: cover;
        border-radius: 30px;
    }
}


/* ========================================
   1440px and below
======================================== */
@media (max-width: 1440px) {
    div.hp-technology__slick .each-tech {
        grid-template-columns: 1fr 600px;
    }
}


/* ========================================
   1336px and below
======================================== */
@media (max-width: 1336px) {
    div.hp-doctors-grid {
        display: block;
    }

    div.hp-technology__slick .each-tech {
        grid-template-columns: 1fr 500px;
    }

    div.hp-technology__slick .each-tech .block-right {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    div.hp-technology__slick .each-tech .ry-each.tech-info h3 {
        margin-top: 25px;
    }

    .testimonials__layout {
        grid-template-columns: repeat(3, 375px);
    }

    .testimonials__quote p {
        padding: 0 10px;
        font-size: 16px;
    }
}


/* ========================================
   1280px and below
======================================== */
@media (max-width: 1280px) {
    .module-66 .bnr-textbox h1.hero-title {
        font-size: clamp(
            3rem,
            2.2495rem + 1.4379vw,
            4.375rem
        ) !important;
    }

    div.hp-root-canal .ry-content .ry-flex .block-left {
        width: 45%;
    }

    div.hp-root-canal .ry-content .ry-flex .block-right {
        width: 50%;
    }

    div.hp-root-canal .ry-each p {
        margin: 25px 0;
    }

    div.hp-technology__slick .each-tech {
        grid-template-columns: 1fr 500px;
    }

    div.hp-technology .ry-content {
        padding: 70px 0 80px;
    }

    div.hp-root-canal {
        padding: 0 0 70px;
    }

    div.hp-meet-the-doctors .ry-content {
        padding: 80px 0;
    }

    div.hp-testimonials {
        padding: 70px 0;
    }

	div.hp-locations {
		padding: 70px 0 30rem;
	}

    .testimonials__layout {
        grid-template-columns: repeat(3, 350px);
    }
}


/* ========================================
   1200px and below
======================================== */
@media (max-width: 1200px) {
    div.module-66 {
        margin-top: 140px;
        padding: 0 15px !important;
    }
}


/* ========================================
   1080px and below
======================================== */
@media (max-width: 1080px) {
    .module-66 .bnr-textbox h1.hero-title {
        font-size: clamp(
            2.5rem,
            2rem + 1.4379vw,
            4.375rem
        ) !important;
        line-height: 1.2;
    }

    div.module-66 .bnr-textbox {
        margin-top: 5rem;
    }

    div.hp-root-canal .grid-root-canal {
        padding: 0;
    }

    div.hp-root-canal .grid-root-canal .each-text {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    div.hp-root-canal .grid-root-canal .each-text * {
        text-align: center;
    }

    div.hp-technology__slick .each-tech {
        grid-template-columns: 1fr 400px;
    }

    .testimonials__layout {
        grid-template-columns: 500px;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }

    .testimonials__quote p {
        -webkit-line-clamp: 10;
        line-clamp: 10;
    }
}


/* ========================================
   1024px and below
======================================== */
@media (max-width: 1024px) {
    div.module-66 .bnr-textbox {
        position: relative;
        margin-top: -1rem;
        padding: 30px 0;
        background: #fff;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
        box-shadow: 0 2px 2px #efefef;
    }

    div.welcome-top {
        margin: 35px 0;
    }
}


/* ========================================
   991px and below
======================================== */
@media (max-width: 991px) {
    div.hp-technology__slick .each-tech {
        grid-template-columns: minmax(0, 700px);
        align-items: center;
        justify-content: center;
    }

    div.hp-technology .tech-arrows {
        position: relative;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    div.hp-technology .section-header * {
        display: block;
        text-align: center !important;
    }

    div.hp-technology__slick .each-tech .ry-each.tech-info h3 {
        display: block;
        text-align: center;
    }

    div.hp-technology__slick .each-tech .ry-each.tech-info p {
        margin: 30px auto;
        text-align: center;
    }

    div.hp-technology .ry-each.section-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }

    div.hp-technology {
        padding: 80px 0 0;
    }

    div.hp-technology .ry-content {
        padding: 0 0 60px;
    }

    div.hp-technology__slick .each-tech .block-wrapper img {
        max-width: 380px;
        margin: 0 auto;
    }
}


/* ========================================
   768px and below
======================================== */
@media (max-width: 768px) {
	div.welcome-top-content {
		padding: 0 15px;
	}
	
	div.module-66 .carousel .carousel-inner .item img {
		height: 55vh;
		object-fit: cover;
		object-position: 100%;
		aspect-ratio: 16/9;
	}

    div.hp-root-canal .ry-content .ry-flex {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    div.hp-root-canal .ry-content .ry-flex .block-left,
    div.hp-root-canal .ry-content .ry-flex .block-right {
        width: 100%;
    }

    div.hp-root-canal .ry-each p {
        width: 100%;
        text-align: center;
    }

    div.hp-root-canal {
        padding: 0 0 60px;
        margin-top: -3rem;
    }

    div.welcome-top {
        margin: 35px 0 0;
    }

    div.welcome-top img {
        height: 42vh;
        object-fit: cover;
    }

    div.hp-technology__slick .each-tech {
        grid-template-columns: minmax(0, 1fr);
    }

	
	div.hp-root-canal .section-header h2, .hp-root-canal .section-header span {
	    display: block;
	    text-align: center;
	}
	
	div.hp-root-canal .ry-each .ry-btn {
	    margin: 0 auto;
	}
}

@media (max-width: 680px) {
	div.welcome-top img {
		height: 68vh;
	}
}


/* ========================================
   580px and below
======================================== */
@media (max-width: 580px) {
	div.welcome-top img {
		height: 60vh;
	}

    div.testimonials__layout {
        grid-template-columns: minmax(0, 350px);
        gap: 30px;
        align-items: center;
        justify-content: center;
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
	div.welcome-top img {
		height: 50vh;
	}
}

@media (max-width: 390px) {
	div.welcome-top img {
		height: 40vh;
	}
}

.md-view {
    display: none;
}

@media(max-width: 991px) {
    .lg-view {
        display: none;
    }

    .md-view {
        display: block;
    }

    div.hp-technology__slick .each-tech .block-right {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

}
