/* 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;
}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4
}

/* HP Edits - Started <September 03, 2026> Edited by: Jed Aaron Salangsang */

	/*fonts*/

	/*btns*/

/*Modal*/
/* Header */
	/**/
.snap-mobile-menu {
    background: white;
}

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

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

span.caret {
    border-color: #616161;
}

body[data-page-name="index"] #navigation {
	position: absolute;
	z-index: 3;
}

.cta-btn:nth-child(2) {
    background-color: var(--color-primary-background);
}

.cta-btn:nth-child(2):hover {
    background-color: white;
}

/* Button */
	/**/

/* Hero */
	/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 100vh !important;
    object-fit: cover;
	object-position:top
}

#hp-slider .swiper-pagination-bullet {
    background-color: white;
}

.with-gradient:before {
    background-image: none !important;
}

.homepage-swiper h1 {
	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%;
}

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

#hp-slider .slider-info {
    bottom:20px
}

#hp-slider .slider-info h1{
    font-size: 5rem !important;
    font-weight:600;
    line-height:1.2 !important
}

#hp-slider .swiper-button-prev,
#hp-slider .swiper-button-next {
    display:none
}

@media(min-width:991px) {
	.homepage-swiper .swiper-slide .with-gradient::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 35%; 
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.65) 0%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0) 100%   
		);
	}

	.homepage-swiper .swiper-slide {
		position: relative;
	}

	.homepage-swiper .swiper-slide img {
		display: block;
		width: 100%;
		height: auto;
	}
 
}

@media(max-width:992px) {
    #hp-slider .slider-info h1{
        font-size: 2rem !important;
    }
    #hp-slider .slider-info h1 span {
        margin-top:5px
    }
	.homepage-swiper .swiper-slide .with-gradient::after {
		height: 100%;
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.65) 0%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0) 100%   
		);
	}
	#hp-slider .slider-info {
    	padding-inline: 10vw;
	}
}

/* CTA */
	/**/

/* Welcome */
	/**/
#welcome-wrap .text-wrapper h2 {
    text-align: left !important;
}

#welcome-wrap .ry-text p {
    text-align: left !important;
}

#welcome-wrap .ry-btn {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.module-welcome.style-5 .ry-each.image-wrapper{
    border: none;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    object-fit: contain;
}

.module-welcome.style-5 .ry-flex{
    align-items: center;
} 

.module-welcome.style-5 .ry-each.image-wrapper .photo {
    padding-top: 40%;
}

#welcome-wrap :before {
    background-color: white;
}

.ads-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;            
  margin-top: 20px;
  width: 100%;           
  left: 5rem !important;
}

.ads-wrapper img {
  width: calc(50% - 6px); 
  aspect-ratio: 1 / 1;    
  object-fit: cover;     
  height: auto;
  
}

/* Services */
	/**/
.module-services.style-11:before {
    background: transparent;
}

.module-services.style-11 div > a.ry-btn {
  display: inline-block !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.module-services.style-11 div:has(> a.ry-btn) {
  text-align: left !important;
}

.ry-services.style2 .ry-each .photo:before {
    height: 100% !important;
    background: transparent !important;
    border-radius: 50% !important;
    border: 4px solid var(--color-primary-background) !important;
}

.ry-services.style2 .ry-each .photo:after {
    background-color: var(--color-primary-background) !important;
}

.ry-services.style2 .ry-each .photo img {
    position: absolute !important;
    top: 10% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 65% !important;
    height: auto !important;
    object-fit: contain !important;
}

.ry-services.style2 .ry-each .title div {
    font-size: 15px !important;
    line-height: 1.2 !important;
    color: var(--color-primary-background) !important;
}

.ry-services.style2 .ry-each .each-block:hover .title div {
    color: white !important;
}

@media (max-width: 1080px) {
    .ry-services.style2 .each-block .photo:before {
        height: 100% !important;
        background: transparent !important;
        border-radius: 50% !important;
        border: 4px solid var(--color-primary-background) !important;
    }

    .ry-services.style2 .each-block .photo img {
        position: absolute !important;
        top: 20% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 50% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .ry-services.style2 .each-block .title div {
        color: var(--color-primary-background) !important;
    }
}

/* Meet the Team */
	/**/
#section-hp-team #loadMoreTeam {
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}

#section-hp-team::before {
    background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-f6b8f5aa-8fb4-4468-a978-be6fae7a48f8/backgrounds/Team_Background_Image.jpg');
}

#section-hp-team:before {
	box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5);
    border-top: 14px solid var(--color-secondary-background);
    border-bottom: 14px solid var(--color-secondary-background);
}

/* Insurance */
	/**/
div#hp-insurance-1 {
    background-color: white;
}

/* Brand */
	/**/
div#hp-brands-6{
    background-color: white;
}

.brands-swiper-4 img {
    mix-blend-mode: normal;
}

div#hp-brands-6 .swiper-backface-hidden .swiper-slide{
    background-color: #F2F4F7 !important;
    border-radius: 1rem; 
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 
                0 1px 2px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

div#hp-brands-6 .swiper-backface-hidden .swiper-slide {
    background-color: white !important;
}

body#page .brands-swiper-4 .swiper-slide {
    border: 1px solid var(--color-secondary-background)!important;
    background: white !important;
    backdrop-filter: blur(5px)!important;
    -webkit-backdrop-filter: blur(5px)!important;
}

.brands-swiper-4 img {
	mix-blend-mode: unset;
	filter: brightness(0) invert(.2);
}

/* Request Appointment */
	/**/
.ry-section:nth-child(2n+1) {
    background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-f6b8f5aa-8fb4-4468-a978-be6fae7a48f8/backgrounds/UncasvilleDA_Background_Image.jpg');
	background-repeat: no-repeat;
  	background-position: center;
  	background-size: cover;
}

/* Testimonials */
	/**/
.testimonials-swiper svg{
    color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}

.ry-section:nth-child(2n) {
    background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-f6b8f5aa-8fb4-4468-a978-be6fae7a48f8/backgrounds/UncasvilleDA_Background_Image.jpg');
	background-repeat: no-repeat;
  	background-position: center;
  	background-size: cover;

}

.module-testimonials .mt-3.sm\:mt-6.text-base.md\:text-xl p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

div#testimonial-container {
    display: none;
}

.reviews-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr; /* 1 column on mobile */
}

.load-more-btn {
    background-color: var(--color-primary-background) !important;
    border: 2px solid var(--color-primary-background) !important;
    border-radius: 99px !important; 
}

.load-more-btn:hover {
    background-color: var(--color-secondary-background) !important;
    border: 2px solid var(--color-secondary-background) !important;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(5, 1fr); /* 5 columns on desktop */
  }
}

/* Footer */
	/**/
#ry-footer-3::after {
    background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-f6b8f5aa-8fb4-4468-a978-be6fae7a48f8/backgrounds/Team_Background_Image.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/*Media Queries*/
	/**/
@media (max-width: 1080px) {
    .module-welcome.style-5 .ry-each.image-wrapper .photo{
        padding-top: 10%;
    }   
	.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    left: 0;
	}
}


@media (max-width: 1023px) {
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img{
        height: 100% !important;
    }
    body[data-page-name="index"] #navigation {
    position: relative;
    }
}

/* End - HP Edits*/

.grid-gallery .gallery-wrapper-v2 {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: center;
	gap:10px
}

.grid-gallery .gallery-wrapper-v2 .ry-each {
	width: calc(33% - 10px);
}
.grid-gallery .gallery-wrapper-v2 .ry-each:hover {
	cursor: pointer;
}

.grid-gallery .gallery-wrapper-v2 .ry-each .box-shadow {
	position: absolute;
	top: -10px;
	right: -10px;
	width: calc(100% - 10px);
	height: 100%;
}
.grid-gallery .gallery-wrapper-v2 .ry-each .photo {
	position: relative;
	max-height: 230px;
	height:100%;
}

.grid-gallery .gallery-wrapper-v2 .ry-each .photo img {
	width: 100%;
	height:100%;
	object-fit: cover;
	margin:0 !important;
	object-fit:cover
}
.fancybox-caption .fancybox-caption__body {
	text-align: center;
}

.fancybox-caption:after {
	opacity: 0;
}
@media (max-width: 1480px) {
	.grid-gallery .gallery-wrapper-v2 .ry-each {
		width: calc(33.33% - 10px);
	}
}
@media (max-width: 680px) {
	.grid-gallery .gallery-wrapper-v2 .ry-each {
		width: 47%;
	}
	body#page .ry-section * {
		text-align: center !important;
	}
	#welcome-wrap .ry-text > div a {
		margin: 0 auto !important;
		float: none;
	}
}

.homepage-swiper .with-gradient:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 50%;
    background-image: linear-gradient(rgb(255 255 255), rgb(255 255 255 / 0%));
    bottom:auto
}



@media(max-width:1080px) {
	.homepage-swiper .with-gradient:before {
		display:none !important
	}
	#navigation-style-4, #navigation .ry-menu {
		display:none !important
	}

	.snap-mobile-menu {
		display:flex !important;
		width:100%
	}
	.snap-mobile-menu .snap-mobile-menu {
		padding-inline:0
	}
	.module-welcome.style-5 *,#welcome-wrap .ry-text p,
	#welcome-wrap .text-wrapper h2{
		text-align: left !important;
		text-align:center !important;
		justify-content:center
	}

	#welcome-wrap .ry-btn {
		margin-left: auto !important;
		margin-right: auto !important;
	}
	
	.snap-mobile-menu img {
    	max-height: 40px;
	}

	div#hp-slider .ry-btn {
		margin-inline: auto;
		display: flex;
	}
}

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

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

.snap-mobile-menu img {
	filter: none !important;
}

.footer-contents a {
    text-decoration: unset;
}
div#reviews-widget-container-59e57405-8671-482f-a076-04a5ea43e3b5 {
    z-index: 1;
}
/* Dropdown menu width fix */
@media (min-width: 1081px) {
    #navigation .ry-menu .ry-nav li .third-level-container > .third-level-dropdown {
        width: max-content !important;
        min-width: 100%;
    }
}
/* Match interior body copy to homepage size on tablet/desktop */
@media (min-width: 768px) {
  #contents .text-base.leading-6.text-gray-600 {
    font-size: 1.25rem;    /* 20px */
    line-height: 1.75rem;  /* 28px */
  }
}