/* 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 <October 06, 2025> */

/**/
	/*fonts*/

	/*btns*/
/*Modal*/
/* Header */
	/**/
.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 */
	/**/
/* Welcome */
	/**/
/* Services */
	/**/
#services-7 .ry-content {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-b5857f43-ebf4-439b-9db6-91ff61e9589b/backgrounds/FairportEC_services_box_v3.jpg) center center no-repeat;
	background-size: cover;
    padding: 6.6vh 0;
    border-radius: 1.5rem;
}
.mobile-services .slick-track .each-block .title {width: 100% !important;}
body#ry-pg-body .ry-menu .ry-nav li a {
    font-size: clamp(1.125rem, 1.0613rem + 0.2614vw, 1.375rem);
}
/* Meet the Team */
	/**/
/* Insurance */
	/**/
#hp-insurance-1 {
    background: white;
}

#hp-insurance-1 .brands-swiper-4 .swiper-wrapper div {
    background: transparent;
	padding: 0;
}
.ry-swiper-arrow-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 96%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
}
.ry-swiper-arrow-wrap button {
    background: transparent;
    border: none;
}
.ry-swiper-arrow-wrap button svg {
    fill: #000;
    width: 30px;
    height: 30px;
}
.brands-swiper-4 {
    padding: 0 2em;
    position: relative;
}
.brands-swiper-4 img {
    height: 110px;
}
/* Custom HP Dry EYe*/
.custom-hp-dry-eye ul {
    list-style: disc;
}

.custom-hp-dry-eye .list {
    margin-left: 50px;
}
/* Brand */
	/**/
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
.module-testimonials.style-2::before {
    height: 40%;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-b5857f43-ebf4-439b-9db6-91ff61e9589b/backgrounds/FairportEC_testimonials_before_v2.jpg) center center no-repeat;
    background-size: cover;
}

.module-testimonials.style-2 .testimonials-swiper-2 .p-4.rounded-b-xl:last-child {
    padding: 0;
}
.module-testimonials.style-2 .swiper-pagination-bullet {
    background: white;
}
/* Footer */
	/**/
#ry-footer-3::before {
    opacity: 1;
}

#ry-footer-3 .footer-contents::before {
    opacity: 0;
}
/*Media Queries*/
	/**/
.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;
}

@media (min-width: 1081px) {
    .mobile-services {
        display: block;
    }

    .ry-services.style2 .block-count-5 .ry-each:nth-child(2) .each-block:nth-child(2) {
        margin-right: calc(-100% - 30px);
    }
    
    .ry-services.style2 .ry-flex {
        display: none;
    }

    .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;
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
        z-index: 2;
        background: var(--color-primary-background);
        opacity: .2;
        border-radius: 999px;
    }
    .ry-services.style2 .each-block .photo:after {
        content: "";
        position: absolute;
        top: 15%;
        left: 15%;
        width: 70%;
        height: 70%;
        z-index: 2;
        background: var(--color-primary-background);
        opacity: .5;
        border-radius: 999px;
    }
    .ry-services.style2 .each-block .photo img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 999px;
        z-index: 3;
    }
    .mobile-services .slick-track .each-block,
    .ry-services.style2 .each-block .photo:before,
    .ry-services.style2 .each-block .photo:after,
    .ry-services.style2 .each-block .photo img {
        transition: all .3s;
    }
    .mobile-services .slick-track .each-block:hover {
        border: 20px solid var(--color-primary-background)
    }
    
    .ry-services.style2 .each-block:hover .photo:before {
        opacity: 0;
    }
    
    .ry-services.style2 .each-block:hover .photo:after {
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        opacity: .3;
    }
    .ry-services.style2 .each-block:hover .photo img {
        height: 80%;  
        width: 80%;
        top: 10%;
        left: 10%;
		filter: invert(0);
    }
	.ry-services.style2 .each-block .photo img {
		border-radius: 0;
		height: 50%;
		width: 50%;
		left: 25%;
		top: 25%;
		filter: invert(1);
	}
    .ry-services.style2 .each-block .title {
        position: absolute;
        bottom: -85px;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 3;
        transition: .4s;
        width: 70%;
        text-transform: uppercase;
    }

    .ry-services.style2 .each-block .title div {
        font-size: 20px;
        color: #374151;
        line-height: 1.2;
    }

    .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;
        border: 5px solid black;
        margin-bottom: 125px;
        margin-right: -5px;
        transform: scale(0.8);
    }

    .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: black;
        border: unset;
        box-shadow: unset;
        border-radius: 50%;
    }

    .mobile-services .slick-arrow {
        display: none !important;
    }
}
@media (max-width:1440px) {
	.ry-nav li a {
		font-size: 18px;
	}
}
@media (max-width:1024px) {
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
    
    .with-gradient:before {
        opacity: 0;
    }
}
@media (width < 1080px) {
    #section-hp-services:before, .module-19.style2:before, .ry-services.style2::before {
        opacity: 1;
    }
}
@media (max-width:1080px) {
    #services-7 .ry-content {
        padding: 6.6vh;
    }
    .ry-services.style2 .each-block .photo:before {
        background: var(--color-primary-background);
        opacity: 0.2;
        height: 90%;
        width: 90%;
        left: 5%;
        top: 5%;
        border-radius: 999px;
    }
    .ry-services.style2 .each-block .photo img {
        height: 50%;
        width: 50%;
        left: 25%;
        top: 25%;
        z-index: 1;
    }
    .ry-services.style2 .each-block .photo:after {
        content: "";
        position: absolute;
        bottom: 0;
        background: var(--color-primary-background);
        opacity: .5;
        height: 70%;
        width: 70%;
        left: 15%;
        top: 15%;
        border-radius: 999px;
    }
    
    .mobile-services .slick-track .each-block {
        border: 5px solid black;
    }
    
    .mobile-services .slick-track .each-block {
        margin-bottom: 95px;
    }
    
    .ry-services.style2 .each-block .title {
        bottom: -85px;
        width: 100%;
    }
    
    .ry-services.style2 .each-block .title div {
        color: black;
        line-height: 1.2;
        text-transform: uppercase;
    }
}
@media (max-width: 768px) {
	#services-7 .ry-content {
		padding: 6.6vh 4vh;
	}
}
/* End - HP Edits*/

div#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 {
    padding-top: 200px;
}

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


/*.custom-hp-dry-eye .custom-headline h2, .custom-hp-dry-eye .block.md\:text-xl.leading-6.text-gray-500.text-center,
.custom-hp-dry-eye .block.md\:text-xl.leading-6.text-primary-background.font-normal.text-center.uppercase,
.custom-hp-dry-eye .list.block.md\:text-xl.leading-6.text-primary-background.font-normal.text-left {
    color: #fff;
}*/

/*--- PM QA ---*/
.ry-menu .ry-nav {
	gap:20PX
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
	background:#5c6d53;
	padding:0
}

.ry-menu .ry-nav li.dropdown .dropdown-menu li a{
	padding:10px 10px !important;
	display:block
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
	color:#f6f6f6;
	font-size:20px
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li:hover {
	background:#3A513D
}
.homepage-swiper .swiper-button-prev,
.homepage-swiper .swiper-button-next{
    display:none !important
}
[data-page-id="WebPage-3e649014-e502-4706-a6f6-138975b8704f"] .ry-swiper-arrow-wrap {
    top:0;
    justify-content:end;
    gap:10px;
    transform:unset;
    right:15PX
}
[data-page-id="WebPage-3e649014-e502-4706-a6f6-138975b8704f"] .ry-swiper-arrow-wrap button{
    -webkit-text-stroke: 1px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    justify-items: center;
    align-items: center;
    color: var(--color-secondary-text);
    background-color: var(--color-secondary-background) !important;
}
[data-page-id="WebPage-3e649014-e502-4706-a6f6-138975b8704f"] .ry-swiper-arrow-wrap button svg {
    fill:#fff;
    width:20px;
}


[data-page-id="WebPage-3e649014-e502-4706-a6f6-138975b8704f"] .lg\:w-8\/12 .relative.my-4.flex {
    display:none
}
[data-page-id="WebPage-3e649014-e502-4706-a6f6-138975b8704f"] .brands-swiper-4 {
    padding-top:70PX
}
@media(max-width:1580px){
    #navigation-style-7 > div:nth-child(1) {
        width:15%;
    }
    #navigation-style-7 img {
        width:100%
    }
    #navigation-style-7 > div:nth-child(3) {
        width:fit-content
    }
    #navigation-style-7 > div:nth-child(4) {
        max-width:200px;
        width:100%
    }
    #navigation-style-7 > div:nth-child(4) * {
        line-height:1.1
    }
    .ry-menu .ry-nav {
        gap:20PX
    }
}
@media(max-width:1480px) {
    .bg-dryEye-background {
    background-position:90% !important
}
.custom-hp-dry-eye  {
    padding:100PX 0 !important
}
.custom-hp-dry-eye .text-wrapper {
    max-width:40%
}

}
@media(max-width:1280px){
      .ry-menu .ry-nav {
        gap:10PX
    }
      #navigation-style-7 > div:nth-child(1) {
        width:13%;
    }
   #navigation-style-7 {
       gap:10px
   }
		.custom-hp-dry-eye  {
    padding:60PX 0 !important
}
}
@media(max-width:1199px){
    .snap-mobile-menu {
        display:flex;
    }
    #navigation-style-7 {
        display:none !important
    }
    .homepage-swiper .swiper-slide img,
    .swiper-3d .swiper-wrapper{
        height:100% !important
    }
	  .custom-hp-dry-eye {
        position:relative
    }
    .custom-hp-dry-eye:before  {
    content:"";
    width:100%;
    height:100%;
    background:#ffffffab;
    z-index:1;
    position:absolute;
    left:0;
    top:0
    }
    .custom-hp-dry-eye .ry-container .text-wrapper {
        z-index:9 !important;
        position:relative
    }
    .custom-hp-dry-eye .text-wrapper {
        max-width:50%
}
}
@media(max-width:1080px) {
    .custom-hp-dry-eye:before  {
        background:#ffffffe3;
    }
        .custom-hp-dry-eye .text-wrapper {
        max-width:100%
    }
    .custom-hp-dry-eye .text-wrapper ul {
		max-width:600px;
		width:100%;
		margin-inline:auto
	}
	#footer-map  {
		height:500px !important
	}
}
@media(max-width:480px) {
    [data-page-id="WebPage-3e649014-e502-4706-a6f6-138975b8704f"] .ry-swiper-arrow-wrap {
    justify-content:center;
}
    [data-page-id="WebPage-3e649014-e502-4706-a6f6-138975b8704f"] .ry-swiper-arrow-wrap button{
    width: 45px;
    height: 45px;
}
}
.bg-dryEye-background {
    background-position: 90% !important;
}



/* Top Banner */
.top-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: linear-gradient(135deg, #5c6d53 0%, #3a513d 100%);
	color: white;
	text-align: center;
	padding: 15px 20px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.5px;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-banner .banner-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.top-banner .emoji {
	font-size: 20px;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}


@media (max-width: 1023px) {
	.top-banner {
		font-size: 14px;
		padding: 12px 15px;
	}

	.top-banner .emoji {
		font-size: 18px;
	}

	body {
		padding-top: 45px;
	}
}

@media (min-width: 1024px) { body {padding-top: 60px;}}