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

.homepage-swiper h2 {
	text-shadow: 3px 3px 3px rgb(0 0 0 / 40%);
}

#ry-pg-body :is(.navigation-3) {
    position: relative !important;
}

.mm-navbar__title > span {
    color: #fff;
}

@media (min-width: 1024px) {
	.navigation-3.fixed > .block.lg\:absolute.inset-0 {
		position: relative;
	}
}

@media (max-width: 1440px) {
	div#navigation-style-4.container {
		max-width: 1280px;
	}
}


@media (max-width: 768px) {
	div.homepage-swiper .swiper-slide {
		padding-top: 100px;
	}
}
div#navigation-style-4 {
    max-width: 1600px;
    width: 90%;
    padding: .5em 0 !important;
}

body#ry-pg-body div#navigation {
    position: static;
}

.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
    text-align: center !important;
}

img.rev-icon {
    max-width: 70px;
    height: auto;
    width:100%;
}


@media (max-width: 1080px) { 
	.ry-menu .ry-nav {
		font-size: 14px !important;
	}
	
	div.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
		text-align: center !important;
	}
	
	div#team-inner-block {
		padding: 2em 1em;
	}

	div#team-inner-block img {
		max-width: 220px;
	}

	div#team-inner-block {
		flex-direction: column;
	}

	div#team-inner-block .flex {
		padding: 0 !important;
		background: transparent;
		width: 100%;
	}
	.module-welcome.style-5 * {
		text-align: center !important;
	}
}

@media (max-width: 1200px) { 
	div#navigation-style-4 {
		max-width: 90%;
	}
	.ry-menu .ry-nav {
		gap: 20px !important;
	}
	div#navigation-style-4 .cursor-pointer img {
		max-width: 200px;
	}
	

}

@media (max-width:991px) {
	
	#section-hp-services::before, .module-19.style2::before, .ry-services.style2::before {
		background-image:none !important;
		background-color:#dedee0;
	}

	#section-hp-services p {
		text-align:center !important;
	}

	.main-title h2 {
		line-height: 1.2;
		font-size: 30px !important;
	}

	.sub-title h4 {
		font-size: 20px !important;

	}
	
	div#section-hp-services .grid h4 {
		font-size: 23px;
		line-height: 1.3;
	}
	
	div#footer-map {
		height: 400px !important;
	}
	
	div#rev-flex h3 {
		font-size: 22px !important;
	}
}

@media (max-width:768px) {
	
	img#hp-rev-image {
		height: auto !important;
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
	}

	div#hp-rev-image-block {
		width: 100% !important;
	}

	div#hp-rev-image-flex {
		display: block !important;
		border-radius: 20px;
	}

	div#rev-flex {
		width: 100%;
	}
}

@media (max-width:767px) {
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}

	.homepage-swiper .slider-info {
		max-width: 100%;
		text-align: center;
		position:static !important;
	}

	.homepage-swiper .slider-info .mb-4 {
		margin-bottom:0 !important;
	}

	.homepage-swiper .homepage-swiper {
		margin-top: 0em;
	}

	.homepage-swiper .swiper-slide {
		padding-top:6em
	}
	
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.homepage-swiper .slider-info {
		padding-bottom: 50px;
	}
}

.snap-mobile-menu img {
    max-height: 80px;
}

@media (max-width: 500px) {
	
   .snap-mobile-menu img { 
		max-height: 75px;
	}
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}
}

@media (max-width: 1200px) {
	.module-19 .ry-generic * {
		text-align: center !important;
	}
	.module-19 .ry-btn.ry-btn-primary {
		margin: auto;
	}
}

.homepage-swiper .swiper-slide img {
	object-position: center top;
}

/** Services Start **/

#section-hp-services .text-black h4 {
    font-weight: 500;
}

#section-hp-services div#services-12 {
    display: flex;
    max-width: 1600px;
    width: 90%;
	flex-wrap: wrap;
}
#section-hp-services div#services-12 .hp-service {
    width: 100%;
	max-width: calc(25% - 12px);
}

#services-12 > div:nth-child(even) > div > p, #services-12 > div:nth-child(odd) > div > p {
    display: none;
}

div#section-hp-services #services-12 >div{
    transition:all .3s ease
}
div#section-hp-services #services-12 > div:hover {
    transform:scale(1.03)
}

@media (max-width: 1080px) { 
	div#section-hp-services img {
		max-width: 100px;
		width: 100% !important;
		object-fit: contain !important;
		height: 150px !important;
		object-position: center !important;
	}
}

@media (max-width:1024px) {
	
	#section-hp-services div#services-12 {
		flex-wrap: wrap;
	}
	
	#section-hp-services div#services-12 .hp-service {
		width: 48%;
	}
	
	#section-hp-services div#services-12 .hp-service {
		width: 100%;
		max-width: 300px;
		padding: 0 0 3em 0;
	}


	#services-12  h4 {
		font-size: 22px !important;
		font-weight: normal;
		line-height: 1.3;
	}

	#services-12  div {
		padding: 0;
	}

	#services-12 .rounded-full {
		padding: 0;
	}

	div#section-hp-services .rounded-full {
		height: 45px;
		width: 45px;
		margin: 10px auto 0;
	}

	div#section-hp-services .rounded-full i.bi.bi-arrow-right {
		font-size: 18px;
	}

}

@media (max-width: 768px) {
	#section-hp-services div#services-12 .hp-service {
		padding-top: 3em;
	}
}

@media (max-width: 500px) { 
	div #section-hp-services img {
		height: 120px !important;
		object-position: top !important;
	}
}

.testimonial-style1 {
    position: relative;
}
.testimonial-style1:before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-ec0aa9be-0d26-4035-9d7d-44430c8e636e/Assets/vintage_background.jpg);
    background-position: center top;
    background-size: cover;
}

.testimonial-style1 .main-title h2 {
    color: white;
}
.testimonial-style1 .swiper-slide {
    background: rgb(0 0 0);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background-color: rgb(0 0 0 / 50%);
    border: 2px solid #00000099;
}

.testimonial-style1 .swiper-slide p {
    color: #fff !important;
}
#section-hp-team:before {
	background-position: center top;
}
/** Footer Start **/

#ry-footer ul {
    line-height: 2;
}
.footer-contents ul li, .footer-contents a, .footer-contents h4, .footer-contents p {
    color: #141414;
}
#ry-footer-3::after {
	display: none;
}
#ry-footer-3::before {
	opacity: 1;
}
#ry-footer-3 .footer-contents {
    background: #fff;
	border: 6px solid var(--color-primary-background);
}
#ry-footer-3 .footer-contents::before {display: none;}

@media (max-width:700px) { 
	#ry-footer-3 .footer-contents {
		max-width: 90% !important;
		width: 100% !important;
		padding: 3em 1em !important;
	}

	div#ry-footer-3 {
		padding: 0;
	}

	#ry-footer-3 .footer-contents {
		text-align: center !important;
	}
}

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

body[data-page-name="contact-us"] div#ry-footer-3 {
    margin-top: 200px;
}
.footer-privacy strong {
    color:rgb(185 28 28 / 1) !important;
}

/** Footer End **/

.navigation-4.bg-White99 img {
    max-width: 380px;
}

/** Fixed **/

.team-inner-page.style3 .ry-each .each-container .details .title h5 {
	font-size: clamp(1.5625rem, 1.425rem + 0.6875vw, 2.25rem);
}

body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .col-lg-3 {
	width: 100%;
	max-width: 30%;
}
body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .col-lg-9 {
	width: 100%;
	max-width: 70%;
}

body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .photo {
    width: 100%;
    padding-bottom: 100%;
}
body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .details,
body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .details .title,
body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .details .team-excerpt, 
body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .details .team-full-description {
	width: 100%;
}

body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container {
	gap: 80px;
}
body[data-page-name="our-doctor"] a.btn-excerpt {
    display: none !important;
}

.team-inner-page.style3 .team-social {
	display: none;
}

@media (max-width: 1080px) {
	body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 0;
	}
	body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .col-lg-3 {
		max-width: 320px;
	}
	body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container .col-lg-9 {
		max-width: 90%;
	}
	body[data-page-name="our-doctor"] .team-inner-page.style3 .ry-each .each-container * {
		text-align: center;
	}
}

.mySwiperStory a img {
    object-fit: contain;
    max-height: 520px;
    margin: auto;
}



body#ry-pg-body .text-2xl h5 {
    font-size: clamp(1.375rem, 1.325rem + 0.25vw, 1.625rem);
}

body#ry-pg-body h4 {
	font-size: 1.80rem;
}






















