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: 100%; 
	position:relative;
}
div.content:after, div.content:before{ content:""; display:table;}
div.content:after{ clear:both;}
div.content img{ max-width:100%;}
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.controls {
    margin-top: 0;
    /* height: 23px; */
}
div.controls a {
    padding: 5px;
    font-size: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    text-align: center;
}
div.controls a.next {
    left: 0;
    position: absolute;
}
div.controls a.prev {
    right: 0;
    position: absolute;
}
div.controls a i{ font-size:40px; color:#fff;}
div.ss-controls {
    float: left;
    display: none;
}
div.nav-controls {
    float: none;
    position: absolute;
    z-index: 9;
    width: 100%;
    box-sizing: border-box;
    padding: 24px;
    top: 180px;
}
.smallimg {
	max-width: 99px;
	height: 90px;
}
div.slideshow-container {
	position: relative;
	
	
}
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 */
}
div.slideshow {
	display: block;
	position: relative;
	height: 424px;
}

div.slideshow span.image-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
div.slideshow a.advance-link {
	display: flex;
	width: 100%;
	height: 420px;
	text-align: center;
}
div.slideshow a.advance-link img {
    object-fit: cover;
    overflow: hidden;
    width: 100%;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	
}
span.image-caption {
	display: block;
	position: absolute;
	width: 550px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
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. */
}
ul.thumbs {
    clear: both;
    margin: 0;
    padding: 0;
    height: 210px;
    overflow-x: auto;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
ul.thumbs li:nth-of-type(8n){ margin-right:0;}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
    margin-bottom: 0;
    height: auto;
}
div.navigation div.bottom {
	margin-top: 12px;
}
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;
}
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;
}
