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


.review-widget {
	position: relative;
	z-index: 1 !important;
}

.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: #000000;
}
/* Match interior body copy to homepage size on tablet/desktop */
@media (min-width: 768px) {
	#contents .leading-6.text-gray-600,
	#contents .leading-6.text-gray-600 p,
	#contents .leading-6.text-gray-600 li {
		font-size: 1.25rem;    /* 20px */
		line-height: 1.75rem;  /* 28px */
	}
}

/* Fix Hero Video */
.homepage-video-slider {
	position: relative;
	overflow: hidden;
	height: min(800px, 56.25vw);
	max-height: 800px;
}

#the-video {
	height: 100%;
}

#ry-video-slider {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* HP Edits - Started <> */

/**/
/*fonts*/
/*btns*/

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

mm-burger {
	color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.primary .caret {
	border-color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
	color: var(--color-secondary-text);
		}
.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, #000000ba);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
	background: var(--color-primary-background);
		color: var(--color-primary-text);
			}

.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
	color: white;
}

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

/* Hero */
#hp-slider .slider-info.slider-info-center-bottom {
	position: absolute !important;
	top: auto !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	transform: none !important;
}

.cta-btn {  /*button color*/
	color: var(--color-secondary-text);
		background: var(--color-primary-background);
			border-radius: 50px;

			}
.cta-btn:hover {
	color: var(--color-secondary-text);
		background: var(--color-secondary-background);
			border-radius: 50px;
			}


.sticky-icons li a i {
	position: absolute;
	top: 0px;
	left: 20px;
	font-size: 27px;
	color: white !important;
}
.sticky-icons ul li a span {
	display: none;
	letter-spacing: 1px;
	text-transform: uppercase;
	color:white !important;
}

/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
	height: 100vh !important;
	object-fit: cover;
}
#hp-slider .swiper-pagination-bullet {
	background-color: white;
}
.slider-info {
	min-height: fit-content;
}

.ry-btn{
	color: white;
}

.homepage-swiper h2 {
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}
/* Headings*/
#welcome-wrap h6, #section-hp-team h6, #hp-insurance-1 h6, #HP-Testimonial h6{
	font-size: clamp(18px, 2vw, 24px);
	color: var(--color-secondary-background) !important;
		text-transform: uppercase;
		}

/* Section subheadings */
h6,
h6 * {
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.15em !important;
	line-height: 1.4 !important;
}
/* CTA */
#hp-slider .slider-info h2 {
	font-size: clamp(30px, 4.5vw, 72px) !important;
	line-height: 1.15 !important;
	white-space: normal !important;
	text-wrap: balance;
}


/**/
/* Welcome */
#welcome-wrap .ry-left img {
	border: none !important;
}
/**/
/* Services */

@media (width < 1080px) {
	#section-hp-services:before,
	.module-19.style2:before,
	.ry-services.style2::before {
		opacity: 0.94;
	}
}

/* Circle */
.ry-services.style2 .ry-each .photo {
	position: relative;
	overflow: hidden;
	border-radius: 50%;
	background: transparent !important;
}

/* Smaller white icons */
.ry-services.style2 .ry-each .photo img {
	position: absolute !important;
	width: 35% !important;
	height: 35% !important;
	object-fit: contain !important;
	top: 22% !important;
	left: 50% !important;
	transform: translateX(-50%);
	filter: brightness(0) invert(1);
}

/* White circular border without the gradient */
.ry-services.style2 .ry-each .photo:after {
	content: "";
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: transparent !important;
	border: 2px solid white;
	border-radius: 50%;
	box-sizing: border-box;
	opacity: 1;
	pointer-events: none;
}

/* Hide the service icon on hover */
.ry-services.style2 .each-block:hover .photo img {
	opacity: 0 !important;
}

/* Keep the service title visible */
.ry-services.style2 .each-block:hover .title {
	z-index: 5 !important;
}

.ry-services.style2 .each-block:hover .title,
.ry-services.style2 .each-block:hover .title * {
	color: #fff !important;
}

@media (max-width: 1024px) {
	.ry-services.style2 .ry-each {
		min-width: 0;
	}

	.ry-services.style2 .ry-each .photo {
		width: 100% !important;
		max-width: 220px !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 0 !important;
		aspect-ratio: 1 / 1;
		margin-inline: auto !important;
	}

	.ry-services.style2 .ry-each .photo img {
		width: 35% !important;
		height: 35% !important;
		max-width: none !important;
		max-height: none !important;
		margin: 0 !important;
		top: 20% !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		object-fit: contain !important;
	}
}

.ry-services.style2 .ry-each .photo {
	position: relative;
}

.ry-services.style2 .ry-each .photo:before {
	height: 100%;
	background: linear-gradient(to bottom, transparent, transparent);
}

.ry-services.style2 .ry-each .photo:after {
	content: "";
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 3px solid white;
	border-radius: 50%;
	box-sizing: border-box;
	background: transparent;
	opacity: 1;
	pointer-events: none;
	transition: .4s;
}

/* mobile services carousel */
#hp-service-circle .mobile-services .each-block .photo {
	position: relative !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: 1 / 1;
	padding: 0 !important;
	overflow: hidden !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	box-sizing: border-box !important;
	background: transparent !important;
}

/* Remove the mobile gradient */
#hp-service-circle .mobile-services .each-block .photo::before,
#hp-service-circle .mobile-services .each-block .photo::after {
	content: none !important;
	display: none !important;
}

/* Match the desktop icon size and color */
#hp-service-circle .mobile-services .each-block .photo img {
	position: absolute !important;
	display: block !important;
	width: 35% !important;
	height: 35% !important;
	max-width: none !important;
	max-height: none !important;
	top: 22% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	transform: translateX(-50%) !important;
	filter: brightness(0) invert(1) !important;
	opacity: 1 !important;
}


/* Inactive dots */
#hp-service-circle .mobile-services .slick-dots li {
	opacity: 1 !important;
}

#hp-service-circle .mobile-services .slick-dots li button {
	background: #a0a0a0 !important;
}

/* Active dot */
#hp-service-circle .mobile-services .slick-dots li.slick-active button {
	background: #fff !important;
}

/* Services section spacing */
.ry-services.style2 {
	position: relative;
	height: auto !important;
	padding-top: 160px !important;
	padding-bottom: 100px !important;
}


@media (max-width: 1024px) {
	.ry-services.style2 {
		padding-top: 110px !important;
		padding-bottom: 70px !important;
	}
}


@media (max-width: 767px) {
	.ry-services.style2 {
		padding-top: 80px !important;
		padding-bottom: 50px !important;
	}
}

/* Keep the services button above the bottom design */
.ry-services.style2 {
	padding-bottom: 220px !important;
}

@media (max-width: 1024px) {
	.ry-services.style2 {
		padding-bottom: 170px !important;
	}
}

@media (max-width: 767px) {
	.ry-services.style2 {
		padding-bottom: 140px !important;
	}
}


.ry-services.style2 a[href$="services.html"] {
	background: var(--secondary-background, #7fbccb) !important;
		border: 2px solid transparent !important;
		color: #fff !important;
		transition: background-color 0.3s ease, border-color 0.3s ease;
		}


.ry-services.style2 a[href$="services.html"]:hover,
.ry-services.style2 a[href$="services.html"]:focus-visible {
	background: transparent !important;
	border-color: #fff !important;
	color: #fff !important;
}
/**/
/* Meet the Team */
/* Doctor subheading only */
.doctor-subheading,
.doctor-subheading * {
	font-size: clamp(18px, 2vw, 24px) !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.15em !important;
	line-height: 1.4 !important;
}


/**/
/* Insurance */
/**/
/* Brand */
/**/
/* Request Appointment */
/**/
/* Testimonials */
.module-testimonials.style-3 .comments-holder h3,
.module-testimonials.style-3 .comments-holder h3 * {
	color: #fff !important;
}

/* Center the testimonial content with balanced spacing */
.module-testimonials.style-3 .comments-holder > div:last-child {
	justify-content: center !important;
	gap: 28px !important;
}

/* Remove the empty spacer */
.module-testimonials.style-3 .comments-holder > div:last-child > div:empty {
	display: none !important;
}

/* Enlarge the award icon */
.module-testimonials.style-3 .comments-holder img[alt="5 star reviews"] {
	width: clamp(90px, 7vw, 120px) !important;
	height: auto !important;
	object-fit: contain !important;
	flex-shrink: 0;
}

/**/

/* Background */

#hp-brands-6,
#hp-insurance-1 {
	background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-cafa59d2-d22e-40be-9b81-e70a5e2b1409/1HP_assets/_Doctor_BG.jpg") !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}


#hp-brands-6::before {
	background: none !important;
}


.module-testimonials.style-3 {
	background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-cafa59d2-d22e-40be-9b81-e70a5e2b1409/1HP_assets/_Doctor_BG.jpg") !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/**/
/* Footer */
#ry-footer-3 h4,
#ry-footer-3 li,
#ry-footer-3 a,
#ry-footer-3 p,
#ry-footer-3 span {
	color: #fff !important;
}

#ry-footer-3 a:hover {
	color: #fff !important;
	font-weight: bold !important;
}

#ry-footer-3 i:hover,
#ry-footer-3 .group:hover i {
	background-color: var(--color-secondary-background) !important;
		color: #fff !important;
		}
/**/
/*Media Queries*/


@media (min-width: 1025px) {
	#welcome-wrap .ry-right,
	#welcome-wrap .ry-right :is(h6, h2, p),
	.doctor-content,
	.doctor-content :is(h6, h2, h3, p, .doctor-subheading) {
		text-align: left !important;
	}

	.doctor-content {
		align-items: flex-start !important;
	}

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


@media (max-width: 1024px) {
	/* Text alignment */
	#welcome-wrap .ry-right,
	#welcome-wrap .ry-right :is(h6, h2, p),
	.doctor-content,
	.doctor-content :is(h6, h2, h3, p, .doctor-subheading),
	.module-testimonials.style-3,
	.module-testimonials.style-3 :is(h6, h3, p),
	.module-testimonials.style-3 :is(h6, h3, p) * {
		text-align: center !important;
	}

	.doctor-content {
		align-items: center !important;
	}


	#welcome-wrap .ry-right .ry-btn,
	.doctor-content a,
	.module-testimonials.style-3 .comments-holder .ry-btn {
		margin-left: auto !important;
		margin-right: auto !important;
	}

	/* Stack testimonial photo and content */
	.module-testimonials.style-3 .comments-holder {
		float: none !important;
		flex-direction: column !important;
		margin-inline: auto !important;
	}

	.module-testimonials.style-3 .comments-holder > div {
		width: 100% !important;
		max-width: 100% !important;
	}

	.module-testimonials.style-3 .comments-holder > div:last-child {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
	}

	.module-testimonials.style-3 .comments-holder .ry-btn {
		align-self: center !important;
	}


	.module-testimonials.style-3 .comments-holder > div:first-child img {
		display: block;
		width: 100% !important;
		height: clamp(240px, 45vw, 400px) !important;
		object-fit: cover !important;
		object-position: center !important;
	}
}


@media (min-width: 640px) and (max-width: 1024px) {
	#welcome-wrap h6,
	#welcome-wrap h6 * {
		font-size: clamp(20px, 3.2vw, 24px) !important;
	}

	#welcome-wrap h2,
	#welcome-wrap h2 * {
		font-size: clamp(32px, 6.4vw, 48px) !important;
		line-height: 1.15 !important;
	}
}


@media (max-width: 639px) {
	#welcome-wrap h6,
	#welcome-wrap h6 * {
		font-size: clamp(18px, 4.7vw, 20px) !important;
		line-height: 1.4 !important;
	}

	#welcome-wrap h2,
	#welcome-wrap h2 * {
		font-size: clamp(28px, 7.5vw, 36px) !important;
		line-height: 1.15 !important;
	}
}

@media (max-width: 767px) {
	#hp-slider {
		--mobile-hero-height: clamp(420px, 70svh, 580px);
			overflow: hidden;
		}

		#hp-slider,
		#hp-slider .homepage-swiper,
		#hp-slider .swiper-wrapper,
		#hp-slider .swiper-slide,
		#hp-slider .swiper-slide > div:first-child {
			height: var(--mobile-hero-height) !important;
				min-height: 0 !important;
				}

		#hp-slider .swiper-slide {
			position: relative;
		}

		#hp-slider .swiper-slide img.swp-img {
			display: block;
			width: 100% !important;
			height: 100% !important;
			object-fit: cover !important;
			object-position: center !important;
		}

		#hp-slider .slider-info.slider-info-center-bottom {
			top: auto !important;
			bottom: 0 !important;
			left: 0 !important;
			width: 100% !important;
			min-height: 0 !important;
			padding: 20px 16px !important;
			box-sizing: border-box;
			background: transparent !important;
			transform: none !important;
		}

		#hp-slider .slider-info h2 {
			font-size: clamp(26px, 7vw, 36px) !important;
			line-height: 1.15 !important;
			margin: 0 !important;
		}

		#hp-slider .slider-info > div {
			margin-bottom: 0 !important;
		}

		.ry-services.style2 .each-block .title div {
			font-size: 18px;
			line-height: 1.1;
		}

		.ry-services.style2 .each-block .photo img {
			max-height: 280px;
			object-fit: contain;
			top: 50%;
			transform: translate(0, -50%);
		}
	}

	/**/


	/* End - HP Edits*/
	
@media (max-width: 639px) {
  .homepage-swiper .swiper-slide > div:has(> img.swp-img[src*="Hero22.jpg"]) {
    background: url("https://s3.amazonaws.com/static.organiclead.com/Site-cafa59d2-d22e-40be-9b81-e70a5e2b1409/mobile_hero2.jpg")
      center center / cover no-repeat;
  }

  .homepage-swiper img.swp-img[src*="Hero22.jpg"] {
    opacity: 0;
  }
}