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: left;
	width: 65%; 
}
@media screen and (max-width:1024px) {
div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	float: none;
	width: 100%; 
    padding-bottom: 15px;
}    
}
div.content a {
	text-decoration: none;
	color: #777;
}
div.navigation {
    width: 35%;
    float: right;
    padding: 0px 15px 30px;
    position: relative;
}
@media screen and (max-width:1024px) {
div.navigation {
    width: 100%;
    float: none;
    padding: 0px 5px 0px;
    position: relative;
}    
}
div.navigation a {
	color: #333333;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 0px;
	height: 0px;
}
div.controls a {
	padding: 0px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
    padding-top: 66%;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 480px;
	height: 362px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 100%;
	text-align: center;
}
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;
	width: 100%;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
    display: none;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 480px;
	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;
	overflow:hidden;
    display: flex;
    flex-wrap: wrap;
}
ul.thumbs li {
	padding: 5px;
	list-style: none;
    width: 50%;
}
@media screen and (max-width:1024px) {
ul.thumbs li {
    width: 33.33%;
}    
}
a.thumb {
	padding: 0px;
	display: block;
}
ul.thumbs li.selected a.thumb {

}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
ul.thumbs img:hover {
    opacity: 0.7
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
    position: absolute;
    right: 15px;
    bottom: 0px;
}
@media screen and (max-width:1024px) {
div.navigation div.bottom {
position: relative;
    right: 0px;
    bottom: 0px;
    display: table;
    margin: 15px auto 0px;
}
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 0px 20px 0px 20px;
	border: 1px solid #ccc;
	text-align:center;
    line-height: 25px;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	background-color: #f3f3f3;
	border-color: #cccccc;
	color: #333333;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
.wrap_gallery{
	overflow:hidden;
    margin-bottom: 80px;
}
@media screen and (max-width:1024px) {
    .wrap_gallery{
        max-width: 768px;
    margin: 0px auto 100px;
}
}