/*------------------------------------------------------------
   Gallery
------------------------------------------------------------*/
.gallery, .photoGallery, .clickGallery, .lightboxGallery, .staffGallery
{
   border: 0px;
   margin: 0 0 20px 0;
   padding: 0px;
}

/* Used on Click and Lightbox */
.gallery .thumbMatte, 
.photoGallery .thumbMatte, 
.clickGallery .thumbMatte, 
.lightboxGallery .thumbMatte
{
   padding: 5px;
   background-color: #fff;
   border: solid 1px #aaa;
   margin-bottom: 6px;
}

/* Used on Click and Lightbox */
.clickGallery .largeMatte
{
   padding: 5px;
   background-color: #fff;
   border: solid 1px #aaa;
   margin: 6px 0px 6px 0px;
}

/* Used on Searchable Gallery */
table.gallerySearch
{
   border-top: 1px solid #aaa;
   border-bottom: 1px solid #aaa;
   display: block;
   padding: 5px 0;
}

/*------------------------------------------------------------
   Needs improvement
------------------------------------------------------------*/

/*---------LightBox CSS--------------*/
#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(../graphics/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../graphics/lightbox/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: normal;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

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


/*----------Galleria CSS-------------*/
.galleria_gal {list-style:none;}
.galleria_gal li{display:block;width:80px;height:80px;overflow:hidden;float:left;}
.galleria_gal li a{display:none}
.galleria_gal li div{position:absolute;display:none;top:0;left:180px}
.galleria_gal li div img{cursor:pointer}
.galleria_gal li.active div img, .galleria_gal li.active div{display:block}
.galleria_gal li img.thumb {cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto}
.galleria_gal li .caption{display:block;padding-top:.5em}
* html .galleria_gal li div span{width:500px} /* MSIE bug */

#main_image{margin:0 0 60px 0;height:438px;width:600px;background:#695c54;}
#main_image img{margin-bottom:10px;}
#main_image img{height:auto;width:600px}
