/*

Theme Name: ebo Gallery
Theme URI: http://ebogallery.com
Description: ebo Gallery theme
Version: 1.0
Author: Jonathan Bell
Author URI: http://d-formative.com/
Tags: gray, custom header, custom sidebar

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

*/

* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	height: 100%;
	background-color: #1a1813;
	font-family: "Lucida Sans", Helvetica, sans-serif;
	font-size: 15px;
}

/* General Classes */

.clear, .ngg-clear {
	clear: both;
}
.clearleft {
	clear: left;
}
.clearright {
	clear: right;
}
.floatleft, .alignleft {
	float: left;
}
.floatright, .alignright {
	float: right;
}
.center, .aligncenter {
	text-align: center;
}
.hidden {
	display: none;
}
/* End General Classes */

/* Begin Page Structure */

#page {
	margin: 0 auto;
	padding: 0 50px;
	width: 900px;
	background-image: url(images/bg.gif);
}
#header {
	margin-bottom: 1px;
	padding: 30px 20px 0 30px;
	width: 850px;
	height: 145px;
	border-bottom: 2px solid #fff;
	/*float: left;*/
	background-color: #3f3f3f;
	background-position: bottom right;
	background-repeat: no-repeat;
	background-image: url(images/header.jpg);
}
h1, .description {
	display: none;
}
#main {
	width: 900px;
	background: url(images/bg_main.gif);
}
#content {
	margin: 0;
	padding: 10px 25px 30px;
	width: 649px;
	min-height: 1000px;
	float: right;
	background: #fff url(images/bg_content.gif) repeat-x;
	color: #3f3f3f;
}
.left {
	padding-right: 20px;
	width: 45%;
	float: left;
}
.right {
	width: 50%;
	float: right;
}
#footer {
	margin-top: 1px;
	padding: 20px 25px 5px;
	width: 850px;
	background-color: #3f3f3f;
	color: #fff;
}

/* End Page Structure */

/* Begin Nav */

#nav {
	margin-left: 400px;
	width: 300px;
	border-left: 1px solid #fff;
	z-index: 2;
}
#nav ul {
	margin: 0;
	padding: 10px 32px;
}
#nav ul li {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.2em;
}
#nav ul li a {
	font-size: .9em;
	font-weight: bold;
	text-decoration: none;
	color: #919994;
}
#nav ul li.current_page_item, #nav ul li.current_page_parent, #nav ul li.current_page_ancestor {
	list-style: url(images/arrow.gif);
}
#nav ul li a:hover, #nav ul li.current_page_item a, #nav ul li.current_page_parent a, #nav ul li.current_page_ancestor a {
	color: #fff;
}
#subnav {
	margin: 10px 0 30px;
	padding: 0;
	font-weight: bold;
	font-size: .9em;
}
#subnav li {
	margin: 0 10px 0 0;
	padding: 0 10px 0 0;
	border-right: 1px solid #3f3f3f;
	display: inline;
	text-transform: lowercase;
}
#subnav.feature li {
	text-transform: none;
}
#subnav li.last_page_item {
	border: none;
}

/* End Nav */

/* Begin Sidebar */

#sidebar {
	margin-right: 1px;
	padding: 25px 0;
	width: 200px;
	float: left;
	position: absolute;
	top: 180px;
	background-color: #ccc9c1;
}
#sidebar h2 {
	margin: 0 0 5px 15px;
	padding: 0 25px 5px 10px;
	border-bottom: 1px solid #333;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	color: #3f3f3f;
}
#sidebar ul {
	margin: 0 0 20px;
	padding: 0;
}
#sidebar ul li {
	margin: 0;
	padding: 0;
	width: 200px;
	height: 2em;
	list-style: none;
	font-size: .8em;
	font-weight: bold;
	line-height: 1em;
	color: #3f3f3f;
}
#sidebar ul li span {
	position: relative;
	top: -90px;
	left: 201px;
	display: none;
}
#sidebar ul li span img {
	border: 10px solid #fff;
	width: 160px;
}
#sidebar ul li:hover span {
	display: block;
}
#sidebar ul li span:hover {
	display: none;
}
#sidebar ul li.page_item a, #sidebar ul li a.page_link {
	margin-bottom: 1px;
	padding: 6px 10px 5px 25px;
	height: 1em;
	display: block;
	text-decoration: none;
	color: #3f3f3f;
}
/*#sidebar ul li a img {
	padding: 3px;
	width: 110px;
	border: 1px solid #3f3f3f;
	position: absolute;
	display: none;
	top: 540px;
	background-color: #fff;
}
#sidebar ul li a:hover img {
	display: block;
}*/
#sidebar ul li a:hover img {
	/*display: block;*/
}
#sidebar ul li a:hover, #sidebar ul li.current_page_item a, #sidebar ul li.current_page_parent a {
	background-color: #8f856b;
	color: #fff;
}

/* End Sidebar */

/* General Styles */

a img {
	border: none;
}	
#content h2 {
	margin: 25px 0 15px;
	padding: 0;
	line-height: 1em;
	font-size: 1.4em;
	font-family: Helvetica, Arial, sans-serif;
}
#content h2 a:link, #content h2 a:active, #content h2 a:visited {
	color: #3f3f3f;
}
#content h3 {
	margin: 30px 0 10px;
	padding: 0;
	line-height: 1em;
	font-size: 1em;
	text-transform: uppercase;
	font-family: Helvetica, Arial, sans-serif;
}

#content h4 {
	margin: 20px 0 10px;
	padding: 0;
	line-height: .8em;
	font-size: .8em;
	font-family: Helvetica, Arial, sans-serif;
}
#content p {
	margin: 0 0 10px;
	padding: 0;
	font-size: .8em;
	line-height: 1.6em;
}
#content a:link, #content a:active, #content a:visited {
	color: #6f654b;
}
#content a:hover, #content li.current_page_item a {
	color: #8f856b;
	text-decoration: none;
}
#content img.alignleft {
	margin: 0 15px 10px 0;
	max-width: 250px;
	border: 1px solid #3f3f3f;
}
#content .smaller {
	font-size: .8em;
	line-height: 1.3em;
}
#content .smallest {
	font-size: .7em;
	line-height: 1.1em;
}
#content p.quote {
	padding-left: 35px;
}
#content ul.smlist, .entry ul {
	margin: 10px 0;
	padding: 0;
}
#content ul.smlist li, .entry ul li {
	margin: 0 0 0 15px;
	padding: 0;
	list-style: square;
	line-height: 1.1em;
	font-size: .8em;
}
#content ul.smlist li a {
	text-decoration: underline;
}
#content ul.smlist li ul {
	margin: 2px 0 5px 15px;
	padding: 0;
}
#content ul.smlist li ul li {
	margin: 0;
	padding: 0;
	font-size: .9em;
}
#content dl dt {
	width: 3em;
	position: relative;
	left: 0;
	top: 1em;
	font-size: .8em;
	font-weight: bold;
	line-height: 1em;
}
#content dl dd {
	margin: 0 0 0 4em;
	padding: .1em 0 .5em 1em;
	border-left: 1px solid #666;
	line-height: 1em;
	font-size: .8em;
}
#content dl dd p {
	margin: 0;
	padding: 0;
	font-size: .8em;
	line-height: 1em;
}
#content dl dd ul.smlist {
	margin: 0;
	padding: 0;
}
#content dl dd ul.smlist li {
	margin: 0;
	padding: 0 0 .25em 0;
	line-height: 1em;
}
#content dl.news dt {
	line-height: .7em;
}
#content dl.news dd {
	margin: 0 0 15px 70px;
	padding: 0 0 15px 0;
	border-left: none;
	border-bottom: 1px dotted #3f3f3f;
	display: block;
	font-size: .8em;
	line-height: 1.3em;
}
#content dl.news dd p {
	margin: 0;
	padding: 0;
	/*border-bottom: 1px dotted #3f3f3f;
	display: block;*/
	font-size: 1em;
	line-height: 1.3em;
}
#content dl.news dd.last {
	border: none;
}
#content dl.news img {
	margin-top: 10px;
	padding: 1px;
	border: 1px solid #666;
}
.formcontainer {
	margin-top: 10px;
	width: 45%;
	height: 300px;
	float: left;
}
fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}
legend {
	display: none;
}
label {
	margin-bottom: 2px;
	display:block;
	font-size: .8em;
	font-weight: bold;
}
input, textarea {
	margin-bottom: 10px;
	width: 150px;
}
textarea {
	width: 250px;
	height: 100px;
}
/* End General Styles */

/* Gallery-specific */
#content .ngg-galleryoverview {
	margin: 20px 0 0;
	padding: 0;
	width: 639px;
}
#content .ngg-album-compact {
	margin: 0 0 25px 0;
	display: block;
}
#content .ngg-gallery-thumbnail-box {
	padding: 0 0 50px 0;
	width: 48%;
	/*height: 150px;*/
	vertical-align: top;
	float: left;
}
#content .ngg-gallery-thumbnail-box.feature {
	padding: 0 0 50px 0;
	width: 100%;
	height: auto;
	vertical-align: top;
	float: left;
}
#content .ngg-gallery-thumbnail-box.feature img {
	/*width: 220px;*/
}
#content .ngg-gallery-thumbnail-box.feature p {
	margin-left: 160px;
}
#content .ngg-gallery-thumbnail-box.double {
	padding: 0 0 50px 0;
	width: 100%;
	height: auto;
	vertical-align: top;
	float: left;
}
#content .ngg-gallery-thumbnail-box.double img {
	width: 220px;
}
#content .ngg-gallery-thumbnail-box.double p {
	margin-left: 320px;
}
#content .ngg-gallery-thumbnail-box.wide {
	padding: 0 0 50px 0;
	width: 100%;
	height: auto;
	vertical-align: top;
	float: left;
}
#content .ngg-gallery-thumbnail-box.wide img {
	margin: 0 20px 10px 0;
}
#content .ngg-gallery-thumbnail-box.wide p {
	margin-left: 0;
}
#content .ngg-gallery-thumbnail img, #content .ngg-album-compact img {
	margin-bottom: 15px;
	padding: 1px;
	border: 1px solid #666;
	float: left;
}
#content .ngg-gallery-thumbnail-box p, #content .ngg-album-compact h4, #content .ngg-album-compact p {
	margin: 0 10px .4em 130px;
	padding: 0;
	font-size: .8em;
	font-weight: normal;
	line-height: 1.2em;
	color: #666;
}
#content .ngg-gallery-thumbnail-box p.red {
	color: #cc0000;
}
#content .ngg-gallery-thumbnail-box div + p {
	text-indent: -.5em;
}
#content .ngg-gallery-thumbnail-box p strong {
	font-size: 1.1em;
	line-height: 1.5em;
	color: #3f3f3f;
}
#randart div, #sagaintro div {
	margin: 0 20px 25px 0;
	width: 120px;
	float: left;
}
#randart img, #sagaintro img
{
	margin-bottom: 5px;
	padding: 3px;
	border: 1px solid #3f3f3f;
	float: none;
}
#randart p, #sagaintro p {
	margin: 0;
	font-size: .8em;
}
#sagaintro {
	margin-top: 2em;
}
#sagaintro div {
	width: 140px;	
}
#content h3.feature {
	margin: 0 0 18px;
	padding-bottom: 6px;
	border-bottom: 1px dotted #3f3f3f;
	text-transform: none;
}
#content .ngg-gallery-thumbnail-box h3.feature p {
	margin-right: 0;
}
/* End Gallery-specific */

/* Begin Footer */

#footer .floatleft {
	width: 600px;
}
#footer h4 {
	margin: 0;
	padding: 0;
	height: 27px;
	background:url(images/footer_title.gif) no-repeat;
}
#footer h4 span {
	display: none;
}
#footer p {
	margin: 5px 0;
	padding: 0;
	line-height: 1em;
	font-size: .8em;
}
#footer .floatright p {
	text-align: right;
}
#footer p.smallest {
	margin: 5px 0 0;
	text-align: left;
	font-size: .7em;
}
#footer a {
	color: #919994;
}
#footer a:hover {
	color: #fff;
}
#bottom {
	margin: 0 auto;
	width: 1000px;
	height: 50px;
	background: url(images/bottom.gif) no-repeat center;
}

/* End Footer */