/* 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;
}
div#ry-footer .container {
    width: 90%;
}
/* 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;
}

/* HP Edits - Started <July 20, 2026> */

/**/
	/*fonts*/

	/*btns*/

/*Modal*/
/* Header */
	/**/
.snap-mobile-menu {
    background: white;
}

mm-burger {
    color: #374151;
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.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, transparent);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
    color: var(--color-primary-text);
}.cta-btn {
    background: var(--color-primary-background);
}
.cta-btn:hover {
    background: transparent !important;
}
/* Hero */
	/**/
#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;
}
/* CTA */
	/**/
/* Welcome */
	/**/
.group-bg .background-section, .group-bg .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

.module-welcome.style-5 .ry-each.image-wrapper {
    border: none;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    object-fit: contain;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
    padding-top: 40%;
}

/* Services */
	/**/
.ry-services.style2 {
    position: relative;
    z-index: 1;
}

#services-7 .each-block {
    margin-bottom: 100px;
    overflow: visible;
}

.ry-services.style2 .ry-each .title {
    bottom: -70px;
    width: 80%;
}

#services-7 .ry-each .title div {
    color: #374151;
}

.ry-services.style2 .ry-each .photo:before {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-2778f368-257b-4e76-8979-c91d5d0d655d/backgrounds/VillaParkOpto_service_ic_bg.png) center center no-repeat;
	background-size: contain;
}

.ry-services.style2 .ry-each .photo img {
    z-index: 2;
    height: 50%;
    width: 50%;
    left: 25%;
    top: 25%;
}
.ry-services.style2 .ry-each .photo:after {
    opacity: 1;
    border-radius: 999px;
}

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

/* Meet the Team */
	/**/
.ry-hp-team::before {
    background-position: center bottom;
}
.ry-hp-team::after {
    content: "";
    position: absolute;
    width: 25%;
    height: 70%;
    top: 0;
    right: 0;
    background: var(--color-primary-background);
    border-bottom-left-radius: 150px;
}

.ry-hp-team img {
    z-index: 1;
}
/* Insurance */
	/**/
/* Brand */
	/**/

#hp-insurance-1 {
    background: white;
}
#hp-brands-6 .overflow-hidden,
#hp-insurance-1 .overflow-hidden{
    padding-bottom: 0;
}

#hp-brands-6 .swiper-slide,
#hp-insurance-1 .swiper-slide{
    background: none;
    padding: 0;
}

.brands-swiper-5 img {
  aspect-ratio: 3/2;
  -o-object-fit: contain;
  object-fit: contain;
  mix-blend-mode: color-burn;
  height: 70px;
  margin: 0 auto;
}

.brand-5-swiper-button-next,
.brand-5-swiper-button-prev {
  -webkit-text-stroke: 1px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  justify-items: center;
  align-items: center;
  color: var(--color-secondary-text);
  background-color: var(--color-primary-background);
}

.t-swiper-button-next,
.t-swiper-button-prev,
.brand-4-swiper-button-next,
.brand-4-swiper-button-prev {
  background-color: var(--color-primary-background);
}

/* Request Appointment */
	/**/
/* Testimonials */
	/**/

.module-testimonials.style-2::before {
    background: #eff8fc;
}

.module-testimonials.style-2 .comments-icon {
    background-color: var(--color-secondary-background);
}

.module-testimonials.style-2 .comments-symbol {
    font-family: 'Playfair Display';
}
/* Footer */
	/**/
/*Media Queries*/
	/**/

@media (max-width: 1080px) {
    .ry-services.style2 .each-block .photo:before {
	    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-2778f368-257b-4e76-8979-c91d5d0d655d/backgrounds/VillaParkOpto_service_ic_bg.png) center center no-repeat;
		background-size: contain;
        height: 100%;
	}
    .ry-services.style2 .each-block .photo img {
	    z-index: 2;
		height: 50%;
		width: 50%;
		left: 25%;
		top: 25%;
	}
    .ry-services.style2 .each-block .title {
        bottom: -75px;
        width: 100%;
    }
    .ry-services.style2 .each-block .title div {
        color: #374151;
    }
}
@media (max-width:1024px){
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
    
    .ry-hp-team::after {
        border-radius: 0;
        width: 100%;
        height: 25%;
    }
}

/* End - HP Edits*/

.control-label.stacked {
    display: flex;
    align-items: center;
    gap: 5px;
}

.module-welcome.style-5 .ry-text p {
    margin: 0px 0 0px;
}

@media (max-width: 1480px) {
    .module-welcome.style-5 .ry-each:not(.image-wrapper) {
        max-width: 660px; 
    }
}