/*
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: #a1b791;
    padding: 10px 15px;
    border: 3px solid #1d3f1e;
    text-transform: uppercase;
    /* border-radius: 10px; */
    -moz-border-radius: 10px;
    box-shadow: 1px 1px 1px #000;
    -moz-box-shadow: 1px 1px 1px #000;
}
.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; }
#secondary-navigation a {
    padding: 10px 25px;
}
/* header */
.main-header { background: #fff; }
#header { background: #a2b493; }
.topBar { width: 100%; height: 40px; background: #1E4223; text-align: center; }
.topBar p, .topBar p a { color: #fff; font-size: 18px;     font-family: 'Alegreya Sans SC';}
.topBar .header-social-icons { display: inline-block; float: none; position: static; margin-top: 3px; }
#logo img {
    float: left;
    width: 300px;
}
.innerImage {
	height: 350px;
	background-size: cover;
	background-position: 50% 50%;
	position: relative;
}
.logo-wrap, .headerPhone, .headerInfo { float: left; width: 50%; padding: 1%; }
.logo-wrap { margin: 0px 0 0 0; padding-top:0px; padding-bottom:0px;}

.headerInfo { width: 46%; text-align: right; margin-top: 35px;     font-family: 'Alegreya Sans SC';}
.headerInfo p { margin-bottom: 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;
	margin-top: 0px;
	height: 350px;
	text-align: center;
	margin-top: -360px;
	z-index: 5000;
}
.homeBox {
	position: relative;
	float: left;
	width: 21%;
	padding: 2%;
	overflow: hidden;
	height: 300px;
}
.homeBox img{
	width: 100%;
	vertical-align: middle;
}
.homeBox h3{
    position: absolute;
    bottom: -12px;
    padding: 10px 0;
    z-index: 6000;
    text-align: center;
    color: #fff;
    width: 84%;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,351c01+100&0+0,0.65+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(53,28,1,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(53,28,1,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(53,28,1,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6351c01',GradientType=0 ); /* IE6-9 */
}


.welcome { margin-top: 20px; }
.welcome h1 { text-align: center; }

.contactBox { padding-top: 40px; border-top: 1px solid #ccc; height:320px; background:url(/wp-content/uploads/2018/02/footer1_70opacity.jpg); color:#000;}
.contactBox h2{color:#000;}
.contactText { float: left; width: 45%; padding-right: 5%; }
.contactMap { float: left; width: 50%; }
.contactBox a { color: #000 !important; }

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

/* footer */
footer{background:transparent!important; margin-top:0px;}
.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; }
.social-profile-icons .social-yelp a {
    background: #BD2525;
}
#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;}

/* mobile */
@media screen and (max-width:1100px) {
	.homeBox {
		height: 245px;
	}
}
@media screen and (max-width: 880px) {
	.innerImage {
		height: 200px;
	}
	.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: #1e401f; 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, .contactMap { width: 100%; }
	.homeBoxes, .banner, .banner { 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: 24px 18px; }
}

.col-md-6 {
	width:calc(50% - 24px);
}



section.testimonials-home {
    padding: 50px 0px;
}