/*
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");
/*Landing Page Styling*/
body.page-id-231 .sidebar{display:none;}
body.page-id-231 .content{width:100%!important; padding:0 10px!important;}
body #gform_wrapper_3 .gform_body .gform_fields .gfield .gfield_required{ display:none;}
body #gform_wrapper_3 ul li.gfield{    margin-top: 1px;}
body #gform_wrapper_3 .top_label .gfield_label{color:#fff;}
.rightform{
	background:#ED7D2C!important;
	padding:5px 10px;
	
}
body.page-id-465 #site-header { display: none; }
body.page-id-465 a.btn { display: none; }
body.page-id-465 .header-social-icons { display: none; }
.rightform h4{color:#fff; font-size: 22px; text-align:center;}
/*end styling*/
/* general */
.innerBanner img{width:100%;}
.btn {
	color: #fff !important;
	background: #0a3e71;
	padding: 5px 10px;
	text-transform: uppercase;
	border-radius: 5px;
	-moz-border-radius: 5px;
}
.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: #f7e6ad; }
#header { background: #ee7e28; margin-top: 48px; }
.topBar { width: 100%; height: 40px; background: #5f8ab4; text-align: center; padding-top: 8px; position: fixed; z-index: 4000;  }
p.btn { display: inline-block; }
p.btn a { color: #fff !important; }
.header-social-icons { display: inline-block; float: none; position: static; }

.logo-wrap { margin: 10px 0 0 0; }

div.header-social-icons { background: none; border: 0px; float: none; margin-left: 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; float: none; display: inline-block; }
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;
	text-align: center;
	z-index: 5000;
	padding: 0 10%;
	box-sizing: border-box;
	margin-top: -150px;
}
.homeBox {
	position: relative;
	float: left;
	width: 20%;
	padding: 1%;
	box-sizing: border-box;
}
.homeBox img{
	width: 90%;
	vertical-align: middle;
	border-radius: 50%; 
	-moz-border-radius: 50%;
	border: 10px solid #fff;
}
.homeBox h3{
	z-index: 6000;
	text-align: center;
	color: #0a3e71;
}
@media screen and (max-width: 1400px) {
	.homeBoxes { padding: 0 2%; }
	.homeBoxes h3 { font-size: 20px; }
}


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

.contactBox { padding: 30px 0; border-top: 1px solid #ccc; }
.contactText { float: left; width: 50%; padding-right: 2%; box-sizing: border-box; border-right: 1px solid #333;}
.contactMap { float: left; width: 50%; box-sizing: border-box; padding-left: 2%;  border-left: 1px solid #333;}
.contactBox a { color: #fff !important;  }

/* inner pages */
#page.single { float: left; }
#page.homepage { padding-top: 40px; }
.article { background: none;  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: 10px 0; }
.footerWidgets p { margin: 0px;  }

.widgetBox { float: left; width: 31%; padding: 1%; }

.hide-d { display: none; }

#logo a { float: none !important; }


/*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;}

#secondary-navigation a { padding: 15px 15px; }

.banner { height: 600px; float: none; width: 100%;}
.innerBanner { height: 300px; float: left; width: 100%;}
.banner .btn, .innerBanner .btn { padding: 12px 30px; font-size: 20px; margin: 30px 0 0 110px; background: rgba(0,35,70,0.5);}
/* mobile */
@media screen and (max-width: 880px) {
	.hide-d { display: block; }
	#header { background: none; padding: 0px 0 0px 0px; margin-bottom: 0px; margin-top: 0px; }
	.mobileBtn { margin-bottom: 0px; }
	.mobileBtn a, .hours{ display: block; color: #fff; text-align: center; background: #0a3e71; padding: 10px; border-radius: 5px; -moz-border-radius: 5px; margin: 10px !important;}
	.topBar { display: none; }
	.banner .btn, .innerBanner .btn { background: #0a3e71; font-size: 18px; margin: 0px; }
	.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: 100%; padding: 2%; box-sizing: border-box; }
	.contactText, .contactMap { width: 100%; box-sizing: border-box; border: 0px; }
	.banner { background: none !important; height: auto; text-align: center; }
	.welcome, .footerSocial, div.footer .copy { width: 100%; height: auto; box-sizing: border-box;}
	.homeBoxes { margin-top: 0px; }
	.homeBox { width: 50%; }
	#page.homepage { padding-top: 0px; }
	.welcome {margin: 20px auto;}
	.footerWidgets .btn { display: none; }
	.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 (max-width: 540px) {
	.homeBox {
		width: 100%;
	}
}

@media screen and (min-width: 769px) and (max-width: 1150px) {
	#secondary-navigation a { font-size: 13px !important; padding: 15px 13px; }
	p.btn { font-size: 13px !important; }
}