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

@import url("../mts_schema/style.css");
/*end styling*/
#primary-navigation .header-social-icons a, .header-social-icons a {
	padding:12px 10px;
}

a.fittosmile{background-color: #035689;     font-size: 15px!important;     padding: 9px!important;     position: relative;     top: -2px;}
/* general */
.copyrights a {color:#fff !important;}
.btn {
	color: #fff !important;
	background: #5C93C3;
	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;
}
.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: 260px;
    display: block;
    padding: 20px 0px;
}
@media screen and (max-width: 1100px) {
	#logo img { width: 100%; max-width: 350px; }
}
html body .grid figure h2 {
    font-size: 38px;
    color: #fff;
    text-shadow: 0px 1px 1px #000;
}
#header .logo-wrap {
    padding: 2px 0;
    position: relative;
}
html #header #logo a {
    font-size: 28px;
    color: #035689;
    display: block;
    max-width: 300px;
    font-weight: bold;
}
html body figure.effect-lexi p {
	font-size: 14px !important;
}
/* header */
.main-header,.copyrights{
	position: relative;
	background-color: #7bbe42;
}

.tooth { position: absolute; left: 10px; bottom: 10px; width: 10%; z-index: 500; }

#header{background:#fff;}
.main-header p.phone {color:#fff;float: left;padding-top: 0px;font-size: 21px;margin-bottom: 0px;}
.main-header p.phone span{ 
	font-size: 24px;
}
#primary-navigation p.phone a {
	margin: 0px;
	color:#fff;
	font-size: 21px;
	padding: 0px;
}
div.header-social-icons {
    float: right;
    background: #035689;
    position: relative;
    margin-left: 35px;
}
.award .container {
    max-width: 1170px !important;
    margin: 0px auto;
    text-align: center;
}

.award p {
    text-align: center;
    font-size: 18px;
}

.award a {
    color: #fff;
    text-decoration: underline;
}

.award a {
    white-space: nowrap;
}

.welcome h1 {
    font-size: 40px;
}

.welcome p {
    font-size: 20px;
    text-align: center;
}
body,a,p,div {
	font-family: Open Sans;
}
div.header-social-icons:before {
    border-color: rgba(0, 0, 0, 0) #0081a4 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

.header-social-icons a{color:#fff!important;}

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

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

#page {
	padding-top: 0px;
}

#page .btn {
    color: #fff !important;
    background: #035689;
    padding: 9px 27px;
    text-transform: uppercase;
    border-radius: 10px;
    max-width: 25%;
    -moz-border-radius: 10px;
    box-shadow: 1px 1px 1px #000;
}


.carousel-caption {
    text-shadow:none;
	position: absolute;
	z-index: 1;
	text-align: center;
	width: 100%;
	bottom: 100px;
}

.carousel-caption h1 {
    text-transform:uppercase;
    margin-bottom:5px;
    color:#fff;
    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:#035689;
    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.75);
    color: #035689;
}

.carousel-inner img, .carousel-inner video {
    width:100%;
}
.carousel-inner {
	position: relative;
}
.item.active:before {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0px;
	opacity: 0.2;
	background-color: #000;
	left: 0px;
	z-index: 1;
	content: "";
}
.carousel-video {
	height:800px;
	overflow: hidden;
}
.carousel-video .carousel-inner {
	height:100%;
}
.carousel-video .carousel-inner .item {
	height:100%;
	position:relative;
}
.carousel-video .carousel-inner .item video {
	position:absolute;
	bottom:0px;
	top: 0px;
	height: 100% !important;
	width: 100% !important;
	display: block;
	object-fit: cover;
	left:0;
}
@media (max-width: 1600px) {
	.carousel-video {height:700px;}
}
@media (max-width: 1366px) {
	.carousel-video {height:600px;}
}
@media (max-width: 1150px) {
	.carousel-video {
		height: 400px;
	}
	.carousel-caption h1 {
		font-size: 25px;
	}
	.carousel-caption p {
		font-size:15px;
		margin-bottom:15px;
	}
	.carousel-caption a {
		padding: 5px 20px;
		font-size: 14px;
	}
}
.copyrights {
	color: #fff;
}
.welcome h2,.welcome h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

.welcome ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
.award:before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    background-color: #000;
    opacity: 0.6;
}
.award p {
    text-align: center;
}
.award {
	position: relative;
	padding: 50px 0;
	text-align: center;
	background-attachment: fixed;
	background-position: top;
	background-size: cover;
}
.award h2, .award p { color: #fff !important; }
.award h2 {
    font-size: 38px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* welcome */
.welcome { 
	width: 100%;
	padding: 30px 0;

}
.welcome h1 { text-align: center; color: #222; font-size: 34px; }
.welcome p, .welcome h3 { color: #222; }

/* home boxes */
.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: 0px;
	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;
    
    color: #fff;
}
.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 );
	
}
.specialHeader {
    float: left;
    text-align: center;
    color: #fff;
    font-size: 22px;
    
    color: #fff;
    float: left;
    padding-top: 4px;
    font-size: 27px;
    margin-bottom: 0px;
    position: relative;
    /*left: -26px;*/
}
/* inner pages */
.article { 
    width: 99.5%;
    box-shadow: 0px 0px 0px;
    background-color: #fff;
    margin: 40px 0px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.28);
}
.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: 69%; padding-right: 5%; }
#featured-thumbnail {     float: right;
    width: 25%; }

#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: 24px 12px;
}
@media (max-width: 1152px) {

	#header .logo-wrap {
		left: 0px;
	}
	#secondary-navigation a{    padding: 24px 9px;     font-size: 13px !important }
    .homeServices .service {   height: 342px;}
}
.simg {
	background-position: 50% 50%;
	background-size: cover;
	height: 350px;
}
.spespan {
	font-size: 18px !important;
    padding-left: 10px;
}
html .grid figure h2 {
	font-size: 30px;
	color: #fff;
}
.grid * {
	box-sizing: border-box;
}
.imageAbove {
	  position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;
    width: 100%;
    /* opacity: 0.3; */
    /* height: 100%; */
    top: 40%;
    transform: translateY(-50%);
    opacity: .7;
}
.imageAbove img {
	width: auto !important;
}
.copyrights .pull-right h5 {
    color: #fff;
    margin-bottom: 0px;
    text-align: right;
    font-weight: bold;
}
.copyrights .pull-right {
	color: #fff;
}
.buttonImage {
	max-width: 70px;
    vertical-align: middle;
    position: absolute;
    left: -50px;
    top: -14px;
}
.carousel-caption a {
	position: relative;
}
.homeTop .grid figure {
	width: calc( 50% - 20px);
	width: -webkit-calc( 50% - 20px);
}
.homeTop .grid {
	padding-bottom: 0px;
}

/* mobile */
@media screen and (max-width: 1600px) {
	#menu-item-33 .sub-menu,
	#menu-item-248 .sub-menu {
		right: 0px;
		left: auto;
	}
	.navigation ul ul ul {
		left: auto;
		right: 100% !important;
	}
}
html body .grid figure h2 {
    position: absolute;
    left: 20px;
    bottom: 20px;
}
div#slider {
    margin: 0px;
}
.newCon {
	background-position: 50% 50%;
	background-size: cover;
    height: 720px;
}
.primary-slider-container.clearfix {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0px !important;
    max-width: 100% !important;
}
html .primary-slider .slide-caption {
    box-sizing: border-box;
    width: 100%;
    left: 0px;
    bottom: 0px;
    padding:30px 0px;
}
@media screen and (max-width: 1152px) {
	.imageAbove img {
		max-width: 150px;
	}
	.carousel-caption {
		bottom: 40px;
	}
	html .grid figure {
	    width: calc( 50% - 20px);
    	width: calc( 50% - 20px);
	}
	.homeServices .grid figure {
		width: 100% !important;
		margin:0px auto 20px !important;
	}
	.homeServices .grid {
		padding:0px 15px;
		box-sizing: border-box;
	}
}
html .bg-white:after {
    bottom: 0px;
    transform: translateY(100%);
}
@media screen and (max-width: 880px) {
	.primary-slider-container {
		display: none !important;
	}
	.specialHeader {
		float: left;
		width: 100%;
		text-align: center;
		left: 0px;
	}
	.welcome iframe {
		width: 100% !important;
	}
	article header { padding-top: 20px; }
	#page.homepage {
		padding-top: 15px;
	}
	#header .logo-wrap { position: static; }
	.homeServices .service .simg {
	    display: block;
	    height: 210px!important;
	    overflow: hidden;
	    margin: 0px auto;
	}
	.homeServices .service{width:94%;     height: 230px;}
	.hide-d { display: block; }
	.mobileBtn { margin-bottom: 0px; }
	.mobileBtn a, .hours{ display: block; color: #fff; text-align: center;    
    	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%;
	}
	html #header #logo a {
	    margin: 10px auto;
	}
	.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: #333 !important; }
	.sticks {
	    background-color: #00446f;
	}
}
@media screen and (max-width: 720px) {
	.grid {
		padding:0px 10px !important;
		box-sizing: border-box;
	}
	.grid figure {
	    width: 100% !important;
	    min-width: initial !important;
	}
}
html figure.effect-lexi figcaption::after {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 900px rgba(255,255,255,0.2);
    content: '';
    opacity: 0;
    -webkit-transform: scale3d(0.5,0.5,1);
    transform: scale3d(0.5,0.5,1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    background-image: url(/wp-content/uploads/2019/09/logo-crop.png);
    opacity: 0.1;
    background-size: contain;
    background-position: center left;
    filter: brightness(0) invert(1);
}
html .slick-dots {
	left: 0px;
}
@media screen and (max-width: 640px) {
	.award img {
	    width: 100%;
	}
	html .grid figure {
	    margin: 0px auto 20px !important;
	}
	.grid {
		padding:0px 10px !important;
		box-sizing: border-box;
	}
	footer .pull-left,footer .pull-right {
		width: 100%;
		text-align: center;
	}
	footer .pull-left {
		margin-bottom: 10px;
	}
	.copyrights .pull-right h5 {
		text-align: center;
	}
	.homepage .container {
	    width: 80%;
	    max-width: 100%;
	    width: 100%;
	    box-sizing: border-box;
	    padding: 0px 15px;
	}
	.grid figure {
	    width: 100% !important;
	    max-width: 100% !important;
	}
}
.copyrights,#site-header {
	position: relative;
}
#site-header:before,
.copyrights:before {
	height: 100%;
	width: 100%;
	background-image: url(/wp-content/uploads/2018/10/cubes.png);
	position: absolute;
	top: 0px;
	left: 0px;
	content: "";
	opacity: 0.3;
}
.main-header .container {
    background-color: transparent;
}

.main-header .container p {
    float: left;
    margin: 0px;
}

.main-header .container p a {
    display: inline-block;
    border-radius: 0px;
}

div.header-social-icons:before {
    border-width: 43px 30px 0px 0;
}

#primary-nav .dm-rate-us span, #primary-nav .dm-rate-us a {
	color:#fff;
}

#primary-nav .dm-rate-us {
    margin-top: 8px;
}
