div.content {
	/* The display of content is enabled using jQuery so that
	 the slideshow content won't display unless javascript is enabled. */
	display: none;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #000;
	font-size: 85%;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	margin: 2px 0;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 400px; /* 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: 300px;
	height: 400px; /* 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: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 300px;
	height: 400px; /* This should be set to be at least the height of the largest image in the slideshow */

}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	margin-left: 10px;
	width: 225px;
	height: 300px;
	vertical-align: middle;
/*	border: 4px double #990099;*/
	border: 4px solid #f9e0f9;
	border-radius: .5em;-webkit-border-radius: .5em; -moz-border-radius: .5em;
	box-shadow: 2px 2px 4px #cc33cc; 
		-webkit-box-shadow: 2px 2px 4px #cc33cc; -moz-box-shadow: 2px 2px 4px #cc33cc;
}

ul.thumbs {
/*	clear: both;*/
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
a.thumb {
/*	padding: 2px;
display: block;
	border: 1px solid #ccc;
*/
}
ul.thumbs li.selected a.thumb {
/*	background: #000;  => leads to an ugly bottom border */
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	/* display: block;  => make thumbs jumps when clicked in IE */
}
div.pagination {
	margin-top: 30px; 
	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 {
	font-size: 75%;
	color: #fff;
	display: block; /* no diff IE, ff, saf*/
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	background-color: #eee;
	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;
}
