/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */

html, body {
    overflow-x: hidden !important;
}
.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;}

/*Nathan | Build Starting - <July 07, 2025>*/
body[data-page-name="index"] .ry-btn {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-3f01d833-5bda-4696-906a-8e943e34d1ba/backgrounds/fgDental_gold_bg.jpg) center top no-repeat;
	background-size: cover;
    transition: all .3s;
	border: none;
}
body[data-page-name="index"] .ry-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
}

.with-gradient:before {
    background-image:linear-gradient(to top, #333, transparent);
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: .5
}
.slider-info {
    min-height: fit-content;
    background-color: var(--color-secondary-text);
}
.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-each.image-wrapper .photo {
    padding-bottom: 80%;
}
.module-welcome.style-5,
.ry-hp-team,
.module-testimonials.style-2{
    padding: 10.6vh 0;
}
.module-welcome.style-5 .ry-container {
    width: 100%;
}

.module-welcome.style-5:before {
    background-position: center;
    transition: all .3s;
}
.headline-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}
.brands-swiper-4 .swiper-wrapper div {
    background: transparent;
}

.brands-swiper-4 .swiper-wrapper div img {
    mix-blend-mode: normal;
    filter: invert(1);
    height: 100px;
}
.sticky-icons ul {
    z-index: 2;
}

.ry-services.style2 .ry-container {
    z-index: 1;
}
.ry-services.style2 .block-count-7 .ry-each .each-block {
    overflow: hidden;
    border-radius: 25px;
}
.ry-services.style2 .ry-each .photo:after {
    opacity: 0.9;
}
.ry-services.style2 .block-count-7 .ry-each:nth-child(3) .each-block:nth-child(1) {
    border-top-left-radius: 250px;
    border-bottom-right-radius: 250px;
    border-top-right-radius: 0;
}
.ry-services.style2 .block-count-7 .ry-each:nth-child(3) .each-block:nth-child(2) {
    border-top-right-radius: 250px;
    border-bottom-left-radius: 250px;
    border-bottom-right-radius: 0;
}
.ry-services.style2 .block-count-7 .ry-each:nth-child(1) .each-block:nth-child(1) {
    border-top-right-radius: 250px;
    border-bottom-left-radius: 250px;
    border-top-left-radius: 0;
}
.ry-services.style2 .block-count-7 .ry-each:nth-child(1) .each-block:nth-child(2) {
    border-top-left-radius: 250px;
    border-bottom-right-radius: 250px;
    border-bottom-left-radius: 0;
}

.ry-services.style2 .ry-each .title {
    bottom: 75px;
}
.ry-services.style2 .ry-each .button-svg {
    background: var(--color-primary-text);
}
:is(.module-testimonials.style-5) :is(.swiper-button-prev, .swiper-button-next) {
    background: var(--color-secondary-background);
}
.module-testimonials.style-2::before {
    background: none;
}

.module-testimonials.style-2 .comments-icon {
    top: 130px;
    background: none;
}

.module-testimonials.style-2 .comments-icon::before {
    border: none;
}

.module-testimonials.style-2 .comments-symbol {
    color: #9cb4ba;
    font-family: 'Playfair Display';
    font-size: 170px;
}

.module-testimonials.style-2 .swiper-pagination-bullet-active {
    background-color: var(--color-primary-background);
}

.module-testimonials.style-2 {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-3f01d833-5bda-4696-906a-8e943e34d1ba/backgrounds/reviews_bg.jpg);
	background-position: center top;
	background-size: cover;
}
.module-testimonials.style-5 .photo::before {
    background: linear-gradient(to top, #99651400, #f5fbf5c2, #f5fbf5);
}
#ry-footer-3 .footer-contents::before {
    background-color: transparent;
    opacity: 1;
}

#ry-footer-3::before {
    opacity: 1;
    background-position: top;
    top: 50px;
}
#ry-pg-body .brands-swiper-4 .swiper-wrapper div img {filter: brightness(0);}
@media (min-width: 768px) {
    .slider-info-center-bottom {
        bottom: 3%;
    }
}
@media screen and (max-width:767px){
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
}
@media (max-width: 1080px) {
    .ry-services.style2 .each-block .photo {
        border-radius: 25px;
    }
    .ry-services.style2 .each-block .photo img {
        border-radius: 0;
    }
    .ry-services.style2 .each-block .photo:before {
        opacity: 0.7;
    }
}
@media screen and (max-width: 1024px){
	.headline-wrapper {
		justify-content: center;
	}
}
@media (max-width: 640px) {
    .custom-headline h2 {
        font-size: 36px;
    }
}
@media (width < 1080px) {
    #section-hp-services:before, .module-19.style2:before, .ry-services.style2::before {
        opacity: 1;
    }
}

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

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