/*
Theme Name: BMS Plumbing & Mechanical Wordpress theme
Author: a+g creative group
Author URI: http://agcreative.ca/
Description: This is a BMS Plumbing & Mechanical Wordpress theme from a+g creative group
Version: 1.0
*/

/*Wordpress editor styles start*/

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}

/*Wordpress editor styles end*/

body{
	background-image: url('./images/bg-image.png');
	background-repeat: no-repeat;
	background-position: 50% 0px;
	/*background-position-y: 0;*/
	background-repeat:repeat-y;
}

body p{
	font-size:16px;
}


#head-top-box{
	height:80px;
	margin-top: 20px;
	margin-bottom:20px;
}

.bms-menu-bar{
	border-radius: 0px;
	background-color: #005586;
	min-height: 25px;
	padding-left:20%;
}

.bms-menu-bar .navbar-nav>li>a{
	color:#fff;
	padding-top: 5px;
	padding-bottom: 5px;
}

.bms-menu-bar .navbar-nav>li>a:hover{
	color:#fff;
}

.navbar{
	margin-bottom: 0px;
	border: 0px solid transparent;
}

#breadcrumbs{
	padding-top: 15px;
}

footer{
	background-image: url('./images/footer-bg.png');
	background-color: #8c8e96;
	margin-top: 20px;
	padding:20px;
	background-repeat: no-repeat;
	background-size: cover;
}

footer p {
	color: white;
	font-size: 12px;
}

footer ul.bottomnav li a:hover{
	color: #fff;
}

footer ul.bottomnav li {
	float: left;
	list-style-type: none;
	padding: 0 20px 0 0px;
}

footer .bottomnav{
	padding-left:0px;
}

footer ul.bottomnav .menu-mainmenu-container{
	padding:0px;
}

footer ul.menu li ul.sub-menu{
	padding-left:0px;
}

footer ul.menu li ul.sub-menu li {
	float: none;
	padding-left: 0px;
}

footer a{
	color:#fff;
}

footer ul.menu li ul.sub-menu li a{
	color:#fff;
}
footer p.small-text{
	font-size:0.5em !important;
	text-align: center;
	color: #ffffff;
	line-height: 2em;
}

.foot-bms-info{
	font-size: 12px;
	color: #fff;
}

.foot-mail-form{
	width: 90%;
	margin: auto;
}
.mobile-footer .foot-mail-form {
	max-width: 400px;
	padding-left: 5px;
	min-width: calc(320px - 15px);
	font-size: 1.5rem;
}
.mobile-footer .foot-mail-form input {
	line-height: 1.2!important;
}
.container {
	padding: 0px;
}

.featured-image{
	height: 245px;
	background-repeat: no-repeat;
	background-position: center;
}

#page-header-title{
	border:1px solid red;
}

h1.entry-title {
	text-align: center;
}

/*h1.entry-title{*/
	/*font-size:16px;*/
/*}*/
/*h1.entry-title em{*/
	/*font-size:26px;*/
/*}*/

.page-section-box {
	/*border:1px solid red;*/
	margin-top:50px;
	margin-bottom: 50px;
	text-align: center;
	padding-left:50px;
	padding-right: 50px;
}

.page-section-box:before{
	content: "";
	margin-top: -20px;
	height: 29px;
	width: 123px;
	display: inline-flex;
	background-image: url('./images/page-section-devide.png');
}

.page-section-box:first-child{
	margin-bottom: 0px;
}

.entry-title{
	text-align: center;
}


.main-slider-caption-box {
	width:415px;
	height:155px;
	padding:20px 90px 20px 90px;
	font-size: 20px;
	text-align: left;
}

.main-slider-caption-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .7;
	z-index: -1;
	background-image: url('./images/caption-box.png');
}

.home-section-first h1 em,
.home-section-second .second-content h1 em,
.home-section-third h1 em,
.entry-title h1 em,
.page-section-box h1 em{
	/*font-size:26px;*/
	/*font-style: normal;*/
	font-size: 36px;
	font-weight: bold;
	font-style: normal;
}

.home-section-first h1,
.home-section-second .second-content h1,
.home-section-third h1,
.entry-title h1,
.page-section-box h1 {
	/*font-size:16px;*/
	/*font-style: normal;*/
	font-size:36px;
	font-style: normal;
	font-weight: 200;
}

h2 {
	font-size: 24px !important;
	font-weight: 100 !important;
}

h3 {
	font-size: 22px !important;
	font-weight: 400 !important;
}

blockquote{
	border-left:0px;
	font-size:16px;
}

.home-section-first{
	margin-top: 20px;
	margin-bottom: 20px;
}

.home-section-first .icon{
	margin-top: 20px;
	padding: 20px 40px;
}

.home-section-first .home-first-content:before{
	content: "";
	height: 123px;
	width: 29px;
	display: inherit;
	background-image: url('./images/bubble-divided.png');
	margin-left: -50px;
	margin-top: 28px;
	position: absolute;
}

.home-section-second{
	height: 315px;
	background-repeat: no-repeat;
	background-position: center;
	color: #ffffff;
	padding-top:20px;
	padding-bottom:20px;
	background-size: cover;
}

.home-section-second .second-content{
	width:80%;
	margin:auto;
}

.home-section-second .second-content .link-button{
	font-size: 18px;
	font-weight: bold;
	color: #ffffff;
	display: inline-flex;
}

.home-section-third{
	width: 80%;
	margin:auto;
	text-align: center;
}

.section-third-column {
	text-align: center;
}

.section-third-column a{
	color:#000000;
	text-decoration: none;
}

.section-third-column a strong{
	/*text-transform: uppercase;*/
	font-weight: bold;
}

.section-third-image{
	border-radius: 50%;
	/*padding-bottom:20px;*/
}

.google-maps {
	position: relative;
	padding-bottom: 75%;
    height: 0;
	overflow: hidden;
}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
iframe {
	max-width: 100%;
}

.project-item-box{
	margin-bottom:20px;
}

.project-item-box a {
	text-align: center;
	text-decoration: none;
	color: #000;
}

.project-list .project-item-box{
	padding-left:0px;
}

.project-list .project-item-box:nth-child(2n) {
	padding-left: 13px;
}


.project-item-image img{
	max-width:470px;
}

.project-item-content{

}

.single-post .featured-image{
	margin-bottom: 20px;
}

.post-content-box{
	margin-top:50px;
	margin-bottom: 50px;
	padding-left:50px;
	padding-right: 50px;
}

.page-footer-button-image{
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
	margin-top:20px;
	color:#000;
	height: 170px;
	background-size: cover;
}

.transparent {
	background:#7f7f7f;
	background:rgba(255,255,255,0.5);
	min-height: 170px;
	border:1px solid #c5c5c5;
}

.transparent span {
	line-height: 170px;
}

.page-footer-button-box a{
	text-decoration: none;
	text-transform: uppercase;
	font-size: 24px;
	font-weight: bold;
}

#field_2_5{width: 100%;}

.gform_wrapper .gfield_captcha_input_container{
    width: 300px;
    display: inline-block;
    margin-left: 25px !important;
}

.gform_wrapper .gfield_captcha_input_container input{
    width: 150px !important;
}
/*.contact-form{*/
	/*!*border:1px solid red;*!*/
/*}*/

/*.page-id-293 .foot-mail-form{
	display: none;
}

.contact-form .gform_body{
	height: 270px;
	margin-top: 50px;
}

.contact-form  .gform_footer{
	height:60px;
	margin: 0px !important;
	padding: 0px !important;
	margin-left: -8px !important;
}

.contact-form  .gform_wrapper {
	overflow: inherit;
	margin: -90px 0;
	max-width: 98%;
	height: 530px;
	font-family : "Helvetica Neue",Helvetica,Arial,sans-serif;
}*/

/*fix for a CSS issue after updating to new version*/
@media only screen and (min-width: 641px) {
	html:not([dir=rtl]) .gform_wrapper .gform_body ul.gform_fields:not(.top_label) .ginput_container:not(.ginput_container_time) {
		width: 100% !important;
		margin-left: auto!important;
	}
}

.contact-form pre code {
	overflow: hidden !important;
}
/*.gform_wrapper .top_label .gfield_label{
	display: none !important;
}

.gform_wrapper.gf_browser_chrome input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]), .gform_wrapper.gf_browser_chrome textarea, .gform_wrapper.gf_browser_gecko input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]), .gform_wrapper.gf_browser_gecko textarea, .gform_wrapper.gf_browser_safari input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]), .gform_wrapper.gf_browser_safari textarea{
	float:left;
}

.contact-form  .gform_wrapper div.validation_error{
	display: none;
}*/

.contact-form .gform_wrapper textarea{
	/*margin-top: 20px;*/
}

.contact-form pre{
	overflow-y: hidden;
	overflow-x: hidden;
}

.gform_wrapper .gform_footer .button{
	width:48%;
	background-color: #00a2de;
	color: #fff;
}
/*Submit button*/
footer .row:first-child{
	display: block;
    margin-bottom: 45px;
    clear: both;
}
}

.foot-mail-form .gform_wrapper .gform_footer.left_label {
	margin: 0!important;
	float: none!important;
}

/*Message*/
/.foot-mail-form li#field_2_4 {
	width: 99%;
	margin-top: 0;
}
.foot-mail-form textarea#input_2_4 {
	width: 100%;
}

.foot-mail-form .gform_wrapper label.gfield_label {
	display: block;
	color: #ffffff;
	text-shadow: 0 0 24px #312d2da8;
	letter-spacing: 2px;
}

.foot-mail-form .gform_wrapper ul li.gfield{
	clear: none;
}

.foot-mail-form .gform_wrapper ul.gform_fields li.gfield {
	padding-right: 16px;
	float: left;
	background: none;
}

.foot-mail-form  #input_2_1,
.foot-mail-form #input_2_2,
.foot-mail-form #input_2_3{
	width:100%;
}
.foot-mail-form .gform_wrapper .gform_footer{
	float: right;
    margin-top: 74px;
    clear: none;
    width: 25% !important;
    margin-right: 35px;
}

.foot-mail-form .gform_wrapper .gform_footer .button{
	width:100%;
	background-color: #00a2de;
	color: #fff;
}

.foot-mail-form .gform_wrapper div.validation_error{
	display: none;
}

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning{
	padding:0px !important;
	border-top:0px !important;
	border-bottom: 0px !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description{
	display: none;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required {
	margin-bottom: 12px!important;
	margin-top: 3px !important;
	margin-right: 5px;
}
.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]), .gform_wrapper li.gfield_error select, .gform_wrapper li.gfield_error textarea{
	background-color: #E09E9E;
}

/*Media queries*/

@media (max-width: 360px) {
	.section-third-column .vcenter{
		margin-left:15px;
	}
}

@media screen and (max-width: 480px) {
	.carousel-caption.main-slider-caption-box {
		padding: 25px 70px 20px 70px;
	}
	.carousel-caption.main-slider-caption-box p {
		font-size: 0.82em!important;
	}
	.foot-mail-form .gform_wrapper ul.gform_fields li.gfield {
		width: calc(100% - 5px);
	}
	.foot-mail-form .gform_wrapper .gform_footer.left_label {
		min-width: 120px;
	}
}

@media (min-width: 641px) and (max-width: 800px) {

	.page-footer-button-image{
		width:350px;
		height: 130px;
	}

	.transparent {
		min-height: 130px;
		width:350px;
	}

	.transparent span{
		line-height: 130px;
	}

}

@media (max-width: 767px) {

	.bms-menu-bar{
		padding-left:0px;
	}
	.navbar-default .navbar-nav .open .dropdown-menu>li>a {
		color: #fff;
	}

	#head-top-box{
		padding-left:20px;
		padding-right:20px;
	}

	.main-slider-caption-box::before{
		background-image: none;
	}
	.carousel-caption{
		position: relative;
		left:0;
		right:0;
		width:100%;
		background-color: #00a2de;
	}

	#home-first {
		/*border:1px solid red;*/
	}

	#home-second{
		/*border:1px solid blue;*/
	}

	#home-third{
		/*border:1px solid green;*/
	}


	/*
 * Row with equal height columns
 * --------------------------------------------------
 */
	.row-eq-height {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display:         flex;
	}

	.vcenter {
		display: inline-block;
		vertical-align: middle;
		float: none;
		text-align: left;
		padding-top:20px;
	}

	footer{
		display: none;
	}

	#breadcrumbs{
		text-align: center;
	}

	.mobile-title-bar{
		background-color: #00a2de;
		color:#fff;
		padding-bottom: 20px;
	}

	.mobile-title-bar a{
		color: #fff;
	}

	.featured-image{
		margin-top:-10px;
	}

	.mobile-footer{
		margin-top:30px;
	}
	.mobile-footer .foot-bms-info{
		margin-top:20px;
		color:#00a2de;
		width:100%;
		margin-bottom: 30px;
		font-size: 20px;
		text-align: center;
	}

	.home-section-second{
		height: 150%;
		background-size: cover;
	}

	.tel-imgage{
		max-width: 100%;
	}

	.contact-form .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium{
		width:100%;
	}


	.post-content-box img {
		width:100%;
	}

	.project-item-image img {
		max-width: 400px;
	}

	.gallery-item{
		width:100% !important;;
	}

	.page-footer-button-image{
		width:90% !important;
		height: 130px;
		margin:auto;
		margin-bottom: 20px;
	}

	.transparent {
		min-height: 130px;
		width:100% !important;
	}

	.transparent span{
		line-height: 130px;
	}

	.project-list .project-item-box{
		padding-right:0px;
	}
	.project-list .project-item-box:nth-child(2n) {
		padding-left:0px;
	}

	.section-third-image{
		margin-top:30px;
	}
}
@media (max-width: 780px) {
	.google-maps {
		background-color: #efefef;
	}
	.google-maps iframe {
		border:1px solid #ccc;
		position: absolute;
		top: 5%;
		left: 5%;
		width: 90% !important;
		height: 90% !important;
	}
}

@media (min-width: 768px) and (max-width: 960px) {
	.bms-menu-bar{
		padding-left:12%;
	}
}
@media screen and (min-width: 768px) {
	.carousel-caption{
		right: 2% !important;
		left: 55% !important;
		margin-bottom:8%;
	}
}
@media (min-width: 992px) {
	footer ul.bottomnav li{
		min-width: 196px;
	}
}
@media (min-width: 1200px){
	.container {
		width: 970px;
	}
}
