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

.overlink,
.overlink a{
    position: absolute;
    inset: 0;
    z-index: 999;
    background: transparent;
    cursor: pointer;
	width: 100%;
	height: 100%;
	opacity: 0;
}


#section-hp-team .swiper-slide {
    margin-right: unset !important;
}

#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}

@media (min-width: 1081px) {
	.homepage-video-slider {
        margin-top: 0px;
        height: 100vh;
        overflow: hidden;
    }
	#the-video{ 
		position: relative;
		width: 100%;
		padding-top: 56.25%;
		overflow: hidden;
	}
	#ry-video-slider {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100% !important;
	}
	
	.slider-info-center-bottom {
		bottom: 4%;
	}
	.homepage-swiper {
		margin-top: 0px;
		height: calc(-130px + 100vh) !important;
		overflow: hidden;
		max-height: 100%;
		min-height: 550px;
	}
	.homepage-swiper .swiper-slide img {
		height: calc(-130px + 100vh) !important;
		object-position: center top;
		min-height: 550px;
	}
	
	
}
@media (max-width: 1084px) {
	.homepage-video-slider::before {
		opacity: 0; 
	}

	.homepage-swiper a.ry-btn.ry-btn-primary {
		background: #676975;
		padding: 0;
		justify-content: center;
		padding: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.homepage-swiper .swiper-pagination-bullet-active {
		background: #676975;
	}

}

@media (max-width: 1080px) { 
	div#navigation-style-4 {
		background: #fff;
	}
	
	.mm-navbar {
    	background: var(--color-primary-background);
	}
	.homepage-swiper .slider-info,
	.homepage-video-slider .slider-info {
		position: relative;
		top: 0;
		transform: unset;
		left: 0;
		background: var(--color-primary-background);
		padding: 5% 10%;
	}
	.homepage-swiper {
		padding-top: 0px;
	}
	#hp-testimonials-5 .order-2 {
		max-width: 767px;
		margin: auto;
		min-height: 70vh;
	}
}

#hp-testimonials-5 svg {
    fill: #fde047;
}
#hp-testimonials-5 .text-base p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
}

.module-testimonials > div {
    position: relative;
    z-index: 9;
}

.testimonials-swiper-4 .swiper-slide p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

@media (min-width: 1290px) {
	#hp-testimonials-5 {
		padding-bottom: 0 !important;
	}
}

@media (max-width:991px) {
	
    div.footer-contents {
		padding: 2em 0 !important;
		max-width: 650px;
		text-align: center !important;
	}

	div#ry-footer-3 {
		padding: 2em 2em !important;
		 margin-top: 0 !important;
	}
}



@media (max-width: 1200px) { 
	div#navigation-style-4 {
		max-width: 1280px;
	}
	.ry-menu .ry-nav {
		gap: 20px !important;
	}
	div#navigation-style-4 .cursor-pointer img {
		max-width: 300px;
	}
}

body#page #hp-insurance-1 {
	background: #f3f1f0;
}

.brand-4-swiper-button-prev i, .brand-4-swiper-button-next i {
    text-align: center !important;
    width: 100%;
}

.ry-services.style2 .ry-each .photo:before {
	display: none;
}
.ry-services.style2::before {
    top: unset;
    bottom: -20px;
    height: 72%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
}

#services-7 .each-block {
    border: 6px solid #ffffff99;
}
.ry-services.style2 > .relative, .ry-services.style2 .ry-container {
    position: relative;
    z-index: 9;
}
.ry-services.style2::after {
    content: "";
    position: absolute;
    inset: 0;
    top: unset;
    bottom: 0;
    height: 0;
    padding-bottom: 25%;
	background: linear-gradient(to bottom, transparent, #f7ebe8);
} 
.ry-services.style2 .each-block .photo img {
	transform: translateX(-50%);
	object-fit: contain;
}

@media (max-width: 1080px) { 
	.ry-services.style2 .each-block .photo::before {
		background: transparent !important;
	}
	div.ry-services.style2 .each-block .photo img {
		padding: 0;
		max-width: 100px !important;
		top: -10%;
	}
	div.ry-services.style2 .each-block .title {
		bottom: 25%;
		line-height: 1.3;
		width: 100%;
		transform: initial !important;
		left: 0;
		white-space: nowrap;
		right: 0;
		text-align: center;
	}
	div.ry-services.style2 .each-block .title div {
		text-align: center;
	}
}
#section-hp-team div {
    z-index: 9;
	position: relative;
}
#section-hp-team:after {
    content: "";
    position: absolute;
    inset: 0;
    top: unset;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-d244278d-ba71-4e10-af98-f64612b1cc70/Assets/bottom_services_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 0;
    padding-bottom: 22%;
}

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

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