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


div#contents .flex-col.custom-dot ul li {
    list-style: initial;
}
div#contents .flex-col.custom-dot ul {
    padding-left: 20px !important;
}

/* HP Edits - Started <August 24, 2026> */

/**/
	/*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.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);
}
body[data-page-name="index"] #navigation {
    position: absolute;
}

.cta-btn {
    background: transparent;
    color: #374151;
}

.cta-btn:first-child .cta-icon {
    background: var(--color-primary-background);
    width: 50px;
    height: 50px;
    color: white;
}
.cta-btn:not(:first-child) .cta-icon {
    background: var(--color-secondary-background);
    width: 50px;
    height: 50px;
    color: white;
}
#navigation .ry-menu {
    margin-top: -40px;
}
/* Hero */
	/**/
#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;
}

/* CTA */

#section-hp-services #services-12 img {
    width: 100% !important;
    height: 120px !important;
    object-fit: contain !important;
    max-width: 90px;
}



	/**/
/* Welcome */
	/**/
#welcome-wrap.style-1 .module-22 .ry-left img {
    border: none;
    border-radius: 40px;
}

#welcome-wrap.style-1 .module-22 .ry-content {
    gap: 70px;
	align-items: center;
}

#welcome-wrap.style-1 .custom-headline h2,
#welcome-wrap.style-1 .custom-headline h2 .span-1,
.ry-hp-team-8 .custom-headline h2,
.ry-hp-team-8 .custom-headline h2 .span-1{
    text-align: left;
}

#welcome-wrap.style-1 .ry-btn {
    margin-left: 0;
}
/* Services */
	/**/
#services-12 > div:nth-child(odd) > div > p, #services-12 > div:nth-child(even) > div > p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

#services-12 > div:nth-child(odd), #services-12 > div:nth-child(even) {
    background-color: var(--color-primary-background);
    border-top-left-radius: 220px;
    border-top-right-radius: 220px;
}

#services-12 > div:nth-child(even) > div > a, #services-12 > div:nth-child(odd) > div > a {
    color: var(--color-secondary-background);
    background-color: var(--color-primary-text);
}

.hp-service img {
    filter: invert(1) !important;
}
#services-12 > div:nth-child(5), #services-12 > div:nth-child(6), #services-12 > div:nth-child(7), #services-12 > div:nth-child(8) {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 220px;
    border-bottom-right-radius: 220px;
}


#section-hp-services {
    padding-bottom: 50vh;
}
/* Meet the Team */
	/**/
.ry-hp-team-8::before {
    background: none;
}

.ry-hp-team-8 {
    margin-top: -150px;
    background-color: transparent !important;
    z-index: 1;
}

.ry-section:nth-child(odd) {
    background-color: transparent;
}
/* Insurance */
	/**/
/* Brand */
	/**/
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
.module-testimonials.style-2::before, .module-testimonials.style-3::after {
    height: 100%;
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-861a9248-b66d-402f-ba1a-07061bdec40b/backgrounds/RoyalOakDental_testimonials_bg.jpg) center center no-repeat;
    background-size: cover;
}
.module-testimonials.style-2 {
    margin-top: -34.6vh;
    padding-top: calc(12.6vh + 34.6vh);
}
.testimonials-swiper-2 svg {
    color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}

.testimonials-swiper-2 .swiper-pagination-bullet-active {
    background: white;
}
/* Footer */
	/**/
#ry-footer .container h6, #ry-footer .container a, #ry-footer .container span {
    color: #374151;
}

#ry-footer::before {
    background-color: white;
}

.footer-logo-social a i {
    font-size: 25px;
}

@media (max-width:1080px) {
    .footer-logo-social {
		display: flex;
		flex-direction: column;
		gap: 2em 0;
	}
	 .footer-logo-social img {
		max-width:150px;
	}
}
/*Media Queries*/
	/**/
@media (min-width: 768px) {
    .slider-info-center-bottom {
        bottom: 2%;
    }
}

@media (max-width:1279px){
    .ry-hp-team-8 {
        margin-top: -270px;
    }

    .module-testimonials.style-2 {
        margin-top: -60.6vh;
        padding-top: calc(6.6vh + 60.6vh);
    }
}
@media (max-width:1024px){
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
    
    body[data-page-name="index"] #navigation {
        position: relative;
    }
    
    #welcome-wrap.style-1 .custom-headline h2,
    #welcome-wrap.style-1 .custom-headline h2 .span-1,
    #welcome-wrap.style-1 .module-22 .ry-right .content-wrap p {
        text-align: center !important;
    }

    #welcome-wrap.style-1 .ry-btn {
        margin-left: auto;
    }
    #services-12 > div:nth-child(odd), #services-12 > div:nth-child(even) {
        border-radius: 1.5rem;
    }
    #services-12 > div:nth-child(odd) > div > p, #services-12 > div:nth-child(even) > div > p {
        text-align: center;
    }
	
	div.team-btn-wrap {
		justify-content: center;
		margin: 1em auto 2em !important;
	}

	div.team-btn-wrap a.ry-btn.ry-btn-primary {
		margin: 0;
	}

}

@media (max-width:767px){
    .with-gradient:before {
        opacity: 0;
    }
}

@media (max-width:1279px){
    .ry-hp-team-8 .custom-headline h2, .ry-hp-team-8 .custom-headline h2 .span-1 {
        text-align: center !important;
    }
    .hp-team-style-8 .ry-btn-primary {
        margin-left: auto;
    }
}

@media (width < 1080px) {
    #section-hp-services:before, .module-19.style2:before, .ry-services.style2::before {
        opacity: 1;
    }
}
/* End - HP Edits*/