div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float: left;
	width: 412px; 
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #333;
}
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 {
}
div.ss-controls {
	display:none;
}
div.nav-controls {
	position:absolute; bottom:0; right:0; width:630px; height:40px;
}
div.nav-controls:after {content:"";position:absolute; top:20px; left:0; width:100%; height:1px; background:#ddd}
a.prev {position:absolute; bottom:0; left:50%; margin-left:-20px;width:40px; height:40px;font-size:0; line-height:0; background-image:url('../images/sub/bt_prev.png'); background-position:0 50%; background-repeat:no-repeat; z-index:100}
a.prev:hover {background-image:url('../images/sub/bt_prev_on.png');}
a.next {position:absolute; bottom:0; left:50%;margin-left:20px; width:40px; height:40px; font-size:0; line-height:0; background-image:url('../images/sub/bt_next.png'); background-position:100% 50%; background-repeat:no-repeat; z-index:100}
a.next:hover {background-image:url('../images/sub/bt_next_on.png');}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 630px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 412px;
	height: 670px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 412px;
	height: 670px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 0; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ddd;
	border-radius:3px; overflow:hidden;
}
div.download {
	float: right;
}
div.caption-container {position: relative;
	clear: left;
height: 75px;
}
span.image-caption {
	color:#333;
	display: block;
	position: absolute;
	width: 412px;
  bottom: 60px;
	left: 0; text-align:center;
}
div.caption {
	/* padding: 12px; */
}
div.image-title {
	font-weight: 500;
	font-size: 1.4em;
}
div.image-desc {
	font-size:14px; color:#777;
	line-height: 1.3em;
	padding-top: 5px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
ul.thumbs {
	margin-left:-25px;
	padding: 0;
}
ul.thumbs:after {content:"";display:block;clear:both;}
ul.thumbs li {
	float: left;
	margin:0 0 30px 25px;
	list-style: none;
	text-align:center;
	font-size:15px; line-height:1.4em; font-weight:500; color:#333
}
/* ul.thumbs li:nth-child(3n+1) {clear:left;} */
a.thumb {	
	display: block;	
	border: 1px solid #ddd;
	height:265px;
	margin-bottom:10px;
	box-sizing:border-box;
	border-radius:3px; overflow:hidden;
}
ul.thumbs li.selected a.thumb {
	border: 1px solid #333;
}
ul.thumbs li .tit img {display:inline; padding-right:10px;}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
}
div.pagination a:hover {
	background-color: #fff;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
