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

/* HP Edits - Started <August 27, 2026> */

/**/
	/*fonts*/
	/*btns*/

/*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.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);
}

body[data-page-name="index"] #navigation {
    position: absolute;
}

.cta-btn:last-child {
    background: var(--color-primary-background);
}

.cta-btn:last-child:hover {
    background: transparent;
}

.slider-info {
    background-color: var(--color-primary-background);
}
[x-data="randomBanners"] h1 {
    color: #374151 !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;
}
.slider-info {
    min-height: fit-content;
}

/* CTA */
	/**/
/* Welcome */
	/**/
.module-19.style2 .custom-headline h2, .module-19.style2 .custom-headline h2 .span-1, .module-19.style2 .text-gray-500 {
    text-align: left;
}

.module-19.style2 .ry-btn {
    margin-left: 0;
}

.module-19.style2 .services-frame .frame .service-img-holder {
    margin-left: -130px;
}

.module-19.style2 .services-frame .frame .service-name {
    max-width: calc(250px + 130px);
}

.module-19.style2 .services-frame .frame {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    max-width: 550px;
}

.module-19.style2 .services-frame .frame .service-name a:after {
    background: white;
    color: black;
}

.module-19 .card-holder {
    gap: 150px;
}
/* Services */
	/**/
.module-19.style2 .services-frame .frame .service-img-holder .service-img {
    border: 5px rgb(55 65 81 / 10%) solid;
}
/* Meet the Team */
	/**/
.ry-hp-team {
    position: relative;
    z-index: 1;
    background-color: transparent !important;
}

.ry-hp-team::before {
    content: "";
	top: auto;
    bottom: 0;
    height: 20%;
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-9c66122f-1881-43d7-bad5-00a2edd84ca3/backgrounds/clearvistaOpto_team_wood.jpg) center center no-repeat;
    background-size: cover;
}

.ry-hp-team .custom-headline h2, .ry-hp-team .custom-headline h2 .span-1, .ry-hp-team .text-gray-500 {
    text-align: left;
}

.ry-hp-team .ry-btn {
    margin-left: 0;
}
/* Insurance */
	/**/
/* Brand */
	/**/
.module-brands.style-5 .slick-dots li button {
	background: white;
}
.module-brands.style-5 .content .brand-block .each-brand .logo {
    background: var(--color-primary-background);
}
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
/* Footer */
	/**/
/*Media Queries*/
	/**/

.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;
}

#hp-welcome-1,
.module-19.style2,
.ry-hp-team{
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px){
    .module-19.style2 .custom-headline h2, .module-19.style2 .custom-headline h2 .span-1, .module-19.style2 .text-gray-500 {
        text-align: center;
        max-width: 56rem;
    }
    
    .module-19.style2 .ry-btn {
        margin-left: auto;
    }
    
    .module-19 .card-holder {
        gap: 40px;
    }
}

@media (max-width:1024px) {
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
    
    body[data-page-name="index"] #navigation {
        position: relative;
    }

    #welcome-wrap.style-1 .svg-background {
        width: 60%;
        left: -20%;
    }

    #welcome-wrap.style-1 .module-22 .custom-headline h2,
    #welcome-wrap.style-1 .module-22 .custom-headline h2 .span-1,
    #welcome-wrap.style-1 .module-22 .text-gray-500,
    .ry-hp-team .custom-headline h2,
    .ry-hp-team .custom-headline h2 .span-1,
    .ry-hp-team .text-gray-500 {
        text-align: center !important;
    }

    #welcome-wrap.style-1 .module-22 .ry-btn,
     .ry-hp-team .ry-btn{
        margin-left: auto;
    }

    #welcome-wrap.style-1 .module-22 .ry-right {
        margin-bottom: 0;
    }

    #welcome-wrap.style-1 .module-22 {
        padding-bottom: 6.6vh;
    }
	.ry-hp-team::before {
		top: auto;
		bottom: 0;
		height: 40%;
	}
}

@media (width < 1080px) {
    #hp-brands-1::before, #hp-brands-2::before, #hp-brands-3::before, #hp-brands-4::before, #hp-brands-5::before, #hp-brands-6::before {
        opacity: 1;
    }
}

@media (max-width:768px) {
	.module-19.style2 .services-frame .frame .service-img-holder {
		margin-left: 0;
	}

	.module-19.style2 .services-frame .frame {
		max-width: 700px;
		border-radius: 999px;
	}
}

@media (max-width:767px) {
    .with-gradient:before {
        opacity: 0;
    }
}
@media (max-width: 600px) {
	.module-19.style2 .services-frame .frame {
		border-radius: 20px;
	}
}
/* End - HP Edits*/