/* 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
}
.homepage-swiper .swiper-slide img {
    height: calc(100vh + 130px) !important;
}
.blog-exerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}


.ry-btn.ry-btn-transparent {
    background: transparent;
    color: #fff;
    border: 1px solid #ffffff3b;
    cursor: pointer;
}

.ry-btn.ry-btn-transparent:hover {
    background: #7fa8c4;
}

.hp-services {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-5a327b0c-9b93-4a80-93f7-0124a64cbd09/services_bg.png) no-repeat;
    background-size: cover;
}
.hp-team {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-5a327b0c-9b93-4a80-93f7-0124a64cbd09/homepage/doctor_bg.png) no-repeat;
    background-size: cover;
}
.hp-implant {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-5a327b0c-9b93-4a80-93f7-0124a64cbd09/homepage/featured_1.png) no-repeat;
    background-size: cover;
	background-position: 0 15%;
}
.hp-crowns {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-5a327b0c-9b93-4a80-93f7-0124a64cbd09/homepage/featured_2.png) no-repeat;
    background-size: cover;
    background-position: 0 15%;
}
.hp-whitening {
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-5a327b0c-9b93-4a80-93f7-0124a64cbd09/homepage/featured_3.png) no-repeat;
    background-size: cover;
    background-position: 0 50%;
}

label.control-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

#menu-style-7 input[type="text"] {
    background: #fff;
}

@media (max-width: 1440px) {
	.hp-crowns {
		background-position: -35px 15%;
	}
	.hp-whitening {
		background-position: -150px 50%;
	}
}

@media (max-width: 1200px) {
	.hp-implant {
		background-position: -240px 15%;
	}
	.hp-crowns {
    	background-position: -220px 15%;
	}
	.hp-whitening {
    	background-position: -350px 50%;
	}
}

@media (max-width: 1024px) {
	.hp-implant {
    	background-position: -390px 15%;
	}
	.hp-whitening {
    	background-position: -460px 50%;
	}
	.homepage-swiper .swiper-slide img {
    	height: 600px !important;
	}
	.ry-menu .ry-nav {
		font-size: 12px !important;
		margin: 0;
	}
}

@media (max-width: 768px) {
	.hp-whitening::before, .hp-crowns::before, .hp-implant::before {
		content: '';
		position: absolute;
		inset: 0;
		background: #ffffffeb;
		z-index: 0;
	}
	.hp-whitening .mx-auto, .hp-crowns .mx-auto, .hp-implant .mx-auto {
		z-index: 3;
		position: relative;	
	}
	.hp-whitening {
    	background-position: 80%;
	}
	.homepage-swiper .swiper-slide img {
    	height: 500px !important;
	}
	.hp-implant, .hp-crowns, .hp-whitening {
    	padding: 80px 0 !important;
	}
}

.canvas-converted-carousel .swiper-slide img {
  width: 100%;
  height: 500px; /* whatever height you want */
  object-fit: cover;
}

.custom-social-wrapper .social-inner-wrap li a.instagram {
	background: #7fa8c4;
}