@media print, screen and (min-width:751px){
div#page{
	width:250px;
	/* clear:both; */
	overflow: hidden;
	float: left;
}
div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	float: left;	
	width: 250px;
}
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: 5px;
	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: 129px; */ /* This should be set to be at least the height of the largest image in the slideshow */
	/* padding: 20px; */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	/* top: -10px; */
	left: 0;
	/* margin-left: 58px; */
}
div.slideshow a.advance-link {
	display: block;
    width: 250px;
    height: 415px;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
	/* width:  250px; */
}
div.slideshow img {
	width: 200px;
	h;
	height: 150px;
	float: left;
	/* vertical-align: middle; */
	/* border: 1px solid #ccc; */
	/* border-radius:10px; */
	object-fit: contain;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	height: 203px;
	/* margin-top: 20px; */
	/* margin-left: 58px; */
	/* top: 0; */
}
span.image-caption {
	display: block;
	position: absolute;
	width: 620px;
	left: 0;
	bottom: 16px;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.6em;
	/* 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;
	width:250px;
}
ul.thumbs li {
	float: left;
	height:80px;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;	

	border: 1px solid #ddd;

}

a.thumb {
	padding: 2px;
    display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	width: 90px;
	height:80px;
	object-fit:contain;
}
div.pagination {
	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 {
	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;
}
}

@media screen and (max-width:750px){
div#page{
	width: 90%;
		overflow: hidden;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 8%;
}
div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	float: left;
	width: 100%;
	text-align: center;
}
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: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
}
div.slideshow {

text-align: center;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
}
div.slideshow a.advance-link {
	display: block;
	margin: 0 auto;
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
	width: 100%;
}
div.slideshow img {
	width: auto;
    height: 150px;
	object-fit: contain;
	margin: 0 auto;
	text-align: center;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	height: 150px;
	text-align: center;
	margin: 0 auto;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0px;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.6em;
}
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;
	width: 100%;
}
ul.thumbs li {
	float: left;
	height: 60px;
	padding: 0;
	margin: 5px 5px 5px 0;
	list-style: none;
	border: 1px solid #ddd;
	width: 23%;
}
ul.thumbs li:last-child{
	margin-right:0;
	}

a.thumb {
	padding: 2px;
    display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	width: 55px;
	height: 50px;
	object-fit:contain;
}
div.pagination {
	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 {
	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;
}
}