/* DENTAL PLAN SECTION
--------------------------------------*/

.dental-plan {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	padding: 1.6em 0;
}

.webp.loaded .dental-plan {
	background-image: url(/wp-content/themes/charlie-child/images/oral-care-bg.webp);
	
}
.no-webp.loaded .dental-plan {
	background-image: url(/wp-content/themes/charlie-child/images/oral-care-bg.jpg);
}


.dental-plan .container {
    max-width: 1820px;
	padding: 0 1.6em;
}

.dental-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 2em auto;
	background: rgba(255, 255, 255, 0.80);
    padding: 4em;
    text-align: center;
	width: 100%;
}

.dental-container h2 {
    color: #002969;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.6em 0;
}

.dental-container p {
	color: #161a1b;
	font-family: Montserrat;
	font-size: 23px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.dental-container a.main-btn {
    border-radius: 50px;
    padding: 1em 3em;
    font-size: 26px;
    margin: 2em auto 0;
}

/* SERVICES-SECTION
---------------------------------------*/
.specialty-services {
    padding: 40px 30px;
}

.services-div {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 40px;
    justify-content: center;
}

.service-box {
    background: #dce0f6;
    display: flex;
    width: 320px;
    border-radius: 10px;
    height: 155px;
    align-content: center;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* padding-right: 20px; */
    margin: 20px 20px;
}

.service-box p {
    padding: 0 20px;
    color: #63509B;
}

/* REV-SECTION
---------------------------------------*/
.rev-section {
	padding: 100px 0;
}

.rt-box {
	width: 100%;
	max-width: 426px;
	border-top: 3px solid #002969;
	padding: 50px 0;
}

.rt-box span {
	font-style: italic;
}

.rev-row {
	width: 110%;
	margin-left: -5%;
}

.rev-box {
	width: 100%;
	max-width: 511px;
	min-height: 302px;
	background: #e3e8ff;
	margin: 15px auto;
	padding: 30px 20px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.rev-inner {
	width: 100%;
	max-width: 417px;
}

.p-name {
	font-weight: 500;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 31px;
	color: #575b6f;
	letter-spacing: 2px;
}

.rev-top {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.rev-con {
	font-size: 16px;
	line-height: 23px;
	width: 100%;
	font-weight: 500;
}

.platform {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.rev {
	padding: 0 15px;
}

.slick-dots {
	list-style: none;
	display: flex;
	justify-content: center;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}

.slick-dots li {
	margin: 10px 5px;
}

.slick-dots button,
.slick-dots input[type="button"],
.slick-dots input[type="reset"],
.slick-dots input[type="submit"],
.slick-dots a[class*="btn"],
.slick-dots a[class*="bttn"] {
	color: transparent;
	padding: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #244171;
}

.slick-dots .slick-active button,
.slick-dots .slick-active input[type="button"],
.slick-dots .slick-active input[type="reset"],
.slick-dots .slick-active input[type="submit"],
.slick-dots .slick-active a[class*="btn"],
.slick-dots .slick-active a[class*="bttn"] {
	background-color: #b7dde8;
}

.rev-b .main-btn2 {
	width: 100%;
	max-width: 316px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 15px auto 0;
}

/* SHOWCASE SECTION
----------------------------------------*/

.showcase-section {
	padding: 100px 0;
}

.showcase-section .container {
	max-width: 1700px;
}

.show {
	padding: 0 5px;
}

.show-box {
	width: 100%;
	max-width: 382px;
	min-height: 475px;
	margin: 15px auto;
	position: relative;
}

.show-pic {
	width: 100%;
	max-width: 382px;
	min-height: 428px;
	transition: 0.3s ease-in-out;
}

.show-box:hover .show-pic {
	transform: scale(1.03);
	transition: 0.3s ease-in-out;
}

.showcase-section h2 {
	margin-bottom: 30px;
}

.show-con h3 {
	color: #002969;
	text-shadow: 1px 1px 3px #fff;
}

.show-con h4 {
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	opacity: 0;
}

.show-con {
	margin-top: 10px;
	height: 42px;
	overflow: hidden;
	z-index: 5;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

.show-box:hover .show-con {
	height: 99px;
}

.show-box:hover .show-con h4 {
	opacity: 1;
	margin-top: 15px;
}

.slick-prev {
	position: absolute;
	top: 43%;
	left: -17px;
	background: none;
	color: transparent;
	z-index: 5;
	padding: 0;
	margin: 0;
	width: 25px;
}

.slick-prev::before {
	content: url(../images/arrow-l.svg);
	position: absolute;
}

.slick-next {
	position: absolute;
	top: 43%;
	right: -20px;
	background: none;
	color: transparent;
	z-index: 5;
	padding: 0;
	margin: 0;
	width: 25px;
}

.slick-next::before {
	content: url(../images/arrow-r.svg);
	position: absolute;
}

.show-b {
	margin-top: 40px;
}

.show-b .main-btn3 {
	width: 100%;
	max-width: 316px;
}

.no-webp.loaded .s1 {
	background: url(/wp-content/themes/charlie-child/images/show1.jpg) center
		center no-repeat;
	background-size: cover;
}

.webp.loaded .s1 {
	background: url(/wp-content/themes/charlie-child/images/show1.webp) center
		center no-repeat;
	background-size: cover;
}

.no-webp.loaded .s2 {
	background: url(/wp-content/themes/charlie-child/images/show2.jpg) center
		center no-repeat;
	background-size: cover;
}

.webp.loaded .s2 {
	background: url(/wp-content/themes/charlie-child/images/show2.webp) center
		center no-repeat;
	background-size: cover;
}
.no-webp.loaded .s3 {
	background: url(/wp-content/themes/charlie-child/images/show3.jpg) center
		center no-repeat;
	background-size: cover;
}

.webp.loaded .s3 {
	background: url(/wp-content/themes/charlie-child/images/show3.webp) center
		center no-repeat;
	background-size: cover;
}

.no-webp.loaded .s4 {
	background: url(/wp-content/themes/charlie-child/images/show4.jpg) center
		center no-repeat;
	background-size: cover;
}

.webp.loaded .s4 {
	background: url(/wp-content/themes/charlie-child/images/show4.webp) center
		center no-repeat;
	background-size: cover;
}

.no-webp.loaded .s5 {
	background: url(/wp-content/themes/charlie-child/images/show5.jpg) center
		center no-repeat;
	background-size: cover;
}

.webp.loaded .s5 {
	background: url(/wp-content/themes/charlie-child/images/show5.webp) center
		center no-repeat;
	background-size: cover;
}

.no-webp.loaded .s6 {
	background: url(/wp-content/themes/charlie-child/images/show6.jpg) center
		center no-repeat;
	background-size: cover;
}

.webp.loaded .s6 {
	background: url(/wp-content/themes/charlie-child/images/show6.webp) center
		center no-repeat;
	background-size: cover;
}

/* COLLAGE SECTION
------------------------------------------*/
.collage-section {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.collage-section img {
	object-fit: cover;
	height: 100%;
}

/* COLUMN ONE*/

.col-col1 {
	position: relative;
	width: 100%;
	max-width: 326px;
	height: 775px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#gal1 {
	position: relative;
	width: 100%;
	max-width: 326px;
	height: 505px;
}

#gal2 {
	position: relative;
	width: 100%;
	max-width: 326px;
	height: 260px;
}

/* COLUMN 2
-----------------------------------*/

.col-col2 {
	position: relative;
	width: 100%;
	max-width: 705px;
	height: 775px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0 10px;
}

.col-2-top {
	width: 100%;
	max-width: 705px;
	height: 336px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#gal3 {
	position: relative;
	width: 100%;
	max-width: 328px;
	height: 336px;
}

#gal4 {
	position: relative;
	width: 100%;
	max-width: 367px;
	height: 336px;
}

#gal5 {
	position: relative;
	width: 100%;
	max-width: 705px;
	height: 429px;
}

.col-2-outer1,
.col-2-outer2 {
	width: 100%;
	position: relative;
}

.col-2-outer1 {
	padding: 0 5px 0 0;
}

.col-2-outer2 {
	padding: 0 0 0 5px;
}

/* COLUMN 3
--------------------------------------*/

.col-col3 {
	width: 100%;
	max-width: 534px;
	height: 775px;
	padding: 0 10px 0 0;
}

#gal6 {
	position: relative;
	width: 100%;
	max-width: 534px;
	height: 775px;
}

/* COLUMN 4
---------------------------------------*/

.col-col4 {
	width: 100%;
	max-width: 325px;
	height: 775px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#gal7 {
	position: relative;
	width: 100%;
	max-width: 325px;
	height: 251px;
}
#gal8 {
	position: relative;
	width: 100%;
	max-width: 325px;
	height: 294px;
}

#gal9 {
	position: relative;
	width: 100%;
	max-width: 325px;
	height: 210px;
}

/* GALLERY SLIDESHOW
---------------------------------------*/
#gal1 img,
#gal2 img,
#gal3 img,
#gal4 img,
#gal5 img,
#gal6 img,
#gal7 img,
#gal8 img,
#gal9 img {
	position: absolute;
	z-index: 1;
}

#gal1 img.active,
#gal2 img.active,
#gal3 img.active,
#gal4 img.active,
#gal5 img.active,
#gal6 img.active,
#gal7 img.active,
#gal8 img.active,
#gal9 img.active {
	z-index: 3;
}

/* EXPERIENCE SECTION
-----------------------------------------*/

.experience-section {
	padding: 100px 0 0;
}

.experience-section .container {
	max-width: 1500px;
}

.exp-row {
	width: 96%;
	max-width: 1080px;
	margin: 100px auto;
	height: 1px;
	background: #7d6c56;
	padding: 0 15px;
}

.exp-title,
.exp-b {
	width: 100%;
	max-width: 1264px;
	margin: 0 auto;
}

.exp-title h2 {
	color: #002969;
	margin-bottom: 70px;
}

.experience-section h3 {
	color: #575b6f;
	margin-bottom: 20px;
}

.exp-box {
	width: 100%;
	color: #161a1b;
	font-size: 16px;
	line-height: 28px;
	max-width: 277px;
	margin: 0 auto;
}

.exp2 {
	width: 100%;
	max-width: 270px;
	margin: 0 auto;
}

.exp3 {
	width: 100%;
	max-width: 342px;
	margin: 0 auto;
}

.exp-box p {
	max-width: 277px;
}

.exp-b {
	margin-top: 50px;
}
.exp-b img {
	margin-bottom: -2px;
	margin-left: 5px;
}
.exp-b a {
	text-transform: uppercase;
	color: #002969 !important;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	text-decoration: none;
}

.exp-box h3 {
	max-width: 264px;
}

/* CONTACT SECTION
--------------------------------------------*/

.contact-section {
	padding: 50px 0;
}

.contact-section .row {
	align-items: center;
}

.contact-section .container {
	max-width: 1600px;
}

.locations-box h2 {
	color: #002969;
	margin-bottom: 20px;
	font-size: 37px;
	line-height: 47px;
}

.locations-box {
	width: 100%;
	max-width: 626px;
	margin: 50px auto;
}

.locations-box p {
	font-size: 16px;
	line-height: 23px;
	max-width: 517px;
	margin-bottom: 30px;
}

.location {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid #b7a48b;
}

.lb-loc1 {
	border-top: 1px solid #b7a48b;
}

.offices {
	padding-right: 30px;
}

.offices a {
	color: #161a1b !important;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
}

.offices img {
	margin-bottom: -2px;
	margin-left: 20px;
}

.all-offices a {
	color: #575b6f !important;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	text-transform: uppercase;
}

.all-offices {
	margin-top: 20px;
}

.loc-cty h3 {
	font-weight: 800;
}

/* STARTED SECTION
----------------------------------*/

.started-section {
	background: #e5eaff;
	padding: 100px 0;
}

.started-section h5 {
	margin-bottom: 30px;
	color: #63509b;
}

.started-section a {
	width: 100%;
	max-width: 280px;
	text-align: center;

	margin: 5px 15px;
}

.s-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

/* INSTAGRAM SECTION
----------------------------------------*/

.instagram-section {
	padding: 100px 0;
}

.instagram-section .external-link {
	display: none;
}

.instagram-section .container {
	max-width: 1300px;
}

.instagram-section h5 {
	display: inline-block;
	margin-bottom: 40px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#4c45a1+0,9b43a0+26,cf2144+52,ee7b32+77,f8d527+100 */
	background: #4c45a1; /* Old browsers */
	background: -moz-linear-gradient(
		left,
		#4c45a1 0%,
		#9b43a0 26%,
		#cf2144 52%,
		#ee7b32 77%,
		#f8d527 100%
	); /* FF3.6-15 */
	background: -webkit-linear-gradient(
		left,
		#4c45a1 0%,
		#9b43a0 26%,
		#cf2144 52%,
		#ee7b32 77%,
		#f8d527 100%
	); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(
		to right,
		#4c45a1 0%,
		#9b43a0 26%,
		#cf2144 52%,
		#ee7b32 77%,
		#f8d527 100%
	); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c45a1', endColorstr='#f8d527',GradientType=1 ); /* IE6-9 */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.insta-pic img {
	height: 300px;
	object-fit: cover;
	width: 100%;
}

.insta-pic {
	padding: 0 5px;
}

/* RESPONSIVE 
-----------------------------------------------*/
@media (min-width: 2000px) {
	.rev-section {
		max-width: 1600px;
		margin: 0 auto;
		width: 100%;
	}
}

@media (min-width: 1026px) {
	.showcase-section h2 {
		font-size: 64px;
	}
}

@media (max-width: 1350px) {
	.dental-container h2 {
		font-size: 44px;
	}
	.dental-container p {
		font-size: 20px;
	}
}

@media (max-width: 1300px) {
	.collage-section {
		flex-wrap: wrap;
		justify-content: center;
	}

	.col-col1,
	.col-col2,
	.col-col3,
	.col-col4 {
		margin: 10px 0;
	}
	.experience-section {
		padding: 40px 15px 0;
	}
	.exp-row {
		margin: 50px auto 30px;
	}
	.rev-section {
		padding: 100px 0 0;
	}
}

@media (max-width: 1200px) {
	.rev-row {
		width: 100%;
		margin-left: 0;
	}
	.rt-box {
		margin: 0 auto;
		text-align: center;
	}
}

@media (max-width: 1040px) {
	.col-col1 {
		display: none;
	}
}

@media (max-width: 1025px) {
	.showcase-section {
		padding: 50px 0;
	}
	.started-section h5 {
		font-weight: 700;
		font-size: 45px;
		line-height: 120%;
	}
}

@media only screen and (max-width: 991px) {
	.rev-section {
		padding: 80px 10px;
	}
	.exp-title {
		width: 100%;
	}
	.exp-title h2 {
		margin-bottom: 30px;
		margin-top: 20px;
		text-align: center;
	}
	.experience-section {
		padding: 0 0;
		text-align: center;
	}
	.exp-box p {
		margin: 0 auto;
	}

	.exp-box {
		margin: 20px auto;
	}
	.exp-box h3 {
		margin: 0 auto;
	}

	.locations-box {
		margin: 30px auto 50px;
	}
}

@media (max-width: 868px) {
	.col-col3 {
		display: none;
	}
}

@media (max-width: 839px) {
    .service-box {
        width: clamp(127px, 29vw, 200px);
        height: 127px;
        margin: 15px;
    }
}

@media only screen and (max-width: 767px) {
	.rt-box {
		padding: 40px 0 20px;
	}

	.p-name {
		font-size: 18px;
	}
	.rev-stars {
		margin-top: -5px;
		max-width: 120px;
	}
	.contact-section {
		padding: 0;
	}
	.webp.loaded .dental-plan {
		background: url(/wp-content/themes/charlie-child/images/oral-care-bg-m.webp)
			no-repeat;
		background-size: cover;
	}
	.no-webp.loaded .dental-plan {
		background: url(/wp-content/themes/charlie-child/images/oral-care-bg-m.jpg)
			no-repeat;
		background-size: cover;
	}
	.dental-container {
		padding: 4em 1em;
	}
	.dental-container h2 {
		padding: 1.6em 0;
	}
	.dental-container p {
		font-size: 25px;
		line-height: 1.3;
	}
	.dental-container a.main-btn {
		padding: 0.8em;
		font-size: 18px;
		min-width: 250px;
	}
}

@media all and (max-width: 600px) {
	.col-col2 {
		display: none;
	}
	.collage-section {
		padding: 0 15px;
	}
}

@media (max-width: 550px) {
    .service-box {
        font-size: clamp(15px, 3vw, 18px);
    }
}

@media only screen and (max-width: 500px) {
	.started-section h5 {
		font-size: 11vw;
	}
	.offices {
		padding-right: 0;
	}
	.offices img {
		margin-left: 2px;
	}
	.loc-cty h3 {
		font-size: 16px;
	}
	.started-section a {
		margin: 5px 0;
		max-width: 214px;
		padding: 12px 24px;
		font-size: 12px;
	}
	.started-section {
		padding: 50px 0;
	}
}

@media (max-width: 480px) {
	.dental-container {
		padding: 3em 1em 1.5em;
	}
	.dental-container h2 {
		font-size: 40px;
		padding: 1.2em 0;
	}
	.dental-container p {
		font-size: 21px;
	}
}

@media (max-width: 440px) {
	.services-div {
	    padding: 0;
	}
	
	/*.service-box {*/
	/*    width: 300px;*/
	/*}*/
}

@media (max-width: 415px) {
	.bc-inner h1 {
	    font-size: 30px;
	}
}

@media (max-width: 375px) {
	.dental-container h2 {
		font-size: 32px;
		padding: 1em 0;
	}
	.dental-container p {
		font-size: 19px;
	}
}