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


@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#section-hp-services .grid h4 {
		font-size: 23px;
		line-height: 1.3;
	}

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

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

/** Services Start **/

.ry-services.style2::before {
	top: 0;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center bottom;
	opacity: 1;
}

#services-7 .each-block {
	border: 6px solid var(--color-primary-background);
		}
.ry-services.style2 > .relative, .ry-services.style2 .ry-container {
	position: relative;
	z-index: 9;
}

.ry-services.style2 .each-block .photo img {
	transform: translateX(-50%);
	object-fit: contain;
}

.ry-services.style2 .ry-each .photo {
	background: #f9f9f9 !important;
}
.ry-services.style2 .ry-each .photo:before {
	background: linear-gradient(to bottom, transparent, #00000000);
}
.ry-services.style2 .ry-each .title div {
	color: #333;
}

@media (max-width: 1080px) { 
	div.ry-services.style2 .each-block .photo {
		background: radial-gradient(var(--color-secondary-background), var(--color-primary-background)) !important;
			}

	.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: 14%;
		line-height: 1.3;
		width: 100%;
		transform: initial !important;
		left: 0;
		right: 0;
		text-align: center;
		padding: 0 40px;
	}
	div.ry-services.style2 .each-block .title div {
		text-align: center !important;
		text-wrap: balance;
		width: 80%;
		margin: 0 auto;
	}

	#services-7 .each-block:nth-child(2) .title div {
		width: 50%;
	}
}

.ry-services.style2 .ry-each .photo:after  {
	opacity:.9 !important;
	z-index:2;
	background: #f9f9f9 !important
}
.ry-services.style2 .ry-each .each-block:hover .photo img{
	z-index:1
}

.ry-services.style2 .ry-each .each-block:hover .button-svg {
	z-index:2;
}

.ry-services.style2 .ry-btn.ry-btn-primary:not(:hover) {
	color: #333;
	background: white;
}

@media (max-width: 630px) {
	.ry-services.style2 > .relative, .ry-services.style2 .ry-container {
		max-width: 300px;
	}
}

.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: #5bbf96;
}
body[data-page-name="index"] div#hp-insurance-1 .swiper-slide {
    background: transparent;
	padding-bottom: 30px;
}

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

body[data-page-name="index"] div#hp-insurance-1 * {
    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);
}*/

.module-welcome.style-5:after {
    content: "";
    position: absolute;
    inset: 0;
    height: 100%;
    top: unset;
    background: linear-gradient(to top, #5bbf96, transparent, transparent, #f9f9f9);
}
.ry-services.style2::after {
    content: "";
    position: absolute;
    inset: 0;
    height: 50%;
    bottom: unset;
    background: linear-gradient(to bottom, #5bbf96, transparent);
}
.ry-services.style2 {
    padding-bottom: 14%;
}

.ry-services.style2 .sub-title h4, .ry-services.style2 .main-title h2 {
    color: #fff !important;
}

.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: block;
    background: linear-gradient(to top, #f9f9f9, transparent);
    height: 40%;
    top: unset;
    bottom: 0;
}

body[data-page-name="frames"] #hp-brands-3::before,
body[data-page-name="frames"] #hp-brands-3::after {
	display: none !important;
}

body[data-page-name="frames"] #hp-brands-3 {
	padding-top: 0 !important;
}

body[data-page-name="contact-us"] div#ry-footer-3 {
    padding-top: 220px;
}
#ry-pg-body #hp-brands-3 .swiper-pagination {
    bottom: -30px;
}
@media (max-width: 400px) {
	#ry-pg-body #hp-brands-3 .swiper-pagination {bottom: -102px;}
}
