/* Photo Gallery */
/*
	Important Styles of note:

	div.fullGalleryContainer - defines height and width of entire JSGallery
	div.gallerycont - defines height of the image display
	div.thumbcont	- sets thumbnail background image
	div.gallery img, div.gallery-c img  - you can adjust thumbnail width in the gallery display here	

	Everything else should be taken care of by the javascript
*/

div.fullGalleryContainer
{
	display: block;
	clear: both;
	position: relative;
	margin-top: 10px;
}

div.gallerycont
{
	display: block;
	background-color: #efefef;
	height: 350px;
	position: relative;
	overflow: hidden;
}

div.controlcont
{
	display: block;
	clear: both;
	height: 18px;
	padding: 3px 5px 0 5px;
	background-color: #F7F3EC;
	position: relative;
	overflow: hidden;
}

div.controlcont img
{
	cursor: pointer;
	float: left;
	clear: none;
}

div.controlcont img.prevPage {margin-left: 10px;}
div.controlcont img.prevImage {margin-left: 0px;}
div.controlcont img.nextPage {margin-right: 10px;}
div.controlcont img.nextImage {margin-right: 0px;}
div.controlcont img.playpause {margin-left: 4px;}

div.controlcont div.pages, div.controlcont div#photobox
{
	float: left;
	clear: none;
	padding: 0 10px;
	height: 18px;
	position: relative;
}

div.pages p.imagepage, div.pages p.imagepage-c
{
	float: left;
	clear: none;
	padding: 0;
	text-align: center;
	width: 25px;
	font-size: 12px;
	font-family: arial;
	cursor: pointer;
}

div.pages p.imagepage-c {font-weight: bold;}

div.gallerycont div.gallerybox
{
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 10;
	overflow: hidden;
	width: 100%;
	height: 350px;
	z-index: 8;
	
}

div.gallerybox div.gallerybg
{
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 1000px;
	height: 1000px;
	background-color: #000;
}

div.gallerybox div.galleryScroll
{
	display: block;
	height: 350px;
	overflow: auto;
	position: relative;
}

div.galleryScroll div.gallery, div.galleryScroll div.gallery-c
{
	display: block;
	position: relative;
	margin: 10px;
	overflow: hidden;
	cursor: pointer;
	background-color: #333;
	z-index: 10;
	border: 1px solid #777;
}

div.galleryScroll div.gallery-c {background-color: #555;}

div.gallery p, div.gallery-c p
{
	float: left;
	clear: none;
	padding: 3px 6px 3px 6px;
	color: #fff;
	font-weight: bold;
}

div.gallery img, div.gallery-c img
{
	float: left;
	clear: both;
	position: relative;
	border: 3px solid #ccc;
	margin: 3px 6px 3px 6px;
	width: 80px;
}

div.mainphoto
{
	display: block;
	position: relative;
	clear: both;
	overflow: hidden;
	text-align: center;
	padding: 0;
	margin: 0;
	height: 100%;
}

div.mainphoto img
{
	display: none;
	margin: auto;
}

div#captionCont
{
	clear: both;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	overflow: hidden;
	width: 100%;
}

div#captionCont div.captionbg
{
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 1000px;
	height: 500px;
	background-color: #fff;
}

div#captionCont p.photoCaptionCount
{
	display: block;
	position: relative;
	background-color: #fff;
	color: #000;
	padding: 10px;
	font-weight: bold;
	font-size: 12px;
	z-index: 2;
}

div#captionCont p.photoCaption
{
	display: block;
	position: relative;
	color: #000;
	padding: 10px;
	font-size: 12px;
	z-index: 1;
}

div.thumbcont
{
	display: block;
	position: absolute;
	width: 50px;
	z-index: 50;
	background: url("../images/JSGallery/thumbbg.gif") top left no-repeat;
}

div.thumbcont div.thumbbox
{
	position: relative;
	width: 44px;
	padding: 3px;
	height: 40px;
	overflow: hidden;
}

div.thumbbox img
{
	position: relative;
	display: block;
	text-align: center;
	width: 100%;
}