/*
Theme Name: Peter Conaghan Electrical
Theme URL: http://www.peterconaghanelectrical.com.au/
Author: Adz Power Agencies
Author URI: http://www.adzpower.com.au

*/

/* * * 1.0 General * * */

*{
	margin:0;
	padding:0;
}

.clear{
	clear:both;
}

body{
	font-family: 'Titillium Web', sans-serif;
	color:#676767;
}

a{
	text-decoration:none;
}

main a{
	color:#676767;
}

main img{
	max-width:100%;
	height:auto;
}

.header-top-inner, .header-menu-inner, .services, .service-box, .logo, main, .half, .project, input, textarea, #contact-form{
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
	padding-left:20px;
	padding-right:20px;
}

.g-recaptcha{transform:scale(0.89); transform-origin: 0 0;padding-top:5px;}

/* * * 2.0 Header * * */

.header-top{
	width:100%;
	background:white;
	height:45px;
}

.header-top-inner{
	width:100%;
	max-width:1200px;
	height:45px;
	margin:0 auto;
}

.top-contacts{
	list-style-type:none;
	display:table;
	height:100%;
	float:right;
	vertical-align:middle;
	position:relative;
	z-index:999;
}

.top-contacts li{
	height:100%;
	display:table-cell;
	padding-left:30px;
	vertical-align:middle;
	font-size:13px;
	color:#0093dd;
}

.top-contacts a{
	color:#0093dd;
}

.top-contacts img{
	padding:0 10px 0 0;
	vertical-align:middle;
}

.logo{
	width:100%;
	max-width:1200px;
	position:absolute;
	margin:0 auto;
	left:0; right:0;
	top:10px;
}

.header-image{
	width:100%;
	height:410px;
	background:url(images/header-bg.jpg) no-repeat;
	background-position:center center;
	background-size:cover;
}

@media all and (max-width: 700px) {

header{
	background:url(images/header-bg.jpg);
	padding-bottom:20px;
}
	
.header-top{
	display:none;	
}

.top-contacts{
	display:none;
}

.top-contacts img{
	padding:0 10px 0 0;
	vertical-align:middle;
}

.logo{
	position:static;
	text-align:center;
	padding:20px 0;
}

.header-image{
	display:none;
}
	
}

/* * * 3.0 Menu * * */

.header-menu{
	height:70px;
	width:100%;
	background:#0093dd;
}

.header-menu-inner{
	width:100%;
	max-width:1200px;
	height:70px;
	margin:0 auto;
}

.menu{
	list-style-type:none;
	float:right;
	position:relative;
	z-index:999;
}

.menu li{
	float:left;
}

.menu a{
	font-weight:600;
	line-height:70px;
	padding-left:15px;
	color:white;
}

.menu a:hover{
	color:#80c9ea;
}

.less, .more{
	width:250px;
	background:white url(images/menu-burger.gif) no-repeat;
	background-position:right center;
	margin-top:15px;
	cursor:pointer;
	display:none;
}

.more{
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
}

.less{
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
}

.less a, .more a{
	line-height:40px;
	width:250px;
	display:block;
	color:#0093dd;
}

.menu li:nth-child(n+3){
	display:block;
}

@media all and (max-width: 960px) {

.menu li:nth-child(n+2){
	display:none;
}

.more{
	display:block;
}

.menu{
	width:250px;
	right:20px;
	overflow:hidden;
	position:absolute;
}

.menu li{
	float:left;
	width:100%;
}

.menu li:nth-child(n+3) a{
	line-height:35px;
	color:#0093dd;
	background:white;
	display:block;
}

.menu li:nth-child(n+3) a:hover{
	color:#80c9ea;
}

.menu li:last-child a{
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;
}

}

@media all and (max-width: 700px) {

.header-menu{
	height:auto;
	background:#0093dd;
}

.header-menu-inner{
	width:100%;
	height:auto;
}

.menu{
	width:100%;
	position:static;
}

.menu li{
	float:left;
	width:100%;
}

.menu li:nth-child(n+3) a{
	line-height:45px;
	color:#0093dd;
	background:white;
	display:block;
}

.menu li:nth-child(n+3) a:hover{
	color:#80c9ea;
}

.menu li:last-child a{
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;
}

}

/* * * 4.0 Service Boxes * * */

.services{
	width:100%;
	max-width:1200px;
	margin:-255px auto 0 auto;
}

.service-box{
	width:22.75%;
	float:left;
	height:220px;
	padding:0;
	margin:0 1.5%;
	background:#0093dd;
	text-align:center;
}

.service-box img{
	padding-top:24px;
	height:70px;
	width:auto;
}

.service-box h2{
	color:white;
	font-weight:400;
	text-transform:uppercase;
	padding:15px 0 15px 0;
}

.service-box a{
	color:white;
}

.service-box a:hover{
	opacity:0.8;
	cursor:pointer;
}

.service-box:first-child{
	margin-left:0;
}

.service-box:last-child{
	margin-right:0;
}
.imgleft {
	float:left;
	padding:0 10px 10px 0;
	}
	
#contact-form{
	width:300px;
	padding:10px 15px 15px 15px;
	background:#EDEDED;
	margin-bottom:15px;
	float:right;
	margin-top:-45px;
}

main #contact-form p{font-size:14px;}

input, textarea{
	width:100%;
	border:none;
	padding:3px 5px;
	font-family: 'Titillium Web', sans-serif;
	margin-top:3px;
}

input[type=submit]{
	background:#0093dd;
	color:white;
}

input[type=submit]:hover{
	cursor:pointer;
	opacity:0.8;
}

.success, .failure{width:100%;text-align:center;padding:10px;box-sizing:border-box;background:#bf0d2d;margin:5px 0 10px 0;}

.success{background:#10a557;}

.success p, .failure p{color:white;font-weight:600;}

@media all and (max-width: 960px) {

.service-box h2{
	font-size:19px;
	height:20px;
	overflow:hidden;
}
.imgleft {
	max-width:50%;
	height:auto;
	float:left;
	}
	
}

@media all and (max-width: 700px) {

.services{
	margin:10px auto 0 auto;
}

.service-box{
	width:47.5%;
	margin:2.5%;
	height:180px;
}

.service-box img{
	padding-top:15px;
}

.service-box h2{
	padding:12px 0 12px 0;
}

.service-box a{
	color:white;
}

.service-box a:hover{
	opacity:0.8;
	cursor:pointer;
}

.service-box:nth-child(odd){
	margin-left:0;
}

.service-box:nth-child(even){
	margin-right:0;
}
.imgleft {
	width:100%;
	max-width:100%;
	height:auto;
	clear:both;
	}

#contact-form{
	clear:both;
	float:none;
	margin-top:0;
	width:100%;	
}	
}

/* * * 5.0 Content * * */

main{
	width:100%;
	max-width:1200px;
	margin:0 auto;
	padding:90px 20px 50px 20px;
	clear:both;
	display:block;
}

main p{
	padding:7px 0;
}

#home-text{
	width:100%;
	height:auto;
	min-height:100px;
	margin-bottom:10px;
}
#home-text-bottom {
	width:100%;
	height:1px;
	padding-top:30px;
	border-bottom:1px solid #E4E4E4;
	clear:both;
	}
.content-image{
	width:48.5%;
	padding-right:1.5%;
	float:left;
}

.content-image img{
	width:100%;
	height:auto;
}

.content-intro{
	width:48.5%;
	height:100%;
	padding-left:1.5%;
	float:left;
}

.content-intro h1{
	font-size:36px;
	text-transform:uppercase;
	color:#0093dd;
	padding-bottom:7px;
}

main h1{
	font-size:30px;
	color:#0093dd;
	font-weight:700;
	padding:7px 0;
}

main h2{
	font-size:24px;
	color:#0093dd;
	font-weight:600;
	padding:7px 0;
}

main ul{
	padding:7px 0 7px 20px;
}

.half{
	width:50%;
	display:inline-block;
	margin-left:-3px;
	vertical-align:top;
}

.half h2{
	border-bottom:1px solid #0093dd;
}

.half:nth-child(even){
	padding-right:10px;
}

.half:nth-child(odd){
	padding-left:10px;
}

.project{
	width:calc(25% - 20px);
	display:inline-block;
	margin:0 10px 0 7px;
	text-align:center;
	background:#E4E4E4;
	padding:7px 15px 10px 15px;
	font-weight:600;
	margin-top:5px;
}

.project img{
	max-width:100%;
	height:auto;
	border-top:1px solid #0093dd;
	padding-top:10px;
	margin-top:5px;
}

@media all and (max-width: 960px) {

.home-text td{
	vertical-align:top;
}

.content-image img{
	padding-top:16px;
}

}

@media all and (max-width: 700px) {
	
.content-image, .content-intro{
	width:100%;
	padding-right:0;
	float:left;
}

main{
	padding:10px 20px 50px 20px;
}

.half{
	width:100%;
	display:inline-block;
	margin-left:0;
	padding:0;
}

.half h2{border-bottom:none}

.half:nth-child(even){
	padding-right:0;
}

.half:nth-child(odd){
	padding-left:0;
}
	
}
	
/* * * 6.0 Footer * * */

footer{
	width:100%;
	height:75px;
	background:#282828;
}

footer ul{
	width:100%;
	list-style-type:none;
}

footer li{
	float:left;
	line-height:75px;
	padding:0 10px;
	font-size:14px;
}

footer a{
	color:#676767;
}

footer a:hover{
	color:white;
}

.right{
	float:right;
}

@media all and (max-width: 960px) {
	
footer li{
	padding:0 7px;
	font-size:13px;
}

}

@media all and (max-width: 850px) {
	
footer{
	height:auto;
	text-align:center;
	padding:20px 0;
}
	
footer li{
	padding:0;
	width:100%;
	font-size:13px;
	line-height:30px;
	text-align:centre;
}

}