#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: rgb(217,221,226);
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	background: rgb(217,221,226);
	}

#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;
	text-decoration: none;
	}
#prevLink { left: 0; float: left; text-align: left;}
#nextLink { right: 0; float: right; text-align: right;}
#prevLink span, #nextLink span {display: none;}
#prevLink:hover span, #prevLink:visited:hover span, #nextLink:hover span, #nextLink:visited:hover span {display: block; margin-top: 45px; width: 60px; height: 30px; line-height: 30px; text-align: center; color: rgb(255,255,255); background-color: rgb(20,72,94); }
#prevLink:hover, #prevLink:visited:hover { float: left; }
#nextLink:hover span, #nextLink:visited:hover span { float: right; }

#prevLinkB:hover, #nextLinkB:hover, #bottomNavClose:hover {color: rgb(20,72,94);}
#prevLinkB:visited, #nextLinkB:visited, #bottomNavClose:visited {color: rgb(0,0,0);}

#imageDataContainer{
	margin: 0 auto;
	line-height: 1.4em;
	background-color: rgb(217,221,226);
	}

#imageData{
	padding:0 10px;
	height: 3em;
	color: rgb(20,72,94);
	}
#imageData #imageDetails{ width: 60%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNav{ float: right; }	
#imageData #bottomLinks{ clear: right; float: right; }	

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: rgb(0,0,0);
	/*filter: alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;*/
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	
	
