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

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

/* HP Edits - Started <12 02 2025> */

/**/
	/*fonts*/

	/*btns*/

/*Modal*/
/* Header */
	/**/
.snap-mobile-menu {
    background-color: var(--color-primary-text);
}

mm-burger {
    color: var(--color-primary-background);
}
body[data-page-name="index"] #navigation {
    position: absolute;
}

.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);
}
/* Hero */
	/**/
.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent, transparent);
}
/* CTA */
	/**/
/* Welcome */
	/**/

#hp-welcome-1 .background-section, #hp-welcome-1 .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-position: top;
    object-fit: cover;
}
/* Services */
	/**/
#section-hp-team h6, #section-hp-team p {
    color: var(--color-primary-text);
}
#services-12 > div:nth-child(odd), #services-12 > div:nth-child(even) {
    background-color: var(--color-primary-text);
    box-shadow: 0 0 7px #fff;
}

#services-12 img {
    display: none;
}

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

#services-12 > div:nth-child(odd) > div > p, #services-12 > div:nth-child(even) > div > p {
    color: #666;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

#services-12 > div:nth-child(1), #services-12 > div:nth-child(2), #services-12 > div:nth-child(3), #services-12 > div:nth-child(4) {
    border-top-left-radius: 37px;
    border-top-right-radius: 37px;
    border-bottom-left-radius: 112px;
    border-bottom-right-radius: 112px;
}
#services-12 > div:nth-child(5), #services-12 > div:nth-child(6), #services-12 > div:nth-child(7), #services-12 > div:nth-child(8) {
    border-top-left-radius: 112px;
    border-top-right-radius: 112px;
    border-bottom-left-radius: 37px;
    border-bottom-right-radius: 37px;
}
/* Meet the Team */
	/**/
/* Insurance */
	/**/
/* Brand */
	/**/
#hp-brands-6 .overflow-hidden {
    padding-bottom: 0;
	padding-top: 10px;
}
#hp-brands-6 .swiper-slide {
    background: #3131310a;
    padding: 0px;
}
#hp-brands-6 .swiper-slide img {
    mix-blend-mode: normal;
    height: 110px;
}
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
/* Footer */
	/**/
#ry-footer svg {
    display: none;
}
/*Media Queries*/
	/**/

@media screen and (max-width:1024px){
    body[data-page-name="index"] #navigation {
        position: relative;
    }
    
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
    #hp-welcome-1 .background-section, #hp-welcome-1 .background-section img {
        height: 120%;
    }
    #services-12 > div:nth-child(1), #services-12 > div:nth-child(2), #services-12 > div:nth-child(3), #services-12 > div:nth-child(4),#services-12 > div:nth-child(5), #services-12 > div:nth-child(6), #services-12 > div:nth-child(7), #services-12 > div:nth-child(8) {
        border-radius: 37px;
    }
}

@media (width < 1080px) {
    #section-hp-services:before, .module-19.style2:before, .ry-services.style2::before {
        opacity: 1;
    }
}
/* End - HP Edits*/

.custom-hero-title.slider-info-center-bottom {
    min-height: 1px;
    bottom: 32px;
	    max-width: 1040px;
}
.custom-hero-title.slider-info-center-bottom h2 {
    text-shadow: 2px 2px 2px rgb(0 0 0 / 50%);
    font-weight: 500;
    line-height: 130%;
	text-transform: uppercase;
}

.each--gallery .gallery__link a,
.each--gallery .gallery__link {
	position:absolute;
	inset: 0;
	widht: 100%;
	height: 100%;
	z-index: 9;
	cursor: pointer;
	opacity: 0;
}

.each--gallery {
	position: relative;
}

.gallery-wrapper {
    flex-wrap: wrap;
}



.gallery-wrapper .each img {
    margin: 0;
}

#contents h2 {
	font-size: 2rem;
}
#contents h2, 
#contents h3, 
#contents h4,
#contents h5,
#contents h6 {
	line-height: 1.1;
	margin: 0;
	margin-bottom: 10px;
	font-family: 'Poppins';
	font-weight: 600;
}
.inner-banner h1 {
	font-size: 60px;
	font-weight: 300;
}
@media (min-width: 621px) {
	.gallery-wrapper .each {
		width: calc(50% - 0.75rem);
	}
	.inner-banner h1 {
        font-size: 65px;
        line-height: 1.1;
    }
}

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



.homepage-team-swiper .swiper-wrapper {
    display: flex;
    justify-content: center;
    margin: 2em auto;
    gap: 0 1em;
}


.homepage-team-swiper .swiper-wrapper .swiper-slide {
    width: 48% !important;
    max-width: 350px;
}

.homepage-team-swiper .swiper-wrapper .swiper-slide img {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 300px;
    height: 350px;
    object-fit: cover;
    object-position: top center;
}

@media (max-width:767px) {
    .homepage-team-swiper .swiper-wrapper .swiper-slide {
        width: 100% !important;
    }

    .homepage-team-swiper .swiper-wrapper {
        flex-direction:column !important;
        gap: 2em 0;
   }

    .homepage-team-swiper .swiper-wrapper .swiper-slide {
		width: 100% !important;
		max-width: 100% !important;
	}
}









/* BLOG */

.feat-blog img {
    height: auto !important;
    width:-webkit-fill-available;
    grid-column: none;
    margin: 0;
    width: 40%;
}

.feat-blog div#blog-excerpt {
    width: 55%;
    grid-column: none;
    padding: 0;
}

.feat-blog .lg\:grid-cols-12 {
    grid-template-columns: none !important;
    display: flex;
    gap: 1em;
    justify-content: space-between;
    background: #fff;
    padding: 2em;
}

div#blog-content img {
    margin: 0;
}

@media (max-width:767px) {
	  .feat-blog div#blog-excerpt, .feat-blog img {  
		   width: 100% !important;

	}


	.feat-blog .lg\:grid-cols-12 {
		flex-direction:column;
		gap:1em 0 !important;
		padding:0 0 3em 0  !important;
	}

	 .feat-blog img {
		 border-radius:0 !important;
		 margin-bottom: 1.5em !important;

	}

	.feat-blog div#blog-excerpt {
		padding: 0 2em;
	}

}


/* BLOG */