/***************************************
   =layout
-------------------------------------- */


body {
  margin: 0;
  padding: 0;
  background: #4d3f3b url(../images/body.jpg) repeat-x 0 0;
  color: #fff;
  text-align: center;
}
#wrapper {
  position: relative;
  width: 770px;
  text-align: left;
  margin: 0 auto;
}
#branding {
  margin-top: 19px;
  height: 120px;
  background: #fff url(../images/banner.jpg) no-repeat 0 0;
  color: #4d3f3b;
}

#container {
  width: 100%;
  float: left;
  color: #4d3f3b;
  background: url(../images/container-mid.gif) repeat-y 0 0;  
}
#content {
  width: 570px;
  float: right;
  background: url(../images/content.jpg) no-repeat 0 0;  
}

#content .inner {
  padding: 0 25px 35px;
}
#content h1{
font-size: 165%;
margin-bottom: 10px;
margin-top: 15px;
}

#content h2{
font-size: 145%;
}

#content h3{
font-size: 120%;
}

#secondary-nav {
  width: 150px;
  float: left;
  padding: 20px 25px 0 20px;
  background: url(../images/nav.gif) no-repeat 0 0;  
}
#secondary-nav h4{
font-style: italic;
color: #666;
}
 
#quicklinks {
  position: absolute;
  top: 20px;
  right: 25px;
}
#footer {
  clear: both;
  background: url(../images/container.gif) repeat-y 0 100%;
  height: 35px;
  color: #333;
}
/***************************************
   =typography
-------------------------------------- */
body {
  font: 75% "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
}

#container {
  line-height: 1.5;
}
#container h2 {
  margin-bottom: 1em;
  font-size: 1.2em;
}
#container p, #container ul, #container ol {
  margin-bottom: 1em;
}

a {
  color: #419116;
  text-decoration: none;
}

#branding h1 {
  float: left;
  margin: 20px 0 0 60px;
}
h1 a {
  display: block;
  height: 82px;
  width: 82px;
  background: url(/images/logo.gif) no-repeat 0 0;
  overflow: hidden;
  text-indent: -9000em;
}

#quicklinks {
  font-size: .9em;
}

.tablehead  	{ color: #fff; font-weight: bold; background-color: #666; }
.tablerowgray    	{ color: #333; background-color: #eee; }

/***************************************
   =nav
-------------------------------------- */
a.active {
  color: #4d3f3b;
  cursor: text;
}

#primary-nav {
  clear: right;
  float: right;
  margin-top: 20px;
  padding-right: 15px;
}

#primary-nav li {
  float: left;
  padding-right: 10px;
  padding-left: 10px;
}

#secondary-nav ul {
  line-height: 1.1;
}
#secondary-nav li li {
  margin-left: .75em;
}

#quicklinks li {
  float: left;
  padding-left: 20px;
}

/***************************************
   =etc.
-------------------------------------- */
#tagline {
  float: right;
  margin-top: 50px;
  margin-right: 25px;
  font-size: 14px;
}

/* COOL HOVER EFFECT from joshuaink.com */
#image-box {
  width: 600px;
}  

#image-box a:hover {
  white-space: normal;
}

#image-box li {
	width:100px;
	border: 1px solid #ddd;
	background:#fff;
	padding:10px;
	text-align:center;
	position:relative;
	float:left;
	display:inline;
	margin:5px;
}

#image-box a span {
/*\*/
	position:absolute;
	left:-9999px;
}

#image-box a:hover span{	
	top:10px;
	left:10px;
	width:102px;
	font-weight:bold;
	background:#FFF;
	color:#999;
	padding:5px 0 5px 0;
	font-size:80%;
	border:1px solid #eee;
	border-width:0 0 10px 0;
	filter: alpha(opacity=100);
	/*-moz-opacity:.8;
		opacity:.80;*/
/**/
} 

#image-box img{
	border:1px solid #eee;
}

/* gallery "lightbox effect" styles */
#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
	
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}

#imageContainer>#hoverNav { left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}

#prevLink { left: 0; float: left; }
#nextLink { right: 0; float: right; }
#prevLink:hover, #prevLink:visited:hover { background: url(/images/prev.gif) left 53% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/next.gif) right 53% no-repeat; }

#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	height: 38px;
	}

#imageData{
	padding:0 10px;
	}

#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold; }
#imageData #numberDisplay{ display: block; clear: left; }			
#imageData #bottomNavClose{ width: 36px; float: right; }	
		
#overlay{ 
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=99);
	-moz-opacity: 0.99;
	opacity: 0.99;
	} 
.sub_image { 
	float: right;
	padding-left: 10px;
	padding-bottom: 10px;
}
