/* Doctors page */

.page-id-1240 .sub-gutter,
.page-id-1243 .sub-gutter,
.page-id-1246 .sub-gutter{
	height: 0;
}


/* Team Page */
.doctors-section {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
	margin: 0 0 100px;
}

.doctor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
	width: 220px;
}

.page-id-127 .min-80{
	padding: 0 0;
}


.doctor-image img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
	object-position: top;
}

.doctor-info {
    text-align: center;
}

.doctor-info h3 {
    margin: 0;
	color: #533192;
text-align: center;
font-feature-settings: 'liga' off, 'clig' off;

/* Desktop/Heading 4 */
font-family: "Open Sans";
font-size: 23px;
font-style: normal;
font-weight: 700;
line-height: 138%; /* 31.74px */
text-transform: capitalize;
}

.doctor-info p {
    margin: 0;
	color: #464646;
text-align: center;
font-feature-settings: 'liga' off, 'clig' off;
font-family: "Open Sans";
font-size: 23px;
font-style: normal;
font-weight: 700;
line-height: 150%; /* 34.5px */
}


.gallery .pics {
	margin: 5px;
}
.blog #main article {
	clear: both;
}
.blog .alignleft img {
	max-width: 320px;
	height: auto;
}
.single .alignleft img {
	max-width: 450px;
}
.contact-page-info {
    margin-top: 50px;
}
@supports (object-fit: cover) {
	.gallery .pics img {
		width: 380px;
		height: 380px;
	}
}
.my-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.my-flex a {
    display: block;
    max-width: 45%;
    width: 100%;
    margin: 15px auto;
    text-align: center;
}
@media (max-width: 600px){
    .my-flex a{
        max-width: 250px;
    }
    .my-flex{
        flex-direction: column;
    }
}
.page-id-264 .number-crumb-container {
	display: block;
	text-align: center;
	position: absolute;
	bottom: -25px;
	z-index: 9;
	left: 0;
	right: 0;
}

.page-id-264 .number-crumb-container .option {
	display: inline-block;
	vertical-align: middle;
	width: 14px;
	height: 14px;
	background: #403a4b;
	margin: 0 5px;
	cursor: pointer;
}

.page-id-264 .galleryi {
	max-width: 460px;
	margin: 20px auto;
}

.galleryi .arrow {
	display: none;
}

.page-id-264 .number-crumb-container .option.selected {
	background: #533192;
}

.page-id-127 #main img.alignleft {
	margin-bottom: 20px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.video-wrapper {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100% !important;
    max-width: none;
    max-height: none;
}

/* INSURANCE ACCORDION
---------------------------------------------*/
.accordion-toggle {
	cursor: pointer;
}
.accordion-content {
display: none;
}

/* CSS for Rotating Arrows */
.rotate {
-moz-transition: all 0.3s linear;
-webkit-transition: all 0.3s linear;
transition: all 0.3s linear;
width: 18px;
float: left;
line-height: 30px;
margin-right: 30px;
}

.rotate.active {
-ms-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
animation-timing-function: linear;
}

/* Escondido page
---------------------------------------------*/
.page-id-277 .page-header,
.page-id-277 .main-wrap {
	display: none;
}
/* cta_welcome_1_css
---------------------------------------------------------- */
.cta_welcome_1 {
	text-align: center;
	padding: 100px 0;
	position: relative;
	z-index: 1;
	background-color: var(--white);
}

.cta_welcome_1 .container {
	display: flex;
	flex-direction: column;
	gap: 40px 0;
	width: min(100%, 1500px);
}

.cta_welcome_1 .welcome-top-title * {
	margin: 0;
}

.cta_welcome_1 .welcome-top-title h1 {
	font-family: 'Open Sans';
	color: #3B3545;
	font-size: clamp(20px, 2vw, 23px);
	font-weight: 700;
	text-transform: capitalize;
}

.cta_welcome_1 .welcome-top-title h2 {
	color: #533192;
	font-family: 'Open Sans';
	font-size: clamp(45px, 3.5vw, 64px);
	line-height: 120%;
	text-transform: capitalize;
}

.cta_welcome_1 p a,
.cta_welcome_1 .welcome p a:visited {
	color: var(--black);
	font-weight: bold;
}

.cta_welcome_1 .welcome-button a {
	margin: 0 auto;
}

.cta_welcome_1 .welcome-content p {
	margin: 0;
	color: #222;
	font-size: 18px;
	font-weight: 400;
	line-height: 36px;
}

/* meet_the_staff_2_css
---------------------------------------------------------- */
.meet_the_staff_2 {
	padding: 100px 25px;
	position: relative;
	z-index: 1;
	background-size: contain;
	background-repeat: no-repeat; 
	background-position: center;
}
.loaded .meet_the_staff_2 {
	background-image: url('../images/meetthedoctor.webp');
}

.meet_the_staff_2 .meet-staff-flex {
	width: min(100%, 1400px);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 25px;
	position: relative;
	z-index: 1;
}

.meet_the_staff_2 .meet-staff-right {
	width: min(48%, 724px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	text-align: left;
}

.meet_the_staff_2 .meet-staff-title * {
	color: var(--secondary-color);
}
.meet_the_staff_2 .meet-staff-title h2 {
	font-family: 'Open Sans';
	font-size: clamp(35px, 3vw, 45px);
	line-height: 120%;
	text-transform: capitalize;
	color: #533192;
}

.meet_the_staff_2 .meet-staff-right p {
	margin: 0;
}

.meet_the_staff_2 .meet-staff-aff .external-link {
	display: none;
}

.dentist-aff a,
.dentist-aff img {
	display: block;
}

.meet_the_staff_2 .meet-staff-right .main-btn {
	margin: 0;
}

.meet_the_staff_2 .meet-staff-left {
	display: flex;
	align-items: center;
	height: min(50vw, 479px);
	width: min(48%, 666px);
}
/* .loaded .meet_the_staff_2 .meet-staff-left {
	background-image: url('../images/meet-staff-two-photo.webp');
} */
div#docPicker {
	width: min(95%, 364px);
    height: min(84vw, 364px);
	display: inline-block;
}

#docPicker.doc1 {
	background: url('/wp-content/themes/charlie-child/images/freeman.png') center center no-repeat;
	background-size: cover;
}

#docPicker.doc2 {
	background: url('/wp-content/themes/charlie-child/images/gabin.png') center center no-repeat;
}

#docPicker.doc3 {
	background: url('/wp-content/themes/charlie-child/images/clark.png') center center no-repeat;
}

#docPicker.doc4 {
	background: url('/wp-content/themes/charlie-child/images/chen.png') center center no-repeat;
}

#docPicker.doc5 {
	background: url('/wp-content/themes/charlie-child/images/gibbins.png') center center no-repeat;
}

#docPicker.doc6 {
	background: url('/wp-content/themes/charlie-child/images/paul.png') center center no-repeat;
}

.doc-area {
	position: relative;
	width: min(100%, 385px);
	margin: 0 auto;
}

.doc-area img {
	position: absolute;
	z-index: 9;
	cursor: pointer;
}

img.doc1 {
	right: 1%;
	top: -7%;
}

img.doc2 {
	right: 30%;
	top: -20%;
}

img.doc3 {
	right: 60%;
	top: -15%;
}

img.doc4 {
	right: auto;
	top: 12%;
	left: -9%;
}

img.doc5 {
	right: auto;
	top: 43%;
	left: -15%;
}

img.doc6 {
	right: auto;
	top: 73%;
	left: 2%;
}

@media (max-width: 1025px) {
	.meet_the_staff_2 .meet-staff-flex {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: min(100%, 600px);
	}
	.meet_the_staff_2 .meet-staff-left {
		display: block;
		height: min(100vw, 468px);
		width: min(100%, 666px);
	}
	.meet_the_staff_2 .meet-staff-right {
		width: min(100%, 724px);
	}
	.meet_the_staff_2:before {
		width: 100%;
	}
	.meet_the_staff_2:before {
		transform: translateY(40%);
		width: 100%;
		height: min(55vw, 600px);
		right: 0;
		top: 0;
	}
}

@media only screen and (max-width: 991px) {
	.meet_the_staff_2 {
		padding: 50px 25px;
	}
}

@media (max-width: 767px) {
	.meet_the_staff_2:before {
		top: 8vw;
	}
	.meet_the_staff_2 .btn-wrap {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 15px;
	}
}
/* end meet_the_staff_2 */

/* custom fixed-bg */
.fixed {
	padding: 300px 0 50px;
}
.loaded .fixed {
	background: url(../images/fixed-bg.webp) center no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

/* gentle caring 
--------------------------------------------- */
.gentle-content {
    width: min(100%, 1200px);
    color: #222;
    font-size: 18px;
    font-weight: 400;
    margin: 20px auto 0;
}

.drRight {
	max-width: min(100%, 583px);
	margin-bottom: -7px;
}

.drLeft {
	max-width: 408px;
	margin-bottom: -7px;
}

.gentle-dentists {
	background: #ebebeb;
    padding: 50px 25px 0;
}

.gentle-dentists .row {
	align-items: center;
}

.gentle-dentists h2 {
	padding: 20px 0;
    font-size: clamp(32px, 2.4vw, 45px);
	font-family: 'Open Sans';
	font-weight: 700;
	line-height: 124%;
	text-transform: capitalize;
}
.gentle-dentists h3 {
    font-size: clamp(32px, 2.4vw, 45px);
	font-family: 'Open Sans';
	font-weight: 700;
	line-height: 124%;
	text-transform: capitalize;
}

.bdr a {
	border: 2px solid #604498;
	padding: 0px 10px;
}

.gentle-mobile {
	display: none;
	background: #ebebeb;
}

.rotating-gallery-mobile {
	max-width: 465px;
	background: #ebebeb;
	margin: 0 auto;
}

.img-shadow {
	box-shadow: 1px 1px 6px 4px #000;
}

.arrow,
.number-crumb-container {
	display: none;
}

.rotating-gallery .slide-container {
	padding-bottom: 0;
}

/* custom-section
------------------------------------- */
.custom-section {
	padding: 50px 25px;
  }
  .custom-section .container {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  align-items: center;
	  gap: 50px;
	  padding: 0px;
  }
  .custom-section .custom-title h2 {
	  color: #4F306C;
	  font-size: clamp(32px, 2.5vw, 45px);
	  font-weight: 700;
	  text-transform: capitalize;
  }
  .custom-section .custom-content p {
	  color: #222;
	  font-size: 18px;
	  font-weight: 400;
	  text-align: center;
	  line-height: 36px;
  }
  .custom-section .custom-circles {
	  display: flex; 
	  flex-direction: row;
	  justify-content: space-evenly;
	  align-items: center;
	  gap: 40px;
  }
  .custom-section .custom-circles .circle {
	  width: min(100%, 192px);
	  height: min(100vw, 192px);
	  border: 3px solid #4F306C;
	  border-radius: 50%;
	  background-color: #8D76B6;
	  display: flex;
	  justify-content: center;
	  align-items: center;
  }
  .custom-section .circle .circle-link {
	  color: #fff;
	  font-size: clamp(18px, 2vw, 23px);
	  font-weight: 700;
	  text-transform: capitalize;
	  text-align: center;
	  text-decoration: none;
	  cursor: pointer;
  }
  .custom-section .btn-wrap a.main-btn {
	  background-color: #8d76b6;
	  color: #fff;
  }
  .custom-section .btn-wrap a.main-btn:hover {
	  background-color: #4f306c;
  }
  /* responsive */
  @media (max-width: 1025px) {
	  .custom-section .custom-circles {
		  flex-wrap: wrap;
	  }
  }
  @media (max-width: 705px) {
	.custom-section .custom-circles {
		order: 3;
	}
	.custom-section .custom-content {
		order: 2;
	}
	.custom-section .btn-wrap {
		order: 4;
	}
  }
  /* end of custom-section */

/* meet_the_staff_4_css
---------------------------------------------------------- */
.meet_the_staff_4 {
	padding: 100px 25px;
	position: relative;
	z-index: 1;
	background-color: #3B3545;
  }
  .meet_the_staff_4 .top-title {
	  text-align: center;
	  padding-bottom: 30px;
  }
  .meet_the_staff_4 .meet-staff-flex {
	width: min(100%, 1400px);
	margin: 0 auto;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
	gap: 25px;
  }
  .meet_the_staff_4 .meet-staff-right {
	width: min(100%, 632px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	text-align: left;
  }
  .meet_the_staff_4 .top-title h2 {
	  font-size: clamp(30px, 3vw, 45px);
	  font-weight: 700;
	  text-transform: capitalize;
	  color: #fff;
  }
  .meet_the_staff_4 .meet-staff-title * {
	color: var(--secondary-color);
  }
  .meet_the_staff_4 .meet-staff-title h3 {
	font-size: clamp(25px, 2vw, 32px);
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
  }
  .meet_the_staff_4 ul {
	  list-style-image: url('../images/purple-check.webp');
  }
  .meet_the_staff_4 li {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
  }
  .meet_the_staff_4 ul strong {
	  color: #fff;
	  font-size: 23px;
	  font-weight: 700;
  }
  .meet_the_staff_4 .meet-staff-right p {
	margin: 0;
	color: #fff;
	line-height: 36px;
	font-weight: 400;
  }
  .meet_the_staff_4 .meet-staff-aff .external-link {
	display: none;
  }
  .dentist-aff a,
  .dentist-aff img {
	display: block;
  }
  .meet_the_staff_4 .meet-staff-right .main-btn {
	margin: 0;
  }
  .meet_the_staff_4 .meet-staff-left {
	display: block;
	height: min(50vw, 669px);
	width: min(100%, 669px);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	border-radius: 100%;
  }
  .loaded .meet_the_staff_4 .meet-staff-left {
	background-image: url('../images/escondido-implants.webp');
  }
  @media only screen and (max-width: 1025px) {
	.meet_the_staff_4 .meet-staff-flex {
	  flex-wrap: wrap;
	  justify-content: center;
	}
	.meet_the_staff_4 .meet-staff-box {
	  margin: 0 auto;
	}
	.meet_the_staff_4 .meet-staff-left {
	  height: min(92vw, 669px);
	}
	.meet_the_staff_4 {
	  padding: 50px 25px;
	}
  }

  /* cta_custom
-------------------------------------*/
.cta_custom {
    padding: 50px 25px;
    position: relative;
    z-index: 1;
    background-color: #EBEBEB;
}
.cta_custom .container {
    max-width: min(100%, 1700px);
}
.cta_custom .custom-flex {
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
}
.cta_custom .custom-title h2 {
    font-size: clamp(32px, 2.5vw, 45px);
    font-weight: 700;
    text-transform: capitalize;
    color: #533192;
}
.cta_custom .custom-left {
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    width: min(100%, 700px);
}
.cta_custom .custom-content p {
    color: #222;
    font-size: 18px;
    font-weight: 400;
}
.cta_custom .custom-right {
    width: min(100%, 941px);
    height: min(38vw, 665px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(50px);
}
.loaded .cta_custom .custom-right {
background-image: url('../images/escondido-candidate.webp');
}
/* responsive */
@media (max-width: 1465px) {
    .cta_custom .custom-right {
        position: absolute;
        right: -50px;
        transform: translate(90px, 50px);
        bottom: 0;
        height: min(40vw, 557px);
        background-size: contain;
    }
}

@media (max-width: 1200px) {
    .cta_custom .custom-flex {
        flex-direction: column;
        gap: 50px;
    }
    .cta_custom .custom-right {
        position: relative;
        right: 50%;
        transform: translateX(50%);
        bottom: -50px;
        height: min(46vw, 413px);
        width: 100%;
    }
}

@media (max-width: 600px) {
    .cta_custom {
        padding: 40px 15px;
    }
    .cta_custom .custom-right {
        height: min(62vw, 450px);
        width: min(100%, 500px);
        background-size: cover;
        bottom: -40px;
    }
}

/* end of cta_custom */

/* fixed2
-------------------------------------*/
.fixed2 {
	padding: 300px 0 50px;
}
.loaded .fixed2 {
	background: url(/wp-content/themes/charlie-child/images/fixed-bg2.webp) center no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

/* responsive */

/* end of fixed2 */

/* Reviews */
.reviews-area {
	padding: 150px 0 100px;
}

.loaded .reviews-area {
	background: url(/wp-content/themes/charlie-child/images/escondido-reviews.webp) center center no-repeat;
	background-size: cover;
}


.reviews-area .container {
	max-width: 1340px;
}

.rotating-gallery {
	display: inline-block;
	top: 80px;
	margin: 0 auto;
	max-width: 413px;
	background: #fff;
}

.review-box {
	max-width: 700px;
	text-align: center;
	float: right;
}

.review-box h2 {
	margin-bottom: 40px;
	color: #4F306C;
	font-size: clamp(32px, 2.5vw, 45px);
	font-weight: 700;
	text-transform: capitalize;
}

.reviews-section {
	color: #222;
	font-size: 26px;
	line-height: 36px;
	font-style: italic;
}

#reviews {
	min-height: 330px;
}

p.patient-name {
	margin: 20px 0 0;
	font-weight: 600;
	font-style: normal;
}

.rev-wrap {
	min-height: 420px;
}

.patient-name {
	color: #222 !important;
	font-style: normal;
	letter-spacing: normal;
	text-transform: none;
}

.rev-wrap .number-crumb-container,
.rev-wrap .arrow {
	display: none;
}

#reviews,
#gallery,
#gallery1 {
	position: relative;
	overflow: hidden;
	height: 100%;
	width: 100%;
}

#reviews .splash_container,
#gallery .splash_container,
#gallery1 .splash_container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	height: 100%;
	width: 100%;
}
/* responsive */ 
@media (max-width: 780px) {
	.reviews-area {
		padding: 50px 0 0px;
	}
	.loaded .reviews-area {
		background: linear-gradient(90deg, #f0f4f7 , #e6e9f0 50%, #edf1f3);
	}
	.loaded .reviews-area .review-img-mobile {
		background: url(../images/review-bg-m.webp) center no-repeat;
		background-size: cover;
	}
	.reviews-area .review-img-mobile {
		width: 100%;
		min-height: min(100vw, 515px);
	}
}
/* end of reviews section */

/* connect section */
/* Connect */
.connect-section {
	background: #ebebeb;
	padding: 20px 0;
}

.connect-section h2 {
	margin-bottom: 30px;
}

.connect-section svg path {
    fill: #4F306C;
}

.social.hidden-sm-down.clearfix {
	margin: 0 auto;
	display: inline-block;
}

.social ul li {
	margin: 0 15px;
}

/* RESPONSIVE 
-----------------------------------------------*/
@media (min-width: 1200px) and (max-width: 1400px) {
}

@media only screen and (min-width: 980px) {
} 

@media (max-width: 1025px) {
}

@media only screen and (max-width: 979px) {
}

@media only screen and (max-width: 767px) {
} 

@media all and (max-width: 600px) {
}

@media only screen and (max-width: 480px) {
	.gallery .pics {
		margin: 0 0 10px;
	}
	
	@supports (object-fit: cover) {
		.gallery .pics img {
			width: 300px;
			height: 300px;
		}
	}
}