/* 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;
}
div#contents h2 {
    margin-top: 0 !important;
}

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



div#navigation {
	background: #fff!important;
}



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

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

.ry-menu .ry-nav li .fourth-level-container .fourth-level-dropdown {
	left: unset;
	right: 100%;
}

.ry-menu .ry-nav li .fourth-level-container .fourth-level-dropdown li {
	background: #374151;
}



#navigation .logo-header {
    position: relative;
    bottom: -20px;
}

@media (max-width: 1280px) {
	.snap-mobile-menu {
		/* display: block; */
	}

	#navigation-style-15 img {
		max-width: 320px;
	}

	#navigation-style-15 {}

	#navigation-style-15 .cta-btn .flex {
		opacity: 0;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	#navigation-style-15 .cta-btn {
		padding: 0;
		width: 60px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#navigation-style-15 .cta-icon-wrap {
		min-width: unset;
	}

	#navigation-style-15 .group {
		display: flex;
		gap: 10px;
	}
}

@media (max-width: 1024px) {
	.homepage-swiper h2 {
    	font-size: 24px;
	}
	
	.hp-testimonials .flex.items-center.space-x-2.mb-5 {
		margin: 5px auto 10px !important;
	}
	
	div#section-hp-services, div#hp-brands-4, div#hp-brands-4, div#hp-insurance-1, .hp-appointment, .hp-testimonials {
		text-align: center !important;
	}
	
	.homepage-swiper .ry-btn-primary {
    	background-color: #000000;
		margin-bottom: 2em !important;
	}
	
	.homepage-swiper .slider-info, .slider-info-center-bottom {
		position: static;
		transform: none !important;
		background: var(--color-primary-background);
	  }
}

@media (min-width: 1281px) {
	.homepage-swiper .swiper-slide img {
		height: calc(100vh - 90px) !important;
		object-position: center 30%;
	}
}

#section-hp-services img.object-cover {
    opacity: .65;
    border: 2px solid #cca215;
}

#section-hp-services .group:hover img.object-cover {
    opacity: 1;
}

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

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

.team-inner-page.style3 .ry-flex.object-top .photo img {
     object-fit:contain
}

.team-inner-page.style3 .ry-each .each-container .details .title h5 {
  font-size: 23px;
  line-height: 1.1
}

.team-inner-page.style3 .ry-each .each-container .details .title p{
  letter-spacing: 0;
  font-size: 15px !important;
  font-weight: 400 !important;
 }

.team-inner-page.style3 .team-social {
  margin: 0
}