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: 637px;

}
#loading{
    height:0px;
}


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 {
	height: 0px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
    overflow:hidden;
	height:300px; /* This should be set to be at least the height of the largest image in the slideshow */
    background:#6d786e url(images/loader.gif) center center no-repeat;


}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 640px;
	height: 400px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {
height:0px;

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top:  0;
	left: 0;

}
div.slideshow a.advance-link {
	display: block;
	width: 640px;
	height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 400px; /* 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 {

	border: 1px solid #ccc;
}

div.caption-container {
	position: relative;
	clear: left;
	height: 30px;
    z-index:100;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 637px;
	top: 0;
	left: 0;
}
div.caption {
padding:5px;
background-color:#6d786e;
text-align:center;
height:20px;
border-top:1px solid #DDD;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
position:relative;
left:-20px;
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}

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;
}

.controls{clear:both;border-top:1px dotted #ccc;font-weight:700;text-transform:uppercase;padding:0;}
.ss-controls{float:left}
.ss-controls span{color:#666;cursor:pointer}
.nav-controls{position:relative;z-index:100;top:-25px;width:620px;margin-bottom:-11px;}
.nav-controls a{color:#FFF !important;font-weight:700;}
.nav-controls .prev{float:left;}
.nav-controls .next{float:right;margin-right:15px;}
.slideshow span.image-wrapper{display:block;}
.image-wrapper{display:block;margin:0 auto;position:relative;top:-22px;}
.slideshow a.advance-link{width:650px;height:430px;display:table-cell;border:1px solid #ccc;vertical-align:middle;margin:0;padding:5px}
.slideshow a img{border:none;display:block;margin:0 auto}
* html .slideshow a img{border:none;display:block;margin:10px auto;padding:5px}
.embox{width:638px;border:none;background:#000;margin-bottom:10px;padding:12px}
.image-title{font-weight:700;font-size:1.2em;color:#fff}
.image-desc{line-height:1.3em;color:#fff}
ul.thumbs{clear:both;margin:0;padding:0;}
ul.thumbs li{float:left;list-style:none;margin:5px 13px 5px 0 !important;padding:0}
ul.thumbs li a{width:50px;height:50px;display:block;background:#fff;border:1px solid #ccc;overflow:hidden;padding:0}
ul.thumbs li a:hover{border:1px solid #2972a5;outline:none}
ul.thumbs li.selected a{background:#fff}
ul.thumbs img{border:none;display:block}
.navigation .top{display:none}
.navigation .bottom{margin:10px 0}
.pagination a,.pagination span.pagenum,.pagination strong{display:block;float:left;margin-right:5px;font-size:1.1em;font-weight:700}
.pagination a:hover{text-decoration:underline}
.slideshow a:hover img,ul.thumbs a:hover img{border:none!important}
#gallerymain-thumbs,.pagination{clear:both}