div#gallery-container{
	margin-bottom: 20px;
}

div#gallery{
	float:left;
	width:420px;
	margin-right:7px;
	clear:left;
}

div.controls {
	/*margin-top: 5px;*/
	height: 23px;
}
div.controls a {
	/*padding: 5px;*/
}
div.controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	height: 315px;
	overflow:hidden;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 400px;
	height: 300px; /* 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: 400px;
	height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
	/*line-height: 300px;*/ /* 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 #ccc;
}
div.download {
	float: right;
}
div.caption-container {
	position: absolute;
	height: 50px;
	margin-top:-50px;
	background-color: #000;
	color:#fff;
	overflow: hidden;
	width: 420px;
	opacity:0.7;
}

span.image-caption {
	display: block;
	position: absolute;
	width: 400px;
	top: 0;
	left: 0;
}

div.caption {
	padding: 12px;
}

div.caption-container a{
	color:#fff;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	width:342px;
	float:left;
	margin-top:12px;
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 3px 6px 3px 0;
	list-style: none;
	border:1px solid #ccc;
	height: 86px;
	line-height: 86px;
	overflow:hidden;
	width:106px;
	vertical-align: middle;
}
a.thumb {
	margin: 2px;
	display: block;
	height:82px;
	line-height:80px;
	font-size:14px;
	width:102px;
	overflow:hidden;
	text-align: center;
}
ul.thumbs li.selected a.thumb {
	background: #7E768E;
}
a.thumb:focus {
	outline: none;
}

ul.thumbs img {
	border: none;
	vertical-align: middle;
}
div.pagination {
	clear: left;
	float:left;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	/*margin-top: 12px;*/
	padding-top:8px;
}
div.pagination a,
div.pagination span.current,
div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 3px 7px 4px 6px;
	border: 1px solid #ccc;
	text-decoration: none;
	color:#7E768E;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	background-color: #7E768E;
	border-color: #7E768E;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 4px 0 5px 1px;
}
