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

.btn {
	color: #fff !important;
	background: #00a1c9;
	padding: 10px 15px;
	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;
}
.alignrightclean {
	float: right;
margin: 0px 0px 20px 20px;}

.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;
}
#logo img {
    width: 373px;
}
#header .logo-wrap {
    padding: 2px 0;
}
/* header */
.main-header{background:#062C3C;}

#header{background:#00a1c9;}

.main-header p.phone {         
	font-family: 'Open Sans';
	color:#fff;
	float: left;
	padding-top: 8px;
	font-size: 21px;
	margin-bottom: 0px;
}
.main-header p.phone span{ 
	font-size: 24px;
}
#primary-navigation p.phone a {         
	font-family: 'Open Sans';
	margin: 0px;
	color:#fff;
	font-size: 24px;
}
div.header-social-icons {
    float: right;
    background: #062C3C;
    position: relative;
    margin-left: 35px;
}
div.header-social-icons:before {
    border-color: rgba(0, 0, 0, 0) #062C3C rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}
.accessibility-location-right .accessability_container {
    right: -180px;
    top: 80px;
}
.header-social-icons a{color:#fff!important;}

ul#menu-main-menu { margin-top:18px; }

#page.homepage { 
	width: 100%;
	max-width: 100%;
}

.carousel-caption {
    text-shadow:none;
    bottom: 50%;
	position: absolute;
	text-align: center;
	width: 100%;
}

.carousel-caption h1 {
    text-transform:uppercase;
    margin-bottom:5px;
    color:#062d3c;
    font-size:48px;
    font-weight:400;
	text-shadow: 1px 1px 1px #000;
}
.carousel-caption p {
    margin-bottom:25px;
    color:#fff;
    font-weight:700;
    font-size:18px
}

.carousel-caption a {
    background-color:#005f85;
    border:none;
    box-shadow:none;
    color:#fff;
     border-style:none;
    padding:9px 27px;
    font-size:16px;
    display:inline-block;
    margin-bottom:0;
    border-radius:2px;
    text-align:center;
    vertical-align:middle;
    font-weight:700;
    line-height:1.43;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    white-space:nowrap;
    cursor:pointer
}

.carousel-caption a:hover {
    background-color:rgba(255,255,255,0.35);
	    background-color:#005f85;
}

.carousel-inner img, .carousel-inner video {
    width:100%;
}
.carousel-video {
	height:100%;
	position: relative;
}
.carousel-video .carousel-inner {
	height:100%;
}
.carousel-video .carousel-inner .item {
	height:100%;
	position:relative;
}
.carousel-video .carousel-inner .item video {
	height: calc(100vh * (9/16));
}
@media (max-width: 1150px) {
	.carousel-caption h1 {
		font-size: 25px;
	}
	.carousel-caption p {
		font-size:15px;
		margin-bottom:15px;
	}
	.carousel-caption a {
		padding: 5px 20px;
		font-size: 14px;
	}
}

/* welcome */
.welcome { 
	width: 100%;
	padding: 30px 0;
background:#fff;
}
.welcome h1 { text-align: center; color: #222; }
.welcome p, .welcome h3 { color: #222; }
.footerlogos{ text-align:center; padding:20px 0; float: left; width: 100%; }
.footerlogos img{vertical-align:middle; margin:0 5px;}
/* home boxes */
#page.homepage { padding-top: 0px; }
.homepage .container { 
	width: 80%;
	max-width: 80%;
}
.home-widgets .f-widget {
    float: left;
    margin-right: 2%;
    width: 32%;
	position: relative;
}
.home-widgets.widgets-num-3 .f-widget:nth-child(3n) {
    margin-right: 0;
}
.home-widgets .f-widget h3{
	position: absolute;
	bottom: 10%;
	padding-bottom: 5%;
	padding-top: 20%;
	text-align: center;
	width: 100%;
	color: #fff;
	margin-bottom: 0px;
	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+ */
}
.homeServices{
	margin-top:50px;
	overflow: hidden;text-align: center;
    padding: 25px 0px;
}
.homeServices .service{
    display: inline-block;
    text-align: center;
    font-size: 24px;
    height: 350px;
    overflow: hidden;
    width: 31%;
    margin: 3px 0 5px;
    padding: 10px 7px 0;
        font-family: 'Open Sans';
}
.homeServices .service .simg {
    display: block;
    height: 340px!important;
    overflow: hidden;
    width: 100%;
    background-size: cover;
    background-position: 50% 50%;
    margin: 0px auto;
    position: relative;
}
p.title{
    position: relative;
    text-align: center;
    font-size: 26px;
    width: 100%;
    color: #fff;
    margin-top: -17%;
    padding: 20px 0;
    margin-bottom: 0;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
	
}
/* inner pages */
.article { width: 99.5%; }
.page h1.title { margin-bottom: 20px; }
footer{padding-top:0px; margin-top:0px;}
.hide-d { display: none; }
.single_post { background: none; }

/* Blog main page */
.front-view-content { width: 75%; padding-right: 5%; }
#featured-thumbnail { float: right; width: 20%; }

#logo a { float: none !important; }
.service a {
   display: block;
   position: relative;
}
p.title {
   margin: 0px;
   bottom: 0px;
   left: 0px;
    position: absolute;
}
#secondary-navigation a{    
	padding: 15px;
}
@media (max-width: 1024px) {	
	#secondary-navigation a{    
		padding: 15px 12px;
	}
	.homeServices .service {   height: 342px;}
}


/* mobile */
@media screen and (max-width: 880px) {
	.homeServices .service .simg {
    display: block;
    height: 210px!important;
    overflow: hidden;
    margin: 0px auto;
}
	#page.homepage { padding-top: 30px; }
.footerlogos img{margin:2px 0;}
.homeServices{margin-top:0px;}
	.homeServices .service{width:94%;     height: 230px;}
	.hide-d { display: block; }
	.mobileBtn { margin-bottom: 0px; }
	.mobileBtn a, .hours{ display: block; color: #fff; text-align: center; background: #00a1c9; 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; }
	.carousel-video { display: none; }
	.welcome { padding-top: 30px; }
	.welcome a { color: #fff; }
	.home-widgets .f-widget {
		margin-right: 0;
		width: 100%;
	}
	.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; }
	.post-content img, .welcome img{width:100%; height:auto;}
	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: #fff !important; }
	
}