#gallery {
	width:1034px;
	/*height:870px;*/
	margin:0 auto;
	position:relative;
	overflow:hidden;
}
#js {
	position:relative;
	width:940px;
	margin:0 auto;
	font-size:14px;
	line-height:25px;
}
div.content {
	display: none;
	width: 410px;
	height: 340px;
	overflow: hidden;
}
div.nav-controls {
	width:100%;
	height:27px;
	position:absolute;top:300px;
	left:0;
	bottom:56px;
	z-index:0;
}
div.nav-controls a.prev {
	display:block;
	width:27px;
	height:27px;
	background:url(../images/gallery-prev.png) 0 0 no-repeat;
	text-indent:-9999em;
	position:absolute;
	top:0;
	left:-47px;
	z-index:99;
}
div.nav-controls a.next {
	display:block;
	width:27px;
	height:27px;
	background:url(../images/gallery-next.png) 0 0 no-repeat;
	text-indent:-9999em;
	position:absolute;
	top:0;
	right:-47px;
	z-index:99;
}
div.slideshow-container {
	position: relative;
	margin: auto;
	height: 620px;
	z-index:1;
	width:620px;
	margin-bottom: 25px;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: center;
	width: 592px;
	height: 470px;
}
div.slideshow span.image-wrapper {
	display: block;
	max-height: 620px;
	position:absolute;
	left:0;
	top:0;
	margin:0;
	padding:0;
}
div.slideshow a.advance-link {
	display: block;
	min-width: 200px;
	min-height: 400px;
	padding: 3px;
	margin: 0;
	font-size:0;
	line-height:0;
	text-decoration:none;
	background:#fff;
	border:1px solid #e5e5e5;
}

div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow a.advance-link  > img {
	max-height:620px;
	}
div#thumbs {
	padding: 0;
	margin:10px;;
	width:100%;
	position:relative;
}
ul.thumbs {
	padding: 0 0 0 0;
	width:930px;
	position:relative;
}
ul.thumbs li {
	float:left;
	margin-left:15px;
	margin-top:5px;
	/*width:140px;*/
	z-index:10;
}
ul.thumbs li.last {
	margin:0;
}
ul.thumbs li span {
	display:block;
	font-size:15px;
	line-height:1.2em;
	color:#f9f9f9;
	text-transform:uppercase;
	font-weight:bold;
}
a.thumb {
	display:block;
	height:132px;
	padding:3px;
	background:#fff;
	border:1px solid #e5e5e5;
}
#thumb-1 {
	width:132px;
	}
#thumb-2 {
	width:90px;
	}
a.thumb:focus,a.thumb-2:focus {
	outline: none;
}
#controls {
	width:100%;
}
div.pagination {
	clear: both;
	text-align:center;
	position:relative;
	z-index:10;
}
div.top.pagination {
	display:none;
}
div.navigation div.bottom {
	display:none;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	padding:0 4px;
	font-weight:bold;
	color:#fff;
}
div.pagination a:hover {
	text-decoration: none;
	color:#ffeaa8;
}
div.pagination span.current {
	color:#ffeaa8;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
.image {
	position: absolute;
	clip:rect(0,132px,132px,0);
	width:132px;
	height:132px;
	}
.image-2 {
	position: absolute;
	clip:rect(0,132px,132px,0);
	height:140px;
	width:90px;
	}
#image {
  filter: alpha(opacity=100);
  opacity: 1;
}
#image:hover {
  filter: alpha(opacity=50);
  opacity: 0.5;
}