#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; }

#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: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://www.steps-of-faith.com/Elements/Water.Elements.PhotoGallery/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.steps-of-faith.com/Elements/Water.Elements.PhotoGallery/images/nextlabel.gif) right 15% no-repeat; }

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

#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; outline: none;}	 
#imageData #imageDescription{ display: block; clear: left; padding-bottom: 1.0em; text-align: left; }			

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

.photoGalleryElement {list-style-type: none/*clear: both;*/}
	
.photoGalleryElement .thumbnail {
	margin-right: 17px;
	margin-bottom: 24px;
	width: 134px;
	height: 145px;
	text-align: center;
	font-size: smaller;
	line-height: 1.2em;
	padding: 0;
	cursor:move;
	float: left;
	}
	
.ui-sortable-placeholder {
	/*width: 132px !important;
		height: 142px !important;*/
	border:0;
	background:url(http://www.steps-of-faith.com/Elements/Water.Elements.PhotoGallery/images/wsl-photogallery-ui-sortable-placeholder.png);
	}
	
.photoGalleryElement .thumbnail .thumbContents {
	padding: 6px;
	background-color: #fff;
	border: 1px solid #CCC;
	margin: 0;
	}

.photoGalleryElement .thumbShadow {	
	display: block;
	float: left;	
	padding: 0;
	border: 0;
	margin: 8px;
	text-align: center;
	}

.photoGalleryElement .thumbShadow .thumbContents  {
	background: url(../images/thumbShadow.png) no-repeat right top;
	}

.photoGalleryTxtBox 
{
    width: 100px;
    font-family: Verdana;
    font-size: 10px;
}

* html .photoGalleryElement .thumbShadow .thumbContents  {
	background-image: url(../images/thumbShadow.gif);
	}

.photoGalleryElement .thumbShadow img {
	background: #FFF;
	padding: 6px;
	border: 1px solid #CCC;
	margin: -6px 6px 6px -6px;
	}

.photoGalleryElement .thumbTile, .photoGalleryElement .thumbHover {
	display: block;
	float: left;	
	padding: 0;
	border: 0;
	margin: 0 8px 8px 0;
	}

.photoGalleryElement .thumbHover a img {
	filter:alpha(opacity=40);
	-moz-opacity: 0.4;
	opacity: 0.4;
	}

.photoGalleryElement .thumbHover a:hover img {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	}

.photoGalleryElement .thumbTight {
	display: block;
	float: left;	
	padding: 0;
	border: 0;
	margin: 0;
	}	

.photoGalleryElement .thumbTile img, .photoGalleryElement .thumbTight img, .photoGalleryElement .thumbHover img {
	border: 0;
	margin-bottom: -4px;
	}

*:first-child+html .photoGalleryElement *:first-child+html .thumbTile img, *:first-child+html .photoGalleryElement .thumbHover img {
	margin-bottom: 0;
	}

.photoGalleryElement .thumbnail img{
	margin-bottom: 0;
	border: 0;
	}
	
.photoGalleryElement .thumbnail p {
	margin: 0;
	}
	

.clearfix:after, .photoGalleryElement:after {
	content: "."; 
	display: block; 
	height: 0; 
	/*clear: both;*/ 
	visibility: hidden;
	}

* html>body .clearfix, * html>body .photoGalleryElement {
	display: block; 
	width: 100%;
	}

* html .clearfix, * html .photoGalleryElement {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	
/*-----------------------------------
Addition by MSG for new photo sorting
------------------------------------*/
.thumbFileName {
    text-align: center;
    cursor: default;
    line-height: 19px;
    width: 106px;
    overflow: hidden;
    display: block;
    margin: auto;
    white-space: nowrap;
}
.thumbImageContainer {
    width: 100px;
    height: 100px;
    display: block;
    text-align: center;
    margin: auto;
}