#gallery img {
	padding:1px;
	border: #8e8e8e 6px solid;
	margin: 4px;
	}

#gallery a img {
	border: #8c8c8c 6px solid;
	}

#gallery a:hover img {
	border: #333333 6px solid;
	}

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

#lightbox img {
	width: auto;
	height: auto;
	}

#lightbox a img {
	border: none;
	}

#lightboxImage {
	border: 1px solid #146389;
	}

#outerImageContainer {
	position: relative;
	background-color: #FFF;
	margin: 0 auto;
	overflow:hidden;
	}

#imageContainer {
	padding: 22px;
	}

#loading {
	position: absolute;
	top: 40%; left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}

#loading img {
	border: 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-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block;
	}

#prevLink {
	left: 20;
	float: left;
	}

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

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

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

#imageDataContainer { font: 12px Arial, Verdana, Helvetica, sans-serif; background-color: #FFF; margin: 0 auto; line-height: 1.4em; overflow: hidden; width: 100%	; }

#imageData {
	padding: 0px 20px;
	color: #000000;
	}

#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: 92px;
	float: right;
	padding-bottom: 0.7em;
	outline: none;
	border: none;}

#imageData #bottomNavClose img {
	border: none;
	}

#imageData #bottomNavClose a img {
	border: none;
	}

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #333;
	}