/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/

#masthead .top-bar {
	background-color: #fb0d1c;
}


.brief-text {
	background-color: #c7c7c7;
}

#menu-item-95 .menu-item-description {
	font-size: 1.1em;
}

#menu-item-96 .menu-item-description {
	font-weight: bold;
	font-size: 1.1em;
}

#serviceArea tbody tr:nth-child(odd) {
	background-color: #e8e8e8;
}

#serviceArea thead {
	font-weight: bold;
}

#primary-menu {
	font-weight: 600;
}

/* THE DECORATIVE FADING LINES ON THE HOMEPAGE SLIDER */

#featured-content .featured-slide .entry-thumb:before {
	content: "";
	background: -moz-linear-gradient(left,rgba(255,50,50,1) 0%,rgba(255,50,50,0) 100%);
/* FF3.6-15 */
	background: -webkit-linear-gradient(left,rgba(255,50,50,1) 0%,rgba(255,50,50,1) 100%);
/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to left,rgba(255,50,50,1) 0%,rgba(255,50,50,0) 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3232',endColorstr='#007db9e8',GradientType=1);
	position: absolute;
	bottom: 100px;
	top: 0;
	right: 0;
	height: 10px;
	width: 80%;
}

#featured-content .featured-slide .entry-thumb:after {
	content: "";
	background: -moz-linear-gradient(left,rgba(255,50,50,1) 0%,rgba(255,50,50,0) 100%);
/* FF3.6-15 */
	background: -webkit-linear-gradient(left,rgba(255,50,50,1) 0%,rgba(255,50,50,0) 100%);
/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,rgba(255,50,50,1) 0%,rgba(255,50,50,0) 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3232',endColorstr='#007db9e8',GradientType=1);
	position: absolute;
	bottom: 0;
	left: 0;
	height: 10px;
	width: 80%;
}

#homeBoxLogos {
	margin: 1em 0;
}

#homeBoxLogos a {
	border-bottom: none;
}

#homeBoxLogos img {
	margin: 0 1.75em;
}

@media screen and (max-width:992px) {
	#homeBoxLogos a img:first-child {
	margin-top: 3em;
	margin-bottom: 1em;
}
}

.brief-text p {
	font-size: 1em;
}

/* CONTACT FORM */

#contactLeftCol, #contactRightCol {
	display: block;
	float: left;
}

#contactRightCol {
	background-color: #dbdbdb;
	padding: 1em 1em 0 1em;
}

#contactLeftCol, #contactRightCol {
	width: 100%;
	margin-top: 2em;
}

@media screen and (min-width:992px) {
	.brief-text .container {
		max-width: 75rem;
	}
	
	#contactLeftCol {
		width: 45%;
	}
	
	#contactRightCol {
		width: 52%;
		float: right;
	}
}

.wpcf7-text {
	width: 100%;
}

.display-posts-listing {
	list-style-type: none;
	padding-left: 0;
}

.display-posts-listing .title {
	font-weight: bold;
	font-size: 1.3em;
}

.display-posts-listing .content {
	margin-top: 1em;
}

.flexBreak {
	display: inline;
}

@media screen and (min-width:992px) {
	.flexBreak {
		display: block;
	}
}

.entry-content a {
	border-bottom: none;
}

.brief-text {
	color: black;
}

.hentry .entry-header a:hover, .hentry .entry-footer a:hover {
	color: red;
}

.search-form {
	display: none!important;
}

a {
	color: red;
}

button, input[type="button"], input[type="reset"], input[type="submit"], #infinite-handle span, .more-link-container .more-link, .site-content a.primary-button {
	background: red;	
}

button:hover, .more-link-container .more-link:hover, .site-content a.primary-button:hover, #infinite-handle span:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	background: #a30000;
}

/* FIX MISSING MOBILE MENU / HIDE THEME'S MOBILE MENU */

@media only screen and (max-width:992px) {
	#masthead .top-bar .search-form,
	#masthead .top-bar .header-social-menu,
	.main-navigation,
	.secondary-navigation > div,
	.post-navigation:before {
		display: block;
	}
}

@media only screen and (max-width: 992px), all
{
	#masthead .mobile-buttons {
	display: none;
}
}

@media only screen and (max-width: 600px) {
  #mega-menu-wrap-social .mega-menu-toggle + #mega-menu-social {
    display: none;
  }
}


/* Remove "Category" from page title of Category pages 11804069-hc SS */
.category .page-title {
  overflow: hidden;
  text-indent: -4.6em;
  text-align: left;
}

/* HIDE PROVIDED HEADER MENU (Logo and secondary menu) - replaced by "Mega Menu Secondary Menu" */

#masthead .header-inner {
	display: none;
}

/* OTHER CHANGES */

@media only screen and (min-width: 601px) {

#mega-menu-wrap-max_mega_menu_1.mega-stuck #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
		line-height: 100%;
	}

#mega-menu-wrap-max_mega_menu_1.mega-stuck #mega-menu-max_mega_menu_1 > li.mega-menu-item {
		line-height: 100%;
	}		
	
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-item-align-right {
padding-bottom: 20px;
}	

}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 a.mega-menu-logo img.mega-menu-logo {
	height: 75%;
	width: auto;
}

/* REMOVE UNDERLINE ON MOBILE SUBMENU ITEMS */

.main-navigation ul ul li a, .secondary-navigation ul ul li a {
	border-bottom: none;
}

/* HIDE THE GOOGLE RECAPTCHA ICON ON ALL BUT THE CONTACT PAGE */

body:not(.page-id-525) .grecaptcha-badge {
	display: none;
}


/* REPOSITION HOMEPAGE FEATURED ITEM IMAGE(S) TO BOTTOM, NOT CENTER (shows the road better) */

#page .has-background-cover {
	background-position: center bottom;
}


.header-social-menu ul#menu-social-links li {
	padding: .7em 1em 2em 0;
}

/* CALL-TO-ACTION BUTTON */

a.CTAbutton,
a.CTAbutton:visited {
	display: inline-block;
  padding: .4em .6em;
  background-color: #fb0d1c;
  font-size: 1.4em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  border-radius: .3em;
  moz-border-radius: .3em;
  webkit-border-radius: .3em;
  text-decoration: none;
  color: white;
  margin: .7em auto 1em;
}

a.CTAbutton:hover,
a.CTAbutton:visited:hover {
  color: black;
	
  background-color: orange;
	box-shadow: -2px 1px 28px 3px rgba(0,0,0,0.59);
-webkit-box-shadow: -2px 1px 28px 3px rgba(0,0,0,0.59);
-moz-box-shadow: -2px 1px 28px 3px rgba(0,0,0,0.59);
}

/* SERVICE REQ FORM */
.wpcf7-file {
	margin-bottom: .5em;
}