.modal 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: right;
	width: 550px; 
}
.modal div.content a, .modal div.navigation a {
	text-decoration: none;
	color: #777;
}
.modal div.content a:focus, .modal div.content a:hover, .modal div.content a:active {
	text-decoration: underline;
}
.modal div.controls {
	height: 23px;
	position: absolute;
	top: 5px;
	width:100%;
}
.modal div.controls a {
	padding: 5px;
}
.modal div.ss-controls {
	float: left;
}
.modal div.nav-controls {
	float: right;
}
.modal div.slideshow-container {
	position: relative;
	clear: both;
	height: 415px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.modal div.loader {
	position: absolute;
	top: 28px;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 415px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.modal div.slideshow {
	position: absolute;
	top: 30px;
	left: 0;
}
.modal div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.modal div.slideshow a.advance-link {
	display: block;
	width: 550px;
	height: 415px; /* This should be set to be at least the height of the largest image in the slideshow */
	/*line-height: 415px;  This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
.modal div.slideshow a.advance-link:hover, .modal div.slideshow a.advance-link:active, .modal div.slideshow a.advance-link:visited {
	text-decoration: none;
}
.modal div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
}
.modal div.download {
	float: right;
}
.modal div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
.modal span.image-caption {
	display: block;
	position: absolute;
	width: 550px;
	top: 0;
	left: 0;
}
.modal div.caption {
	padding: 12px;
}
.modal div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
.modal 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: 170px;
	float:left;
}
.modal ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
.modal ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
.modal a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
.modal ul.thumbs li.selected a.thumb {
	background: #000;
}
.modal a.thumb:focus {
	outline: none;
}
.modal ul.thumbs img {
	border: none;
	display: block;
	width: 65px;
}
.modal div.pagination {
	clear: both;
}
.modal div.navigation .modal div.top {
	margin-bottom: 12px;
	height: 11px;
}
.modal div.navigation .modal div.bottom {
	margin-top: 12px;
}
.modal div.pagination a, .modal div.pagination span.current, .modal div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
.modal div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
.modal div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
.modal div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
.modal div.navigation a.prev {
	background-image: url(prevPageArrow.gif);
}
.modal div.navigation a.next {
	background-image: url(nextPageArrow.gif);
}
.modal div.loader {
	background-image: url(loader.gif);
}