/* 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 */
}

.module-19.style2 .services-frame .frame#frame1 {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-4b30c2ba-0199-44c2-bbdb-919c8b18f934/Assets/cta_three_bg.jpg);
    background-size: cover;
    background-position: center left;
}
.module-19.style2 .services-frame .frame#frame2 {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-4b30c2ba-0199-44c2-bbdb-919c8b18f934/Assets/cta_two_bg.jpg);
    background-size: cover;
    background-position: center left;
}
.module-19.style2 .services-frame .frame#frame3 {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-4b30c2ba-0199-44c2-bbdb-919c8b18f934/Assets/myopia_bg.jpg);
    background-size: cover;
    background-position: center left;
}
.module-testimonials {
    position: relative;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-4b30c2ba-0199-44c2-bbdb-919c8b18f934/Assets/testimonial_bg.jpg);
    background-size: cover;
    background-position: center top;
}

div#heading-visiontherapy {
    display: none;
}

#welcome-wrap.style-1:before, .module-welcome.style-5:before, .module-welcome.style-6:before {
    background-position: 80% center;
}

@media (max-width: 1200px) {
	div#navigation-style-4 {
		display: none !important;
	}
	.snap-mobile-menu {
		display: flex !important;
	}
	.snap-mobile-menu .gap-6 {
		gap: 10px;
	}
	.snap-mobile-menu img {
		max-height: 48px;
	}
	.module-19 .ry-generic * {
		text-align: center !important;
	}
	.module-19 .ry-btn.ry-btn-primary {
		margin: auto;
	}
	#ry-footer .flex.justify-between.flex-col.xl\:flex-row {
		align-items: center;
		gap: 5px;
	}
	#ry-footer h4 {
		font-size: 1.20rem;
	}
}

@media (max-width: 767px) {
	.slider-info {
		max-width: 100% !important;
	}
	.slider-info * {
		text-align: center !important;
	}
	#ry-footer .flex.justify-between.flex-col.xl\:flex-row * {
		text-align: center;
	}
	
	.homepage-swiper .swiper-slide img {
		height: 200px !important;
	}
}