/* 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
}
div#contents h2 {
    margin-top: 0;
}
div#contents ul li p {
    text-align: left !important;
    margin-bottom: 5px;
}
.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;
}

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

h6 {letter-spacing: 10px; text-transform: uppercase;}

.team-inner-page.style3 .btn-excerpt {display: none !important;}



/*RESPONSIVE*/

@media (max-width:1080px) {
    .homepage-swiper h2 {
		line-height: 1.1;
		font-size: 40px;
		text-align: center;
	}

		.homepage-swiper > div >div {
		text-align: center;
		font-size: 18px;
	}

	.homepage-swiper .slider-info-center-bottom .text-sm  {
		font-size: 16px;
		max-height: fit-content !important;
	}

	.homepage-swiper .slider-info-center-bottom  .ry-btn {
		margin: 1.5em auto;
	}

		div.module-testimonials.style-2 {
		padding-top: 0 !important;
	}
	
	.module-welcome.style-4 .ry-flex .ry-each.image-wrapper .photo{
		padding: 2em 1em 1em 1em; 
		max-width: 400px;
		margin: auto
	}

}


@media (max-width:500px) {
	div#section-hp-services, div#section-hp-team,
	div#hp-brands-6, .ry-services.style2, .module-testimonials.style-2 {
		text-align: center;
	}

	#hp-brands-6 .justify-start {
		justify-content: center !important;
	}

	div.module-testimonials.style-2 .comments-holder {
		padding: 5em 1em !important;
	}

	#footer-map {
		height: 400px !important;
	}
	
	.homepage-swiper .swiper-slide img {
		height: auto !important;
	}
	.homepage-swiper .slider-info {
		min-height: auto;
	}
	.homepage-swiper .swiper-wrapper {
		height: auto !important;
	}
}

/*RESPONSIVE*/

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

body[data-page-name="contact"] #ry-footer-3 {
	padding-top: 220px;
}