#animation {
	z-index:9;
	/*background:#FFF;*/
}

div.controls {
	/*margin-top: 5px;
	height: 23px;*/
}

div.controls .next,
div.controls .prev {
	position:absolute;
	bottom:0px;
	z-index:99999;
}

#animation div.controls .next img,
#animation div.controls .prev img {
	box-shadow:none;
}

div.controls .next {
	right:23px;
	bottom:120px;
}
div.controls .prev {
	right:23px;
	bottom:58px;
}

div.controls a { padding: 0px; }
div.ss-controls { float: left; }
div.nav-controls { float: right; }

div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	width:1000px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
}

div.slideshow-container {
	width:1000px;
	height:342px;
}

div.loader,
div.slideshow a.advance-link,
div.caption-container {
	height: 342px; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
}

div.slideshow-container {
	position: relative;
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}

div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0px;
	left: 0;
}

/*div.slideshow span.image-wrapper img { height:500px; }*/

div.slideshow a.advance-link {
	display: block;
	line-height: 342px; /* This should be set to be at least the height of the largest image in the slideshow with padding */
	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 a.advance-link:focus { outline: none; }

div.slideshow img {
	width:1000px;
	height:342px;
}

div.caption-container {
	float: right;
	position: relative;
	margin-top:1px;
}

span.image-caption {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

div.navigation-container {
	float: left;
	position: relative;
	left: 50%;
}

div.navigation {
	float: left;
	position: relative;
	left: -50%;
}

div.navigation a.pageLink {
	display: block;
	position: relative;
	float: left;
	margin: 2px;
	width: 16px;
	background-position:center center;
	background-repeat:no-repeat;
}

div.navigation a.pageLink:focus { outline: none; }

ul.thumbs {
	position: relative;
	float: left;
	margin: 0;
	margin-left:-5px;
	padding: 0;
	height:80px;
	overflow:hidden;
}

ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px;
	list-style: none;
}

a.thumb {
	padding: 1px;
	display: block;
}

a.thumb:focus { outline: none; }

ul.thumbs img {
	border: none;
	display: block;
}



div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	position: relative;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}

div.pagination a:hover { text-decoration: none; }

div.pagination span.current { font-weight: bold; }

div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

