/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
/* Site Styles by Web Intrigue, 2017 customised for Green Energy North Wales
================================================== */
/*@font-face {
	font-family:'WebSymbolsRegular';
	src:url('../fonts/websymbols/websymbols-regular-webfont.eot');
	src:url('../fonts/websymbols/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/websymbols/websymbols-regular-webfont.woff') format('woff'),
		url('../fonts/websymbols/websymbols-regular-webfont.ttf') format('truetype'),
		url('../fonts/websymbols/websymbols-regular-webfont.svg') format('svg');
}*/

/* source: open licence from socicon.com */
@font-face {
    font-family:'SocIcon';
    src: url('../fonts/socicon/socicon-webfont.eot');
    src: url('../fonts/socicon/socicon-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/socicon/socicon-webfont.woff') format('woff'),
         url('../fonts/socicon/socicon-webfont.ttf') format('truetype'),
         url('../fonts/socicon/socicon-webfont.svg#sociconregular') format('svg');
    font-weight:normal;
    font-style:normal;
    /*text-transform:initial;*/
}

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* band style */
.body {
	background:#FFFFCC;	
}

/* default */
.band {
	background:#FFFFCC;	
}

.band.header {
	background:#FFFFCC;
}

.band.navigation {
	background: #FFFFCC;
	border-bottom: 3px solid #800000;
}

.band.imagery {
	width:100%;	
}

.band.imagery .main-image-home {
	position:relative;
	float:left;
	width:100%;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
}

.band.imagery .main-image-home .sizing {
    width: 100%;
    padding-bottom:24%;
    visibility: hidden;
}
.band.imagery .main-image-home .content {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top:-24%; /* important this is the negatation of the .sizing padding-bottom */
}

.band.imagery .main-image-page {
	position:relative;
	float:left;
	width:100%;
	padding-top:14px;
}

.band.imagery .main-image-page .sizing {
    width: 100%;
    padding-bottom:10%;
    visibility: hidden;
}
.band.imagery .main-image-page .content {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top:-10%; /* important this is the negatation of the .sizing padding-bottom */
	-webkit-background-size:contain;
	-moz-background-size:contain;
	-o-background-size:contain;
	background-size:contain;
	border-radius: 0 0 10px 10px;
}


.band.footer {
	background: #FFFFCC;
	padding: 28px 0 14px 0; 
	color:#FFFFCC;	
}

.band.bottom {
	background-color: #FFFFCC;
	padding: 28px 0 7px 0;
	color:#000000;
	border-top-width: 14px;
	border-top-style: solid;
	border-top-color: #800000;
}

.band.bottom img {
	margin-top:14px;	
}

.chief .container {
	margin-top:50px;
	padding-bottom:21px;
}


/* Heading */
header.main {
	padding:7px 0 0px;	
}

.band.header img {
	float:left;
	width:auto;	
	height:240px;
	margin-top:5px;
	margin-right:10px;
}

header h2.logo, header h1.logo, h2 {
	margin:0;
	text-align:left;
	font-family:arial,sans-serif;
	font-size:27px;
	line-height:50px;
	letter-spacing: 0.05em;
}

header h1.logo {
	font-size:32px;	
}

header h3.logo {
	margin:7px 0 14px;
	text-align:center;
	font-family:arial,sans-serif;
	font-size:18px;
	line-height:21px;
	letter-spacing:0.05em;
}

header h2.logo, header h1.logo {	
	text-align:center;
}

header h1.logo a, header h2.logo a { 
	text-decoration:none;
	color:#000000;
	font-weight:normal;
}

/*header h1.logo a em {
	color:#76D384;	
}*/

header h3.logo a {
	text-decoration:none;
	color:#000000;	
}

header .phone p {	
	letter-spacing: 0.05em;
	font-size:21px;
	margin-top:5px;
	margin-bottom:7px;
	color:#000000;
	text-align:center;
}

header .phone p .small {
	font-size:16px;
}

a[href^="tel"]:link,
a[href^="tel"]:visited, 
a[href^="tel"]:hover {
    text-decoration:none;
	cursor:default;
}

/* Navigation */
nav.primary{
	padding-top:0px;
}
nav.secondary {
	padding-top:0px;
	padding-bottom:0px;
	margin-bottom:7px;
	background-color:transparent;
}

nav.primary ul {
	/*float:left;*/
}

/* This is for use with smaller screen esp mobile only */
nav.primary ul.mobile {
	display:none;
}

nav.secondary ul {
	/*float:right;*/
	text-align:center;
}

nav.primary ul, nav.primary ul li, nav.secondary ul, nav.secondary ul li {
	margin:0;	
}

nav.primary ul li {
	display: inline;
	float:left;
	position:relative;	
}

nav.secondary ul li {
	display: inline;
	position:relative;
}

nav.primary ul li:first-child {
	border-left-width: 7px;
	border-left-style: dotted;
	border-left-color: #800000;	
}

nav.primary ul ul li, nav.primary ul ul li:first-child {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #D5D5B5;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #D5D5B5;
}

nav.primary ul li a, nav.secondary ul li a {
	display:inline-block;
	line-height:42px;
	padding:0 20px;
	color:#FF3333;
	text-decoration:none;
	font-weight:normal;
	letter-spacing:0.08em;
}

nav.secondary ul li a {
	color:#FFFFCC;
	line-height:30px;
}

nav.secondary ul li a {
	padding: 0 10px;	
}

nav.secondary ul li a {
	text-transform: none;	
	font-weight:normal;
}

nav.primary ul li a:hover, nav.secondary ul li a:hover {
	background:#DAA520;
	color:#800000;
	cursor:pointer;
}

nav.secondary ul li a:hover { 
	color:#292929;
}

div.phone {

}

/* sub menu - primary navigation */
nav.primary ul ul {
	opacity:0;
	filter:alpha(opacity:0);
	position: absolute;
	z-index:999;
	min-width:220px;
	background:#3B5323;
	height:0;
	overflow:hidden;
	-webkit-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-moz-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}

nav.primary ul li:hover ul { /* make sub menu element visible */
	height:auto; 
	overflow:auto;
	opacity:10;
	filter:alpha(opacity:100);
}

nav.primary ul ul li {
	clear:both;
	width:100%;
	max-width:220px;
	float:none;
	display:list-item;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D5D5B5;
}

nav.primary ul ul li a {
	display:block;
	line-height:42px;
	font-weight:normal;	
}

nav.primary ul li:hover > a {
}

nav.primary li.menu-item-20 a {
	color:#FFCC33;
}


/* Slider styling */
ul.slides img {
	width:100%;
	height:auto;
}	

/* imagery band */
.topleft, .topmiddle, .topright {
	margin-top:14px;
}

.topleft h4, .topmiddle h4, .topright h4{
	color:#5BC1DA;
	font-size: 19px; line-height: 21px;
}
.topleft h3, .topmiddle h3, .topright h3 {
	color:#FFFFCC;	
}

.topleft p, .topmiddle p, .topright p {
	color:#EEF0EF;	
}

.topleft p.grey {
	color:#181818;
	font-size:16px;	
}

.topleft a {
	color:#900;
	text-decoration:none;
}

.topleft a:hover {
	text-decoration:underline;	
}


.topleft img {
	width:100%;	
}

.topright img {
	width:45%;	
}
.topleft img.alignleft, .topmiddle img.alignleft, .topright img.alignleft {
	float:left;	
	margin-right:5px;		
}

.topleft img.alignright, .topmiddle img.alignright, .topright img.alignright {
	float:right;	
	margin-left:5px;		
}

/* blog post and other article styling */
.chief .two-thirds {
	margin-top:-49px;
	background-color:#FFFFCC;
	min-height:30px;
	border-radius:6px;
	padding:7px 5px 21px;
	border: none;
}

.articles h1 {
	color:#181818;
	font-size:30px;	
}

 .articles h2 {
	color:#800000;
	line-height:35px;
	margin-bottom: 0px;	
}

.articles h3, .articles h4 {
	color:#181818;	
}
.articles h4 {
	margin-top: 20px;
}
.articles p,  .articles ul {
	color:#181818;
}

.articles ul {
	margin-top:0;
	padding-top:0;	
}

.articles li {
	margin-bottom: 7px;
	list-style-type: none;
	list-style-position: inside;
	line-height: 21px;
}

.articles h3 {
	font-size: 21px; line-height: 28px; margin-bottom: 7px;	
}


.articles img.thumb, .articles .cff-wrapper img {
	width:100%;	
	max-width:150px;
}

.articles img.wlarger {
	width:50%;
	max-width:250px;	
}

.articles .fullsizeimg img, .articles img.fullsizeimg  {
	max-width:400px;
	width:100%;
	margin:0;
	padding:0;
}

.articles figure img {
	margin-bottom:0;	
}

.articles img.alignleft {
	float:left;	
	margin-right:15px;
}

.articles img.alignright {
	float:right;
	margin-left:15px;
}

.articles img.quarter {
	width:25%;	
	max-width:170px;
	margin-right:50px;
}

.articles .hilite {
	width:100%;
	padding:5px;
	margin-bottom:7px;
	background: #E7E7E7;
	border-radius: 2px;
	border-width: 1px;
	border-style:solid;
	border-color:#D4D4D4;
}
/* town and villages article styling */
.articles .towns ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
	background-color: #ffffcc;
   }

.articles .towns li {
    float: left;
}

.articles .towns li a {
	display:inline-block;
	line-height:42px;
	padding:0 20px;
	color:#FF3333;
	text-decoration:none;
	font-weight:normal;
	letter-spacing:0.08em;
	}

.articles .towns li a:hover {
    background-color: #DAA520;
	color:#800000;
	cursor:pointer;
}
.articles .towns a:visited {
	color:#800000;
	text-decoration:none;
}
.articles .towns td a {
	display:block;
	width:100%;
	height:100%;
	padding:10px 10px;
	line-height:42px;
	color:#FF3333;
	text-decoration:none;
	font-weight:normal;
	letter-spacing:0.08em;
	text-align:left;
	}
.articles .towns td a:hover {
	background-color: #DAA520;
	color:#800000;
	cursor:pointer;
}
.articles .towns img {
    display: block;
    margin-left: auto;
    margin-right: auto ;
}

.articles table {
    margin-left:auto; 
    margin-right:auto;
  }
 .articles .results h2 {
	color:#800000;
	line-height:35px;
	margin-top: 17px; 
	margin-left: 17px; 
	margin-bottom: 0px;	
}
.articles .results p  {
	margin-left: 17px; 
	margin-top: 5px;
	margin-bottom: 0px;	
}
.articles .results ul {
    list-style: none; /* Remove HTML bullets */
	overflow: auto;
}

.articles .results li { 
	margin-left: 17px; 
    display: inline-block;
    width: 45%;
    vertical-align: top;
}

.articles .results li::before {
	content: "•"; /* Insert content that looks like bullets */
	font-size:20px;
    padding-right: 8px;
    color: #800000;/* Or a color you prefer */
    display: inline-block;
}
.articles .resources ul {
    list-style: none; /* Remove HTML bullets */
	overflow: auto;
}

.articles .resources li { 
	margin-left: 17px; 
}

.articles .resources li::before {
	content: "•"; /* Insert content that looks like bullets */
	font-size:20px;
    padding-right: 8px;
    color: #800000;/* Or a color you prefer */
}
.articles .results td a:hover {
	background-color: #DAA520;
	color:#800000;
	cursor:pointer;
	text-decoration:none;
	}
.articles .results a:visited {
	color:#800000;
	text-decoration:none;
}
.articles .results td a {
	color:#FF3333;
	display:block;
	width:80%;
	height:100%;
	line-height:22px;
	padding:0px 5px;
	text-decoration:none;
	font-weight:normal;
	letter-spacing:0.08em;
	text-align:left;
	}
.articles .baptism td a:hover {
	background-color: #DAA520;
	color:#800000;
	cursor:pointer;
	text-decoration:none;
	}
.articles .baptism a:visited {
	color:#800000;
	text-decoration:none;
}
.articles .baptism td a {
	color:#FF3333;
	display:block;
	width:100%;
	height:100%;
	line-height:42px;
	padding:0px 5px;
	text-decoration:none;
	font-weight:normal;
	letter-spacing:0.08em;
	text-align:left;
	}
.articles .gravestone a:visited {
	color:#800000;
	text-decoration:none;
}	
.articles .gravestone a:hover {
	text-decoration:none;
	padding:10px 20px;
	background-color: #DAA520;
	color:#680000;	
}
.articles .gravestone table {
   background-color:#CCCCCC;
   border: 5px ridge #CCCCCC;

}
.articles .search th {
	align:center;
	padding:5px;	
	text-align:right;
	vertical-align: top;
	font-weight:bold;
}
/* more article styling */
article {
	margin-top:7px;
}

article .breadcrumbs, article .meta {
	margin-bottom:7px;	
}


/* links inside articles */
.articles a{
		color:#FF3333;
		text-decoration:none;
} 

.articles a:visited {
	color:#800000;
	text-decoration:none;
}

.articles a:hover {
	text-decoration:none;
	background-color: #DAA520;
	color:#680000;	
}

article	a[href^="tel"],
article	a[href^="tel"]:link,
article	a[href^="tel"]:visited, 
article	a[href^="tel"]:hover {
    text-decoration:none;
	cursor:default;
}

/* Contact Forms inside articles */
.articles form p {
	margin-top:0px;
	margin-bottom:0px;	
}

.articles form img {
	width:auto;	!important
}

.articles form textarea {
	width:96%;	
}

.comments li {
	line-height:21px;	
}

.articles ul.intro li {
	font-size:18px;
	line-height:21px;
	letter-spacing:0.03em;
	font-style:italic;
	list-style-position: inside;
	list-style-image: url(../images/tick-w18.jpg);	
}

.comment-author, .comment-meta {
	margin-bottom:7px;	
}

/* Sidebar (aside) styling */
aside {
	background-color:#800000;
	margin-top:-49px;
	border-radius:6px;
	padding:14px 5px;
	min-height:30px;
	border: none;
}

aside  td {
	vertical-align: center;
	padding:5px 5px 5px 5px;	
	font-weight:bold;
}


aside a, aside a:visited {
	color:#5BC1DA;
	text-decoration:none;
	font-weight:normal;
}

aside a:hover {
	color:#5BC1DA;
	text-decoration:underline;	
}

aside p, aside h1, aside h2, aside h3, aside h4, aside li  {
	color:#EEF0EF;
}

aside h3 {
	margin-bottom:10px;	
}

aside li {
	margin-top:2px;
	margin-bottom:2px;	
}

aside img {
	max-width:100%;
	height:auto;
	border: 3px solid #ffffcc;	
	background-color: #fff;	
}



hr {
	margin:14px 0 28px;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: dashed;
	border-left-style: none;
	border-bottom-color: #B1BAB6;
}


/* pagination for blog posts */
nav.pagination ul {
	width:100%;
	text-align:center;
	margin:21px 0 35px 0;
}

nav.pagination li {
	display:inline;
}

nav.pagination li a, nav.pagination li span {
	display:inline-block;
	line-height:35px;
	width:35px;
	height:35px;
	text-align:center;
	padding:0 7px;
	text-decoration:none;
	font-weight:bold;
	border-bottom: 3px solid #EEF0EF;	
}

nav.pagination li a.selected, nav.pagination li span.current, nav.pagination li a:hover{
	border:none;
	color:#FFFFCC;
	background-color: #313128;
}

/* footer  and bottom (footer) */
.footer .one-third, .footer .two-thirds {
	background:#FFFFCC;
	min-height:30px;
	padding:5px;
	border-radius:6px;	
}

.footer .one-third {
	background:transparent;
	padding:0;	
}

.footer header {
	background:#3B5323;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	padding:0 4px;
}

.footer header h4 {
	color:#EEF0EF;
}

.bottom p, .bottom h1, .bottom h2, .bottom h3, .bottom h4, .bottom h5 {
	color:#EEF0EF;
}

footer p {
	padding-top:10px;	
}

footer ul {
	padding-top:10px;	
}

footer .last-credit p.webcred {
	font-size:11px;	
}

footer li {
	margin: 0 0 21px 0;
	color: #181818;	
}

footer.main a,
footer.main a:visited {	
	color:#800000;
	text-decoration:none;
}

footer.main a:hover {
	text-decoration:none;
	padding:10px 20px;
	background-color: #DAA520;
	color:#680000;
}

footer a,
footer a:visited {	
	color:#800000;
	text-decoration:none;
}

footer a:hover {
	text-decoration:none;
	padding:10px 20px;
	background-color: #DAA520;
	color:#680000;
}

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

/* mobile nav */
img.menuicon {
	margin:0;
	max-height:15px;
	width:auto;	
}

/* figures */
figure {
	padding:4px;
	border:none;
	background:transparent;
	line-height:0;
}

.articles figure img {
	border:none;	
}

figure.video {
	padding:0px;
	border:none;
}

figcaption {
	font-size:0.75em;
	text-align:right;
	padding:0 5px 14px;
}

.thumbnail img {
	width:100%;
	max-width:100%;	
}

/* by default, <input type="search" /> renders like a "native" search field on Mac OS X (rounded corners, clear button, etc.). - this clears that styling */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input[type="search"] {
	-webkit-appearance:	textfield;
}

input[type="search"]:focus {
	outline:none;	
}

/* icons */
/*.icon2 {
	font-family:WebSymbolsRegular;	
	font-size:28px;
	line-height:1em;
}*/

.icon {
	font-family:SocIcon;	
	font-size:25px;
	line-height:1em;
}

.icon.menu {
	clear:both;
	color:#FFFFCC;
	display:inline;
	margin-left:0;
	font-size:21px;	
}

.icon.rss {
	color:#D3E8B8;	
	line-height:40px
}

.icon.facebook, .icon.twitter, .icon.google {
	color:#D3E8B8;
	line-height:40px
}

nav.secondary a:hover .icon.facebook,
nav.secondary a:hover .icon.twitter,
nav.secondary a:hover .icon.google,
nav.secondary a:hover .icon.rss {
	color:#3B5323;
}

/* subscribe text */
.subscribe a {	
	text-decoration:none;
}

.subscribe table {
	margin-top:14px;
	width:100%;
	text-align:center;
}

.subscribe table td {
	width:25%;
}

/* flexible embeds */
.embed {
	position:relative;
	padding:0;
	padding-bottom:56.25%; /* 16/9 ration */
	/* extra for cross browser assurance */
	height:56.25%;
	overflow:hidden;
	margin-bottom:7px;
}

.embed iframe,
.embed object,
.embed embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;		
}

.wpcf7-form input[type="text"] {
	margin-bottom:7px;	
}

div.wpcf7-response-output {
	background-color:#EEF0EF;	
}

div.cff-wrapper {
 	overflow-y:scroll;
	height:1193px;		
}

.footer .two-thirds .scrollable {
	height:1193px;	
}

#guildt1, #passt1 {
	width:50%;
	border:1px solid #ccc;
	background-color:#f7f7f7;
}

#guildt1 {
	float:left;	
}

#passt1 {
	float:right;
	border:none;
	background-color:transparent;	
}

.articles #guildt1 img {
	width:100%;
	max-width:86px;		
	margin:5px;
	float:left;
}

.articles #passt1 img {
	width:100%;		
	margin: 0 10px 7px 10px;
	float:left;
}

.articles #guildt1 p {
	text-align:center;	
	margin-left:10px;
}

.articles img.yell {
	width:40px;
	max-width:40px;
	height:auto;
	float:left;	
	margin-right:10px;
	margin-bottom:21px;
}

table.links {
	width:100%;
	border:1px solid #ccc;
	background-color:#f7f7f7;
	margin:7px 0;	
}

table.info {
	width:100%;
	margin:7px 0;	
}

table.info td {
	vertical-align:top;
}

table.links td, table.info td.icon {
	padding:5px;
	width:25%;	
	text-align:center;
	vertical-align: middle;
}

table.info td.icon {
	max-width:150px;	
}

table.info td.icon img {
	width:100%;
	max-width:150px;	
}

table.info h4 {
	font-size:17px;	
	margin-top:0;
	padding-top:0;	
}

.textwidget {
	margin-bottom:7px;	
}

/* Price list page */
.articles h2.pricelist {
	text-align: center;
	color: #329E42;
	font-size: 56px;
	line-height: 63px;
	text-transform: uppercase;
}

.articles h3.pricelist {
	text-align:center;
	color:#181818;
	font-size:63px;
	line-height:70px;
	text-transform:uppercase;
}

.articles p.pricelist {
	text-align:center;
	font-size:35px;
	line-height:42px;
	font-weight:bold;
}

.articles p.pricelistred {
	text-align:center;
	font-size:26px;
	line-height:28px;
	text-transform:uppercase;
	color:#ff0000;		
}

.articles p.plmessage {
	font-size:23px;
	line-height:28px;	
}

.articles p.small {
	font-size:12px;	
}

.articles p.pricelist img {
	position: relative;
	top:25px;
	width:150px;
	max-width:150px;
	height:auto;
	margin:0;
	padding:0;	
}

hr.pricelist {
	margin:0;
	padding-top:21px;
	border-bottom-style: none;
}



/* #Media Queries
================================================== */
/* largest screen sizes browsers */
@media only screen and (min-width: 1600px) {	
	
}

/* Smaller than widescreen desktop browsers */
@media only screen and (min-width: 960px) and (max-width: 1199px) {
.band.header {
}

.band.imagery .main-image-home .sizing {
    padding-bottom:32%;
}
.band.imagery .main-image-home .content {
    margin-top:-32%; /* important this is the negatation of the .sizing padding-bottom */
}
	
nav.primary ul li a {
	padding:0 10.5px;
}

}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
.band.header {
}

.band.imagery .main-image-home .sizing {
    padding-bottom:45%;
}
.band.imagery .main-image-home .content {
    margin-top:-45%; /* important this is the negatation of the .sizing padding-bottom */
}

.topright img {
	width:45%;	
}

nav.primary ul {
	display:none;
}

nav.primary ul.mobile {
	display:inline;
}

/* sub menu - mobile 'menu' navigation */
nav.primary ul.mobile ul {
	opacity:0;
	filter:alpha(opacity:0);
	position: absolute;
	z-index:10000;
	background:#3B5323;
	min-width:220px;
	height:0;	/* initially hide element */
	overflow:hidden; /* initially hide element */
	-webkit-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-moz-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
	display:block;
}

nav.primary ul.mobile li:hover ul { /* make sub menu element visible */
	height:auto; 
	overflow:auto;
	opacity:10;
	filter:alpha(opacity:100);
}

nav.primary ul.mobile ul li {
	clear:both;
	width:100%;
	max-width:220px;
	float:none;
	display:list-item;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D5D5B5;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #D5D5B5;	
}

nav.primary ul.mobile ul li:first-child {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D5D5B5;		
}

nav.primary ul.mobile ul li a {
	display:block;
	line-height:42px;
	color:#EEF0EF;
}

nav.primary ul.mobile ul li.menu-item-31 a {
	color:#FFCC33;
}

nav.primary ul.mobile li:hover > a {
    color:#373211;
}		
	
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
/* Price list */
.articles p.pricelist {
	text-align:center;
	font-size:21px;
	line-height:28px;
	text-transform:uppercase;
}

.articles p.pricelistred {
	text-align:center;
	font-size:21px;
	line-height:28px;
	text-transform:uppercase;
	color:#ff0000;		
}

.articles p.pricelist img {
	position: relative;
	top:18px;
	width:100px;
	max-width:100px;
	height:auto;
	margin:0;
	padding:0;	
}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
.band.header {
}

.band.imagery .main-image-home {
	background:url(../images/green-energy-nw-bg2.jpg)) no-repeat center top,linear-gradient(#072B5A,#ECECDF);
	/*background:linear-gradient(#072B5A,#ECECDF);*/
	-webkit-background-size:contain;
	-moz-background-size:contain;
	-o-background-size:contain;
	background-size:contain;
	
}

.band.imagery .main-image-home .sizing {
    padding-bottom:70%;
}
.band.imagery .main-image-home .content {
    margin-top:-70%; /* important this is the negatation of the .sizing padding-bottom */
}

.band.imagery .main-image-page .sizing {
    padding-bottom:2%;
}
.band.imagery .main-image-page .content {
    margin-top:-2%; /* important this is the negatation of the .sizing padding-bottom */
}

.band.footer {
	padding-top:14px;
}

.band.header img {
	float:left;
	width:26px;	
	height:26px;
}

.topright h4, .topright p {
	color:#181818;	
}

.chief .two-thirds, .chief aside {	
	margin-top:14px;
	margin-bottom:14px;		
}

article .two.thumbnail, article .three.thumbnail { /* don't show blog thumbnail on mobiles */
	display:none;	
}
	
/* Correcting text overspill */ 
.articles .blog p, .articles .blog a h1, .articles .blog a .h2, .articles .blog a h3, .articles .blog a h4 {
	padding-right:20px;
}
.blog p, .blog h1, .blog .h2, .blog h3, .blog h4{
	padding-right:20px;
}
.blog h1 a, .blog h2 a {
	padding-right:20px;
}
/* End style correction */

aside img {
	width:100%;	
}

a[href^="tel"]:link,
a[href^="tel"]:visited {
	/*color: #FF9900;*/
	cursor:pointer;
} 

a[href^="tel"]:hover,
a[href^="tel"]:focus {
	/*color:#181818;*/
	text-decoration:underline;
	cursor:pointer;	
}

div.first-credit, div.second-credit, div.last-credit {
	text-align:center;	
}

.footer .one-third, .footer .two-thirds {
	border-radius:0;	
}

.footer header {
	border-top-left-radius:0;
	border-top-right-radius:0;
}

/* Price list */
.articles p.pricelist {
	text-align:center;
	font-size:21px;
	line-height:28px;
	text-transform:uppercase;
}

.articles p.pricelistred {
	text-align:center;
	font-size:21px;
	line-height:28px;
	text-transform:uppercase;
	color:#ff0000;		
}

.articles p.pricelist img {
	position: relative;
	top:18px;
	width:100px;
	max-width:100px;
	height:auto;
	margin:0;
	padding:0;	
}

	
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {	
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width: 479px) {
.band.header {
}

.band.imagery .main-image-home .sizing {
    padding-bottom:55%;
}
.band.imagery .main-image-home .content {
    margin-top:-55%; /* important this is the negatation of the .sizing padding-bottom */
}


.topright img {
	width:50%;	
}


.flex-direction-nav li a {
	top:50%;	
}

.articles .fullsizeimg img, .articles img.fullsizeimg  {
	max-width:280px;
}

/* Price list */
.articles h2.pricelist {
	font-size: 28px;
	line-height: 35px;
}

.articles h3.pricelist {
	font-size:34px;
	line-height:42px;
}

.articles p.pricelist {
	text-align:center;
	font-size:16px;
	line-height:18px;
	text-transform:uppercase;
}

.articles p.pricelistred {
	text-align:center;
	font-size:16px;
	line-height:18px;
	text-transform:uppercase;
	color:#ff0000;		
}

.articles p.pricelist img {
	position: relative;
	top:10px;
	width:50px;
	max-width:50px;
	height:auto;
	margin:0;
	padding:0;	
}

.articles p.plmessage {
	font-size:16px;
	line-height:19px;	
}
}