#gallery{
position: relative;
display: block;
clear: left;
margin: 10px -50px 0 0;
width: 700px;
clear: left;
}

#loader{
	width: 700px;
	height: 1000px;
	background-color: White;
	background-image: url(../img/gloading.gif);
	background-position: center  100px;
	background-repeat: no-repeat;
	filter:alpha(opacity=70);
	-moz-opacity:0.7;
	opacity: 0.7;
}

.imgitem #gallery{
height: 160px;
overflow: hidden;
}


#content #gallery *{
	float: none;
	margin: 0;
	right: none;
	left: none;
}

#content #gallery img{
	margin: 0;
	padding: 0 0 5px 0;
	padding: 8px;
	left:0;
	border: 0;
	background-image: none;
}


#content #gallery .thumbnail{
	position: relative;
	display: block;
	float: left;
	margin: 0 5px 5px 0;
	background-color: White;
}
#content #gallery .thumbnail a.download{
	text-align: right;
	position: relative;
	display: block;
	padding: 3px;
		border: 0;
}
#content #gallery .thumbnail a{
	text-decoration: none;
	font-size: 10px;
	border: 0;
}

#content #gallery .thumbnail a:hover img{
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	opacity: 0.5;
}

#content #gallery  span{
color: #0A51A1;
padding: 0px 8px 8px 8px;
font-size: 11px;
position: relative;
display: block;
border: 0;
}

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 9999;
	text-align: center;
	line-height: 0;
	text-align: center;
	}
	

img#lightboxImage{
		margin: 0;
		padding: 0;
		float: none;
		border: 0;
		z-index: 999999;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	z-index: 99999;
	}

#imageContainer{
	padding: 10px;
	}

 #loading{
position: relative;
display: block;
top: 80px;
width: 40px;
left: 50%;
margin: 0 0 0 -20px;
	}
	
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9999999;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../img/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	z-index: 999999999999999999;
	}
#prevLink { left: 0; float: left; ;

	}
#nextLink { right: 0; float: right; ;

	}
#prevLink:hover, #prevLink:visited:hover { background: url(../img/prevlabel.gif) left 15% no-repeat;

	}
#nextLink:hover, #nextLink:visited:hover { background: url(../img/nextlabel.gif) right 15% no-repeat;

	}


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: hidden;
	width: 100%	;
	}
#imageData img{
	float: none;
	padding: 0;
	margin: 0;
	border: 0;
}
#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	height: 500px;
	background-color: #000;
	}