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

.sticky-icons ul {
    padding: 0;
}
.sticky-icons ul li {
    list-style: unset;
}
/* 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%);
	letter-spacing: 4px;
	font-size: clamp(1.625rem, 0.95rem + 3.375vw, 5rem);
	line-height: 120%;
}

#ry-pg-body :is(.navigation-3) {
    position: relative !important;
}

.mm-navbar__title > span {
    color: #fff;
}

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

div#navigation-style-4 {
    max-width: 1600px;
    width: 90%;
    padding: 1em 0 !important;
}

body#ry-pg-body div#navigation {
    position: static;
}

.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
    text-align: center !important;
}

img.rev-icon {
    max-width: 70px;
    height: auto;
    width:100%;
}

.main-title, 
.main-title h2 {
	line-height: 1;
}
@media (max-width: 1080px) { 
	.ry-menu .ry-nav {
		font-size: 14px !important;
	}
	
	div.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
		text-align: center !important;
	}
	
	div#team-inner-block {
		padding: 2em 1em;
	}

	div#team-inner-block img {
		max-width: 220px;
	}

	div#team-inner-block {
		flex-direction: column;
	}

	div#team-inner-block .flex {
		padding: 0 !important;
		background: transparent;
		width: 100%;
	}

}

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

@media (max-width:991px) {

	.main-title h2 {
		line-height: 1.2;
		font-size: 30px !important;
	}

	.sub-title h4 {
		font-size: 20px !important;
	}

	div#footer-map {
		height: 400px !important;
	}

	div#rev-flex h3 {
		font-size: 22px !important;
	}
	.homepage-video-slider #the-video #ry-video-slider {
		padding-top:95px
	}
}

@media (max-width:768px) {
	
	img#hp-rev-image {
		height: auto !important;
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
	}

	div#hp-rev-image-block {
		width: 100% !important;
	}

	div#hp-rev-image-flex {
		display: block !important;
		border-radius: 20px;
	}

	div#rev-flex {
		width: 100%;
	}
}

@media (max-width:767px) {
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}

	.homepage-swiper .slider-info {
		max-width: 100%;
		text-align: center;
		position:static !important;
	}

	.homepage-swiper .slider-info .mb-4 {
		margin-bottom:0 !important;
	}

	.homepage-swiper .homepage-swiper {
		margin-top: 0em;
	}

	.homepage-swiper .swiper-slide {
		padding-top:6em
	}
	
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.homepage-swiper .slider-info {
		padding-bottom: 50px;
	}
}

@media (max-width: 500px) {
	
   .snap-mobile-menu img { 
		max-height: unset;
	   max-width:120px;
	   width:100%
	}
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}
}

div#section-hp-team .swiper.homepage-team-swiper h6 {
    letter-spacing: 2px;
    font-size: clamp(1.25rem, 1.2037rem + 0.2469vw, 1.5rem);
	    color: #333;
}

@media (max-width: 580px) {
	div#section-hp-team .swiper.homepage-team-swiper h6 {
		font-size: 18px;
	}
}

@media (max-width: 1024px) {
	div#section-hp-team .mx-auto .md\:text-center.text-gray-500>p {
		text-align: center !important;
	}
	.homepage-team-swiper .text-gray-800 {
		font-size: 20px;
	}
	.homepage-team-swiper .text-gray-600 {
		font-size: 16px;
	}
}

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

@media (max-width: 1023px) {
	.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;
	}
	#navigation-style-3,
	.navigation-3 .hidden.lg\:flex,
	.homepage-video-slider::before {
		display: none !important;
	}
}

@media (min-width: 1024px) {
	.homepage-video-slider {
		max-height: 100vh;
		overflow: hidden;
	}
	.homepage-video-slider::before {
		background: linear-gradient(to bottom, white 14%, transparent, transparent);
		opacity: 1;
	}
}


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

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

.slider-info-center-bottom {
	max-width: 100% !important;
}

.homepage-team-swiper {
    max-width: 1280px;
}

#section-hp-team .swiper-wrapper {
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}

#section-hp-team h6 {
    font-size: 26px;
    margin-bottom: 10px;
}


body[data-page-name="index"] div#hp-insurance-1 {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-abb4c60e-2739-4734-a373-29afa56e38c0/Assets/insurance_bg.jpg);
	background-size: cover;
	background-position: center top;
}
body[data-page-name="index"] #hp-brands-6 {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-12e98a32-f34b-4f7a-8af8-4ca796abf150/Assets/brand_bg.jpg);
	background-size: cover;
}
body[data-page-name="index"] div#hp-insurance-1 .swiper-slide, body[data-page-name="index"] #hp-brands-6 .swiper-slide {
    background: transparent;
	padding-bottom: 30px;
}

body[data-page-name="index"] div#hp-insurance-1 .swiper-slide img, body[data-page-name="index"] #hp-brands-6 .swiper-slide img{
	filter: brightness(0) invert(1);
}

body[data-page-name="index"] div#hp-insurance-1 *, body[data-page-name="index"] #hp-brands-6 * {
    color: white;
}

/*body[data-page-name="index"] div#hp-insurance-1 *, body[data-page-name="index"] #hp-brands-6 * {
    color: white;
}*/

/*body#page div#navigation.navigation-4:not(.bg-White99) .ry-nav.text-black {
	color: #fff;
}
body#page div#navigation.navigation-4:not(.bg-White99) .ry-nav.text-black .caret {
    border-color: white;
}*/

/*body#page div#navigation.navigation-4:not(.bg-White99) .cursor-pointer img {
    filter: brightness(0) invert(1);
}*/


.ry-hp-team-8::before {
    height: 38%;
    background: #18314a;
}

.hp-team-style-8 .sub-title h4 {
    text-align: unset;
}

#hp-brands-3::after {
    content: "";
    position: absolute;
    bottom: unset;
    height: 50%;
    background: linear-gradient(to bottom, #f9f9f9, transparent);
    inset: 0;
}
#hp-brands-3::before {
    opacity: .85;
}

.with-gradient:before {
    display: none;
}

/*.module-welcome.style-5 .ry-each.image-wrapper .photo img {
	display: none;
}*/

@media (max-width:1080px) { 
	.module-welcome.style-5 .ry-container {
		max-width: 100% !important;
	} 
}

.module-testimonials {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-abb4c60e-2739-4734-a373-29afa56e38c0/Assets/testimonial_bg.jpg);
    background-size: cover;
	background-position: center top;
}

body[data-page-name="index"] #hp-insurance-1 .brand-4-swiper-button-prev, body[data-page-name="index"] #hp-insurance-1 .brand-4-swiper-button-next {
	 background: var(--color-secondary-background);
		     border: 2px solid var(--color-primary-background);
}
body[data-page-name="index"] #hp-brands-6 .brand-4-swiper-button-prev, body[data-page-name="index"] #hp-brands-6 .brand-4-swiper-button-next {
    background: var(--color-primary-background);
		    border: 2px solid var(--color-primary-background);
}

@media(max-width:1560PX) {
    body#page div#navigation.navigation-4 .cursor-pointer img {
		max-width:600px;
		width:90%
	}
	.ry-menu .ry-nav {
		flex-wrap:nowrap
	}

}

@media(max-width:1480PX) {
	body#page div#navigation.navigation-4 .cursor-pointer img {
		width:90%;
	}
	div#navigation-style-4 {
		width:95% !important;
		max-width:1600PX !important
	}
}

@media(max-width:1280PX) {
	body#page div#navigation.navigation-4 .cursor-pointer img {
		position:absolute;
		max-width:320px;
		top:30px
	}
	div#navigation-style-4 { 
		padding-block:20px !important
	}
	.ry-menu .ry-nav li .dropdown-toggle{
		font-size:18px !important
	}
}
body#page #hp-brands-6 {
    padding-bottom: 2rem;
}

#section-hp-team .swiper-slide img {
	max-height: max-content !important;
    aspect-ratio: 0;
}

.module-testimonials .comments-holder {
    border: 6px solid white;
    border-radius: 40px;
    box-shadow: 0 0 50px rgb(0 0 0 / 30%);
}

.module-testimonials.style-2::before, .module-testimonials.style-3::after {
    height: 45%;
    background: var(--color-secondary-background);
    border-top-left-radius: 8vw;
    border-top-right-radius: 8vw;
}

.module-testimonials .ry-btn-primary-outline:hover {
    background: var(--color-secondary-background) !important;
}

/** Footer Start **/

.ry-container-1600 {
    width: min(90%, 1600px);
	float: unset;
	margin: 0 auto;
}

.ry-container-1600 #footer-each-wrap {
    padding: 30px 0 5%;
}

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

@media (max-width:1280px) { 
	div#ry-footer img {
		max-width: 200px;
	}

	div#footer-disc p, div#footer-disc span.text-xs.md\:text-base {
		font-size: 15px !important;
		text-align: center !important;
		line-height: 25px;
	}

	#ry-footer ul {
		margin: auto;
	}
}

@media (max-width:700px) {
	div#footer-info-each {
		width: 100% !important;
	}

	div#footer-disc span.text-xs.md\:text-base {
		margin-bottom: 10px;
	}
}
@media (max-width: 1599px) {
	#ry-footer ul {
		flex-direction: row;
	}
	.ry-container-1600 #footer-each-wrap {
		padding-bottom: 40px;
	}
}


@media (min-width: 1024px) {
    .\32xl\:grid-cols-7 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-bottom: 40px;
    }

	.footer-social-wrapper {
		justify-content: flex-start;
	}
}

@media (min-width: 1399px) {
	.\32xl\:grid-cols-7 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (min-width: 1600px) {
    .\32xl\:grid-cols-7 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
	div#footer-info-each:nth-child(1) {
		grid-column: span 1 / span 1 !important;
	}
	div#footer-info-each:nth-child(6) {
		grid-column: none !important;
	}
}

@media (max-width: 1080px) {
	.ry-container-1600 #footer-each-wrap {
		max-width: 540px;
	}
	.\32xl\:grid-cols-7 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 991px) { 
	.\32xl\:grid-cols-7 {
		grid-template-columns: 1fr !important;
	}

	div.footer-social-wrapper {
		min-width: 100%;
		width: 100%;
		display: inline-flex !important;
	}

	div#ry-footer img {
		margin: 2.5rem auto 0;
	}
}

@media (max-width: 767px) {
	.\32xl\:grid-cols-7 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
}

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

/** Services Start **/

#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 .sub-title h4, #section-hp-services .main-title h2 {
	color: #fff;
}
#section-hp-services div#services-12 {
	row-gap: 140px;
}

@media (max-width:1080px) {
	div#section-hp-services p {
		text-align: center;
		font-size: 18px !important;
	}
	
	div#section-hp-services p {
    text-align: center;
		font-size: 18px;
	}
}

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


@media(max-width:780px) {
    .contact-template.style-3 .inner-flex .ry-each .inner-group .text-wrapper {
        flex-direction:column;
        align-items:center
    }
    .contact-template.style-3 .inner-flex .ry-each {
        width:100%
    }
}

@media (max-width: 1480px) {
	.ry-menu .ry-nav {
		justify-content: space-between;
		margin-top: 20px;
	}

	body#page div#navigation.navigation-4 .cursor-pointer img {
		top: 10px;
		max-width: 260px;
		position: absolute;
	}
	.ry-menu .ry-nav li.primary > a {
		font-size: 18px !important;
	}
}

@media (max-width: 1480px) and (min-width: 1081px) {
	.module-welcome.style-5 .ry-each:not(.image-wrapper) {
		padding-top: 0;
		padding-bottom: 100px;
		max-width: 45%;
		padding-right: 0;
	}
	.module-welcome.style-5 .ry-each.image-wrapper {
		display: flex;
		height: auto;
		align-items: flex-end;
		
	}

	.module-welcome.style-5 .ry-each.image-wrapper .photo {
		width: 100%;
	}
	
	.ry-container-1600 #footer-each-wrap {
		margin: 0;
		display: flex;
		justify-content: space-between;
		gap: 10px;
	}
}

@media (max-width: 1280px) {
	.ry-menu .ry-nav li.primary > a {
		font-size: 16px !important;
	}
}

/* CUSTOM TABS */

.custom-tabs .button-group .wrapper {
	position: relative;
}

.custom-tabs .button-group .wrapper > a {
	display: none;
}

.custom-tabs .button-group {
	margin-bottom: 30px;
	/* padding-bottom: 30px; */
	border-bottom: 1px solid #e8e8e8;
}

.custom-tabs .button-group .drop-wrapper {
	display: flex;
	gap: 5px;
}

.custom-tabs .button-group .drop-wrapper button {
	padding: 20px 15px;
	font-size: 14px;
	background: #fff;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	transition: .5s;
	cursor: pointer;
	line-height: 1;
	border: unset;
	
}

.custom-tabs .button-group .drop-wrapper button:hover,
.custom-tabs .button-group .drop-wrapper button.active {
	background: #0199d1;
	color: #fff;
}


#navigation .dropdown-block {
    position: relative;
}

#navigation .dropdown-block .block-wrapper {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5px;
    background: #252525;
    z-index: 1;
}

#navigation .dropdown-block .block-wrapper a {
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px 20px;
    line-height: 1;
    color: #fff;
}

#navigation .dropdown-block:not(.open) .block-wrapper {
    display: none;
    visibility: hidden;
}

#navigation .dropdown-block.open .ry-btn-primary {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
@media (max-width: 1023px) {
	#navigation .dropdown-block .block-wrapper {
		top: 39px;
		min-width: 200px;
	}
	#navigation .dropdown-block.open .cta-btn {
		border-bottom-left-radius:0;
		border-bottom-right-radius:0;
	}
	#navigation .dropdown-block .cta-btn {
		border-radius: 50% !important;
		margin: 0;
	}
}
@media (max-with: 768px) {

	.custom-tabs .button-group .drop-wrapper button {
		padding: 15px 12px;
	}

	#ry-footer {
		overflow: hidden;
	}
}
@media (max-width: 620px) {
	.custom-tabs .button-group .drop-wrapper {
		display: flex;
		gap: 0;
		flex-direction: column;
	}

	.custom-tabs .button-group .drop-wrapper button {
		padding: 15px;
		margin-top: -1px;
		
	}
	.custom-tabs .button-group .wrapper > a {
		display: block;
		line-height: 1;
		padding: 15px 30px;
		background: #fff;
		border-radius: 5px;
		text-align: center;
	}

	.custom-tabs .drop-container {
		position: absolute;
		width: 100%;
	}
}


