/*
Theme Name: Greenwood Resin Responsive
Theme URI: https://wordpress.org/themes/twentysixteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, red, white, yellow, dark, light, one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: twentysixteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*
 * Resetting and rebuilding styles have been helped along thanks to the fine work of
 * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 * and Blueprint http://www.blueprintcss.org/
 */

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;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #f1f1f1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table {
	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 {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/*** Greenwood Styling ***/
	
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px; font-size: 1.4rem;
	color: #000;
	text-align: left;
	line-height: 1.4em;
	background: #ECEBE8 url(./images/site_background.jpg) top center repeat-y;
	overflow: auto; /* Parallax judder fix */
    height: 100%; /* Parallax judder fix */
}	

strong {
	font-weight: bolder;
}

h1 {
	font-family: 'Source Sans Pro', Arial, sans-serif;
	font-weight: 700;
	font-size: 40px; font-size: 4.0rem;
	line-height: 1.0em;
	margin-bottom: 15px;
}

h2 { 
	font-family: 'Source Sans Pro', Arial, sans-serif;
	font-weight: 600;
	font-size: 19px; font-size: 1.9rem;
	color: #33A698;
	margin-bottom: 20px;
	display: block;
	line-height: 1.2em;
}

body#default h2 {
	margin-bottom: 5px;
}

h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px; font-size: 1.3rem;
	font-weight: bolder;
}

@media only screen and (max-width: 480px) {
	h1 {
		font-size: 27px; font-size: 2.7rem;
	}

	h2 { 
		font-size: 17px; font-size: 1.7rem;
		margin-bottom: 15px;
	}
}

p {
	font-size: 14px; font-size: 1.4rem;
	margin: 8px 0 8px 0;
}

body#default p {
	margin-bottom: 20px;
}

a:link, a:visited {
	text-decoration: none;
	color: #000;
}

a:hover {
	text-decoration: underline;
}

/*** Responsive Setup ***/

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

.col {
	display: block;
	float:left;
	margin: 0 0 0 2.2%;
}

.col:first-child { margin-left: 0; }

.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 65.93%; }
.span_1_of_3 { width: 31.86%; }

.span_2_of_2 { width: 100%; }
.span_1_of_2 { width: 48.9%; }

@media only screen and (max-width: 700px) {
	
	.col {  margin: 0; }

	.span_1_of_2, .span_1_of_3, .span_1_of_3 { 
		width: 100%;
	}
}

/*** Header ***/
div#headerWrapper {
	background: url(./images/background_header.png) top center repeat-y;
	position: relative;
	z-index: 2000;
}

div#header {
	margin:	0 auto;
	max-width: 960px;
	padding: 0 30px 0 30px;
	background: #fff url(./images/header_strip.png) 0 0 no-repeat;
	background-size: 100% 4px;
	overflow: hidden;
}

@media only screen and (max-width: 700px) {
	
	div#header {
		padding: 0 15px 0 15px;
	}
}

div#header.navigationFixed {
	margin-bottom: 49px; /* Difference in height made when navigation is fixed to top of page (prevent judder) */ 
}

div#header #logo {
	float: left;
	vertical-align: middle;
	width: 35%;
	margin: 25px 0 25px 0;
}

div#header #contactWrapper {
	text-align: right;
	float: right;
	margin: 25px 0 25px 0;
}

@media only screen and (max-width: 700px) {
	
	div#header #logo {
		width: 42%;
		margin: 16px 0 15px 0;
	}

	div#header #contactWrapper {
		text-align: right;
		float: right;
		margin: 15px 0 15px 0;
	}
}

div#header #contactWrapper .callToAction {
	margin-bottom: 0;
}

@media only screen and (max-width: 700px) {
	div#header #contactWrapper .callToAction {
		display: none;
	}
}

div#header #contactWrapper .phone {
	color: #000;
	font-size: 34px; font-size: 3.4rem;
	font-weight: 700;
	margin-bottom: 0;
	display: block;
}

div#header #contactWrapper .email {
	font-size: 17px; font-size: 1.7rem;
	margin-bottom: 0;
}

@media only screen and (max-width: 800px) {
	
	div#header #contactWrapper .phone {
		font-size: 25px; font-size: 2.5rem;
	}

	div#header #contactWrapper .email {
		font-size: 15px; font-size: 1.5rem;
	}
}

@media only screen and (max-width: 450px) {
	
	div#header #contactWrapper .phone {
		font-size: 20px; font-size: 2.0rem;
	}

	div#header #contactWrapper .email {
		font-size: 10px; font-size: 1.0rem;
	}
}

/*** Main Navigation ***/

div#navigationWrapper {
	width: 100%;
	z-index: 2000;
	position: relative;
	-webkit-transform: translate3d(0px,0px,0px); /* Fix to allow instant fixed navigation strip on ios (not just after finger release) */
	background: url(./images/background_navigation.png) bottom center no-repeat;
	padding-bottom: 9px;
}

div#navigationWrapper.fixed {
	position: fixed;
	display: block;
   	top: 0;
}

div#navigationWrapper nav {
	margin:	0 auto;
	padding: 0 30px 0 30px;
	max-width: 960px;
    height: 40px;
    background: rgb(0, 146, 126);
    text-align: justify;
    -moz-transition: all 0s linear;
    -ms-transition: all 0s linear;
    -o-transition: all 0s linear;
    -webkit-transition: all 0s linear;
    transition: all 0s linear;
}

div#navigationWrapper.fixed nav {
	background: rgba(0, 146, 126, 0.8);
	-moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

div#navigationWrapper nav ul.mainNavigation  {
	display: inline;
	line-height: 40px;
}

div#navigationWrapper nav ul.mainNavigation li {
	display: inline;
	font-family: 'Source Sans Pro', Arial, sans-serif;
	font-weight: 600;
	font-size: 20px; font-size: 2.0rem;
	line-height: 40px;
}

div#navigationWrapper nav span.spacer {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 0;
}

div#navigationWrapper nav .mainNavigation a {
	color: #fff;
}	

div#navigationWrapper nav .mainNavigation a:hover {
	text-decoration: none;
	color: #CCE9E5;
}

body#home div#navigationWrapper nav li.home a, body#about-us div#navigationWrapper nav li.about-us a, body#our-services div#navigationWrapper nav li.our-services a, body#our-services-post div#navigationWrapper nav li.our-services a, body#projects div#navigationWrapper nav li.projects a, body#projects-post div#navigationWrapper nav li.projects a, body#testimonials div#navigationWrapper nav li.testimonials a, body#contact-us div#navigationWrapper nav li.contact-us a,  body#design-drive div#navigationWrapper nav li.design-drive a {
	color: #222;
}

/*** Responsive Menu ***/

.slicknav_menu {
	display:none;
}

div#navigationWrapper nav ul.mainNavigation li.mobileOnly {
	display:none;
}

@media only screen and (max-width: 780px) {
	
	div#navigationWrapper nav {
		min-height: 40px;
		height: auto;
		padding: 0;
	}

	div#navigationWrapper nav ul.mainNavigation, div#navigationWrapper nav span.spacer { /* Hide current normal navigation menu */
		display: none;
	}

	.slicknav_menu {
		display:block;
	}
}

/*** Intro Content (including Cycle) ***/
div#introContentWrapper {
	width: 100%;
	height: 590px;
	margin-top: -181px; /* Offset allowing for header/nav panel height */
	margin-top: -183px \9;
}

@media only screen and (max-width: 960px) {
	div#introContentWrapper {
		margin-top: -22%;
	}
	div#introContentWrapper.small {
		margin-top: -181px; /* Offset allowing for header/nav panel height */
		margin-top: -183px \9;
	}
}


div#introContentWrapper.small {
	margin-top: -280px; /* Offset allowing for header/nav panel height */
	height: 520px;
}

@media only screen and (max-width: 870px) {
	div#introContentWrapper.small {
		margin-top: -270px;
		height: 560px;
	}
}

@media only screen and (max-width: 800px) {
	div#introContentWrapper.small {
		margin-top: -260px;
		height: 660px;
	}
}

@media only screen and (max-width: 600px) {
	div#introContentWrapper.small {
		margin-top: -300px;
		height: 700px;
	}
}

@media only screen and (max-width: 460px) {
	div#introContentWrapper.small {
		margin-top: -320px;
		height: 800px;
	}
}

div#introContentWrapper .slide {
	height: 1000px;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center top;
	transition: 0s linear;
    transition-property: background-position;
    -webkit-transform: translate3d(0,0,0);
/*     background-attachment: fixed; */
}

body#home #introContentWrapper .slide { display: none; }
body#home #introContentWrapper .slide.first { display: block; }

body#home #introContentWrapper .slide.contentWrapperA {
	background-image: url(./images/resin-driveway-gloucester.jpg); 
}

body#home #introContentWrapper .slide.contentWrapperB {
	background-image: url(./images/driveway-gloucester.jpg);
}

body#about-us #introContentWrapper .slide {
	background-image: url(./images/block-paving-drive-surfacing.jpg);
}

body#our-services #introContentWrapper .slide {
	background-image: url(./images/bath-resin-drive-garden.jpg);
}

body#our-services-post #introContentWrapper .slide, body#error #introContentWrapper .slide, body#design-drive #introContentWrapper .slide, body#default #introContentWrapper .slide {
	background-image: url(./images/gloucester-resin-drive-garden-green.jpg);
}

body#projects #introContentWrapper .slide {
	background-image: url(./images/resin-path-gloucester.jpg);
}

body#projects-post #introContentWrapper .slide {
	background-image: url(./images/resin-path-gloucester-green.jpg);
}

body#testimonials #introContentWrapper .slide {
	background-image: url(./images/tarmac-driveway-gloucester.jpg);
}

body#contact-us #introContentWrapper .slide {
	background-image: url(./images/resin-drive-to-houses.jpg);
}

@media only screen and (max-width: 960px) {
	
	body#about-us #introContentWrapper .slide, body#our-services #introContentWrapper .slide, body#our-services-post #introContentWrapper .slide, body#projects #introContentWrapper .slide, body#projects-post #introContentWrapper .slide, body#error #introContentWrapper .slide, body#default #introContentWrapper .slide {
		background-size: 175%;
	}
	
	body#contact-us #introContentWrapper .slide {
		background-size: 170%;	
	}

	body#testimonials div#introContentWrapper .slide {
		background-size: 185%;
	}

	body#home div#introContentWrapper .slide {
		background-size: 170%;
	}
}

@media only screen and (max-width: 600px) {
	
	body#home div#introContentWrapper .slide {
		background-size: 180%;
	}
}

@media only screen and (max-width: 400px) {
	
	body#home div#introContentWrapper .slide {
		background-size: 200%;
	}
}

div#introContentWrapper .overlayWrapper {
	max-width: 960px;
	margin: 0 auto;
	height: 430px;
	position: relative;
}

div#introContentWrapper .overlayWrapper h1 {
	color: #fff;
	width: 60%;
	position: absolute;
	bottom: 0;
	left: 70px;
	text-shadow: 0px 0px 6px rgba(6,3,5,0.75);
}

@media only screen and (max-width: 900px) {
	div#introContentWrapper .overlayWrapper {
		height: 420px;
	}
}

@media only screen and (max-width: 810px) {
	div#introContentWrapper .overlayWrapper {
		height: 370px;
	}
}

@media only screen and (max-width: 700px) {
	div#introContentWrapper .overlayWrapper {
		height: 330px;
	}

	div#introContentWrapper .overlayWrapper h1 {
		left: 15px;
	}
}

@media only screen and (max-width: 600px) {
	div#introContentWrapper .overlayWrapper {
		height: 286px;
	}
}

@media only screen and (max-width: 450px) {
	div#introContentWrapper .overlayWrapper {
		height: 216px;
	}
}

@media only screen and (max-width: 350px) {
	div#introContentWrapper .overlayWrapper {
		height: 200px;
	}
}

/*** Main Content ***/
div#mainContentOuterWrapper {
	min-height: 600px;
	position: relative;
	z-index: 1000;
	overflow: hidden;
	background: url(./images/background_mainContentTop.png) top center no-repeat;
	margin:	-170px auto 0 auto;
}

@media only screen and (max-width: 870px) {
	div#mainContentOuterWrapper {
		margin-top:	-200px;
	}
	
	body#error div#mainContentOuterWrapper {
		min-height: 0;
	}
}

@media only screen and (max-width: 800px) {
	div#mainContentOuterWrapper {
		margin-top:	-290px;
	}
}

@media only screen and (max-width: 600px) {
	div#mainContentOuterWrapper {
		margin-top:	-320px;
	}
}

@media only screen and (max-width: 460px) {
	div#mainContentOuterWrapper {
		margin-top:	-410px;
		min-height: 500px;
	}
}

@media only screen and (max-width: 400px) {
	div#mainContentOuterWrapper {
		margin-top:	-430px;
	}
}

body#home div#mainContentOuterWrapper {
	margin-top:	0;
	background: none;
	min-height: 0;
}

div#mainContentInnerWrapper {
	max-width: 960px;
	margin:	13px auto 0 auto; /* 13px is to allow for green strip at top of background */
	background:  url(./images/background_mainContent.gif) top left no-repeat;
	padding: 45px 70px 0 70px;
	min-height: 300px;
}

body#home div#mainContentInnerWrapper {
	padding-top: 0;
}

@media only screen and (max-width: 700px) {
	
	div#mainContentInnerWrapper {
		padding: 25px 15px 0 15px;
	}
}

body#home div#mainContentInnerWrapper {
	margin-top:	0;
}

div#mainContent .section.group {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-orient: horizontal;
	-moz-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-direction: normal;
	margin-bottom: 20px;
}

@media only screen and (max-width: 700px) {
	
	div#mainContent .section.group {
		display: block;
		margin-bottom: 0px;
	}
}

div#mainContent ul, div#mainContent ol {
	margin-top: 10px;
	margin-bottom: 15px;
} 

div#mainContent ul li {
	list-style: disc;
	margin-left: 20px;
	line-height: 1.6em;
}

div#mainContent ol li {
	list-style: decimal;
	margin-left: 20px;
	line-height: 1.6em;
}

div#mainContent h3.sectionDivider {
	font-size: 19px; font-size: 1.9rem;
	color: #000;
	border-bottom: 1px solid #88CEC5;
	font-weight: 700;
	margin: 0 0 15px 0;
	padding-bottom: 5px;
	clear: both;
}

@media only screen and (max-width: 480px) {
	
	div#mainContent h3.sectionDivider {
		font-size: 16px; font-size: 1.6rem;
	}
}

div#mainContent img {
	display: block;
	height:auto;
	width: 100%;
	object-fit: contain;
	position: relative;
    padding: 3px;
    background: rgb(0, 146, 126);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgb(153,211,203)), to(rgb(0, 146, 126)));
	background-image: -webkit-linear-gradient(rgb(153,211,203), rgb(0, 146, 126));
	background-image: -moz-linear-gradient(rgb(153,211,203), rgb(0, 146, 126)), -moz-linear-gradient(rgb(153,211,203), rgb(0, 146, 126));
	background-image: -o-linear-gradient(rgb(153,211,203), rgb(0, 146, 126)), -o-linear-gradient(rgb(153,211,203), rgb(0, 146, 126));
	background-image: linear-gradient(rgb(153,211,203), rgb(0, 146, 126)), linear-gradient(rgb(153,211,203), rgb(0, 146, 126));
}

div#mainContent a:link, div#mainContent a:visited, div#mainContent a:link, div#mainContent a:visited {
	color: #33A698;
	font-weight: bold;
	text-decoration: underline;
}

div#mainContent a:hover, div#mainContent a:hover {
	text-decoration: none;
}

div#mainContent a span {
	color: #000;
	font-weight: normal;
}

div#mainContent blockquote {
	font-family: 'Source Sans Pro', Arial, sans-serif;
	font-weight: 300;
	font-size: 19px; font-size: 1.9rem;
	text-indent: 15px;
	line-height: 1.15em;
	background: url(./images/_upperQuote.gif) top left no-repeat;*/
	padding: 0 40px 0 0;
}

div#mainContent blockquote span.endQuote {
	width: 11px;
	height: 15px;
	display: inline-block;
	background: url(./images/_lowerQuote.gif) top right no-repeat;
	padding: 0 0 3px 3px;
}

div#mainContent h3.quote {
	margin: 8px 0 10px 0;
	color: #99D2CB;
}

@media only screen and (max-width: 700px) {
	
	div#mainContent h3.quote {
		margin-bottom: 3.5%;
		font-size: 12px; font-size: 1.2rem;
	}
}

div#mainContent a.itemLinkWrapper {
	position: relative;
	margin-bottom: 40px;
}

div#mainContent a.itemLinkWrapper:hover {
	text-decoration: none;
}

div#mainContent .descriptionWrapper {
	margin: 10px 0 55px 0; /* 55px space for 'Read more' button below */
	float: left;
}

div#mainContent a.itemLinkWrapper .descriptionWrapper h2 {
	text-decoration: none;
	margin-bottom: 0;
}

.videoWrapper {
	width: 100%;
    position: relative;
    padding-bottom: 56.45%;
    height: 0;
    margin-bottom: 20px;
}
.videoWrapper iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div#mainContent .galleryWrapper ul {
	margin: 0;
	width: 100%;
}

div#mainContent .galleryWrapper li {
	float: left;
	display: inline-block;
	width: 31.86%;
	list-style: none;
	margin: 0 2.2% 18px 0;
	line-height: 1.4em;
}

div#mainContent .galleryWrapper li h4 {
	margin-top: 5px;
}

div#mainContent .galleryWrapper li.everyThirdItem {
	margin-right: 0;
}

div#mainContent .galleryWrapper li.afterEveryThirdItem {
	clear: left;
}

@media only screen and (max-width: 700px) { /* 2 column layout */

	div#mainContent .galleryWrapper li {
		width: 48.9%;
		margin: 0 2.2% 18px 0;
	}
	
	div#mainContent .galleryWrapper li.everyThirdItem {
		margin-right: 2.2%;
		clear: none;
	}

	div#mainContent .galleryWrapper li.afterEveryThirdItem {
		clear: none;
	}
	
	div#mainContent .galleryWrapper li.everySecondItem {
		margin-right: 0;
	}

}

/* Home Page Specific (uses mainContent settings for most things) */
div#mainContentIntroOuterWrapper {
	position: relative;
	z-index: 1000;
	overflow: hidden;
	margin:	-170px auto 0 auto;
	background: url(./images/background_mainIntroHomeLeft.png) top center no-repeat;
}

@media only screen and (max-width: 900px) {
	div#mainContentIntroOuterWrapper {
		margin-top: -180px;
	}
}

@media only screen and (max-width: 810px) {
	div#mainContentIntroOuterWrapper {
		margin-top: -230px;
	}
}

@media only screen and (max-width: 700px) {
	div#mainContentIntroOuterWrapper {
		margin-top: -268px;
	}
}

@media only screen and (max-width: 600px) {
	div#mainContentIntroOuterWrapper {
		margin-top: -315px;
	}
}

@media only screen and (max-width: 450px) {
	div#mainContentIntroOuterWrapper {
		margin-top: -385px;
	}
}

@media only screen and (max-width: 350px) {
	div#mainContentIntroOuterWrapper {
		margin-top: -400px;
	}
}

div#mainContentIntroOuterWrapper .section {
	max-width: 960px;
	margin:	0 auto;
}

div#mainContentIntroOuterWrapper .introWrapper {
	width: 60%;
	background: url(./images/background_mainIntroHomeRight.png) top right no-repeat;
	padding: 13px 9px 0 0;
	float: left;
	margin-left: 0;
}

@media only screen and (max-width: 850px) {
	div#mainContentIntroOuterWrapper .introWrapper {
		width: 100%;
		background: url(./images/background_mainIntroHomeRight_alt.png) top right no-repeat;
		padding: 13px 0 0 0;
	}
}

div#mainContentIntroOuterWrapper .introWrapper div {
	overflow: hidden;
	background: url(./images/background_mainContent.gif) top left no-repeat; 
	padding: 45px 71px 45px 71px;
}

@media only screen and (max-width: 700px) {
	div#mainContentIntroOuterWrapper .introWrapper div {
		padding: 25px 15px 25px 15px;
	}
}

div#mainContentIntroOuterWrapper .linkBlocks {
	width: 40%;
	padding-bottom: 9px;
	float: right;
	margin-top: 1px;
}

div#mainContentIntroOuterWrapper .linkBlocks ul li {
	width: 48.9%;
	margin: 0 0 0 2.2%;
	display: block;
	float:left;
}

div#mainContentIntroOuterWrapper .linkBlocks ul li:first-child { 
	margin-left: 0;
}

div#mainContentIntroOuterWrapper .linkBlocks a {
	display: block;
	margin-top: 4.5%;
	-webkit-box-shadow: 0px 0px 6px 2px rgba(6,3,5,0.5);
    -moz-box-shadow: 0px 0px 6px 2px rgba(6,3,5,0.5);
    box-shadow: 0px 0px 6px 2px rgba(6,3,5,0.5);
    background-color: rgb(0,146,126);
}

div#mainContentIntroOuterWrapper .linkBlocks img {
	width: 100%;
	height: auto;
	max-width: 400px; 
    max-height: 400px;
    display: block;
    -webkit-transition: opacity 0.5s linear;
    -moz-transition: opacity 0.5s linear;
    -ms-transition: opacity 0.5s linear;
    -o-transition: opacity 0.5s linear;
    transition: opacity 0.5s linear;
}

div#mainContentIntroOuterWrapper .linkBlocks a img:hover {
	opacity: 0.7;
}

@media only screen and (max-width: 850px) {

	div#mainContentIntroOuterWrapper .linkBlocks { width: 100%; }

	div#mainContentIntroOuterWrapper .linkBlocks ul {
		width: 49.45%;
		float: left;
	}

	div#mainContentIntroOuterWrapper .linkBlocks ul:first-child { margin-right: 1.1%; }
}

@media only screen and (max-width: 450px) {

	div#mainContentIntroOuterWrapper .col { margin: 0 0 0 2.2%; }
	div#mainContentIntroOuterWrapper .linkBlocks ul { width: 100%; }
	div#mainContentIntroOuterWrapper .linkBlocks ul li { width: 48.9%; }
	div#mainContentIntroOuterWrapper .linkBlocks ul li:first-child { margin-left: 0; }
}

/* About & Article Page Specific (uses mainContent settings for most things) */
body#about-us div#mainContent img.leadImage, body#our-services-post div#mainContent img.leadImage, body#projects-post div#mainContent img.leadImage {
	width: 48.9%;
	float: right;
	margin: 0 0 3.2% 3.9%;
	display: block;
	clear: both;
}

body#about-us div#mainContent h3.sectionDivider, body#our-services-post div#mainContent h3.sectionDivider, body#projects-post div#mainContent h3.sectionDivider {
	margin-top: 53px;
}

body#projects-post div#mainContent h3.sectionDivider.noSpace {
	margin-top: 0;
}

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

	body#about-us div#mainContent img.leadImage, body#our-services-post div#mainContent img.leadImage, body#projects-post div#mainContent img.leadImage {
		width: 100%;
		margin: 0 0 4.2% 0;
	}
}

/* Testimonial Page Specific */
body#testimonials div#mainContent h3.sectionDivider {
	margin-top: 23px;
}

@media only screen and (max-width: 700px) {
		
	body#testimonials div#mainContent h3.quote {
		margin-bottom: 30px;
	}
	
	body#testimonials div#mainContent h3.quote.last {
		margin-bottom: 10px;
	}
}

/* Contact Us Page Specific */
body#contact-us .contactDetails {
	padding-left: 2%;
}


body#contact-us .contactDetails .title {
	color: #33A698;
}

body#contact-us .contactDetails .spacer {
	margin-top: 35px;
}

body#contact-us .contactDetails a {
	color: #000;
	font-weight: normal;
}

body#contact-us .contactDetails li {
	list-style-type: none;
	margin: 0;
}

body#contact-us form {
	border-right: 1px solid #88CEC5;
	padding-right: 10.0%;
	float: left;
}

@media only screen and (max-width: 850px) {
	
	body#contact-us .col {  margin: 0; }

	body#contact-us .span_1_of_2 { 
		width: 100%;
		clear: both;
	}
	
	body#contact-us .section.group {
		display: block;
		margin-bottom: 0px;
	}

	body#contact-us .contactDetails {
		padding-left: 0;
	}
	
	body#contact-us .contactFormWrapper {
		margin-top: 20px;
		margin-bottom: 40px;
	}
	
	body#contact-us form {
		border-right: none;
		padding-right: 0;
	}
}

body#contact-us label {
	float: left;
	clear: left;
	text-align: left;
	width: 100%;
	color: #33A698;
	margin-bottom: 5px;
}

body#contact-us input, body#contact-us textarea {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* Hides shadows on mobile devices */
	
	border: 1px solid #DFDFDF;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	float: left;
	display: block;
	font-family: Arial, 'Bitstream Vera Sans', sans-serif;
	font-size: 1.05em;
	width: 100%;
	margin-right: 30px;
	background-color: #ffffff;
}

body#contact-us input {	
	line-height: 22px;
	padding: 0 7px 0 7px;
	margin-bottom:10px;
	height: 2.9em;
}

body#contact-us textarea {
	height: 158px;
	padding: 6px;
}

body#contact-us #formSubmit  {
	margin: 15px 0 0 0;
	border: none;
	cursor: pointer;
	position: relative;
	float: left;
	clear: both;
	display: inline-block;
}

body#contact-us button::-moz-focus-inner { /* Remove weird border around button in Firefox */
    padding: 0;
    border: 0
}

body#contact-us .wpcf7-not-valid  {
	border: 1px solid #B3040A;
}

body#contact-us .wpcf7-not-valid-tip-no-ajax, body#contact-us .wpcf7-not-valid-tip {
	display: none;
}

body#contact-us .ajax-loader {
	display: inline-block;
	background-image: none;
	width: auto;
	height: auto;
	border: none;
	padding: 0;
	margin: 20px 0 0 10px;
	vertical-align: none;
	color: #33A698;
}


body#contact-us .wpcf7-response-output {
	float: left;
	clear: both;
	border: none;
	color: #B3040A;
	margin: 10px 0 0 0;
	padding: 0;
	text-align: left;
}

body#contact-us .wpcf7-response-output.wpcf7-mail-sent-ok {
	color: #33A698;
	font-family: 'Source Sans Pro', Arial, sans-serif;
	font-weight: 600;
	font-size: 1.45em;
	line-height: 1.2em;
	margin-top: 20px;
}

body#contact-us form.wpcf7-form #recaptchaWrapper { /* Hack so that recaptcha occupies full width of parent */
	clear: both;
	float: left;
	width: 100%;
}

body#contact-us form.wpcf7-form #recaptcha {
	float: left;
	clear: both;
	margin: 15px 5% 0 0;
	width: 302px; /* Hack to offset shadow */
}

	
@media only screen and (max-width: 430px) {


	body#contact-us form.wpcf7-form #recaptcha {
		margin-right: -8px;
		width: 290px;
	}

	body#contact-us #rc-imageselect, .g-recaptcha {
		transform:scale(0.959);
		-webkit-transform:scale(0.959);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

/* Design Driveway Page Specific */

body#design-drive #resinContentWrapper img {
	display: none;
	max-width:100%;
	position: relative;
	height: auto;
}

body#design-drive #resinContentWrapper img.first {
	display: block;
}

body#design-drive #pagerWrapper {
	clear: both;
	padding: 0px;
	margin: 0px;
}

body#design-drive #pagerWrapper li {
	display: block;
	float:left;
	margin: 0 0 0 2.1%;
	cursor: pointer;
}

body#design-drive #pagerWrapper li.firstInRowOf5 { margin-left: 0; }
body#design-drive #pagerWrapper li { width: 18.32%; }

@media only screen and (max-width: 750px) {
	
	body#design-drive #pagerWrapper li.firstInRowOf5 { margin-left: 2.1%; }
	body#design-drive #pagerWrapper li.firstInRowOf3 { margin-left: 0; }
	body#design-drive #pagerWrapper li { width: 31.93%; }
}

body#design-drive #pagerWrapper li img {
	background: transparent;
}

body#design-drive #pagerWrapper li h3 {
	text-align: center;
	width: 100%;
}


/*** 'action' Links & Buttons ***/
div#mainContent .action, a.action {
	color: #fff;
	font-weight: 700;
}

.action, .action i {
	line-height: 40px;
	-webkit-transition: background 0.5s linear;
    -moz-transition: background 0.5s linear;
    -ms-transition: background 0.5s linear;
    -o-transition: background 0.5s linear;
    transition: background 0.5s linear;
}

.action {
	font-family: 'Source Sans Pro', Arial, sans-serif;
	font-size: 17px; font-size: 1.7rem;
	font-weight: 700;
	color: rgb(255,255,255);
	background-color: rgb(0, 146, 126);
	padding: 0 0 0 12px;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
}

.action i {
	background-color: rgb(81,182,168);
	margin-left: 8px;
	padding: 0 12px 0 12px;
	vertical-align: top;
	border: 0;

}

a.itemLinkWrapper:hover .action, button.action:hover {
	background-color: rgb(0,109,94);

}
a.itemLinkWrapper:hover .action i, button.action:hover i {
	background-color: rgb(0, 146, 126);
}

/*** PDF Link Buttons ***/
a[href$=".PDF"], a[href$=".pdf"] {
	display: block;
	padding: 15px 0 15px 45px;
	background: url(./images//images/_buttons/pdf.png) left center no-repeat;
}

/*** Pre Footer ***/
div#preFooterWrapper {
	background: #000 url(./images/background_block-paving-driveway.jpg) top center no-repeat;
	margin-top: 30px;
	height: 133px;
}

@media only screen and (max-width: 850px) {
	
	div#preFooterWrapper {
		height: 95px;
	}
}

@media only screen and (max-width: 500px) {
	
	div#preFooterWrapper {
		height: 60px;
	}
}

@media only screen and (max-width: 370px) {

	div#preFooterWrapper {
		height: 30px;
	}
}


/*** Footer ***/
div#footerWrapper {
	background: #000 url(./images/background_tarmac-driveway.jpg) top center no-repeat;
}

div#footer {
	max-width: 960px;
	margin:	0 auto;
	color: #fff;
	overflow: hidden;
	padding: 30px 30px 0 30px;
}

@media only screen and (max-width: 700px) {
	div#footer {
		padding: 30px 15px 0 15px;
	}
}

div#footer a {
	color: #fff;
}

div#footer ul.siteLinks {
	line-height: 1.8em;
	float: left;
}

div#footer ul.siteLinks:first-child {
	margin-right: 16%;
}

div#footer ul.siteLinks li.spacer {
	margin-top: 15px;
}

div#footer h3.socialLinks, div#footer h3.reviewLinks {
	float: left;
	clear: left;
	margin-top: 20px;
}

div#footer h3.reviewLinks {
	margin-top: 30px;
}

div#footer ul.socialLinks, div#footer ul.reviewLinks {
	float: left;
	clear: both;
}

div#footer ul.socialLinks li, div#footer ul.reviewLinks li {
	float: left;
	margin: 2% 0 0 0;
}

div#footer ul.socialLinks li:first-child, div#footer ul.reviewLinks li:first-child {
	margin-right: 20px;
}

div#footer ul.socialLinks li img, div#footer ul.reviewLinks li img {
	max-height:100%;
	width: auto;
}

@media only screen and (max-width: 960px) {
	div#footer ul.socialLinks li img, div#footer ul.reviewLinks li img {
		height: 40px;
	}
}

@media only screen and (max-width: 820px) {
	div#footer ul.socialLinks li img, div#footer ul.reviewLinks li img {
		height: 32px;
	}
}

@media only screen and (max-width: 480px) {
	
	div#footer ul.socialLinks li img, div#footer ul.reviewLinks li img {
		height: 25px;
	}
}

@media only screen and (max-width: 700px) {
	.siteLinks {
		float: left;
	}
}

div#footer div#contactDetails {
	text-align: right;
}

div#footer div#contactDetails h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px; font-size: 1.6rem;
	margin-bottom: 0;
	line-height: 1.8em;
}

div#footer div#contactDetails ul .title {
	color: #66BEB2;
	font-weight: bold;
}

div#footer div#contactDetails ul {
	margin-top: 9px;
}

div#footer h3.copyright {
	float: left;
	padding: 5% 0 3% 0;
}

@media only screen and (max-width: 800px) {
	div#footer h3.copyright {
		font-size: 11px; font-size: 1.1rem;
		line-height: 1.4em;
	}
}

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

	div#footer .col { margin-left: 0; }

	div#footer .span_1_of_2 { width: 100%; }

	div#footer div#contactDetails {
		float: left;
		text-align: left;
		margin-top: 8%;
	}
}

/*** Swipebox Modifications ***/
#swipebox-close {
	bottom: 0 !important;
	top: auto !important;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  text-shadow: 1px 1px 1px black !important;
  background: rgb(0, 43, 37) !important;
  opacity: 0.95 !important;
}

#swipebox-top-bar {
  color: white !important !important;
  font-size: 13px !important; font-size: 1.3rem !important;
  line-height: 50px !important;
  
}

#swipebox-prev {
  background-position: -32px 13px !important;
  float: left !important;
}

#swipebox-next {
  background-position: -85px 13px !important;
  float: left !important;
}

#swipebox-arrows {
  display: block !important;
  margin: 0 auto !important;
  width: 100% !important;
  height: 50px !important;
  max-width: none !important;
}
