/*
Theme Name:   Charlie Child
Author:       DentalQore
Author URI: https://dentalqore.com/
Template:     charlie
Description:  Child theme for DentalQore Website Platform - can be edited 
Version: 2.0
*/
@import url('css/footer.css');

article a, .main-wrap a:visited {
	color: #8d76b6;
}

.contentarea strong,
.contentarea b {
	font-weight: 700;
	color: #464646;
}

img {
	max-width: 100%;
}

p {
	margin: 0 0 15px;
}

/* MAIN
------------------------------------- */
.row.contentsection {
	padding: 30px 0;
}

.page-header {
	margin: 5px 0;
	padding: 0;
	border: 0;
}

.main-dropdown-container {
    background-color: #fff;
    position: fixed;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 12 !important;
    display: flex;
    flex-direction: column;
    opacity: 0;
    overflow: hidden;
}

#search-bar {
    width: 558px;
}
#bottomFormCaptcha {
    margin: 10px auto;
}

/* BOTTOM
------------------------------------- */

/* Maps */
.map-address {
	background: #fff;
	padding: 5px 0;
}

.map-address h3 {
	color: #474747 !important;
}

.map-address p {
	color: #604498;
	margin: 14px 5px;
}
.locations-section {
	position: relative;
	background: #332e3b;
	background: -moz-linear-gradient(left, #332e3b 0%, #433c4f 35%, #433c4f 65%, #332e3b 100%);
	background: -webkit-linear-gradient(left, #332e3b 0%, #433c4f 35%, #433c4f 65%, #332e3b 100%);
	background: linear-gradient(to right, #332e3b 0%, #433c4f 35%, #433c4f 65%, #332e3b 100%);
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#332e3b', endColorstr='#332e3b', GradientType=1 );
	padding: 10px 0;
}

.locations-section h2 {
	color: #ffffff;
	font-weight: 400;
	font-size: 32px;
	line-height: 35px;
	padding: 10px 0 20px;
	text-align: center;
}

img.bottom-logo {
	position: absolute;
	left: 50%;
	/*top: 165px;*/
	top: 300px;
	/*margin-left: -96px;*/
	margin-left: -65px;
	z-index: 20;
	/*width: 190px;*/
	width: 130px;
}

.map-area1,
.map-area2 {
	max-height: 390px;
	position: relative;
	overflow: hidden;
	display: inline-block;
	vertical-align: top;
	width: 49.8%;
	z-index: 5;
}

/*.map-area2, .map-area3 {
	float: right;
}*/

.map-area1 span,
.map-area2 span
 {
	color: #464646;
	text-align: left;
	display: block;
	font-size: 22px;
	font-weight: 600;
	padding-left: 15px;
	padding-top: 25px;
}

.map-overlay1 {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 4;
	cursor: pointer;
}

.loaded .map-overlay1 {
	background: url(/wp-content/themes/charlie-child/images/map-overlay-escondido.webp) center center no-repeat;
	background-size: cover;
}



.map-overlay2 {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 4;
	cursor: pointer;
}

.loaded .map-overlay2 {
	background: url(/wp-content/themes/charlie-child/images/map-overlay-miramesa.webp) top center no-repeat;
	background-size: cover;
}

.map-address {
	display: none;
}




/* Mobile Search
---------------------------------------------------------- */

#mob-search {
	display: none;
}

@media(max-width:1300px){
     .map-area1, .map-area2 {
        width: 49%;
    }
}

@media (max-width: 1035px) {
    .map-area1, .map-area2 {
        width: 49%;
    }
}
@media (max-width: 1025px) {
	#mob-search {
		display: block;
		text-align: center;
		position: relative;
		padding: 10px;
		
	}
	
	#mob-search #s {
		width: unset;
	}
	
	#mob-search #searchsubmit {
		background-color: #533192;
		color: white;
		border-color: #533192;
		border-radius: 3px;
		padding: 8px;
	}
	
	#mob-search form input[type="submit"] {
		display: inline-block;
		margin: 5px 0;
	}
}

/* Sub page gutter
---------------------------------------------------------- */
.sub-gutter {
	height: 130px;
}

@media (max-width: 1100px) and (min-width: 768px) {
	.sub-gutter {
		height: 60px;
	}
}

@media (max-width: 767px) {
	.sub-gutter {
		display: none;
	}
}

/* RESPONSIVE
---------------------------------------------------------- */
@media only screen and (min-width: 980px) {

		
	.container {
		max-width: 1240px;
		margin: 0 auto;
		padding: 0 20px;
	}
}

@media (max-width: 1025px) {

	#main {
		min-height: 0 !important;
	}

	.modal {
		position: fixed !important;
	}

	/*@supports (-webkit-overflow-scrolling: touch) {
			.modal {
				position: absolute !important;
			}

			html, body {
				overflow: hidden;
				height: 100%;
			}
		} */

	.container {
		width: 100%;
	}

	.locations-section h2 {
		font-size: 28px;
	}
}

@media all and (min-width: 768px) {

	.hidden-md-up {
		display: none !important;
	}
}

@media (max-width: 767px) {

#wrapper > *:not(style) {
	display: block;
}

#wrapper {
	display: block;
	height: auto;
}

.modal footer.button-container {
	bottom: 41px;
}

img.bottom-logo {
	/*top: 185px;*/
	top: auto;
	bottom: 30px;
}

footer .col-md-6.text-right {
	text-align: left;
}

.social ul li {
	margin: 0 2px;
}
}
@media only screen and (min-width: 601px) {
	.map-address {
		display: none;
	}
}

@media (max-width:600px) {

	.location-holder {
		display: flex;
		justify-content: space-around;
	}
	img.bottom-logo {
		display: none;
	}

	.map-area1,
	.map-area2 {
		float: none;
		width: 48%;
		height: min(46vw, 390px);
	}

	.map-area1 span,
	.map-area2 span {
		float: none;
		text-align: center;
		font-size: 18px;
	}

	.mobile-icons .mobile-icon {
		margin: 0 14px;
	}
}


