/*
Theme Name: 	Eco Barrier Theme
Theme URI: 		http://adamsweeneycreative.com
Description: 	Custom theme for Eco Barrier
Version: 		1.0
Author: 		Adam Sweeney based on Starkers by Elliot Jay Stocks & Keir Whitaker
Author URI: 	http://adamsweeneycreative.com
Tags: 			Eco Barrier
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import "css/reset.css";

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 				{ background:#fff; /* Don't forget to style your body to avoid user overrides */ }
::-moz-selection 	{ background:#ff0; color:#333; }
::selection 		{ background:#ff0; color:#333; }
.clear { clear: both; }

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

body,
input,
textarea 			{ /* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */ }

h1, 
h2, 
h3, 
h4, 
h5, 
h6 					{ font-weight:bold; /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ }

#page-content-main h2 {
	background-color: #00456A;
    color: #FFFFFF;
    display: inline-block;
    font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
    font-size: 14px;
    padding: 0 4px;
	margin-bottom: 6px;
    text-transform: uppercase;
	font-weight: normal;
	float: left;
	clear: both;
	letter-spacing: 1px;
}

#page-content-main p, #page-content-main ul {
	clear: both;
	margin-bottom: 12px;
}

#page-content-main ul {
	font-size: 12px;
}

#page-content-main ul strong {
	font-size: 16px;
	font-weight: bold;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
} 

#page-content-main ul li {
	margin-bottom: 12px;
	background: url(images/li.jpg) no-repeat left 5px;
	padding-left: 24px;
}

#page-content-main a:link, #page-content-main a:visited {
	font-weight: bold;
	color: #00456A;
	text-decoration: none;
}

#page-content-main a:hover, #page-content-main a:active {
	text-decoration: underline;
}

/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */


/* 400 and up */
@media screen and (min-width:400px) {

					{ /* Place your styles here for all widths greater than 400px */ }

}

/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {

					{ /* Place your styles here for all 'Retina' screens */ }

}


/******* ADAM's ADDITIONS ***********/

html {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #333;
	line-height: 22px;
	background: #b0b493 url(images/header-tile.png) repeat-x top;
	width: 100%;
	position: relative;
	height: 100%;
}

#container {
	width: 1000px;
	margin: 0 auto;
	height: 100%;
}

body > #container {height: auto; min-height: 100%;}


#mainbody {
	clear: both;
	padding-bottom: 100px;
}

header {
	width: 1000px;
	height: 137px;
	margin: 0 auto;
	background: url(images/header.jpg) no-repeat top;
}

header h1 {
	width: 160px;
	margin-left: 30px;
	display: block;
	text-indent: -9999px;
	height: 136px;
	float: left;
	margin-right: 112px;
}

header h1 a {
	width: inherit;
	height: inherit;
	display: block;
}

#nav {
	float: left;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 16px;
	text-transform: uppercase;
	padding-top: 34px;
}

#nav li {
	display: inline;
	padding-right: 40px;
	background: url(images/nav-spacer.jpg) no-repeat right;
}
#nav li:last-child {
	background: none;
}

#nav li a:link, #nav li a:visited {
	text-decoration: none;
	color: #77787b;
	padding: 0 4px;
	outline: none;
}
#nav li a:hover, #nav li a:active {
	color: #577c38;;
	outline: none;
}

#nav .current_page_item a:link, #nav .current_page_item a:visited {
	color :#fff;
	background-color: #577c38;
}
#nav .current_page_item a:hover, #nav .current_page_item a:active {
	color: #fff;
}

#page-content-main {
	padding-bottom: 40px;
}

footer {
	width: 100%;
	height: 100px;
	background: url(images/footer-tile.png) repeat-x bottom; 
	margin-top: -100px;
	clear: both;
	position: relative;
}

footer a:link, footer a:visited {
	color: #4f7f98;
	text-decoration: none;
}
footer a:hover, footer a:active {
	color: #fff;
	text-decoration: underline;
}

#footer-inner {
	width: 900px;
	margin: 0 auto;
	height: 80px;
	padding-top: 20px;
	background: url(images/footer-logo.jpg) no-repeat bottom left;
	padding-left: 100px;
	font-size: 11px;
	line-height: 14px;
	color: #4f7f98;
}

#footer-contact {
	float: left;
}

#footer-credits {
	float: right;
}

#page-header-image {
	margin-bottom: 12px;
}


/* SIDEBARS */

#mainbody .otw-sidebar {
	float: right;
	width: 360px;
	padding-left: 20px;
	border-left: 1px solid #00456a;
	marign-left: 20px;
	color: #00456a;
}

.page-id-9 #mainbody .otw-sidebar {
	width: 285px;
	margin-top: 56px;
}

.page-id-7 #mainbody .otw-sidebar {
	width: 296px;
	margin-top: 28px;
}

#mainbody .left-content {
	float: left;
	width: 600px;
}

#mainbody .left-content .wpcolumn {
	width: 45%;
	float: left;
}

#mainbody .left-content .wpcolumn-first {
	margin-right: 10%;
}	

#mainbody .left-content .wpcolumn-2 {
	margin-top: 56px;
}	

.page-id-9 #mainbody .left-content {
	width: 675px;
}


/* Home Gallery */
.home-image {
	display: none;
}
.home-image-display { width: 1000px; height: 446px; margin-bottom: 20px; }

.home-thumb {
	width: 12px;
	height: 12px;
	display: block;
	text-indent: -9999px;
	background:url(images/home-gallery-thumb.jpg) no-repeat left bottom;
	float: left;
	margin-right: 12px;
	cursor: pointer;
}

.home-thumb-list {
	position: absolute;
	margin-top: -44px;
	right: 0;
}


/* PROJECT GALLERY */

/* Project Gallery */

#gallery-area .project-gallery {
	display: none;
}

.gallery-image-display {
	width: 766px;
	height: 458px;
	overflow: hidden; 
}

#gallery-area {
	width: 766px;
	float: left;
	padding-right: 12px;
}

#gallery-titles {
	float: right;
	width: 216px;
}

#gallery-titles a {
	color: #333;
	cursor: pointer;
}

#gallery-titles a:hover {
	color: #00456a;
	text-decoration: none;
}

#gallery-titles .current-gallery a {
	color: #00456a;
	text-decoration: none;
	cursor: default;
}

#gallery-titles li {
	list-style: none;
	padding-left: 20px;
}

#gallery-intro h2 {
	background: none repeat scroll 0 0 #00456A;
    color: #FFFFFF;
    display: block;
    font-family: Trebuchet MS;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0;
    padding: 0 0 0 16px;
    text-transform: uppercase;
}

#gallery-intro {
	padding-bottom: 6px;
}

#gallery-intro p {
	font-size: 12px;
	color: #0067B1;
	display: inline;
}

.gallery-thumb {
	width: 12px;
	height: 12px;
	display: inline-block;
	background: url(images/home-gallery-thumb.jpg) no-repeat; 
	cursor: pointer;
	padding: 0 4px;
}

.gallery-thumb.current-image {
	background: url(images/home-gallery-current.jpg) no-repeat; 
}

.gallery-thumb-list {
	width: 766px;
	height: 22px;
	background: url(images/trans-gray.png) repeat;
	text-align: center;
	position: absolute;
	top: 436px;
}

div.gal-prev, div.gal-next {
	position: absolute;
	z-index:10000;
	display: block;
	width: 50px;
	height: 50px;
	top: 42%;
	cursor: pointer;
	display: none;
}

div.gal-prev {
	left: 20px;
	background: url(images/gal-arr-l.png) no-repeat;
}
div.gal-next {
	right: 20px;
	background: url(images/gal-arr-r.png) no-repeat;
}

#gallery-titles .current-gallery {
	background: url(images/li.jpg) left 5px no-repeat;
}

/* CUSTOM PAGE CODE */

.page-id-13 #page-content-main ul li {
	display: inline-block;
	margin-right: 10px;
}

.page-id-13 #page-content-main ul li a:link, .page-id-13 #page-content-main ul li a:visited {
	font-weight: normal;
	color: #333;
}