
.gallery_hold {
	
	margin: 0px auto 15px auto;
	
	position: relative;
}
div.content {
	display: none;
	float: left;
	width: 941px;
	height:590px;
	padding-top: 6px;
	padding-left: 6px;
}

div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
	clear: none;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	height: 30px;
	width: 915px;
	position: absolute;
	left: 18px;
	top: 280px;
}
div.nav-controls a {
	margin: 0px;
	padding: 0px;
}

#gallery:hover .controls{
	display:block;
}

#gallery .controls{
	display:none;
}

div.nav-controls .next {
	background: url(../images/GalleryRight.png) no-repeat left top;
	float: right;
	height: 54px;
	width: 54px;
}

div.nav-controls .next:hover{
	background: url(../images/GalleryRightOn.png) no-repeat left top;
}

div.nav-controls .prev {
	background: url(../images/GalleryLeft.png) no-repeat left top;
	float: left;
	height: 54px;
	width: 54px;
}

div.nav-controls .prev:hover{
	background: url(../images/GalleryLeftOn.png) no-repeat left top;
}

div.slideshow span.image-wrapper {
	display: block;

	
}
div.slideshow-container {
	position: relative;
	clear: none;
	height: auto;
	text-align:center;
	
}
div.slideshow { 
	height: auto;
	overflow:hidden
}

div.slideshow a.advance-link {
	display: block; 
	background:#fff; 
	width:939px; text-align:center;
	height: 576px; padding:1px;
	border:1px solid #cdcdcd;
/*	height: 388px;*/
/*	line-height: 388px;*/
	text-align: center;
	margin: auto;
	float:none;
	/*border-style: none;*/
}
div.slideshow img {
	float:none;
	border: none;
	width: 936px;
	height: 576px;
	margin: auto ;
	
	position:absolute; top:2px; left:2px;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	max-width: 941px;
	width:941px;
	height: 576px;
	overflow:hidden; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 941px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	display:block;
	float: left;
	width: 810px;
	padding-top: 5px;
	margin: 0px 0px 0px -10px;
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}

ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	/*height: 170px;*/
	height: auto;
	width: 810px;
	overflow: hidden;
}
ul.thumbs li {
	float: right;
	padding: 0;
	margin: 0px 13px 13px 0px;
	list-style: none;
	height: 76px;
	width: 119px; display:inline-block;
}
a.thumb { display: block; }
ul.thumbs li.selected a.thumb {
	background:#000;
	/*opacity:0.8;
	filter:alpha(opacity=80); 
	-moz-box-shadow: 0 0 7px #777;
	-webkit-box-shadow: 0 0 7px #777;
	box-shadow: 0px 0px 7px #777;*/
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	height: 76px;
	width: 119px;
}


div.pagination.traced {
	position: absolute;
	right: 0px;
	float: none;
	top: 415px;
}
div.pagination a{
	line-height: 16px;
	color: #000;
	text-align: center;
	height: 16px;
	min-width: 36px;
	float: left;
}
div.pagination a.nextpage {
	background: url(../images/GalleryArrBot.png) no-repeat center top;
	display: block;
	float: left;
	height: 7px;
	width: 139px;
	margin: 4px 0px 0px 0;
}
div.pagination a.prevpage {
	background: url(../images/GalleryArrTop.png) no-repeat center top;
	display: block;
	float: left;
	height: 7px;
	width: 139px;
	margin: 0px 0px 4px 0;
}

div.pagination a.prevpage:hover{
	background: url(../images/GalleryArrTop.png) no-repeat center top;
}
div.pagination a.nextpage:hover{
	background: url(../images/GalleryArrBot.png) no-repeat center top;
}


div.pagination a.prevpage, div.pagination a.nextpage { min-width: 19px; }

div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	/*background: url(../images/GalleryNumbersBack.png) no-repeat left top;*/
	position:absolute; top:602px; right:0;
	width:143px;
	height:158px;
	/*float:right;*/
	/*margin: -166px -143px 0px 0px;*/
	padding: 0 0px 0px 0px;
	/*
	border:1px solid #000;
	width:181px;
	height:172px;
	float:right;
	margin: -169px -181px 0px 0px;
	padding: 8px 0px 0px 0px;
	*/
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 0px;
	margin-bottom:5px;
}
div.pagination a:hover {
	background: url(../images/GalleryNumsBttnOn.png);
	color:#fff;
	text-decoration: none;
}

div.pagination a{
	font-weight: bold;
	/*border-color: #000;*/
	font-size:17px;
	color: #000;
	line-height: 30px;
	background: url(../images/GalleryNumsBttn.png);
	text-align: center;
	height: 30px;
	width: 139px;
	margin: 0 0px 4px 0;
	/*margin-right: 3px;*/
}

div.pagination span.current {
	font-weight: bold;
	/*border-color: #000;*/
	font-size:17px;
	color: #fff;
	line-height: 30px;
	background: url(../images/GalleryNumsBttnOn.png);
	text-align: center;
	height: 30px;
	width: 139px;
	/*margin: 5px 0px 0px 20px;
	margin-right: 3px;*/
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

.gallery_hold div#gallery div.currentdata {
	background: url(../images/gallery_count_set.png) no-repeat left top;
	height: 16px;
	width: 129px;
	position: absolute;
	top: 571px;
	left: 431px;
	text-align: center;
	line-height: 18px;
	font-size: 13px;
}

.gallery_hold .countftoutof {
	line-height: 18px;
	background: url(../images/gallery_count_set.png) no-repeat left top;
	_background: url(../images/gallery_count_set.gif) no-repeat left top;
	text-align: center;
	height: 20px;
	width: 129px;
	position: absolute;
	z-index: 500;
	top: 380px;
	right: 32px;
	display:none;
}