/*
Theme Name: Schema Child
Version: 1.0
Description: A child theme of Schema by MyThemeShop
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

/* general */
.innerBanner img{width:100%;}
.btn {
	color: #fff !important;
	background: #5f4b35;
	padding: 10px 15px;
	text-transform: uppercase;
	border-radius: 10px;
	-moz-border-radius: 10px;
}
.alignleft {
	float: left;
	margin: 0px 20px 20px 0px;
	border: 2px solid #ececec;
	margin-bottom:20px;
	-webkit-box-shadow: 0 8px 6px -6px black;
	-moz-box-shadow: 0 8px 6px -6px black;
	box-shadow: 0 8px 6px -6px black;
}
.alignright {
	float: right;
	margin: 0px 0px 20px 20px;
	border: 2px solid #ececec;
	margin-bottom:20px;
	-webkit-box-shadow: 0 8px 6px -6px black;
	-moz-box-shadow: 0 8px 6px -6px black;
	box-shadow: 0 8px 6px -6px black;
}
.alignnone {
	border: 2px solid #ececec;
	margin-bottom:20px;
	-webkit-box-shadow: 0 8px 6px -6px black;
	-moz-box-shadow: 0 8px 6px -6px black;
	box-shadow: 0 8px 6px -6px black;
}
.center { text-align: Center; }
.clear { clear: both; }

/* header */
.main-header { background: #e3dfd7; }
#header { background: #215911; }
.topBar { width: 100%; height: 40px; background: #5f4b35; text-align: center; }
.topBar p, .topBar p a { color: #fff; font-size: 18px; }
.topBar .header-social-icons { display: inline-block; float: none; position: static; margin-top: 3px; }

.logo-wrap, .headerPhone, .headerInfo { float: left; width: 50%; padding: 1%; }
.logo-wrap { margin: 0; }
.logo-wrap img { width: 500px; }

.newCon { height: 450px; background-position: center center; background-size: cover; }

.headerInfo { width: 46%; text-align: right; margin-top: 10px; }
.headerInfo p { margin-bottom: 5px; }
.headerInfo a.btn { 
	min-width: 190px;
    display: inline-block;
    text-align: center;
    float: left;
    margin-top: 5px;
    margin-left: 5px;
} 
.phoned { font-size: 28px; margin-bottom: 20px; display: inline-block; vertical-align: middle !important; }

div.header-social-icons { background: none; border: 0px; }
div.header-social-icons a { background: #fff; border-radius: 50%; padding: 6px; width: 20px; text-align: center; line-height: 20px; margin: 0px 5px; font-size: 18px;}
div.header-social-icons::before { border: 0px; }

#primary-navigation .header-social-icons a, .header-social-icons a { padding: 0px 10px; }

.primary-slider-container { max-width: 100%; float: none; width: 100%; height: 450px; overflow: hidden; margin: 0px; }
.primary-slider { height: 450px !important; }
.primary-slider-container img { float: none; width: 100%; height: 450px; }
.primary-slider-container .slide-caption { width: 94%; padding: 2% 3%; top: 37%; left: 0px; max-height: 50px; }
.slide-title { font-size: 32px !important; line-height: 34px; }
.owl-carousel .owl-item img { max-width: 100% !important; }
.primary-slider .owl-dots { bottom: 8%; top: inherit; right: 16%; }


#page { padding-top: 0px; width: 100%; max-width: 100%; }

/* home boxes */
.homeBoxes {
	margin: 0px auto;
	height: 300px;
	text-align: center;
	margin-top: -300px;
	z-index: 5000;
}
.homeBox {
	position: relative;
	float: left;
	width: 21%;
	margin: 3% 2%;
	overflow: hidden;
	box-sizing: border-box;
}
.homeBox img{
	width: 100%;
	vertical-align: middle;
}
.homeBox h3{
	position: absolute;
	bottom: 0px;
	margin-bottom: 0px;
	padding-bottom: 10px;
	z-index: 6000;
	text-align: center;
	color: #fff;
	width: 100%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


.welcome { margin-top: 20px; }
.welcome .container, .contactBox .container { background: rgba(255,255,255,0.8); padding: 20px; box-sizing: border-box; }
.welcome h1 { text-align: center; }

.contactBox { padding-top: 0px;  }
.contactText { float: left; width: 45%; padding-right: 5%; }
.contactMap { float: left; width: 50%; }

/* inner pages */
#page.single { float: left; }
.article { background: rgba(255,255,255,0.8);  margin: 0 auto; float: none; }
.page h1.title { margin-bottom: 20px; }

/* footer */
.copyrights { text-align: center; }
#copyright-note span { display: none; }
.to-top { float: none; }
#copyright-note .to-top span{ display: inline-block; font-size: 16px; line-height: 24px; }
#copyright-note .to-top a { color: #000 !important; }

.footerWidgets { padding: 30px; }
.footerWidgets .container { background: rgba(255,255,255,0.7); }
.widgetBox { float: left; width: 31%; padding: 1%; }

.hide-d { display: none; }

#logo a { float: none !important; }
.banner img{width:100%;}

/*Blog*/
.post-info{display:none;}
#featured-thumbnail {

max-width: 30%;
display: block;
position: relative;
overflow: hidden;
clear: both;
margin-bottom: 15px;
float: right;
}


.front-view-content {

float: left;
width: 69%;
}
body#blog #content_box{width:100%;}
body#blog #sidebar{display:none;}

#D3cpWidget { width: 100% !important; }
.d3cp_feature_wrap, .d3cp_review_main { width: 97% !important; }

/* mobile */
@media screen and (max-width: 880px) {
	.hide-d { display: block; }
	#header { background: none; padding: 0px 0 0px 0px; margin-bottom: 0px; }
	.mobileBtn { margin-bottom: 0px; }
	.mobileBtn a, .hours{ display: block; color: #fff; text-align: center; background: #215911; padding: 10px; border-radius: 10px; -moz-border-radius: 10px; margin: 10px !important;}
	.mobileBtn.phoneBtn { font-size: 20px; }
	.mobileBtn a:hover, .mobileBtn a:visited { color: #fff; }
	.primary-slider-container, .hide-xs { display: none; }
	.container, .welcome .container, .widgetBox { width: 96%; padding: 2%; }
	.contactText { width: 100%; }
	.homeBoxes, .banner, .banner, .contactMap { display: none; }
	.welcome, .footerSocial, div.footer .copy { width: 100%; height: auto;}
	
	.welcome {margin: 20px auto;}
	
	.post-content img { width: 100% !important; height: auto !important; }
	.footer-widgets.widgets-num-4 .f-widget:nth-child(even), .footer-widgets.widgets-num-3 .f-widget:nth-child(even),
	.footer-widgets.widgets-num-4 .f-widget, .footer-widgets.widgets-num-3 .f-widget	{ width: 100% !important; max-width: 100% !important; }
	
	div.header-social-icons { float: none !important; text-align: center; background:none!important;}
	div.header-social-icons a { float: none; display: inline-block; position: relative; z-index: 9999; }
	.header-social-icons {  text-align: Center; float: none !important; }
	.header-social-icons a {  display: inline-block; font-size: 32px !important; width: 34px !important; line-height: 34px; color: #333 !important; }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	#secondary-navigation a { font-size: 14px !important; padding: 20px 18px; }
}
div#popmake-443 div#pum_popup_title_443 {
    display: none;
}
 .reviewMenuButton a{position:relative}.reviewMenuButton a:after{content:"";display:block;position:absolute;bottom:0;left:0;right:0;height:15px;margin:0 auto;background:url(/wp-content/uploads/2018/08/reviews.png) bottom center no-repeat;background-size:contain!important}@media screen and (max-width:880px){.reviewMenuButton{background:0 0!important}}