#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: #fff;
	width: 300px;
	height: 300px;
	margin: 0 auto;
	padding: 0;
}

#imageContainer {
	padding: 2px;
	margin: 0;
}
#imageContainer #bottomNav{
	position: absolute;
	z-index:300;
	top:0;
	left:0;
	width:100%;
	text-align:right;
}
#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	left: 0;
	top: 100%;
	height: 16px;
	z-index: 10;
	margin:0 auto;
}
#imageContainer>#hoverNav{ left: 0; }
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 16px; 
	height: 16px;
	background: transparent url(http://www.avmaroc.com/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
}
#prevLink { margin-left: 2px; float: left; background: url(http://www.avmaroc.com/images/prev.gif) 0 4px no-repeat;}
#nextLink { margin-right: 2px; float: right; background: url(http://www.avmaroc.com/images/next.gif) 0 4px no-repeat;}

#imageDataContainer{
	font: 11px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	text-align:center;
}

#imageData #imageDetails{ padding: 3px; }	
#imageData #caption{ font-weight: normal;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ }	
			
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	filter:alpha(opacity=40);
	-moz-opacity: 0.4;
	opacity: 0.4;
}	
.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html>body .clearfix {
	display: inline-block; 
	width: 100%;
}
* html .clearfix {
	height: 1%;
}	