/*
Theme Name: Divi child theme
Template: Divi
*/
@import url("../Divi/style.css");

/* YOUR CSS EDITS GO BELOW THIS LINE AND AND CSS RULES YOU MAKE HERE WILL OVERIDE THE MASTER DIVI THEME CSS RULES */

@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500,600,700,800');

body,p,li {
	font-weight: normal;
}
.light {
	color: #fff;
}
.accent {
	color: #f7941d !important;
}
.et-social-icons {
	width: 100%;
	text-align: right;
	position: relative;
	z-index: 99;
	float: left;
	margin-right: 30px;
	margin-top: 5px;
}
#main-header {
	background: url(https://macwest.net.au/wp-content/uploads/2017/08/home-header.jpg);
    background-size: cover;
	border-bottom: 7px solid #757574;
    box-shadow: 0 4px 10px #343434;
    -webkit-box-shadow: 0 4px 10px #343434;
    -moz-box-shadow: 0 4px 10px #343434;
	padding-top: 30px;
	background-repeat: no-repeat;
	z-index: 9999;
}
.commercial #main-header {
	background: url(https://macwest.net.au/wp-content/uploads/2017/08/commercial-header.jpg);
	background-size: cover;
}
.residential #main-header {
	background: url(https://macwest.net.au/wp-content/uploads/2017/08/residential-header.jpg);
	background-size: cover;
	border: 0;
}
.et-social-icon a {
	font-size: 16px;
}
.menu-item .fontawesome-text {
	display: none !important;
}
.contact-tip {
	position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    background: #fff;
    padding: 13px 10px 10px;
    border-radius: 4px;
   opacity: 0;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    white-space: nowrap;
    box-shadow: 0 1px 6px #b4b4b4;
    -moz-box-shadow: 0 1px 6px #b4b4b4;
    -webkit-box-shadow: 0 1px 6px #b4b4b4;
	top: 30px;
}
.show-contact:hover .contact-tip {
	opacity: 1;
	visibility: visible;
	top: 50px;
}
.contact-tip:before {
	content: "\f0d8";
    position: absolute;
    top: -10px;
    right: 25px;
    font-family: fontawesome;
    font-size: 18px;
    color: #fff;
}
.tip-phone {
	font-size: 20px;
	line-height: 1.5em;
	color: #363636 !important;
}
.tip-note {
	font-size: 10px;
	color: #363636 !important;
}
#logo img {
	box-shadow: 0 0px 10px #696969;
	-moz-box-shadow: 0 0px 10px #696969;
	-webkit-box-shadow: 0 0px 10px #696969;
}
#home-banner .et_pb_button_module_wrapper, .page-banner .et_pb_button_module_wrapper {
	margin-top: -17px !important;
	clear: both;
}
.home-banner-blurb .et_pb_blurb_content {
	padding: 40px 20px 60px;
	border: 1px solid #fff;
	max-width: 400px;
}
.page-banner .et_pb_blurb_content {
	max-width: 100%;
}
#home-banner a.et_pb_button, .page-banner a.et_pb_button {
	max-width: 160px;
    width: 100%;
}
#home-enquire .et_pb_button_module_wrapper {
	margin-bottom: 10px !important;
}
.et_pb_blog_grid article {
	padding: 0 !important;
}
.et_pb_blog_grid .et_pb_image_container {
	margin: 0;
}
#main-footer .widget_media_image {
	margin-bottom: 10px;
}
#footer-info {
	text-align: center;
	width: 100%;
}
#main-footer .footer-widget h4 {
	padding-bottom: 30px;
}
#footer-widgets .footer-widget li {
	padding-left: 0 !important;
}
#footer-widgets .footer-widget li:before {
	display: none !important;
}
ul.footer-details *, ul.footer-details a {
	color: #f7941d;
}
ul.footer-details li {
	clear: both;
	overflow: hidden;
}
ul.footer-details i {
	width: 32px;
    height: 32px;
    font-size: 20px;
    background: #f7941d;
    color: #fff;
    line-height: 32px;
    text-align: center;
    margin-right: 10px;
	margin-bottom: 8px;
	float: left;
	vertical-align: middle;
}
ul.footer-details span {
	float: left;
}
ul.footer-social {
	margin-top: 30px;
}
ul.footer-social li {
	font-size: 24px;
    display: inline-block;
    margin-right: 10px;
}
ul.footer-social li span {
	display: none !important;
}

/* Inside Pages */

#page-header h1 {
	padding-bottom: 0 !important;
}
.our-services-blurb .et_pb_main_blurb_image img {
	padding: 10px;
	vertical-align: middle;
	border: 1px solid #fff;
}
.our-works-blurb {
	position: relative;
}
.our-works-blurb .et_pb_main_blurb_image {
	margin-bottom: 0;
} 
.our-works-blurb .et_pb_main_blurb_image img {
	vertical-align: middle;
}
.our-works-blurb .et_pb_blurb_content {
	overflow: hidden;
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}
.our-works-blurb .et_pb_blurb_content:hover {
	opacity: 0.5;
}
/*
.our-works-blurb .et_pb_blurb_container {
    padding: 12px 10px 10px;
    background: #f8961c;
    color: #fff;
    position: absolute;
    width: 100%;
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	opacity: 0;
	bottom: -20px;
}*/
.our-works-blurb:hover .et_pb_blurb_container {
    bottom: 0;
	opacity: 1;
}
.our-works-blurb .et_pb_blurb_container h4 {
	color: #fff !important;
}
.blurb-team .et_pb_main_blurb_image {
	max-width: 200px;
	margin-left: auto;
	margin-right: auto;
}
.blurb-team img {
	border-radius: 100%;
}
.single-post #main-content .container,
.archive #main-content .container {
	padding-top: 80px !important;
}


.nolabel label {
	display: none !important;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper textarea {
	padding: 10px !important;
	height: auto;
	border: 0;
}
.gform_wrapper .button {
	padding: 10px 20px;
	text-transform: uppercase;
	border: 1px solid #363636;
	background: transparent;
	cursor: pointer;
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	
}
.gform_wrapper .button:hover {
	background: #363636;
	color: #fff;
}
/* Brochure Form */

.brochure-form {
	text-align: center;
	max-width: 400px;
	margin: 0 auto;
}
.brochure-form input[type=text], 
.brochure-form input[type=email], 
.brochure-form select {
	max-width: 400px;
	background: #fff;
	width: 100%;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	display: inline-block;
	margin-bottom: 8px;
	padding: 8px;
} 
.brochure-form button, 
.brochure-form input[type=submit],
.brochure-form input[type=button] {
	display: block;
	padding: 10px 20px;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
	background: #363636;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;	
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	border: 0 !important;
	color: #fff !important;
	margin: 10px auto 0;
	cursor: pointer;
	width: 100%;
	max-width: 150px;
}
.brochure-form button:hover, 
.brochure-form input[type=submit]:hover,
.brochure-form input[type=button]:hover {
	background: #000;
}
.g-recaptcha, .ginput_recaptcha {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}
.newsletter-form input[type=text],
.newsletter-form select {
	padding: 10px !important;
	border-radius: 4px !important;
	-moz-border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
	border: 0;
}
.newsletter-form .gform_footer {
	margin-top: 0 !important;
	padding-top: 0 !important;
	text-align: left;
}
.newsletter-form .button {
	background: #363636 !important;
	color: #fff !important;
	border-radius: 4px !important;
	-moz-border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
	max-width: 200px;
	width: 100% !important;
	border: 0 !important;
}
.commercial .newsletter-form input[type=text],
.residential .newsletter-form input[type=text],
.commercial .newsletter-form select,
.residential .newsletter-form select {
	border: 1px solid #f2f2f2 !important;
}
.newsletter-form .button:hover {
	background: #f8981d !important;
}

@media screen and (max-width: 1100px) and (min-width: 980px) { 
	.fullwidth-col2-left > .et_pb_module, .fullwidth-col2-right > .et_pb_module {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media screen and (min-width: 981px) {
	.et_header_style_left #et-top-navigation {
		padding-left: 0 !important;
		padding-top: 30px !important; 
	}
	#top-menu > li > a {
		padding-bottom: 12px !important; 
	}
	.residential-nav {
		padding-right: 6px !important;
	}
	.residential-nav a {
		color: #fff !important;
		padding: 12px 12px 5px 12px;
		background: #f8981d;
		border-radius: 4px 4px 0 0;
	}
	.residential-nav a:after, 
	.commercial-nav a:after {
	    border-left: 0px solid transparent;
		border-right: 15px solid transparent;
    	border-bottom: 38px solid #f8981d;
		content: "";
		height: 0;
		position: absolute;
		right: -14px;
		 top: 0;
		 width: 0;
		z-index: 99 !important;
	}
	.commercial-nav a:after {
		border-bottom: 38px solid #68686a;
		z-index: 98 !important;
	}
	.commercial-nav a {
		color: #fff !important;
		padding: 12px 12px 5px 12px;
		background: #68686a;
		border-radius: 4px 4px 0 0;
	}
	
	.residential .brochure-form,
	.commercial .brochure-form {
		text-align: left;
		margin:0;
	}
	/*.residential .commercial-nav a {
		background: #f8981d;
	}
	.residential .commercial-nav a:after {
		border-bottom: 38px solid #f8981d;
	}*/
	.residential .sub-menu {
		background: #f26522 !important;
	}
	.et_header_style_left .logo_container {
		top: -33px;
		z-index: 99;
		max-width: 400px;
	}
	#logo {
		width: 300px !important;
		height: auto !important;
		max-height: none !important;
	}
	#main-header {
		padding-top: 60px;
	}
	.home-banner-blurb .et_pb_blurb_content {
		float: left;
	}
	.page-banner .et_pb_blurb_content {
		float: none;
	}
	.fullwidth-col2-right .et_pb_blurb_content {
		float: right;
	}
	.fullwidth-col2-left > .et_pb_module {
		max-width: 535px !important;
		width: 100%;		
		float: right;
		clear: both; 
	}
	.fullwidth-col2-right > .et_pb_module {
		max-width: 535px !important;
		width: 100%;		
		float: left;
		clear: both; 
	}
	#home-banner a.et_pb_button {
	    float: left;
		margin-left: 120px;
	}
	#home-banner .fullwidth-col2-right a.et_pb_button {
		float: right;
		margin-right: 120px;
	}
	
	.blog-grid-4 .et_pb_column_1_2,
	.blog-grid-4 .et_pb_column_1_3, 
	.blog-grid-4 .et_pb_column_1_4 {
		width: 100% !important;
	}
	.blog-grid-4 .et_pb_post {
		display:inline-block;
		vertical-align:top;
		width: 23.5%;
		margin-right:2% !important;
		margin-bottom:20px !important;
	}
	.blog-grid-4 .et_pb_post:last-of-type {
		margin-right: 0 !important;
	}
	.et_pb_gutters3.et_pb_footer_columns4 .footer-widget {
		width: 27.5% !important;
		margin-right: 2% !important;
	}
	.et_pb_gutters3.et_pb_footer_columns4 .footer-widget:nth-child(3n) {
		width: 11.5% !important;
	}
	.et_pb_gutters3.et_pb_footer_columns4 .footer-widget.last {
		margin-right: 0 !important;
	}
	.our-works-section .et_pb_column_1_3 {
		padding: 0 5px;
	}
	.our-works-section .et_pb_column_1_3:nth-child(2n) .et_pb_module:nth-child(1n),
	.our-works-section .et_pb_column_1_3:last-of-type .et_pb_module {
		margin-bottom: 8px;
	}
	.our-works-section .et_pb_column_1_3:last-of-type .et_pb_module:last-of-type {
		margin-bottom: 0;
	}
	.our-services-blurb  h4 {
		min-height: 51px;
	}
	.our-services-blurb .et_pb_blurb_container p {
		min-height: 130px;
	}
	
	.residential .home-banner-blurb .et_pb_blurb_content {
		padding-bottom: 40px;
	}
	.residential .page-banner .et_pb_button_module_wrapper {
		float: right;
		margin-right: -80px;
		margin-top: -80px !important;
	}
	.residential .home-banner-blurb p {
		padding-right: 40px;
	}
	#page-header {
		padding: 120px 0;
	}
	.residential #main-header *, .residential #main-header a, .residential #main-header span {
		color: #fff;
	}
}
@media screen and (max-width: 980px) {
	.home-banner-blurb .et_pb_blurb_content {
		text-align: center !important;
	}
	#page-header {
		padding: 80px 0;
	}
	.show-contact, .show-email {
		display: none !important;
	}
	.et_header_style_left .logo_container {
		top: 10px;
		text-align: center;
	}
}

@media screen and (min-width: 768px) {
}
@media screen and (max-width: 767px) {
	.fullwidth-col2-left > .et_pb_module, .fullwidth-col2-right > .et_pb_module {
		padding-left: 20px;
		padding-right: 20px;
	}
	#page-header {
		padding: 40px 0;
	}
	.et-social-icons, .createsend-button {
		margin: 0 auto;
		text-align: center;
		display: block;
		width: 100%;
	}
	.createsend-button, .subscribe-button-inner { 
		display: none !important; 
	}
	#logo {
		max-width: 60% !important;
		margin-top: 5px;
	}
	.et-social-icons li {
		margin-left: 10px;
	}
}
