/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */
/*
.service-style-1 h2 {margin: 10px 0;}
.ry-menu .ry-nav li .dropdown-toggle {padding: 30px 0;}
ul#quick-links li a {display: block;width: 100%;}
#in-services-3 ul li a {margin-left: 0px;margin-top:30px}
*/
[x-cloak] { display: none !important; }
.promotions img { min-width: 22rem; max-width:22rem;}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.mobile-menu-icon a{display: flex;height: 100%;width: 100%;justify-content: center;align-items: center;}
body.fancybox-active .ry-sticky-menu.fixed {z-index: 9999;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4
}

.service-hover {
    position: absolute;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
}

/* Show service-hover when parent with data-target is hovered */
[data-target]:hover .service-hover {
    opacity: 1;
}

/* Apply the overlay effect when parent is hovered */
[data-target]:hover .service-hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Make sure it's behind the text */
}
.mm-navbar {
	color: #ffffff;
}
/* Match interior body copy to homepage size on tablet/desktop */
@media (min-width: 768px) {
  #contents .leading-6.text-gray-600,
  #contents .leading-6.text-gray-600 p,
  #contents .leading-6.text-gray-600 li {
    font-size: 1.25rem;    /* 20px */
    line-height: 1.75rem;  /* 28px */
  }
}

/* Fix Hero Video */
.homepage-video-slider {
  position: relative;
  overflow: hidden;
  height: min(800px, 56.25vw);
  max-height: 800px;
}

#the-video {
  height: 100%;
}

#ry-video-slider {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/** Add Style & Fixed **/

#ry-pg-body :is(.navigation-3) {
	position: relative !important;
}

.mm-navbar__title > span {
	color: #fff;
}

nav#menu-style-4 * {
	text-transform: uppercase;
	font-size: 14px;
}
.mm-navbar__title>span {
	-o-text-overflow: unset;
	text-overflow: wrap;
	white-space: wrap;
	overflow: hidden;
	text-align:start
}
@media (min-width: 1024px) {
	.navigation-3.fixed > .block.lg\:absolute.inset-0 {
		position: relative;
	}
	.ry-menu .ry-nav li.primary {
		margin-top: 0px;
	}
}

@media (max-width: 1440px) {
	div#navigation-style-4.container {
		max-width: 100%;
		width: 90%;
	}
}

div#navigation-style-4 {
	max-width: 100%;
	width: 90%;
}

body#page div#navigation-style-4 {
	background: transparent;
	box-shadow: none;
}

.ry-menu .ry-nav {
	margin-top: 8px;
	flex-wrap:nowrap
}

body#ry-pg-body div#navigation {
	position: static;
}

@media (max-width: 1200px) { 
	div#navigation-style-4 {
		max-width: 90%;
	}
	.ry-menu .ry-nav {
		gap: 20px !important;
	}
	div#navigation-style-4 .cursor-pointer img {
		max-width: 260px;
	}
}

@media (max-width: 1080px) {
	#navigation-style-3,
	.navigation-3 .hidden.lg\:flex,
	.homepage-video-slider::before {
		display: none !important;
	}
}

@media (max-width:767px) {

	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}
}

@media (max-width: 500px) {

	.snap-mobile-menu img { 
		max-height: 55px;
	}

	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}
}

@media (max-width: 1380px) {
	body#page div#navigation-style-4 {
		padding: .75em 1em !important;
		background: #f7f3ee !important;
		border-radius: 500px !important;
		margin-top: 1.5em !important;
		box-shadow: 20px 2px 50px rgb(0 0 0 / 10%) !important;
		gap:14px !important
	}
	body#page .cta-btn.ry-btn-primary, body#page .cta-btn.ry-btn-secondary {
		padding-right: 14px !important;
	}
	div#navigation.navigation-4.bg-White99 div#navigation-style-4 {
		margin-top: 0px !important;
		background: unset !important;
		box-shadow:unset !important
	}
}

@media (max-width: 1300px) {
	div#navigation-style-4 {
		display: none;
	}
	.snap-mobile-menu.flex.lg\:hidden {
		display: flex;
	}
}

.testimonial-1 .swiper-slide:nth-child(even) {
    background: var(--color-primary-background);
    border-color: var(--color-primary-background);
}

.homepage-swiper h2 {
	text-shadow: 3px 3px 3px rgb(0 0 0 / 40%);
	letter-spacing: 4px;
	font-size: clamp(1.625rem, 0.95rem + 3.375vw, 5rem);
	line-height: 120%;
}

@media (max-width: 1080px) { 
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.slider-info {
		width: 100% !important;
		max-width: 100% !important;
	}
	.slider-info {
		width: 100%;
		max-width: 100%;
	}
	.homepage-swiper h2 {
		text-align: center !important;
	}
}

@media (max-width:767px) {
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}

	.homepage-swiper .slider-info {
		max-width: 100%;
		text-align: center;
		position:static !important;
	}

	.homepage-swiper .slider-info .mb-4 {
		margin-bottom:0 !important;
	}

	.homepage-swiper .homepage-swiper {
		margin-top: 0em;
	}

	.homepage-swiper .swiper-slide {
		padding-top:6em
	}
	
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.homepage-swiper .slider-info {
		padding-bottom: 50px;
	}
}

#hp-slider .slider-info {
    bottom: 20px;
}
.slider-info-center-bottom {
    max-width: 100% !important;
}

/** Footer Start **/

.ry-container-1600 {
    width: min(90%, 1600px);
	float: unset;
	margin: 0 auto;
	padding-top:60px
}

.ry-container-1600 #footer-each-wrap {
    padding: 30px 0 80px;
}

#ry-footer ul {
    line-height: 2;
}
div#footer-info-each {
    width:fit-content;
    margin-inline:auto
}
@media (max-width:1280px) { 
	div#ry-footer img {
		max-width: 200px;
	}

	div#footer-disc p, div#footer-disc span.text-xs.md\:text-base {
		font-size: 15px !important;
		text-align: center !important;
		line-height: 25px;
	}

	#ry-footer ul {
		margin: auto;
	}
}

@media (max-width:700px) {
	div#footer-info-each {
		width: 100% !important;
	}

	div#footer-disc span.text-xs.md\:text-base {
		margin-bottom: 10px;
	}
}
@media (max-width: 1599px) {
	#ry-footer ul {
		flex-direction: row;
	}
	.ry-container-1600 #footer-each-wrap {
		padding-bottom: 40px;
	}
}


@media (min-width: 1536px) {
    .\32xl\:grid-cols-7 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-bottom: 40px;
    }
	div#footer-info-each:nth-child(1) {
		grid-column: 1 / -1;
	}
	div#footer-info-each:nth-child(6) {
		grid-column: 1 / -1;
	}
	.footer-social-wrapper {
		justify-content: flex-start;
	}
}

@media (min-width: 1399px) {
	.\32xl\:grid-cols-7 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
	div#footer-info-each:nth-child(1) {
		grid-column: 1 / 1;
	}
}

@media (min-width: 1600px) {
    .\32xl\:grid-cols-7 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
	div#footer-info-each:nth-child(1) {
		grid-column: span 1 / span 1 !important;
	}
	div#footer-info-each:nth-child(6) {
		grid-column: none !important;
	}
}

@media (max-width: 991px) { 
	.\32xl\:grid-cols-7 {
		grid-template-columns: 1fr !important;
	}

	div.footer-social-wrapper {
		min-width: 100%;
		width: 100%;
		display: inline-flex !important;
	}

	div#ry-footer img {
		margin: 2.5rem auto 0;
	}
}

@media (max-width: 767px) {
	.\32xl\:grid-cols-7 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
}

body[data-page-name="contact-us"] div#footer-map {
	display: none;
}

div#footer-info-each .font-semibold h4 {
    color: #ffffff;
}
.footer-social-wrapper:before, .footer-social-wrapper:after {
	display: none;
}

.footer-social-wrapper a {
	border-color: var(--color-primary-background);
}

#ry-footer a:hover, #ry-footer a:focus {
    color: #ffffff;
}
#ry-footer a:hover, #ry-footer a:focus {
    color: #0082c8;
    background: #292b3d;
}

:root {
	--color-primary: #0082c8;
	--color-secondary: #292b3d;
	--font-default: Inter;
	--font-title: ;
	--content-font: Inter !important;
	--title-font: Playfair Display !important;
}
	
	
#contents .max-w-7xl {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

#contents .mt-10 {
  margin-top: 0;
}

#contents h2:first-of-type {
  margin-top: 0;
}

#contents ul:not(.slick-dots):not(#quick-links) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding-left: 0;
  list-style: none;
  margin: 24px 0;
}

#contents ul:not(.slick-dots):not(#quick-links) > li {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #0082c8;
  border-radius: 6px;
  padding: 14px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  color: #374151;
  margin-bottom: 0;
}

#contents ul:not(.slick-dots):not(#quick-links) > li::marker,
#contents ul:not(.slick-dots):not(#quick-links) > li::before {
  display: none;
  content: none;
}

.slick-dots {
  display: block;
  list-style: none;
}

.slick-dots li {
  display: inline-block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
	
	
@media (min-width: 1081px) {
    .col-xs-12.ry-each.contact-details {
        padding-top: 4rem;
    }
}

/* CTA Header Edit */
@media (max-width: 1750px) {
	.cta-icon {
		border: none;
	}

	#navigation .cta-btn {
		height: 3rem;
		width: 3rem;
	}
}

/* Hero Image Edit */
@media (max-width: 1080px) {
  #hp-slider .with-gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); 
  }
}

/* Header Dropdown Style */
#navigation .cta-btn:has(#phone-dropdown),
.cta-btn:has(#phone-dropdown),
div:has(> #phone-dropdown),
.snap-mobile-menu .mobile-menu-icon {
  position: relative !important;
  overflow: visible !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}

#phone-dropdown,
#phone-dropdown.hidden {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  min-width: 270px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 
    0 20px 40px -10px rgba(15, 23, 42, 0.18),
    0 4px 12px -2px rgba(0, 130, 200, 0.1),
    0 0 0 1px rgba(15, 23, 42, 0.06) !important;
  padding: 6px !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  text-align: left !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) scale(0.96) !important;
  transform-origin: top right;
  transition: 
    opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease !important;
}

#phone-dropdown::after {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.cta-btn:has(#phone-dropdown):hover #phone-dropdown,
div:has(> #phone-dropdown):hover #phone-dropdown,
#phone-dropdown:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.mobile-phone-dropdown {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: -38px !important;
  min-width: 260px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 
    0 20px 40px -10px rgba(15, 23, 42, 0.2),
    0 4px 12px -2px rgba(0, 130, 200, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.06) !important;
  padding: 6px !important;
  z-index: 99999 !important;
  display: flex;
  flex-direction: column !important;
  gap: 4px !important;
  text-align: left !important;
  transform-origin: top right;
}

#phone-dropdown > div,
.mobile-phone-dropdown > a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 11px 14px 11px 46px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  border: none !important;
  background-color: transparent !important;
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: 
    background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#phone-dropdown > div * {
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#phone-dropdown > div::before,
.mobile-phone-dropdown > a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(0, 130, 200, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230082c8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

#phone-dropdown > div:hover,
#phone-dropdown > div:focus-within,
.mobile-phone-dropdown > a:hover,
.mobile-phone-dropdown > a:active,
.mobile-phone-dropdown > a:focus {
  background-color: #0082c8 !important;
  color: #ffffff !important;
  transform: translateX(3px) !important;
  box-shadow: 0 4px 12px rgba(0, 130, 200, 0.28) !important;
}

#phone-dropdown > div:hover::before,
#phone-dropdown > div:focus-within::before,
.mobile-phone-dropdown > a:hover::before,
.mobile-phone-dropdown > a:active::before,
.mobile-phone-dropdown > a:focus::before {
  background-color: rgba(255, 255, 255, 0.22) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") !important;
  transform: translateY(-50%) scale(1.08) !important;
}

/* AMP Footer Edit */
#ry-section-footer #footer-row1.ry-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 40px; 
  padding: 50px 5%;
  border-radius: 8px;
  align-items: start;
}

#ry-section-footer #footer-row1 .card {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

#ry-section-footer #footer-row1 .card-title h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

#ry-section-footer .day-and-time {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06); 
}

#ry-section-footer .day-and-time:last-child {
  border-bottom: none;
}

#ry-section-footer .day-and-time .span-1 {
  font-weight: 700;
}

#ry-section-footer .day-and-time .span-2 {
  white-space: nowrap; 
  text-align: right;
}

@media (max-width: 1100px) {
  #ry-section-footer #footer-row1.ry-flex {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  #ry-section-footer #footer-row1 #card1 {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 30px;
  }
}

@media (max-width: 680px) {
  #ry-section-footer #footer-row1.ry-flex {
    grid-template-columns: 1fr;
    padding: 35px 25px;
    gap: 35px;
  }

  #ry-section-footer #footer-row1 #card1 {
    grid-column: auto;
    padding-bottom: 25px;
  }
}

/* Service Page Edits */
#contents .not-prose.lg\:grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
}

#contents .not-prose.lg\:grid-cols-2 > div:first-child {
    max-width: 750px;
    margin: 2rem auto 2.5rem auto;
    padding: 1rem 0;
    text-align: center;
}

#contents .not-prose.lg\:grid-cols-2 > div:first-child > div:first-child {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

#contents .not-prose.lg\:grid-cols-2 > div.not-prose {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2.5rem;
}

@media (max-width: 991px) {
    #contents .not-prose.lg\:grid-cols-2 > div:first-child {
        margin: 1rem auto 1.5rem auto;
    }

    #contents .not-prose.lg\:grid-cols-2 > div.not-prose {
        grid-template-columns: 1fr;
    }
}
	
body[data-page-name="myopia-management"] #contents ul li:nth-child(even) {
    display: none !important;
}
