/*
Theme Name: MGS Electrical
Theme URI: http://www.mgselectrical.uk
Description: A theme based on the Skeleton framework
Version: 1.0
Author: Dan Webster
Author URI: http://www.websterinternet.co.uk
*/

/* @import url("stylesheets/base.css"); Added good stuff to bottom */
@import url("stylesheets/skeleton.css");
/* @import url("stylesheets/layout.css"); */

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* Get rid of that sodding Edit link */

.edit-link {
display: none;
}

/* Image Align Attributes */
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

body {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-size:14px;
background: #fff url(images/bg.png) repeat-x;
line-height: 1;
}

/* Fonts and Headings */

p,h1,h2,h3,h4,h5,h6 {
font-family: 'Open Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
clear: both;
}
a {
color:#407a34;
text-decoration: none;
}
a:hover, a:active {
color:#407a34;
text-decoration: underline;
}
h1 {
font-size:24px;
text-align:center;
text-transform: uppercase;
font-weight:600;
padding-bottom:35px;  
}
.greenstripe h1 {
padding-bottom:0px;
font-weight:300;
}
h3 {
font-size:14px;
text-align:left;
font-weight:600;
padding:10px 0 35px 0;  
color:#407a34;
}


/* layout DIVs */
div.slide {
margin-left: 10px;
padding-bottom:30px;
}
div.logo {
margin-left: 10px;
height:150px;
float:left;
}
div.contact_details {
height:150px;
float:right;
}
div.contact_details p {
padding-top: 40px;
font-weight:600;
text-transform: uppercase;
text-align:right;
line-height: 1.5em;
}
div.contact_details a {
text-transform:lowercase;
}
div.contact_page p {
padding-top: 20px;
font-weight:600;
text-transform: uppercase;
text-align:left;
line-height: 1.5em;
}
div.contact_page a {
text-transform:lowercase;
}
div.content {
width:960px;
margin-left: 10px;
}
div.content li {
margin-left:10px;
line-height:1.4em;
}
div.nopadleft li {
margin-left:0px !important;
}
ul.big {
margin-top:30px;
font-size:18px;
line-height:30px;
list-style-type: square;
}
ul.big li {
padding-left:20px;   
}
div.footer {
background: #e0e0e0 url(images/bg.png) repeat-x bottom center;
}
div.contact_quotation {
margin-top:18px;
}



/* Visual Composer Stuff */
.greenstripe {
border-top: 10px solid #407a34;
margin-top:-30px !important;
}
.nogaps p {
margin-top:-20px !important;
}
/* Gallery */
ul.isotope {
    margin: 0 auto !important;
    width: 900px;
}
li.isotope-item {
    margin: 10px !important;
}
div.ppt {
    display: none !important;
}
.wpb_image_grid_ul img {
    border: 1px solid #CCCCCC;
    padding: 3px;
    width: auto;
}
div.pp_content_container {
    height: auto !important;
}


/* =Menu Stuff
-------------------------------------------------------------- */

#access {
	background: #407a34; /* Show a solid color for older browsers */
	clear: both;
	display: block;
	float: left;
	text-align:left; /* Centre Align Menu */
	margin: 0 auto 0px;
	width: 100%;
    font-weight:600;
    text-transform: uppercase;
}
#access ul {
	font-size: 14px;
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
	display:inline-block; /* Centre Align Menu */
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #eee;
	display: block;
	line-height: 70px;
	padding: 0 1.2125em;
	text-decoration: none;
}
#access ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #f9f9f9;
	border-bottom: 1px dotted #ddd;
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #efefef;
}
#access li:hover > a,
#access a:focus {
	background: #35652b; /* Show a solid color for older browsers */
	color: #FFF;
}
#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	background: #35652b; /* Show a solid color for older browsers */
	color: #FFF;
}


/* #Buttons
================================================== */

	.button,
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
        background: #FFF; /* Old browsers */
	  border: 1px solid #407a34;
	  -moz-border-radius: 3px;
	  -webkit-border-radius: 3px;
	  border-radius: 3px;
	  color: #407a34;
	  display: inline-block;
	  font-size: 11px;
	  font-weight: bold;
	  text-decoration: none;
	  cursor: pointer;
	  margin-bottom: 20px;
	  line-height: normal;
	  padding: 8px 10px;
	  font-family: 'Open Sans', sans-serif; 
        width:220px;}

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		color: #FFF;
		background: #407a34; /* Old browsers */
	  border: 1px solid #407a34;
    }

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		color: #FFF;
		background: #407a34; /* Old browsers */
	  border: 1px solid #407a34;
    }

	.button.full-width,
	button.full-width,
	input[type="submit"].full-width,
	input[type="reset"].full-width,
	input[type="button"].full-width {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center; }

	/* Fix for odd Mozilla border & padding issues */
	button::-moz-focus-inner,
	input::-moz-focus-inner {
    border: 0;
    padding: 0;
	}



/* #Forms
================================================== */

	form {
		margin-bottom: 20px; }
	fieldset {
		margin-bottom: 20px; }
	input[type="text"],
	input[type="password"],
	input[type="email"],
	textarea,
	select {
		border: 1px solid #ccc;
		padding: 6px 4px;
		outline: none;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		font: 13px 'Open Sans', sans-serif;
		color: #777;
		width: 220px;
		max-width: 100%;
		display: block;
		margin-bottom: 10px !important;
		background: #fff; }
	select {
		padding: 0; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
		box-shadow:  0 0 3px rgba(0,0,0,.2); }
	textarea {
		min-height: 60px; }
	label,
	legend {
		display: block;
		font-weight: bold;
		font-size: 13px;  }
	select {
		width: 220px; }
	input[type="checkbox"] {
		display: inline; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 13px;
		color: #444; }


/* #Misc
================================================== */
	.remove-bottom { margin-bottom: 0 !important; }
	.half-bottom { margin-bottom: 10px !important; }
	.add-bottom { margin-bottom: 20px !important; }


