/*
Theme Name: Gisbourne Electrical
Description: A personalised wordpress theme for Gisbourne Electrical
Author: Paul Gisbourne
Version: 1.0
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*====================
        Grid
  ====================*/

.wrapper {
	min-height: 100%;
	padding: 5px;
	margin: auto auto;
	margin-bottom: -150px;
}

.wrapper:after {
	content: "";
	display: block;
}

.footer, .wrapper:after {
	height: 150px;
}

.section {
	clear: both;
	margin: 0;
	padding: 0;
}

.grid:before, .grid:after {
	content: "";
	display: table;
}

.grid:after {
	clear: both;
}

.grid {
	zoom: 1;
}

[class*='col-'] {
	display: block;
	float: left;
	margin: 1% 0 1% 1.6%;
}

[class*='col-']:first-child {
	margin-left: 0;
}

.col-1 {
	width: 100%;
}

.col-1-2 {
	width: 49.2%;
}

.col-1-3 {
	width: 32.26%;
}

.col-1-4 {
	width: 23.8%;
}

.col-2-3 {
	width: 66.13%;
}

.module {
	padding: 1.4%;
	line-height: 1.6em;
}

.t-center {
	text-align: center;
}

.pull-right {
	float: right;
}

.pull-left {
	float: left;
}

.footer {
	text-align: center;
	padding: 5px;
}

body {
	font-family: Georgia, Times, "Times New Roman", serif;
	line-height: 1.4em;
}
.wrapper {
	width: 85%;
}

h1, h2, h3 {
	
	font-weight: bold;
	margin: 10px 0;
	color: #359192;
}

h1 {
	font-size: 26px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 20px;
}

p {
	margin: 10px;
}

img {
	border-radius: 5px;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #359192; text-decoration: none;
}

.headbar, .footerbar {
	height: 20px;
	padding: 2px;
	background-color: #3ea8a9;
}

.header {
	padding: 0;
}

.header a img, .footer a img {
	opacity: 1;
}

.logo {
	margin: 30px 0 0 0;
	height: 176px;
	width: 500px;
	text-indent: -9999px;
	background-image: url('images/sprite.png');
	background-position: 0px 0px;
}

.slider {
	width: 470px;
	height: 280px;
	margin: 10px 5px 0 50px;
}

hr {
	height: 2px;
	background-color: #3ea8a9;
}

.module hr {
	margin: 4% 0;
}

.highlight-link {
	border-bottom: 1px dotted #3ea8a9;
}

.nav {
	height: 40px;
	background-color: #3ea8a9;
  	background-image: -moz-linear-gradient(top, #3ea8a9, #359192);
	background-image: -ms-linear-gradient(top, #3ea8a9, #359192);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3ea8a9), to(#359192));
	background-image: -webkit-linear-gradient(top, #3ea8a9, #359192);
	background-image: -o-linear-gradient(top, #3ea8a9, #359192);
	background-image: linear-gradient(top, #3ea8a9, #359192);
	border-radius: 10px;
    font-size:16px;
    line-height: 14px;
	margin-top: -10px;
}

.nav ul {
	font-family: 'Helvetica Neue', Helvetica, Verdana, sans-serif;
	margin: -10px 0 0 15px;
	list-style: none;
	color: #fff;
}

.nav ul li {
	display: inline;
	margin-right: 10px;
}

.nav ul li:hover {
	color: #fff;
	border-bottom: 3px solid #fff;
}

.nav ul li a, .facebook {
	color: #fff;
	margin-top: 3px;
	border-bottom: none;
}

.nav ul li a:hover {
	text-decoration: none;
}

.nav ul li i {
	margin: 0 3px;
}

.facebook {
	color: #fff;
	margin: -14px 25px 0 0;
        font-size: 14pt
}

.facebook:hover {
	color: #efefef;
	border-bottom: none;
}

blockquote {
	padding: 5px 10px;
	border-radius: 5px;
	font-style: italic;
	font-size: 10pt;
	color: #3ea8a9;
	border-left: 3px solid #359192;
	border-right: 3px solid #359192;
	min-height: 100px;
	width: 300px;
	margin: 5% auto;
}

blockquote span {
	font-size: 8pt;
	float: right;
	margin: 0 15px 0 0;
}

.content {
	padding: 10px 5px;
}

.content p {
	margin: 10px 0 0 0;
}

.content ul {
	margin: 10px 0 10px 10px;
}

.breadcrumbs {
	font-size: 14px;
	margin: -1% 0 -3% 0%;
	width: 100%;
}

.gallery {
	padding: 5% 0;
}

.gallery dt {
	margin: 0 3px 0 0;
}

.btn {
    display: inline-block;
    *display: inline;
    /* IE7 inline-block hack */

    *zoom: 1;
    padding: 4px 10px 4px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
    *line-height: 20px;
    color: #ffffff;
	text-decoration: none;
    text-align: center;
    vertical-align: middle;
	
	-moz-box-shadow:inset 0px 1px 0px 0px #3ea8a9;
	-webkit-box-shadow:inset 0px 1px 0px 0px #3ea8a9;
	box-shadow:inset 0px 1px 0px 0px #3ea8a9;
  	background-color: #3ea8a9;
  	background-image: -moz-linear-gradient(top, #3ea8a9, #359192);
	background-image: -ms-linear-gradient(top, #3ea8a9, #359192);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3ea8a9), to(#359192));
	background-image: -webkit-linear-gradient(top, #3ea8a9, #359192);
	background-image: -o-linear-gradient(top, #3ea8a9, #359192);
	background-image: linear-gradient(top, #3ea8a9, #359192);
    border: 1px solid #cccccc;
    *border: 0;
    border-bottom-color: #b3b3b3;
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
	border-radius: 4px;
    *margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	text-indent:0;
}

.btn:hover {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
	background-color: #3ea8a9;
  	background-image: -moz-linear-gradient(top, #359192, #3ea8a9);
	background-image: -ms-linear-gradient(top, #359192, #3ea8a9);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#359192), to(#3ea8a9));
	background-image: -webkit-linear-gradient(top, #359192, #3ea8a9);
	background-image: -o-linear-gradient(top, #359192, #3ea8a9);
	background-image: linear-gradient(top, #359192, #3ea8a9);
}

#led-lighting, #heating, #cu-upgrade, #inspection-test {
	height: 220px;
	width: 240px;
	opacity: 0.8;
}

#led-lighting h2, #heating h2, #cu-upgrade h2, #inspection-test h2 {
	font-size: 18px;
	margin-top: 200px;
	color: #000;
}

#led-lighting:hover, #heating:hover, #cu-upgrade:hover, #inspection-test:hover {
	opacity: 1;
}

#led-lighting a:hover, #heating a:hover, #cu-upgrade a:hover, #inspection-test a:hover {
	color: #000;
}

#led-lighting {
	background-image: url('images/sprite.png');
	background-position: 0px 230px;
}

#cu-upgrade {
	background-image: url('images/sprite.png');
	background-position: -535px -350px;
}

#heating {
	background-image: url('images/sprite.png');
	background-position: -260px -350px;
}

#inspection-test {
	background-image: url('images/sprite.png');
	background-position: -680px -110px;
}

#contactmodal {
	color: #359192;
  	padding: 15px 20px;
  	-webkit-border-radius: 6px;
  	-moz-border-radius: 6px;
  	border-radius: 6px;
}

#contactmodal .notice {
	font-style: italic;
	font-size: 0.7em;
	float: right;
	color: red;
	margin: -20px 0 0 0;
}

.footer {
	padding-top: 20px;
}

.footer a img:hover {
	opacity: 1;
}

.smlogo {
	width: 100px;
	height: 100px;
	background-image: url('images/sprite.png');
	background-position: -20px -200px;
	margin: 10px 0 0 100px;
	text-indent: -9999px;
}

.esr {
	width: 240px;
	height: 100px;
	background-image: url('images/sprite.png');
	background-position: -375px -198px;
	margin: 10px 0 0 295px;
	text-indent: -9999px;
}

.elecsa {
	width: 210px;
	height: 130px;
	background-image: url('images/sprite.png');
	background-position: -140px -195px;
	margin: 0px 60px 0 0;
	text-indent: -9999px;	
}

.copyright {
	text-align: center;
	font-size: 10px;
	line-height: 12px;
	color: white;
	margin: -8px 0 0 0;
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
	.col-1-2 { width: 40%; }
	.logo {margin: -10px auto 15px auto; }
	#led-lighting, #heating, #cu-upgrade, #inspection-test {
	height: 220px; width: 200px; opacity: 0.8; }
	#led-lighting h2, #heating h2, #cu-upgrade h2, #inspection-test h2 { font-size: 14px; }
	#led-lighting {
		background-image: url('images/sprite.png');
		background-position: -25px -350px;
	}

	#heating {
		background-image: url('images/sprite.png');
		background-position: -270px 250px;
	}

	#cu-upgrade {
		background-image: url('images/sprite.png');
		background-position: 370px -340px;
	}

	#inspection-test {
		background-image: url('images/sprite.png');
		background-position: -700px -110px; 
	}
	.esr { margin: 10px 0 0 130px; }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	.col-1, .col-1-2, .col-1-3, .col-2-3 {
		width: 100%;
	}
	 .col-1-4 { width: 50%; margin: 0 auto;}
	.logo {margin: 0 auto;}
	.nav ul { margin-top: -5px; }
	.facebook { margin-top: -18px;}
	#led-lighting, #cu-upgrade { margin-left: 100px; }
	#heating, #inspection-test { margin-left: 60px;}
	.esr { margin: 10px 0 0 130px; }
}