/* 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
}
.ry-each-link, .ry-each-link a {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0;
}
/*HP Edits | Started - <October 22, 2025>*/

/*Global*/
/*btn*/
/*Modal*/
/*Header*/
body[data-page-name="index"] #navigation {
    position: absolute;
}
body #navigation:not(.bg-transparent) {
    background: #fff;
}
.cta-btn:first-child {
    background: transparent;
    color: #374151;
}
.cta-btn:first-child .cta-icon {
    background: var(--color-secondary-background);
    color: white;
}
.cta-btn:last-child {
    background: var(--color-primary-background);
}

.cta-btn:last-child:hover {
    background: transparent;
    color: var(--color-primary-background);
    border-color: var(--color-primary-background);
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}
/*Hero*/
#hp-slider .photo.logo-emblem,
#hp-slider .photo.logo-emblem img{
    max-width: 120px;
    margin: 0 auto;
    height: 100% !important;
}

#hp-slider .logo.text,
#hp-slider .logo.text img{
    max-width: 440px;
    margin: 20px auto;
    height: 100% !important;
}

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

.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent, transparent);
}
.swiper-cube .swiper-cube-shadow {
    opacity: 0;
}
/*Welcome*/
.bg-welcome-background ul {
    list-style: disc;
}
.bg-welcome-background li::marker {
    color: var(--color-primary-background);
    font-size: 29px;
}

.bg-welcome-background li {
    line-height: 1;
    margin: 10px 0;
    font-style: italic;
}
/*CTA*/
/*Services*/
.custom-hp-services {
    padding: 6.6vh 0;
}
.custom-hp-services .card {
    max-width: 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid #e2e0e0;
    cursor: pointer;
}
.custom-hp-services .card .photo,
.custom-hp-services .card .photo img{
    transition: all ease .3s;
}
.custom-hp-services .card:hover .photo{
    opacity: .5
}
.custom-hp-services .card:hover .photo img{
    transform: scale(1.1)
}
.custom-hp-services .title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.custom-hp-services .title h4 {
    font-size: 22px;
    text-align: center;
    line-height: 1.2;
    color: white;
}
.custom-hp-services .photo::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: linear-gradient(to top, var(--color-secondary-background), transparent);
}
/*Team*/
/*Insurance*/
/*Brands*/
/*Appointment Form*/
/*Testimonials*/
.module-testimonials.style-2::before {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-7c57008a-d178-426e-a277-726b9219ca52/backgrounds/OrchidDental_testimonial_before.png) center top no-repeat;
	background-size: cover;
}
.module-testimonials.style-2 {
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-7c57008a-d178-426e-a277-726b9219ca52/backgrounds/OrchidDental_welcome_bg.jpg) center center no-repeat;
	background-size: cover;
}
.module-testimonials.style-2 svg {
    color: rgb(253 224 71 / var(--tw-text-opacity, 1)) !important;
}
/*Footer*/
#ry-footer-3::before {
    opacity: 1;
}

#ry-footer-3 .footer-contents::before {
    z-index: -2;
}
/*Media Queries*/

@media (min-width: 768px) {
    .slider-info-center-center {
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 767px) {
    .slider-info {
        background-color: transparent;
        top: 60%;
        position: absolute;
        transform: translateY(-50%);
    }
}
/* END | HP Edits*/



div#modal-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    padding: 0;
    background: transparent;
}

div#modal-content {
    max-width: 700px;
    width: 90%;
    background: transparent;
    overflow: visible;
    box-shadow: none !important;
    height: auto;
    position: relative;
}

div#modal-positon {
    align-items: center !important;
}

div#navigation-style-4 img {
    max-width: 400px;
}



div#with-image-text .custom-headline h2 .span-2 {
    letter-spacing: 1px;
}

@media (min-width:1025px) {
	div#with-image-text .custom-headline h2 {
		text-align: left !important;
		
	}
	
}

@media (max-width:1024px) {
    div#with-image-text .custom-headline h2 {
        text-align:center;
    }

    div#with-image-text img {
		margin: auto;
	}
}


@media (max-width:991px) {
	
	div#ry-footer-3 {
		padding: 0 1em;
	}

	div#ry-footer-3 .group.flex.flex-col.items-center.gap-4.lg\:flex-row {
		place-content: center;
		justify-content: center;
		text-align: center;
	}

	div#ry-footer-3 .shadow-lg {
		padding: 3em 0;
	}

	div#ry-footer-3 span {
		font-size: 18px;
		line-height: 1.1;
	}

	div#ry-footer-3 ul {
		max-width: 300px;
	}

	div#ry-footer-3 grid-cols-2 {
		display: flex !important;
		flex-direction: column;
	}

}




@media (max-width: 768px) {
   div#modal-content {
		position:relative;
		top:6em !important;
	}
	
	.snap-mobile-menu .flex.gap-4 {
		gap: 8px;
	}

	.snap-mobile-menu img {
		max-width:150px;
	}

	
}

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

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