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

.ry-horizontal-line {
    border-bottom: 1px solid rgb(102 102 102 / 17%);
    margin-bottom: 3em;
    padding-bottom: 2em;
}
img#varilux-image2, img#varilux-image3 {
    max-width:280px;
    margin: 0 auto;
}

img#varilux-image1{
    max-width:400px;
    margin: 0 auto;
}


.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: #1e1e1e;
}

/* OPTICAL PAGE*/

div.optical-buttons > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

div.optical-buttons {
  margin-top: 1.5em;
}

.optical-buttons .ry-btn.ry-btn-primary {
    display: block;
    margin: 0;
    width: calc(50% - 20px);
    max-width: unset;
}

@media (max-width:991px) {
	  div.optical-buttons .ry-btn.ry-btn-primary {
		 width: 100%; 
		margin:auto;
		max-width: 350px !important;
	  }


	div.optical-buttons > div {
	  flex-direction:column;
	   gap: 8px;
	}
	
	div#footer-map {
		height: 400px !important;
	}
	
	.snap-mobile-menu .gap-6, .snap-mobile-menu .gap-4 { 
		gap: 0 10px;
	}
}



/* END OPTICAL PAGE*/


/* -- Additional Edits -- */

.footer-heading {
	text-transform: uppercase;
    font-size: 24px;

}

div#contents ul.pagination li {
    list-style: none !important;
}

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

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

.slider-info-center-bottom {text-align: center;}

@media (max-width: 768px) {
	.homepage-swiper h2 {font-size: 2rem;}
}

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

div#contents .brands-slider ul li {
    list-style: none !important;
}

div#pg-btn-wrap {
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 2em;
    justify-content: space-between;
}

div#pg-btn-wrap a.ry-btn.ry-btn-primary {
    width: 100%;
    min-width: 100%;
    display: block;
}

div#pg-btn-wrap >div {
    width: 48%;
}

div#contents h2:first-of-type {
    margin-top: 0 !important;
}

.ry-iframe {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50%;
}

.ry-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
}

#ry-pg-body h3 a {
    text-decoration: none;
    font-weight: unset;
}

#ry-pg-body .module-brands.style-4 {
    padding-block: 0;
}

@media (max-width: 1680px) and (max-height: 900px) and (min-width: 1200px) {
	.module-brands.style-4 .brands-slider {
		max-width: 991px;
	}
}
@media (max-width:500px) {
	div#pg-btn-wrap >div {
		width: 100%;
	}
}


