.full-width-content .content,
.site-inner {
width:1250px;	
max-width:100%;
margin:0 auto;
}
div.detaildiv {
max-width:1250px;	
margin:0 auto;
}

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; 
}
div.content a, div.navigation a {
	text-decoration: none;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div#controls {
width:800px;
max-width:100%;	
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
	font-size:75%;
}
div.nav-controls {
	float: right;
	font-size:75%;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 620px; /* This should be set to be at least the height of the largest image in the slideshow */
	height:auto;
	
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 800px;
	max-width:100%;
	height: 600px; /* 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;
	float:none;
/*	width: 800px;*/
/*	max-width:100%;*/
/*	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */*/
	height: auto; /* This should be set to be at least the height of the largest image in the slideshow */
/*	line-height: 600px; /* This should be set to be at least the height of the largest image in the slideshow */*/
	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: top;
	border: 1px solid #ccc;
	border: 1px solid #1b849e; /* teal */
	
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	display:none;
	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. */
}
.entry-content ul.thumbs {
	padding: 0;
margin-left:0;	
display:table;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 0 5px 2px;
	list-style: none;
}
a.thumb {
	padding: 1px;
	display: block;
	float:left;
	border:none;
}
ul.thumbs li.selected a.thumb img {
	border:1px solid red;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
/*	border: none !important;*/
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}

div#gallery {
float:left;
width:800px;
max-width:100%;
height:640px;
/*height:auto;*/
margin: 0 8px 0 0;
max-width:100%;	
}

div#thumbs {
float:left;
/*clear:both;*/
margin: 17px 0 12px 12px;
width:420px;
max-width:420px;	
}

ul.thumbs li {
    float: left;
    list-style: outside none none;
    margin: 5px 10px 5px 0;
    padding: 0;
}
a.thumb {
/*    border: 1px solid #ccc;*/
    display: block;
    padding: 2px;
}
ul.thumbs li a img {
    float: left;
    max-width: 90px;
}

div.controls a {
    padding: 5px;
}
div.content a, div.navigation a {
    text-decoration: none;
}

a.next {
margin-left:20px;	
}

@media only screen and (max-width: 1260px) {
	.full-width-content .content, .site-inner {
	    margin: 0 auto;
	    max-width: 94%;
	}
	div.detaildiv {
	max-width:94%;
	margin: 0 auto;	
	}
	div.mlsthumbs {
	width:900px;
/*	max-width:94%;*/
	margin:2px auto;	
	}
	div#gallery {
	float:left;
	margin:2px auto;	
	max-height:640px;
	}
	div.mlsthumbs #slideshow img {
	    max-width: 100%;
	    width: 800px;
		height:600px;
		display:block;
		float:none;
		margin:2px auto;
	}
	div#thumbs {
	display:block;
	clear:both;
	float:none;
	margin: 12px auto 10px auto;
	width:96%;
	max-width:96%;	
	}

}
@media only screen and (max-width: 1000px) {
	div.mlsthumbs {
	width:90%;
	max-width:800px;	
	}
	div#controls {
/*	width:900px;	*/
	}
	div#gallery {
	max-height:640px;
	}
	div.mlsthumbs #slideshow img {
		max-width:800px;
		max-height:600px;
	}
	
}
@media only screen and (max-width: 930px) {
	div#gallery {
	max-height:640px;
	}
	div.mlsthumbs #slideshow img {
		max-width:800px;
		max-height:600px;
	}

}
@media only screen and (max-width: 895px) {
	div.mlsthumbs {
	width:90%;
	max-width:850px;	
	}
	div#controls {
	width:100%;
	max-width:100%;	
	}
	div#gallery {
	width:100%;
	max-width:840px;
	}
	div#thumbs {
	width:100%;
	max-width:840px;
	}
}

@media only screen and (max-width: 886px) {
	.full-width-content .content, .site-inner {
	max-width:100%;	
	}
	div#gallery {
	max-height:550px;
	}
	div.mlsthumbs #slideshow img {
		float:left;
		max-width:700px;
		max-height:525px;
	}

}
@media only screen and (max-width: 820px) {
	div#gallery {
	max-height:480px;
	}
	div.mlsthumbs #slideshow img {
	max-width:600px;
	max-height:450px;
	}
}
@media only screen and (max-width: 740px) {
	.full-width-content .content, .site-inner {
	    margin: 0 auto;
	    max-width: 98%;
	padding-left:4px;
	padding-right:4px;
	}
	div.mlsthumbs {
	max-width:720px;
	float:left;	
	}
	div#gallery {
/*	max-height:480px;*/
	}
	div.mlsthumbs #slideshow img {
/*	max-width:600px;*/
/*	max-height:450px;*/
	}
}
@media only screen and (max-width: 660px) {
	div.mlsthumbs #slideshow img {
	max-width:500px;
	max-height:375px;
	}
}
@media only screen and (max-width: 595px) {
	div#gallery {
	max-height:360px;
	}
	div.mlsthumbs #slideshow img {
	max-width:450px;
	max-height:337px;
	}
}
@media only screen and (max-width: 530px) {
	.full-width-content .content,
	.site-inner {
	width:520px;	
	max-width:100%;
	margin:0 auto;
	}

	div.mlsthumbs {
	width:100%;	
	}
	div#gallery {
	max-height:310px;
	}
	div.mlsthumbs #slideshow img {
	max-width:380px;
	max-height:285px;
	}
}
@media only screen and (max-width: 430px) {
	.full-width-content .content,
	.site-inner {
	width:420px;	
	max-width:100%;
	margin:0 auto;
	}

	div.mlsthumbs {
	width:100%;	
	}
	div#gallery {
	max-height:280px;
	}
	div.mlsthumbs #slideshow img {
	max-width:350px;
	max-height:263px;
	}
}



