/*
Theme Name: Barry Builders
Theme URI: http://barrybuilders.co.nz
Description: 
Version: 1.0
Author: Martin Hipp
*/

body {
	background: #eee;
	margin: 0;
	padding: 0;
	font: 16px/1.5 Georgia, serif;
	color: #444;
}

a {
	color: #e00;
}

a:hover {
	color: #000;
}

h2, h3 {
	margin: 0;
	font-weight: normal;
}

h2 {
	margin: 0 0 .75em;
	font-size: 2em;
	color: #000;
}

h3 {
	margin: 0 0 1em;
	font-size: 1.25em;
}

h3 a {
	text-decoration: none;
}

p {
	margin: 0 0 1.5em;
}

.container {
	width: 780px;
	margin: 0 auto;
	padding: 2em 0;
	overflow: hidden;
}

#header {
	background: #e00 url(images/bb_header_2.png) repeat-x center;
	/*background: #e00 url(images/bb_header.png) repeat-x;*/
}

#header .container {
	position: relative;
	overflow: visible;
	height: 160px;
	padding: 0;
}

#logo {
	margin: 0;
	padding: 0;
}

#logo a {
	background: url(images/bb_logo.png) no-repeat 0 50%;
	display: block;
	width: 260px;
	height: 160px;
	text-indent: -9999px;
}

/*#nav {
	position: absolute;
	right: 0;
	bottom: -5px;
	margin: 0;
	padding: 5px 0;
	font-size: 16px;
	list-style: none;
}

#nav li {
	float: left;
	margin-left: 2px;
}

#nav li a {
	background: url(images/rgba.php?a=50);
	background: rgba(0,0,0,0.5);
	display: block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
}

#nav li a:hover {
	background: url(images/rgba.php?a=75);
	background: rgba(0,0,0,0.75);
}

#nav .current_page_item a {
	background: #fff !important;
	color: #000;
}*/

#nav * {z-index: 9999 !important;}
#nav, #nav ul { list-style: none; margin: 0; padding: 0; }
#nav { position: absolute; right: 0; bottom: 0; }
#nav a { display: block; padding: 10px 20px; color: #fff; text-decoration: none; }
#nav > li { background: url(images/rgba.php?a=50); background: rgba(0,0,0,0.5); float: left; margin-left: 1px; }
#nav > li.current_page_item, #nav > li.current_page_ancestor { background: url(images/rgba.php?a=75); background: rgba(0,0,0,0.75); }
#nav li ul { background: #000; position: absolute; left: -999em; width: 200px; font-size: 14px; }
#nav li ul ul { margin: -41px 0 0 200px; }
#nav ul li { /*border-top: 1px solid #222;*/ }
#nav li:hover, #nav li.hover { background: #000; }
#nav li li:hover, #nav li li.hover { background: #222; /*border-color: #333;*/ }
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li.hover ul ul, #nav li.hover ul ul ul, #nav li.hover ul ul ul ul { left: -999em; }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul, #nav li.hover ul, #nav li li.hover ul, #nav li li li.hover ul, #nav li li li li.hover ul { left: auto; }

#body {
	background: #fff url(images/content_bg.gif) repeat-x;
	border-bottom: 1px solid #ddd;
}

#banner {
	background: #000;
	width: 100%;
	height: 200px;
	margin: 0 0 2em;
	overflow: hidden;
}

#banner img {
	float: left;
}

#footer {
	color: #888;
	font-size: 12px;
}

#footer a {
	color: #888;
}

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

.clearfix {
	zoom: 1;
}

.alignleft {
	float: left;
	margin: 0 1em 0 0;
}

.alignright {
	float: right;
	margin: 0 0 0 1em;
}

.designer {
	float: right;
}

/* Portfolio */
.portfolio {
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}

.portfolio ul {
	margin: 0;
	padding: 0 0 0 1.5em;
	list-style: none;
}

.gallery { margin: auto; }
.gallery .gallery-item { float: left; margin-top: 10px; text-align: center; }
.gallery img { border: 2px solid #cfcfcf; }
.gallery .gallery-caption { margin-left: 0; }
