/* 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: #444444;
}
/* 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 */
  }
}

/* About Page Edits - Started <> */
	/**/
img[alt="About Opal Optometry"] {
  width: 320px !important;
  height: 320px !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 100% !important;
  object-fit: cover !important;
  object-position: center 85% !important;
  border: 4px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  display: block !important;
  margin: 0 auto !important;
}

img[src*="OpalOptometry_Doctor_Name_Writing.png"] {
  max-width: 50% !important;
  width: 100% !important;     
  height: auto !important;    
  display: block !important;
  margin-top: 10px !important;
}

/* End - About Page Edits */

/* HP Edits - Started <> */

	
	.sticky-icons li a i {
  position: absolute;
  top: 0px;
  left: 20px;
  font-size: 27px;
  color: white !important;
}
.sticky-icons ul li a span {
  display: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  color:white !important;
}

/**/
	/*fonts*/
	/*btns*/
.ry-btn{
color: white;
}


body[data-page-name="index"] #navigation {
    position: absolute;
}
/*Modal*/
/* Header */
	/**/
.snap-mobile-menu {
    background: white;
}

mm-burger {
    color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
  color: var(--color-secondary-text);
}
.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);
}
.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent, #000000ba);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
    color: var(--color-primary-text);
}
/* Hero */
.homepage-swiper h2 {
  font-size: clamp(24px, 5vw, 72px) !important;
  line-height: 1.15;
	  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
               0 4px 12px rgba(0, 0, 0, 0.6);
}
	/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 100vh !important;
    object-fit: cover;
}
#hp-slider .swiper-pagination-bullet {
    background-color: white;
}
.slider-info {
    min-height: fit-content;
}

/* CTA */
	/**/
/* Welcome */

#welcome-wrap h6, #HP-Doctor-section h6, #hp-insurance-1 h6, #HP-Testimonial h6, #hp-brands-6 h6{
	  font-family: 'Manrope', sans-serif !important;
   font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  color: var(--color-secondary-background) !important;
	text-transform: uppercase;
}
#hp-service-circle h6{
	  font-family: 'Manrope', sans-serif !important;
   font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  color: var(--color-secondary-text) !important;
	text-transform: uppercase;
}
#welcome-wrap h2, #hp-service-circle h2{
text-transform: uppercase;
}

	/**/
/* Services */

@media (width < 1080px) {
  #section-hp-services:before,
  .module-19.style2:before,
  .ry-services.style2::before {
    opacity: 0.94;
  }
}

/* Circle */
.ry-services.style2 .ry-each .photo {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: transparent !important;
}

/* Smaller white icons */
.ry-services.style2 .ry-each .photo img {
  position: absolute !important;
  width: 35% !important;
  height: 35% !important;
  object-fit: contain !important;
  top: 22% !important;
  left: 50% !important;
  transform: translateX(-50%);
  filter: brightness(0) invert(1);
	transition: opacity 0.4s ease-in-out;
	border-radius: 0 !important;
}

/* White circular border without the gradient */
.ry-services.style2 .ry-each .photo:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  border: 2px solid white;
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 1;
  pointer-events: none;
}

.ry-services.style2 .each-block .title div {
	transition: font-weight 0.2s ease;
}

.ry-services.style2 .each-block:hover .title div {
	font-weight: 600;
}

.ry-services.style2 .each-block:hover img {
	opacity: 0.15;
}

@media (max-width: 1024px) {
  .ry-services.style2 .ry-each {
    min-width: 0;
  }

  .ry-services.style2 .ry-each .photo {
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    margin-inline: auto !important;
  }

  .ry-services.style2 .ry-each .photo img {
    width: 35% !important;
    height: 35% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    top: 20% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    object-fit: contain !important;
  }
}

.ry-services.style2 .ry-each .photo {
  position: relative;
}

.ry-services.style2 .ry-each .photo:before {
    height: 100%;
    background: linear-gradient(to bottom, transparent, transparent);
}

.ry-services.style2 .ry-each .photo:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 3px solid white;
  border-radius: 50%;
  box-sizing: border-box;
  background: transparent;
  opacity: 1;
  pointer-events: none;
  transition: .4s;
}

/* mobile services carousel */
#hp-service-circle .mobile-services .each-block .photo {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  overflow: hidden !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

/* Remove the mobile gradient */
#hp-service-circle .mobile-services .each-block .photo::before,
#hp-service-circle .mobile-services .each-block .photo::after {
  content: none !important;
  display: none !important;
}

/* Match the desktop icon size and color */
#hp-service-circle .mobile-services .each-block .photo img {
  position: absolute !important;
  display: block !important;
  width: 35% !important;
  height: 35% !important;
  max-width: none !important;
  max-height: none !important;
  top: 22% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform: translateX(-50%) !important;
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
	border-radius: 0 !important;
}

/* Inactive dots */
#hp-service-circle .mobile-services .slick-dots li {
  opacity: 1 !important;
}

#hp-service-circle .mobile-services .slick-dots li button {
  background: #a0a0a0 !important;
}

/* Active dot */
#hp-service-circle .mobile-services .slick-dots li.slick-active button {
  background: #fff !important;
}

	/**/
/* Meet the Team */
#section-hp-team h6{
    font-weight: 700;
    font-size: clamp(18px, 2vw, 28px);
    text-transform: uppercase;
    font-family: Manrope, sans-serif !important;
    color: var(--color-secondary-background) !important;
}


#section-hp-team::before {
  background-position: center center !important;
  background-size: cover;
  background-repeat: no-repeat;
}
	/**/
/* Insurance */

#hp-brands-6, #hp-insurance-1 {
  background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-fe3cfcf7-c209-4063-b597-58e1a251ceeb/1HP_Assets/BG_Insurance_Brands.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


	/**/
/* Brand */
	/**/
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
/* Footer */
#ry-footer-3 h4,
#ry-footer-3 li,
#ry-footer-3 a,
#ry-footer-3 p,
#ry-footer-3 span {
  color: #fff !important;
}

#ry-footer-3 a:hover {
  color: #fff !important;
  font-weight: bold !important;
}

#ry-footer-3 i:hover,
#ry-footer-3 .group:hover i {
  background-color: var(--color-secondary-background) !important;
  color: #fff !important;
}

#ry-footer-3 .footer-contents li, 
#ry-footer-3 .footer-contents a, #ry-footer-3 .footer-contents p, 
#ry-footer-3 .footer-contents span {
    color: #6b7280 !important;
}

#ry-footer-3 .footer-contents h4{
    color: #374151 !important;
    font-weight: 900;
}

	/**/

.module-team.style-7 .ry-content {
    max-width: 620px;
    width: 50%;
    padding-top: 160px;
    padding-bottom: 120px;
    position: relative;
    z-index: 4;
}

.module-team.style-7 .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-fe3cfcf7-c209-4063-b597-58e1a251ceeb/1HP_Assets/bg_doctor_4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.module-team.style-7 .section-background img {
    display: none;
}

.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))) !important;
  margin-bottom: calc(1rem * var(--tw-space-y-reverse)) !important;
}

/*Media Queries*/
@media (max-width: 1480px) {
    .module-welcome.style-5 .ry-each:not(.image-wrapper) {
        max-width: 660px;
        padding-right: 0;
        width: 100%;
    }
}

	@media (min-width: 1080px) and (max-width: 1299px) {
		.module-welcome.style-5 .ry-content {
			padding: 0 24px;
		}
	}

@media (min-width: 1025px) {
	#section-hp-team h6,
	#section-hp-team h2,
	#section-hp-team p,
#HP-Doctor-section h6,
	#hp-team-six h2,
	#hp-team-six p,
  #welcome-wrap h2,
  #welcome-wrap h6,
  #welcome-wrap p {
    text-align: left !important;
  }
#section-hp-team .ry-btn, #hp-team-six .ry-btn, #welcome-wrap .ry-btn {
    display: block;
    width: fit-content;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

@media (max-width: 1024px) {
		#section-hp-team h6,
	#section-hp-team h2,
	#section-hp-team p,
	#HP-Doctor-section h6,
	#hp-team-six h2,
	#hp-team-six p,
		#section-hp-services h6,
	#section-hp-services h2,
	#section-hp-services p,
	#HP-Testimonial h2,
	#HP-Testimonial h6,
	#HP-Testimonial p,
  #welcome-wrap h2,
  #welcome-wrap h6,
  #welcome-wrap p {
    text-align: center !important;
}
	
#section-hp-team .ry-btn, #hp-team-six .ry-btn,	 #welcome-wrap .ry-btn {
    display: block;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 768px) {
	#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
		height: 60vh !important;
	}
}
	
@media (max-width: 480px) {
	.navigation-4 a[href="https://admin.roya.com/sites/Site-fe3cfcf7-c209-4063-b597-58e1a251ceeb/?noamp"] img {
		max-width: 120px;
	}
}

	/**/
/* End - HP Edits*/
	
	body[data-page-name="intake-form-english"] input[type="radio"],
	body[data-page-name="intake-form-spanish"] input[type="radio"] {
		margin-right: 6px;
	}