#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0.0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #ffffff; /* #474747 */
	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.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-position: 0% 15%;
	background-repeat: no-repeat;
	background-image: url(../images/prevlabel.gif);
}
#nextLink:hover, #nextLink:visited:hover {
	background-image: url(../images/nextlabel.gif);
	background-repeat: no-repeat;
	background-position: 100% 15%;
}
#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: transparent;
	margin: 0 auto;
	/* line-height: 1.4em; */
	}
#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{
	width: 70%;
	float: left;
	text-align: left;
}	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{
	display: block;
	clear: left;
	padding: 5px;
	color: #FFD700;
	font-size: 1.2em;
}			
#bottomNavClose{
	width: 76px;
	float: right;
	padding: 0;
	margin: 0;
	/* border: 1px dashed red; */
}	

a#bottomNavClose  img {
	padding: 0px;
	margin: 5px;
	border: 1px solid #474747; /* #474747 */
}	
a#bottomNavClose:hover {
	background: transparent; /* this rule is very important to ensure that the next rule works in IE *//* this rule is very important to ensure that the next rule works in IE */
}
a#bottomNavClose:hover img, a#bottomNavClose:active img, a#bottomNavClose:focus img {
	border: 1px solid red;
}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	/* the lines below seem unnecessary!  */
	/* filter:alpha(opacity=60);  for IE  */
	/* opacity: 0.6;  valid W3C (i.e. everybody else) */
	}
	
/* Causes a validation error but is included in CSS2.1: http://www.w3.org/TR/CSS21/visuren.asp#propdef-display */

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	/* display: inline-block;   (invalid - and inline seems to work just as well!)   */
	display: inline; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	
	