
/* -- gallery begin --*/
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:none;
	width: 300px;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.ss-controls {
	float: left;
	display:none;
}
div.nav-controls {
	width:100%;
	position:absolute;
	right:0;
	bottom:0;
}
div.nav-controls a.prev,
div.nav-controls a.next {
	text-decoration:underline;
}
div.nav-controls a.prev:hover,
div.nav-controls a.next:hover {
	text-decoration:none;
}
div.nav-controls a.prev {
	color:#000;
	display:block;
	font-weight:bold;
	font-size:1.083em;
	float:left;
	position:relative;
	z-index:11;
}
div.nav-controls a.next {
	color:#000;
	display:block;
	font-weight:bold;
	font-size:1.083em;
	float:right;
	position:relative;
	z-index:11;
}

div.slideshow-container {
	position: relative;
	height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
	background:url(../images/gallery-wrapper.gif) no-repeat left top;
	overflow:hidden;
	width:300px;
	border:1px solid #D4D4D4;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image:url(../images/loader.gif);
	background-repeat: no-repeat;
	background-position: center;
	width: 300px;
	height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 300px;
	height: 300px;
}

div.slideshow a.advance-link {
	display: block;
	width: 300px;
	height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
	padding:0;
	margin:0;
}
	div.slideshow a.advance-link img {
		padding:0;
		margin:0;
		display:block;
		position:absolute;
		top:0;
		left:0;
	}
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:30px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 300px;
	top: 0;
	left: 0;
}
div.caption {
	padding:5px 0 0 0;
}
	div.caption h4 {
		margin-bottom:12px;
	}
	div.image-title strong {
		color:#ffeaa8;
	}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	position:relative;
	height:125px;
	overflow:hidden;
	clear:both;
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 8px 0 0 0;
	width:320px;
	height:95px;
	overflow:hidden;
}
ul.thumbs li {
	float: left;
	padding: 0;
	list-style: none;
	vertical-align:top;
	width:86px;
	height:86px;
	margin-right:18px;
	border:1px solid #D4D4D4;
}
	ul.thumbs li .img-wrap {	
		background:url(../images/img-wrapper.gif) no-repeat left top;
		display:block;
		width:86px;
		height:86px;
		cursor:pointer;
	}

a.thumb:focus {
	outline: none;
}

div.pagination {
	z-index:10;
	position:absolute;
	right:0;
	bottom:-5px;
	text-align:center;
	width:268px;
	height:32px;
	font-size:.929em;
	line-height:1.3em;
	display:none;
}
div.top.pagination {
	display:none;
}

div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	font-weight:bold;
	color:#dfdfde;
	width:19px;
	height:19px;
	display:inline-block;
	margin:0 3px;
}
div.pagination a:hover {
	text-decoration: none;
	color:#000;
	background-position:0 0;
}
div.pagination span.current {
	color:#000;
	background-position:0 0;
}
div.pagination span.ellipsis {
	border: none;
}

/* -- gallery end --*/