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

#ry-pg-body #navigation {
	position: relative !important;
}

.homepage-swiper .swiper-slide .with-gradient:after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(128, 128, 128, 0.2); 
	z-index: 1;
}

[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;
}

div#phone-drowdown {
	top: 70px;
	width: 100%;
	text-align: center;
	background:#fff;
}


div#navigation-style-3 .cta-btn {
	overflow: visible;
	border-radius: 100px !important;
}

ul.multiLocationUl li a {
	padding: 10px 0 10px 20px !important;
	white-space: nowrap;
	letter-spacing: 1px;
}

.cta-btn > div {
	font-size: calc(14px + 0 * ((100vw - 500px) / 1100));
}

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

@media (min-width: 1024px) {
	.navigation-3.fixed > .block.lg\:absolute.inset-0 {
		position: relative;
	}
	#ry-pg-body :is(.navigation-3) {
		padding-bottom: 0 !important;
		position: relative !important;
	}
	#ry-pg-body :is(.navigation-3) .ry-container {
		max-width: 1600px;
		width: 90%;
	}
	#ry-pg-body :is(.navigation-3).fixed {
		position: fixed !important;
	}
}

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


.homepage-swiper .swiper-button-next, .homepage-swiper .swiper-button-prev {
	display: none !important;
}

.welcome-center {
	padding-bottom: 14rem !important;
	position: relative;
}

.welcome-center:before {
	content: "";
	position: absolute;
	inset: 0;
	background: url();
	background-size: cover;
	background-position: 70% bottom;
}

.ry-services.style2 {
	padding-top: 0 !important;
	margin-top: -8rem !important;
	background: transparent !important;
}

@media (max-width: 1080px) {
	.welcome-center:before {
		opacity: 0.2 !important;
	}
}	

@media (min-width: 1081px) {
	.welcome-center {
		padding-bottom: 20rem !important;
	}
	.welcome-center .max-w-3xl {
		margin-left: unset;
	}
	.ry-services.style2 {
		margin-top: -10rem !important;
	}
	#section-hp-services::before, .module-19.style2::before, .ry-services.style2::before {
		height: calc(100% - 10rem);
	}
}



/** Services End **/

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

@media (max-width: 1080px) {
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.slider-info {
		width: 100% !important;
		max-width: 100% !important;
	}
	.slider-info {
		width: 100%;
		max-width: 100%;
	}
	.homepage-swiper h2 {
		text-align: center !important;
	}
}

/** Footer Start **/

#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;
	background-position: center bottom;
}
#ry-footer-3 .footer-contents {
	background: #fff;
	border: 6px solid var(--color-primary-background);
		}
#ry-footer-3 .footer-contents::before {display: none;}

@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"] div#ry-footer-3 {
	margin-top: 200px;
}
.footer-privacy strong {
	color:rgb(185 28 28 / 1) !important;
}

/** Footer End **/

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

#ry-footer ul {
	line-height: 2;
}

body[data-page-name="index"] #hp-insurance-1 .bg-gray-200 {
	background: transparent;
}
body[data-page-name="index"] #hp-insurance-1 .bg-gray-200 img {
	max-height: 90px;
	filter: brightness(0) invert(.3);
}

@media (max-width: 1480px) {
	.welcome-center::before {
		opacity: 0.4;
	}
}
@media(max-width:991px) {
	#hp-slider .homepage-swiper{
		padding-top:80px
	}
}
@media(max-width:480px) {
	.snap-mobile-menu  img {
		max-width:180px !important;
		width:100%;
	}

	.snap-mobile-menu .gap-6 {
		gap:10px
	}
	.ry-services.style2 .ry-content .content,
	.module-testimonials .comments-holder{
		padding-inline:10px
	}
	.sub-title h4 {
		font-size:20px !important;
	}
	.main-title h3,
	.main-title h2{
		font-size:32px !important;
		line-height:1.2
	}
	#section-hp-team .homepage-team-swiper-2{
		padding-inline:20px
	}
	.homepage-team-swiper-2 .swiper-slide .grid{
		gap:10px
	}
}

#section-hp-services .flex-shrink-0.relative:hover .ser-img:before {
	transition: .3s;
	opacity: 0;
}
#section-hp-services .flex-shrink-0.relative:hover .ser-img img {
	transition: .3s;
	filter: grayscale(1);
}

#section-hp-services .relative.group:hover .ry-ser-text {
    opacity: 1;
    display: block;
    transition: .2s;
}
.ry-ser-text {
    display: none;
    opacity: 0;
    transition: .2s;
    margin-top: 30px;
}
.ry-ser-text p {
    font-size: 20px;
	color: #fff;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4; /* number of lines to show */
	line-clamp: 4; 
	-webkit-box-orient: vertical;
}
#section-hp-services .flex-shrink-0.relative:hover .ser-img:before {
	opacity: .85;
}

.group-bg {
	position: relative;
}

.group-bg .ry-section {
	background: transparent;
}

.group-bg:before, .group-bg:after {
	content: "";
	position: absolute;
	inset: 0;
}

.group-bg:before {
	bottom: unset;
	height: 75%;
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-30d64334-506a-4c93-afea-2b190c77596e/Assets/welcome_top.jpg);
	background-size: cover;
	background-position: center top;
	bottom: unset;
}

.group-bg:after {
	height: 25%;
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-30d64334-506a-4c93-afea-2b190c77596e/Assets/services_bottom.jpg);
	background-size: cover;
	background-position: center bottom;
	top: unset;
	z-index: 9;
}

#section-hp-team:before {
	background: #f7f5ef;
}


#services-12 > div > div > p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}
#section-hp-services div#services-12 {
    margin-top: 140px !important;
}
#section-hp-services .ry-icon {
    background: #fff;
    width: 100%;
    max-width: 160px;
    max-height: 160px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 500px;
    margin: auto;
    margin-top: -120px;
    padding: 30px;
}

#services-12 > div:nth-child(odd) .ry-icon {
    border: 2px solid var(--color-secondary-background);
}
#services-12 > div:nth-child(even) .ry-icon {
    border: 2px solid var(--color-primary-background);
}

#section-hp-services div#services-12 .text-3xl.font-semibold.py-6.px-2.mx-auto.text-center {
    min-height: 130px;
}

#services-12 > div:nth-child(even) img {
	filter: unset !important;	
}

#section-hp-services .ser-img:before {
	background: linear-gradient(312deg, black, #46300c);
}

#section-hp-services .sub-title h4{
	color: #fff;
}
#section-hp-services div#services-12 {
	row-gap: 140px;
}

#section-hp-services::before, .module-19.style2::before, .ry-services.style2::before {
	height: 100%;
}

#section-hp-services .main-title h2 {
    color: #fff;
}

.ry-btn {
	height: auto
}

.homepage-team-swiper .text-sm.font-medium.sm\:text-base.lg\:text-lg.text-white {
    color: #333;
}

.ry-menu .ry-nav li .third-level-container .third-level-dropdown {
	width: max-content;
}

@media (max-width: 991px) {
	.slider-info {
		position: relative;
		background: #6f8e75 !important;
		min-height: 1px;
	}
	.slider-info a.ry-btn.ry-btn-primary.p-3.md\:px-5.md\:py-2\.5.inline-flex.items-center.mt-4 {
		border: 2px solid;
	}
	.homepage-swiper .swiper-wrapper {
		height: 100% !important;
	}
	.slider-info * {
		text-align: center;
	}
}







