div.imageshowcase_content {
	/* The display of imageshowcase_content is enabled using jQuery so that the slideshow imageshowcase_content won't display unless javascript is enabled. */
	display: none;
	    float: right;
    width: 770px; 
}
#img_container{
     background-color: #40474F;
    float: left;
    height: 420px;
    margin-bottom: 30px;
    position: relative;
    top: 0;
    z-index: 99;
}
#gallery{margin-left: 15px;
        float: left;
    position: relative;
    width: 580px;
}
#img_container #thumbs{
    width: 690px;
}
#thumbs{    
    margin-top: -8px;
    padding-bottom: 25px;
    position: relative;
    z-index: 999999;
    }
div.imageshowcase_content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.imageshowcase_content a:focus, div.imageshowcase_content a:hover, div.imageshowcase_content a:active {
	text-decoration: underline;
}
div.controls {
    height: 23px;
    margin-top: 380px;
    position: absolute;
    right: 9px;
    z-index: 999999;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: left;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 336px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../image/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 520px; /* 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;
    left: -3px;
    position: absolute;
    top: 18px;
}
div.slideshow a.advance-link {
    display: block;
    height: 370px;
     /* This should be set to be at least the height of the largest image in the slideshow */
	/* This should be set to be at least the height of the largest image in the slideshow */
	overflow: hidden;
    text-align: left;
    width: 580px;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {-webkit-box-shadow:0px 2px 8px #888; -moz-box-shadow:0px 2px 8px #888; box-shadow:0px 2px 8px #888;
	vertical-align: middle;border:4px solid #FFFFFF;
	
  max-height: 450px;    max-width: 690px;
}
div.download {
	float: right;
}
div.caption-container {
	
}
span.image-caption {
	display: block;
	position: absolute;
}
div.caption { background-color: #ae1917;
    color: #fff;
    margin-bottom: -42px;
    margin-left: -14px;
    padding: 12px;
    width: 536px;
}
div.caption a {
	color: #fff;
}
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;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 6px 5px 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #fff;
}
ul.thumbs li.selected a.thumb {
	background: #0093d5;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
    height: 45px;
    width: 60px;
}
div.img_pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.img_pagination a, div.img_pagination span.current, div.img_pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #d0b25d;
}
div.img_pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.img_pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.img_pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
#captionToggle a {
  background-image: url("../image/caption.png");
    background-position: right center;
    background-repeat: no-repeat;
 
display: block;
    float: right;
    margin-top: 59px;
    padding: 5px 15px 35px 5px;
}
