/*
Theme Name: Truffles 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");
html button.aicon_link {
    background-color: #002c60!important;
}
/* general */
.btn {
	color: #fff !important;
	background: #424242;
	padding: 10px 15px;
	text-transform: uppercase;

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

/* header */
.main-header { background: #fff; }
#header { background: #424242; border-top:2px solid #000; border-bottom:2px solid #000;}
.logo-wrap, .headerPhone, .headerInfo { float: left; width: 31%; padding: 1%; }
.logo-wrap { margin: 0px 0 0 0; }
.headerInfo { width: 32%; text-align: right; margin-top: 0px; }
.headerInfo p { margin-bottom: 5px; }
.headerPhone { text-align: center; margin-top: 0px; }
.headerPhone a { color: #000 !important; }
.phoned { font-size: 28px; margin-bottom: 10px;}
div.header-social-icons { background: none; border: 0px; }
div.header-social-icons a { background: #fff; border-radius: 50%; padding: 10px; width: 30px; text-align: center; line-height: 30px; margin: 0px 5px; font-size: 26px;}
div.header-social-icons::before { border: 0px; }
#primary-navigation .header-social-icons a, .header-social-icons a { padding: 0px 10px; }
.newCon { height: 600px; background-position: center center; background-size: cover; }
.primary-slider-container { max-width: 100%; float: none; width: 100%; height: 600px; overflow: hidden; margin: 0px; }
.primary-slider { height: 600px !important; }
.primary-slider-container img { float: none; width: 100%; height: 600px; }
.primary-slider-container .slide-caption { width: 94%; padding: 2% 3%; bottom: 0%; left: 0px; max-height: 50px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,08254e+100&0+0,0.65+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(8,37,78,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(8,37,78,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(8,37,78,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a608254e',GradientType=0 ); /* IE6-9 */
 }
.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%; }
.welcome{margin-top:20px;}
.welcome .container{background:#fff; padding:20px;}
.welcome h1{text-align:center;}

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

/* home boxes */
.homeBoxes {
	margin: 0px auto;
	margin-top: 0px;
	/*height: 240px;*/
	text-align: left;
	padding: 25px 0px;
	border-top: 20px solid #424242;
}
.homeBoxes h3{
	color: #000;
	font-size: 32px;
	margin-top: 0px;
	text-align: center;
}
.homeBoxes p{
	color: #000 !important;
	font-size: 14px !important;
}
.homeBoxes .box01,
.homeBoxes .box02,
.homeBoxes .box03 {
	float: left;
	/*height: 200px;*/
	width: 31%;
	position: relative;
	padding: 1%;
}
.homeBoxes .box02{
	width: 32%;
}

/* home widgets */
.homeWidgets {
	margin: 30px auto;
	text-align: left;
}
.widgetBox {
    padding: 15px;
    box-sizing: border-box;
    width: -webkit-calc(33.33% - 20px);
    width: calc(33.33% - 20px);
    margin: 0px 10px 20px;
    float: left;
    border-radius: 5px;
    background-color: #002a5d;
    min-height: 480px;
    color: #fff;
}
.widgetBox h2, .widgetBox h3 { text-align: center;  color: #fff;}
.widgetBox a{ color: #fff;}
.widgetBox.noMargin {
	margin-right: 0px;
}
.widgetBox img { width: 100%; height: 220px!important;}

.textwidget p {
	font-size: 16px;
	line-height: 20px;
}



/* inner pages */
.page-template-default .homeBoxes .container {
	position: unset;
}
#page.single { float: left; }
.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; }

.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;}
.row {
	margin:0px -10px;
}
/* mobile */
@media screen and (max-width: 880px) {
	.homeBoxes {
		border-top: 0;
	}
	.widgetBox img{height:auto!important;}
	.row {
		margin: 0px;
	}
	.hide-d { display: block; }
	#header { background: none; padding: 0px 0 20px 0px; margin-bottom: 0px;    border: none; }
	.mobileBtn { margin-bottom: 0px; }
	.mobileBtn a, .hours{ display: block; color: #fff; text-align: center; background: #424242; 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%; }
	.widgetBox {
		margin:0px auto 20px;
	}
	.innerImage { display: none; }
	.homeBoxes, .homeWidgets, .welcome, .footerSocial, div.footer .copy { width: 100%; height: auto;}
	.box01, .box02, .box03 { width: 96%; float: none; margin-bottom: 20px; padding: 2%;}
	.welcome {margin: 20px auto;}
	.homeBoxes .box01, .homeBoxes .box02, .homeBoxes .box03 { width: 98%; }
	.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; }
}