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

/* BEN: Make sure all links are clean*/
#lightbox a {
	text-decoration:none;
	border:none;
	outline:none;
}
/*END*/

#lightbox a img {
	border:none;
}

#outerImageContainer {
	position:relative;
	background-color:#fff;
	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;
}

#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:33%;
	height:100%;
	padding-top:10px;
	background:transparent url(../img/blank.gif) no-repeat; /* Trick IE into showing hover */
	display:block;
}

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

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

/* BEN: This is now realised through prototype:setStyle in lightbox.js so the images to use can be configured via js-vars*/
/*#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;
}*/
/*END*/

#imageDataContainer {
	font-family:tahoma,arial,sans-serif;
	font-size:11px;
	background-color:#fff;
	margin:0 auto;
	line-height:1.4em;
	overflow:auto;
	width:100%
}

#imageData {
	padding:0 10px;
	color:#666;
}

#imageData #imageDetails {
	width:66%;
	float:left;
	text-align:left;
}

#imageData #caption {
	font-weight:bold;
}

#imageData #numberDisplay {
	display:block;
	clear:left;
	margin-bottom:1.0em;
}

/* BEN: Adding styles for the presentation mode*/
#imageData #presentationNav {
	display:block;
	clear:left;
	margin-bottom:1.0em;
}

#imageData #presentationNav a {
	color:#666;
	margin-right:1.0em;
}

#imageData #presentationNav a.act {
	font-weight:bold;
	color:#fff;
	background:#777;
	border-right:0.3em solid #777;
	border-bottom:0.1em solid #777;
	border-left:0.4em solid #777;
}
/*END*/

/* BEN: Adding/Editing styles for the modified bottom navigation (which now includes a save-buttom)*/
#imageData #bottomNav {
	width:33%;
	float:right;
	text-align:right;
	margin-bottom:1.0em;
}

#imageData #bottomNav img {
	width:auto;
	height:auto;
	margin-left:1.0em;
}
/*END*/

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