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

.footer-contents ul li em {
  margin-right: 8px;
  font-style: normal;
}


#ry-footer-3 .gap-4 a:hover {
  color: var(--color-primary-background);
}

#ry-footer-3 .text-center a:hover {
  color: #fff;
  opacity: 0.8;
}

/* 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 14, 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, transparent, transparent, #000000ba);
}
.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);
    width: 320px;
    border-radius: 999px;
}

.cta-btn a {
    display: contents;
}

.ry-menu {
    margin-top: -30px;
}
/* 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-welcome.style-6 .ry-each.image-wrapper {
    opacity: 0;
}

.module-welcome.style-6 {
    padding-bottom: calc(6.6vh + 400px);
}

.module-welcome.style-6 .ry-each:not(.image-wrapper) {
    max-width: 100%;
}
/* Services */
	/**/

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

.ry-services.style2 .ry-each .photo:before {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-0f9175d0-e55d-4651-bcf9-30bc62122144/Icons/AnaheimFamOpto_services_icon_bg_v2.png) center center no-repeat;
	background-size: contain;
    border-radius: 999px;
}

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

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

.ry-services.style2 .ry-each .photo img {
    z-index: 2;
    height: 50%;
    width: 50%;
    left: 25%;
    top: 25%;
    filter: invert(0);
	background: #e8e0d3;
    opacity: 1;
    border-radius: 999px;
    padding: 10px;
}
.ry-services.style2 .ry-each .photo:after {
    border-radius: 999px;
    opacity: 1;
}

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

.ry-section:nth-child(even) {
    background-color: transparent;
}

.ry-services.style2 {
    position: relative;
    z-index: 0;
    margin-top: -400px;
}

.ry-services.style2::before {
    top: auto;
    bottom: 0;
    height: 70%;
}

.ry-services.style2 .ry-each .each-block:hover .title div {
    color: white !important;
}
/* Meet the Team */
	/**/
#section-hp-team:before {
    background-position: bottom;
}

#section-hp-team:before {
    height: 50%;
    top: auto;
    bottom: 0;
}

/* Insurance */
	/**/
/* Brand */
	/**/

#section-hp-team, #hp-brands-6::before {
    background: #f4f3f0;
}

#hp-brands-6 .overflow-hidden {
    padding: 0;
}

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

#hp-brands-6 .swiper-slide {
    background: #e8e0d3;
}
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
.module-testimonials.style-2 .comments-icon {
    background-color: #e8e0d3;
}

.module-testimonials.style-2::before {
    background: var(--color-primary-background);
}

.module-testimonials.style-2 .comments-symbol {
    font-family: auto;
}
/* Footer */
	/**/
#ry-footer-3 .footer-contents::before {
    opacity: 0;
}

#ry-footer-3::before {
    opacity: 1;
}
/*Media Queries*/
	/**/

@media (min-width: 768px) {
    .slider-info-center-bottom {
        bottom: 5%;
    }
}
@media (min-width: 1081px) {
    .ry-services.style2 .block-count-6 {
        margin-top: 40px;
    }
    .ry-services.style2 .block-count-6 .ry-each:nth-child(2) {
        margin-top: 0;
    }
    .ry-services.style2 .block-count-6 ~ .button-wrapper {
        top: 0;
    }
}
@media (max-width: 1080px) {
	.module-welcome.style-6 .ry-each.image-wrapper {
		display: none;
	}
    .ry-services.style2 .each-block .photo:before {
    	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-0f9175d0-e55d-4651-bcf9-30bc62122144/Icons/AnaheimFamOpto_services_icon_bg_v2.png) center center no-repeat;
		background-size: contain;
        border-radius: 999px;
        height: 100%;
    }
    
    .ry-services.style2 .each-block  .title {
        bottom: -73px;
        width: 70%;
    }
    
    #services-7 .each-block  .title div {
        line-height: normal;
		color: #374151;
    }
    
    .ry-services.style2 .each-block  .photo img {
		z-index: 2;
		height: 50%;
		width: 50%;
		left: 25%;
		top: 25%;
		background: #e8e0d3;
		opacity: 1;
		border-radius: 999px;
		padding: 10px;
    }
}
@media (width < 1080px) {
    .module-welcome.style-5:before,#section-hp-services:before, .module-19.style2:before, .ry-services.style2::before {
        opacity: 1;
    }
}
@media (max-width:1024px){
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
	
	#ry-sidebar {
	  max-width: 400px;
	  margin: auto;
	  float: none;
	  clear: both;
	}
}
/* End - HP Edits*/


#contents .brands-swiper-3 .swiper-wrapper .swiper-slide .photo img {
    margin: 0;
}

.brands-swiper-3 .swiper-wrapper .swiper-slide .photo {
    position: relative;
    padding-bottom: 100%;
}

.brands-swiper-3 .swiper-wrapper .swiper-slide .photo img {
    position: absolute;
    top: 0;
    left: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[data-page-name="frames"] #hp-brands-3::before {
    background:unset;
}

@media (max-width: 1080px) {
    .promotions .max-w-fit {
        max-width: 300px !important;
        margin: auto;
    }
}

@media (max-width: 1080px) {
    .promotions h3, .promotions p {
        text-align: center;
    }
}

@media (max-width: 1080px) {
    .promotions p {
        max-width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 1080px) {
    .promotions .ry-btn {
        margin: auto;
    }
}

@media (max-width: 1080px) {
    .promotions .max-w-fit {
        max-width: 300px !important;
        margin: auto;
    }
}

@media (max-width: 1080px) {
    .promotions img {
        min-width: auto;
        max-width: 250px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 620px) {
	.ry-services.style2 .each-block .photo img {
		filter: initial;
	}

	.module-welcome.style-5 {
		padding-bottom: 100px;
	}

	#section-hp-team {
		padding-top: 200px;
	}

	#section-hp-team:before {
		background-position: left top;
	}

	.ry-services.style2 {
		padding-bottom: 0;
	}
}