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

.link, a.link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    height: 100%;
    color: transparent !important;
}
.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;
}

a.overlink {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 9;
    cursor: pointer;
}

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

.homepage-swiper h2 {
	text-shadow: 3px 3px 3px rgb(0 0 0 / 40%);
}

#contactForm {
    scroll-margin-top: 200px;
}

@media (min-width: 1024px) {
	.navigation-3.fixed > .block.lg\:absolute.inset-0 {
		position: relative;
	}
}

@media (max-width: 1440px) {
	div#navigation-style-4.container {
		max-width: 1280px;
	}
}

/** Services Start **/

#services-12 img {
    filter: brightness(0) invert(1);
}

/*#section-hp-services::before, .module-19.style2::before, .ry-services.style2::before {
	height: 0;
	left: 0;
	padding-bottom: 60%;
	bottom: 0;
	top: unset;
	background-repeat: no-repeat;
}

#section-hp-services::before, .module-19.style2::before, .ry-services.style2::before {
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-47b5403a-7e41-468e-9b6f-570762adb781/Assets/services_background.jpg);
	background-size: contain;
	background-position: center bottom;
	background-repeat: no-repeat;
}*/

.ry-services.style2 .ry-container.relative {
    max-width: 1400px;
}

@media (max-width: 500px) {
	div#section-hp-services .ser-title h4 {
		font-size: 20px;
	}
	div#section-hp-services .ser-title {
		left: 20px;
	}
}

@media(max-width: 1080px){
	.ry-services.style2 .each-block .photo img {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.ry-services.style2 .each-block .photo:before {
		background: unset;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.feature-cta .each-block:hover .photo img {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.feature-cta .each-block .photo:after {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

/** Services End **/

/** Footer Style **/


#ry-footer ul {
    line-height: 2;
}
.footer-contents ul li, .footer-contents a, .footer-contents h4, .footer-contents p {
    color: #141414;
}
#ry-footer-3::after {
	display: none;
}
#ry-footer-3::before {
	opacity: 1;
}
#ry-footer-3 .footer-contents {
    background: #fff;
	border: 6px solid var(--color-primary-background);
		max-width: 1280px;
    width: 90%;
		    border-radius: 30px;
}
#ry-footer-3 .footer-contents::before {display: none;}
div#hp-insurance-1, div#hp-brands-5 {
    background: #f9fafe;
}
@media (max-width:700px) { 
	#ry-footer-3 .footer-contents {
		max-width: 90% !important;
		width: 100% !important;
		padding: 3em 1em !important;
	}

	div#ry-footer-3 {
		padding: 0;
	}

	#ry-footer-3 .footer-contents {
		text-align: center !important;
	}
}

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

body[data-page-name="contact-us"] div#ry-footer-3 {
    margin-top: 200px;
}
.footer-privacy strong {
    color:rgb(185 28 28 / 1) !important;
}
#ry-footer-3::before {
	z-index: 1;
	height: 80%;
	top: unset;
	background-position: center bottom;
    border-top-right-radius: 10vw;
    border-top-left-radius: 10vw;
}
div#ry-footer-3, .module-testimonials.style-2:before, .module-testimonials.style-3:after {
    background: #032028 !important;
}

/** Footer End **/

.snap-mobile-menu {
	background-color: #edefec;
}

.homepage-swiper .swiper-slide img {
	object-position: center 0%;
}

@media (max-width: 1080px) {
	.slider-info {
		width: 100% !important;
		max-width: 100% !important;
	}
	.homepage-swiper h2 {
		text-align: center !important;
	}
	#ry-footer-3 .lg\:grid-cols-12 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	#ry-footer-3 .footer-contents {
		width: 100%;
		max-width: 700px;
	}
	div#ry-footer-3, .module-testimonials.style-2:before, .module-testimonials.style-3:after {
		margin-top: -1px;
	}
}

.homepage-team-swiper .text-gray-800 h6 {
	color: #fff !important;
}

@media (min-width: 1024px) {
    #ry-pg-body :is(.navigation-3) {
        padding-bottom: 0;
        position: relative;
    }
	#ry-pg-body :is(.navigation-3).fixed {
		position: fixed;
	}
}

@media (max-width: 991px) {
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
}

.team-inner-page.style1 .ry-flex .ry-each .each-container .photo {
    border: none;
    overflow: visible;
}

.team-inner-page.style1 .ry-flex .ry-each .each-container .photo img {
	width: auto;
    height: auto;
    -o-object-fit: cover;
    object-fit: contain;
}

body[data-page-name="frame-brands"] .grid.grid-cols-2 .bg-gray-200.rounded-lg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-height: 100%;
}

body[data-page-name="frame-brands"] .grid.grid-cols-2 .bg-gray-200.rounded-lg img {
    object-fit: contain;
    height: 60%;
    width: 80%;
}

body[data-page-name="contact-us"] div#ry-footer-3 div#mapCustom1, 
body[data-page-name="contact-us"] div#ry-footer-3 div#mapCustom2 {
    display: none;
}

