/* 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 <September 01, 2025>*/

}
/*Global*/
/*btn*/
/*Modal*/
/*Header*/
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-primary-background);
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);
}
.cta-btn {
    background: var(--color-primary-background);
    border-radius: 999px;
    width: 260px;
}
.snap-mobile-menu {
    background-color: var(--color-primary-text);
}
mm-burger {
    color: var(--color-secondary-background) !important;
}
/*Hero*/
.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent);
    height: 50%;
}
/*Welcome*/
#hp-welcome-1 .background-section, #hp-welcome-1 .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
/*CTA*/
/*Services*/
.ry-services.style2 .block-count-4 .ry-each .block-group {
    flex-direction: row;
    gap: 60px;
	margin-top: 40px;
}
#services-7 .ry-content .content {
    max-width: 1600px;
}
@media (min-width: 1200px) {
    .ry-services.style2 .block-count-4 {
        margin-left: 0px;
        width: 100%;
    }
    .ry-services.style2 .block-count-4 .ry-each {
        margin-left: 0px;
        width: 100%;
    }
}

.ry-services.style2 .ry-each .photo:before {
    background: white;
    z-index: 0;
    border-radius: 100%;
}

.ry-services.style2 .ry-each .photo img {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    object-fit: cover;
}

.ry-services.style2 .ry-each .title div {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ry-services.style2 .ry-each .each-block {
    overflow: visible;
    border-radius: 100%;
}

.ry-services.style2 .ry-each .title {
    bottom: -55px;
    width: 100%;
}

.ry-services.style2 .ry-each .photo:after {
    opacity: 1;
    background: var(--color-primary-background);
    border-radius: 100%;
}

.ry-services.style2::before {
    background-position: center;
}
/*Team*/
/*Insurance*/
#hp-insurance-1 {
    background: white;
}

#hp-insurance-1 .swiper-wrapper div {
    background: transparent;
}

#hp-insurance-1 .swiper-wrapper div img {
    height: 40px;
}
/*Brands*/
#hp-brands-6 .brands-swiper-4 .swiper-wrapper div {
    background: transparent;
}

#hp-brands-6 .brands-swiper-4 .swiper-wrapper div img {
    mix-blend-mode: normal;
    filter: invert(1);
}
#hp-brands-6::before {
    background-position: bottom center;
}
/*Appointment Form*/
/*Gallery*/
#custom-hp-gallery::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-7d71d628-c5bc-45ac-ac6e-227b060a8e9c/Backgrounds/opticOne_gallery_bg.jpg) center top no-repeat;
    background-size: cover;
}
#custom-hp-gallery .brands-swiper-4 img{
    height: 300px;
    object-fit: cover;
}


/*Testimonials*/
.module-testimonials.style-2::before, .module-testimonials.style-3::after {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-7d71d628-c5bc-45ac-ac6e-227b060a8e9c/Backgrounds/opticOne_reviews_bg_v2.jpg) center center no-repeat;
	background-size: cover;
    height: 100%;
}
.module-testimonials.style-2 .comments-icon {
    background: transparent;
}
.module-testimonials.style-2 .comments-symbol {
    color: var(--color-primary-text);
}
.module-testimonials.style-2 .comments-icon::before {
    border: none;
}
.module-testimonials.style-2 .testimonials-swiper p, .testimonials-swiper-2 p {
    color: var(--color-primary-text);
}

.module-testimonials.style-2 .swiper-pagination-bullet-active {
    background-color: var(--color-primary-text);
}
/*Footer*/
#ry-footer-3 .footer-contents::before {
    background-color: var(--color-secondary-background);
    opacity: 1;
}
/*Media Queries*/
@media (max-width:1024px) {
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
    .with-gradient:before {
        height: 0;
    }
    #hp-welcome-1 .background-section, #hp-welcome-1 .background-section img {
        opacity: 0.4;
    }
}
@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,
        #section-hp-services::before, .module-19.style2::before, .ry-services.style2::before {
        opacity: 1;
    }
    .ry-services.style2 .each-block .photo::before {
        background: white;
        height: 100%;
        z-index: 0;
    }
    .ry-services.style2 .each-block .photo img {
        height: 70%;
        width: 70%;
        left: 15%;
        top: 15%;
    }
    .ry-services.style2 .each-block .title div {
        color: #374151;
    }
}
@media (max-width: 1080px) {
    .mobile-services .slick-dots button {
        background: white;
    }
    #services-7 .ry-content .content {
        padding-top: 65px;
    }
}
/* END - HP Edits */

body[data-page-name="frames"] #hp-brands-6::before {
	background-image: none !important;
}

body[data-page-name="frames"] .brands-swiper-4 img {
	filter: brightness(0) !important;
}

body[data-page-name="contact-us"] div#footer-map {
    display: none;
}
.control-label.inline {
    display: flex;
    align-items: flex-start;
    gap: 5px;
	line-height: 20px;
}
.control-label.inline [type="checkbox"], .control-label.inline [type="radio"] {
    transform: translateY(3px);
}

#ry-pg-body div#hp-brands-5 {
    padding-top: 0;
}

#ry-pg-body #hp-brands-5::before {
	display: none;
}
