/* 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;
}
body#ry-pg-body #hp-brands-6 .custom-headline h2 {
    margin: 0;
}
/* 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;
}


.ry-menu .ry-nav li a {
    font-size: 17px !important;
}


/* HP Edits - Started <September 19, 2025> */

/**/
	/*fonts*/

	/*btns*/
/*Modal*/
/* Header */
	/**/
.cta-icon {
    border-color: #374151;
    color: #374151;
}

.header-social-btn .cta-icon:hover {
    border-color: var(--color-secondary-background);
}
.nav-white-logo {
    filter: brightness(0) invert(1);
}

.snap-mobile-menu img {
    max-height: 40px;
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);
}
/* Hero */
	/**/
.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent, transparent);
}
/* CTA */
	/**/
.bg-cta-background .group img {
    filter: invert(1);
}
/* Welcome */
	/**/
.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-container {
    width: 100%;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
    padding-bottom: 90%;
}
/* Services */
	/**/
.ry-services.style2 .block-count-7, .ry-services.style2 .block-count-6, .ry-services.style2 .block-count-5, .ry-services.style2 .block-count-4, .ry-services.style2 .block-count-3 {
    display: none;
}

#services-7 .ry-content .content {
    max-width: 1280px;
}

.ry-services.style2::after {
    content: "";
    background: var(--color-primary-background);
    background-size: cover;
    background-position: center top;
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 160px;
    left: 0;
}


/* Meet the Team */
	/**/
#section-hp-services::after {
    content: "";
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-45fc53f7-c020-4491-a5af-d29d49344c6b/backgrounds/CEC_service_box.jpg) center center no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 240px;
    left: 0;
    z-index: 1;
}

#section-hp-team .swiper-wrapper {
    justify-content: center;
}
/* Insurance */
	/**/
/* Brand */
	/**/
#hp-brands-6 .brands-swiper-4 div {
    background: transparent;
}

#hp-brands-6 .brands-swiper-4 div img {
    mix-blend-mode: unset;
    filter:brightness(0) invert(1)
}
#hp-brands-6 .overflow-hidden {
    padding-bottom: 0;
}

/* Request Appointment */
	/**/
/* Custom Dry Eye Page */
.custom-hp-dry-eye .text-wrapper {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-45fc53f7-c020-4491-a5af-d29d49344c6b/backgrounds/CEC_dryEye_bg_v3.jpg) center center no-repeat;
    background-size: cover;
}
/* Testimonials */
	/**/
.module-testimonials.style-2::before {
    opacity: 0;
}
.module-testimonials.style-2 .swiper-pagination-bullet-active {
    background-color: white;
}
/* Footer */
	/**/
/*Media Queries*/
@media screen and (max-width:1024px){
    .module-welcome.style-5 .ry-container {
        width: 100%;
    }
    
    .with-gradient:before {
        opacity: 0;
    }
    
    #hp-slider, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
}
@media screen and (max-width:1080px){
    #section-hp-services:before, .module-19.style2:before, .ry-services.style2::before,#hp-brands-6::before, .module-welcome.style-5:before {
        opacity: 1;
    }
}
@media (min-width: 1080px) {
    .mobile-services {
        display: block;
    }
    

    .ry-services.style2 .each-block .photo {
        position: relative;
        padding-bottom: 100%;
        border-radius: 999px;
        overflow: hidden
    }

    .ry-services.style2 .each-block .photo:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        background: var(--color-secondary-background);
        border: 15px solid var(--color-secondary-text);
        border-radius: 999px;
        box-shadow: 0 0 7px #333;
        transition: all .3s;
    }

    .ry-services.style2 .each-block .photo img {
        position: absolute;
        border-radius: 0;
        z-index: 2;
        filter: brightness(0) invert(1);
        height: 50%;
        width: 50%;
        object-fit: contain;
        left: 25%;
        top: 15%;
        transition: all .3s;
    }

    .ry-services.style2 .each-block .title {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 3;
        transition: .4s;
    }

    .ry-services.style2 .each-block .title div {
        font-size: 20px;
        color: #fff;
    }

    .ry-services.style2 .each-block .link, .ry-services.style2 .each-block .link a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9;
        opacity: 0;
    }

    .ry-services.style2 .each-block .button-svg {
        display: none;
    }

    .mobile-services .slick-track .each-block {
        margin-left: 25px;
        box-shadow: 0 0 7px #33333347;
    }

    .mobile-services .slick-list {
        margin-left: -25px;
    }

    .mobile-services .slick-dots {
        margin-top: 30px;
        padding-left: 0;
        list-style: none;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .mobile-services .slick-dots li {
        margin: 0 3px;
        height: auto;
        line-height: initial;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-services .slick-dots li:not(.slick-active) {
        opacity: .5;
    }

    .mobile-services .slick-dots button {
        width: 12px;
        height: 12px;
        text-indent: -9999999px;
        background: #0095da;
        border: unset;
        box-shadow: unset;
        border-radius: 50%;
    }

    .mobile-services .slick-arrow {
        display: none !important;
    }
    
    .ry-services.style2 .each-block .photo img {

    }
    
    .ry-services.style2 .each-block .title {
        bottom: 45px;
    }
    
    .ry-services.style2 .each-block .title {
        line-height: 1.3;
    }
    
    #services-7 .each-block:hover .photo:before {
        border: 30px solid var(--color-primary-text);
    }
    #services-7 .each-block:hover .photo img {
        height: 80%;
        width: 80%;
        left: 10%;
        top: 0;
    }
}

@media (max-width: 1080px) {
    .ry-services.style2 .each-block .photo:before {
        height: 100%;
        z-index: 2;
        background: var(--color-secondary-background);
        border: 15px solid var(--color-secondary-text);
        border-radius: 999px;
        box-shadow: 0 0 7px #333;
    }
    .ry-services.style2 .each-block .title {
        bottom: 75px;
    }
    .ry-services.style2 .each-block .photo img {
        left: 10%;
        width: 80%;
        height: 80%;
        object-fit: cover;
        border-radius: 0;
        z-index: 2;
        filter: brightness(0) invert(1);
    }
}
/* End - HP Edits*/

#navigation {
	background-color:#fff !important;
}

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

body[data-page-name="contact-us"] div#ry-footer-3 {
    margin-top: 220px;
}

/*QA*/
.snap-mobile-menu img {
    max-height: unset !important;
    max-width:120PX;
    width:100%
}
.snap-mobile-menu .mobile-menu-icon {
    width:50px;
    height:50px
}
.snap-mobile-menu {
    height: 120px;
}
.ry-services.style2::after {
    display:none
}
.ry-services.style2 .ry-btn:hover {
	background:var(--color-secondary-background) !important
}
.team-inner-page.style3 .ry-each .each-container .details > div:nth-child(2) {
    width:75%
}
.team-inner-page.style3 .ry-each .each-container .details .title {
    padding:0 30px 5px;
    width:fit-content
}
.team-inner-page.style3 .ry-each .each-container .details .title h5 {
    font-size:20px;
    line-height:1.2;
    text-wrap:nowrap
}
@media (max-width: 1080px) {
    .ry-services.style2 .each-block .title {
        bottom: 40px;
        line-height:1.1
    }
	.team-inner-page.style3 .ry-each .each-container .details .title h5 {
		font-size:25px;
		text-wrap:wrap
	}
	.team-inner-page.style3 .ry-each .each-container .details * {
		text-align:center
	}
	.team-inner-page.style3 .ry-each .each-container .details .title  {
		padding:0 0 20px;
		width:100%;
	}
	.team-inner-page.style3 .ry-each .each-container .details > div:nth-child(2) {
		width:100%
	}
	.team-inner-page.style3 .ry-each .each-container .details .team-social {
		display:none
	}
	.team-inner-page.style3 .ry-each .each-container .details {
		flex-direction:column;
		padding:0 0 5px;
	}
	.team-inner-page.style3 .ry-each .each-container {
		align-items:center;
		justify-content:center
	}
	.team-inner-page.style3 .ry-each .each-container {
		flex-direction:column;
		gap:30px
	}
	.team-inner-page.style3 .ry-each .each-container .details {
		width:100%;
	}
	.team-inner-page.style3 .ry-each {
		padding-inline:20px
	}
}

@media(width:1024px) {
    div#cta-section .basis-2\/3  {
    display:flex !important;
        flex-direction:row !important
}
    div#cta-section .lg\:w-1\/3 {
        width: 33.333333%;
    }
    div#cta-section .max-lg\:border-b {
        border-bottom-width: 0px;
    }
}
@media(max-width:1024px) {
    div#cta-section .basis-2\/3 .group{
    padding-block:20px
}
}

@media(max-width:480px) {
	.snap-mobile-menu .mobile-menu-icon {
		width:45px;
		height:45px
	}
	.snap-mobile-menu img {
		max-height: unset !important;
		max-width:100PX;
		width:100%
	}
	.snap-mobile-menu {
		height: 100px;
	}
	.module-testimonials .comments-holder {
		padding-inline:10px !important
	}
}

.team-inner-page.style3 .btn-excerpt {
	display: none !important;
}