.gallery-block 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;
}
.gallery-block div.content a,.gallery-block  div.navigation a {
	text-decoration: none;
	color: #777;
}
.gallery-block div.content a:focus,.gallery-block  div.content a:hover,.gallery-block  div.content a:active {
	text-decoration: underline;
}
.gallery-block div.controls {
	margin-top: 5px;
	height: 23px;
	width: 100%;
	position: absolute;
	z-index: 1;
	height: 100%;
	opacity: 0;
}
.gallery-block div.controls:hover{
	opacity: 1;
}
.gallery-block div.controls a {
	/*padding: 5px;*/
	position: absolute;
	background: url(../images/button_gal.png) no-repeat 0 0;
	width: 50px;
	height: 52px;
	margin-top: -25px;
	top: 50%;
}
.gallery-block div.ss-controls {
	float: left;
	display: none;
}
.gallery-block div.nav-controls {
	float: right;
}
.gallery-block div.slideshow-container {
	position: relative;
	clear: both;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.gallery-block div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.gallery-block div.slideshow {
	/*height: 450px;*/
	position: relative;
}
.gallery-block div.slideshow span.image-wrapper {
	display: block;
	/*position: absolute;*/
	/*top: 0;*/
	left: 0;
	width: 100%;
}
.gallery-block div.slideshow a.advance-link {
	display: block;
	/*width: 550px;*/
	width: 100%;
	/*height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	/*line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
	line-height: 0;
}
.gallery-block div.slideshow a.advance-link:hover,.gallery-block div.slideshow a.advance-link:active,.gallery-block div.slideshow a.advance-link:visited {
	text-decoration: none;
}
.gallery-block div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
	/*width: 100%;*/
	max-height: none;
	min-width: 586px;
}
.gallery-block div.download {
	float: right;
}
.gallery-block div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
.gallery-block span.image-caption {
	display: block;
	position: absolute;
	width: 550px;
	top: 0;
	left: 0;
}
.gallery-block div.caption {
	padding: 12px;
}
.gallery-block div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
.gallery-block div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
.gallery-block div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
.gallery-block ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	width: 110%;
}
.gallery-block ul.thumbs li {
	float: left;
	padding: 0;
	margin: 10px 10px 0px 0;
	list-style: none;
	width: 93px;
	height: 64px;
	overflow: hidden;
	padding: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.gallery-block a.thumb {
	/*padding: 2px;*/
	display: block;
	/*border: 1px solid #ccc;*/
}
.gallery-block ul.thumbs li.selected a.thumb {
	/*background: #000;*/
}
.gallery-block ul.thumbs li.selected{
	border: solid 3px #fe5f01;
	padding: 0;
}
.gallery-block a.thumb:focus {
	outline: none;
}
.gallery-block ul.thumbs img {
	border: none;
	display: block;
	height: auto;
	width: 100%;
	max-width: none;
	min-height: 100%;
}
.gallery-block div.pagination {
	clear: both;
}
.gallery-block div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
.gallery-block div.navigation div.bottom {
	margin-top: 12px;
}
.gallery-block div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
.gallery-block div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
.gallery-block div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
.gallery-block div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
.gallery-block div.controls a.prev {
	background-position: 0 100%;
	left: 20px;
}
.gallery-block div.controls a.next {
	right: 20px;
}
