/*
	Author: William Dingwall
	Title: {  Designer + Developer }
	Website: williamdingwall.com
*/

/* Table of Contents

	*CSS RESET
	
	1. Globals & Constants
	
	2. Structurals
	
	3. Individual Pages
	
*/


/* start html5doctor.com Reset */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;list-style: none;}body {line-height:1;}article,aside,details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block;}nav ul {list-style:none;}blockquote, q {quotes:none;}blockquote:before, blockquote:after, q:before, q:after {content:'';content:none;}a {margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration: none;}ins {background-color:#ff9;color:#000;text-decoration:none;}mark {background-color:#ff9;color:#000;font-style:italic;font-weight:bold;}del {text-decoration: line-through;}abbr[title], dfn[title] {border-bottom:1px dotted;cursor:help;}table {border-collapse:collapse;border-spacing:0;}hr {display:block;height:1px;border:0;border-top:1px solid #cccccc;margin:1em 0;padding:0;}input, select {vertical-align:middle;}

/* END CSS RESET */


/* start 1. Globals & Constants */

/*----- The Type Choices ------

'Play' - 'Open Sans'

*/

/*----- The Spritesheet & Bak--------*/

.logo, .read-more, body, h1.logo, #top-grad, #header menu ul, #header menu li, #header menu li a:hover, #footer, #quotations input, #quotations textarea, #quotations #submit, #next, #prev, #feature:before, #feature:after, #feature #dots a {
	background-image: url('../img/spritesheet.png');
	background-repeat: no-repeat;
}

/*----- End Spritesheet --------*/

html, body {
	min-height: 100%;
}

body {
	font-family: 'Open Sans', Helvetica Neue, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 19px;
	font-weight: 400;
	background-position: 50% -1222px;
	background-repeat: no-repeat;
}

img {
	max-width: 100%;
	height: auto;
	border-top: 1px solid #acacac;
	border-left: 1px solid #acacac;
	border-right:  1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
}

h1, h2, h3, h4 {
	font-family: 'Play', 'Open Sans', Helvetica Neue, Helvetica, sans-serif;
	font-weight: 900;
	color: #c10b0b;
	font-size: 20px;
}

h2 a {
	color: #c10b0b;
}

h2 a:hover {
	color: #5381a4;
}

h5 {
	font-size: 120%;
	color: #4b5a5c;
	font-weight: 500;
}

blockquote h5 {
	padding: 0 30px;
	line-height: 24px;
}

h1, h2, #feature h4 {
	text-shadow:  0 1px 1px #5381a4, 0 -1px 1px #ddd;
}

a {
	color: #5381a4;
	font-weight: 600;
	transition-property: color, background-color;
	transition-duration: .25s, .25s;
	transiton-timing-function: ease-in-out, ease-in-out; 
}

a:hover {
	color: #c10b0b;
}

strong {
	font-weight: 500;
	color: #c10b0b;
}

.clearfix {
	display: block;
	clear: both;
}

.clearfix:after, .clearfix:before {
	content: '';
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.overview li > ul {
	padding-left: 10px;
}

.overview ul > li > ul {
	color: #4b5a5c;
	padding: 5px 10px;
}

.read-more {
	margin-top: 15px;
	padding: 5px 0;
	border-bottom: 1px solid #bad3df;
	border-right: 1px solid #c2dde9;
	border-top: 1px solid #f5f3f3;
	border-left: 1px solid #ecf2f4;
	font-style: italic;
	background-position: 50% -825px;
	background-color: #c2dde9;
	transition: all .25s ease-in-out;
	clear: both;
	margin-top: 10px;
	box-shadow: 0 0 2px #c2dde9;
	position: relative;
	z-index: 100;
	display: block;
	width: 100%;
	text-align: center;
}

.read-more:hover, #quotations #submit:hover {
	cursor: pointer;
	background-position: 50% -835px;
	color: #c10b0b;
}

.right {
	width: 54.166666667%;
	padding: 0 3.125%;
	float: right;
}

.left {
	width: 33.333333333%;
	padding: 0 3.125%;
	float: left;
}

.overview h3 {
	padding-bottom: 15px;
	border-bottom: 1px dotted #444;
	padding-top: 30px;
	text-shadow:  0 1px 1px #95b8d2, 0 -1px 1px #fafafa;
}

.overview h4 {
	font-size: 125%;
	padding-top: 15px;
	font-weight: 200;
}

.home .overview h4 {
	color: #c10b0b;
}

.overview p, .overview ul {
	padding-top: 15px;
}

.overview .left, .overview .right {
	padding-bottom: 30px;
}

.overview {
	position: relative;
	background-color: rgba(300, 300, 300, .5);
	border-bottom: 1px solid #c5c5c5;
}

#top-grad {
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 430px;
	padding: 0 60px;
	margin: 0 -60px;
	background-position: 50% -230px;
	background-color: transparent;
}

figure img {
	margin-bottom: 15px;
}

figure figcaption+img {
	margin-top: 15px;
	margin-bottom: 15px;
}

figcaption {
	display: block;
	text-align: center;
	color: #c5c5c5;
	font-size: 90%;
}

/* END 1. Globals & Constants */


/* start 2. Structurals */

#page-wrap {
	position: relative;
	min-height: 100%;
	max-width: 960px; /* context for "outset" elements */
	padding: 0 60px;
	margin: 0 auto;
	padding-bottom: 155px;
	margin-bottom: -155px;
}

.inset {
	position: relative;
	border-left: 1px solid #c5c5c5;
	border-right: 1px solid #c5c5c5;
}

/*------ Header ------*/

h1.logo {
	height: 110px;
	width: 110px;
	text-indent: -9999px;
	background-position: -7px -6px;
	position: absolute;
	left: 0;
	top: 30px;
	overflow: hidden;
}

h1.logo a {
	display: block;
	height: 100%;
}

#header {
	position: relative;
	z-index: 9999;
	padding: 30px 0;
}

#header h2 {
	height: 33px;
	padding-top: 15px;
	font-size: 175%;
	float: left;
}

#header #quotation-link {
	display: inline-block;
	float: right;
	height: 33px;
	padding-top: 15px;
}

#header menu{
	padding-left: 145px;
}

#header menu ul {
	height: 50px;
	overflow: hidden;
	display: block;
	background-position: 50% -1130px;
	border-radius: 5px;
	box-shadow: 0 1px 6px #c6d5dc;
	border-bottom: 1px solid #bad3df;
	border-right: 1px solid #c2dde9;
	background-color: #fff;
	margin-right: -2px;
}

#header menu li {
	display: block;
	float: left;
	background-position: 50% -134px;
	width: 25%;
	height: 100%;
	text-align: center;
	overflow: hidden;
	background-color: transparent;
	transition: background-color .25s ease-in-out;
}

#header menu li:hover {
	background-color: #fafdfd;
}

#header menu li:last-child a{
	border-right: none;
}

#header menu li a {
	font-family: 'Play', 'Open Sans', Helvetica Neue, Helvetica, sans-serif;
	display: block;
	height: 50px;
	padding-top:15px;
	font-weight: 700;
	font-size: 135%;
	color: #222;
	text-shadow:  0 1px 1px #95b8d2, 0 -1px 1px #fafafa;
	border-right: 1px solid #c5c5c5;
	background-position: 50% -134px;
}

#header menu li a:hover {
	color: #c10b0b;
}

.home #header menu li a {
	color: #c10b0b;
}

.home #header menu li a:hover {
	color: #222;
}

.home #header menu li {
	background-color: #fafdfd;
}

.home #header menu li:hover {
	background-color: transparent;
}

#footer-wrap {
	max-width: 960px;
	margin: 0 auto;
}

#footer {
	position: relative;
	z-index: 100;
	max-width: 960px;
	margin-top: 30px;
	height: 125px;
	border: 1px solid #c5c5c5;
	background-position: 50% -1050px;
}

#footer nav {
	padding-top: 15px;
}

#footer nav h5 {
	color: #000;
	font-size: 100%;
	font-weight: 600;
}

#footer nav ul {
	float: right;
	padding-right: 3%;
}

#footer li {
	position: relative;
	z-index: 1000;
	line-height: 20px;
}

#footer h3{
	padding:0 30px 15px 0;
	float: left;
}

#footer #quotations {
	position: absolute;
	top: 15px;
	left: 15px;
}

#footer p {
	width: 40%;
}

h5.logo {
	height: 70px;
	background-position: -285px -16px;
	position: absolute;
	left: 30px;
	top: 20px;
	padding-left: 80px;
}

h5.logo a {
	font-size: 120%;
	color: #000;
}

#background section:first-child {
	padding-top: 170px;
}

/* END 2. Structurals */


/* start 3. Individual Pages */

/*------ Home Page -------*/

#feature {
	position: relative;
	min-height: 300px;	
	padding: 30px 0;
	margin: 0;
	overflow: hidden;
}

#feature ul {
	position: absolute;
	top: 30px;
	left: 0;
	min-height: 300px;
	border-bottom: 1px solid #c5c5c5;
}

#feature li{
	display: block;
	float: left;
	padding: 0;
	max-width: 960px;
	height: 100%;
}

#feature:after, #feature:before {
	content: '';
	display: block;
	height: 3px;
	width: 60px;
	position: absolute;
	bottom: 28px;
	z-index: 100;
}

#feature:after {
	background-position: -360px 0;
	right: -1px;
}

#feature:before {
	background-position: -282px 0;
	left: -1px;
}

#next, #prev {
	z-index: 150;
	padding: 0;
	position: absolute;
	top: 300px;
	height: 60px;
	width: 60px;
	display: block;
	background-color: transparent;
	border: none;
	text-indent: -9999px;
	overflow: hidden;
	opacity: .3;
	transition: opacity .25s ease-in-out;
	cursor: pointer;
}

#feature:hover+menu button, #prev:hover, #next:hover, #feature+menu:hover button {
	opacity: 1;
}

#next {
	right: 0px;
	background-position: -205px -5px;
}

#prev {
	left: 0px;
	background-position: -130px -5px;
}

#feature #dots {
	position: absolute;
	bottom: 15px;
	left: 50%;
	margin-left: -150px;
	width: 300px;
	text-align: center;
}

#feature #dots a {
	text-align: center;
	display: inline-block;
	height: 33px;
	width: 33px;
	overflow: hidden;
	text-indent: -999px;
	margin: 0 10px;
	background-position: -190px -75px;
}

#feature #dots a.active, #feature #dots a:hover {
	background-position: -139px -74px;
}

#feature .right, #feature .left {
	padding: 0;
	width: 50%;
}

#feature h2 {
	display: block;
	padding: 15px 3% 15px 0;
	font-size: 300%;
	line-height: 35px;
}

#feature h4 {
	line-height: 40px;
	color: #152633;
	padding: 0 30px 0 0;
	font-size: 175%;
	text-shadow: 0 1px 1px #5381a4, 0 -1px 1px #ddd;
	font-weight: 200;
}

#feature figure {
	height: 255px;
}

#feature img {
	float: right;
	max-width: 85%;
	max-height: 100%;
	margin-right: 30px;
}

#overview.overview .column {
	width: 33.333333333%; /* 260px / 960px */
	float: left;
}

#overview.overview .column article {
	padding: 0 30px 30px 30px;
}

#overview.overview .column .borders {
	width: 33.333333333%;
	height: 100%;
	position: absolute;
	top: 0;
	left:  33.333333333%; 
	border-left: 1px solid #c5c5c5;
	border-right: 1px solid #c5c5c5;
}

#quotations form li {
	position: relative;
	padding: 18px 0 15px 0;
}

#quotations label {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 12px;
	color: #5381a4;
}

#quotations input, #quotations textarea {
	width: 100%;
	border-top: 1px solid #ddd;
	border-left:  1px solid #d5d5d5;
	border-right:  1px solid #ccc;
	border-bottom: 1px solid #c5c5c5;
	background-position: -125px -1300px;
}

#quotations textarea {
	height: 125px;
}

#quotations #submit {
	position: absolute;
	top: 0;
	right: 0;
	padding: 5px 15px;
}

#quotations #submit {
	
}

#about .left {
	padding-top: 30px;
}

#about .right {
	border-left: 1px solid #c5c5c5;
	margin-right: -1px;
	min-height: 650px;
}

#about p {
	padding-top: 15px;
}

#quality .left {
	border-right: 1px solid #c5c5c5;
	margin-right: -1px;
	width: 33.333333333%;
}

#quality .right {
	width: 54.166666667%;
}

#quality blockquote {
	padding-top: 15px;
}

#quality blockquote img {
	width: 33%;
	margin-right: 5%;
	float: left;
}

#quality figure {
	padding-top: 20px;
}

#contact ul h5 {
	padding-left: 30px;
}

#contact figure {
	padding: 15px 15px 0 0;
	width: 50%;
	float: left;
}

#contact .right {
	margin-left: -1px;
	border-left: 1px solid #c5c5c5;
}

#products-services .left figure {
	width: 65%;
	float: left;
	padding: 15px 15px 0 0;
}

#products-services .left figure img {
	width: 100%;
}

#products-services .left figure+ul {
	padding-top: 15px;
}

#products-services .left {
	width: 54.166666667%;
}


#products-services .right {
	border-left:  1px solid #c5c5c5;
	margin-left: -1px;
	width: 33.333333333%;
}

/* END 3. Individual Pages */

