div#container {
	overflow: hidden;
}
div.content {
	position:relative;
	display: none;
	clear: both;
	margin:0 0 30px 0;
	zoom:1;
}

div.content:after, .navigationBox:after {
	content:'';
	clear:both;
	display:block;
	overflow:hidden;
	height:0;
}

div.content a, div.navigation a {
	text-decoration: none;
}
div.content a:hover, div.content a:active {
	text-decoration: underline;
}

div.navigation a.pageLink {
	
}

div.controls {
	position:absolute;
	top:135px;
	left:0;
	width:665px;
	height:98px;
	z-index:200;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	position:relative;
	height:98px;
}

div.controls .nav-controls a {
	background:url(../images/gallery_big_arrow.png) -49px top no-repeat;
	display:block;
	padding:0;
	float:left;
	width:49px;
	height:98px;
	text-indent:-10000px;
}

div.controls .nav-controls a.next {
	background-position:left top;
	float:right;
}

div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	width: 665px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
}

div.loader,
div.slideshow a.advance-link,
div.caption-container {
	height: auto; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
}

div.slideshow-container {
	background:#191919;
	position: relative;
	overflow:hidden;
	clear: both;
	height: 360px;
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	line-height: 360px; /* This should be set to be at least the height of the largest image in the slideshow with padding */
	text-align: center;
	cursor:default;
}

div.slideshow a.advance-link:hover,
div.slideshow a.advance-link:active,
div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow a.advance-link:focus {
	outline: none;
}

div.slideshow img {
	margin:0 auto;
	max-width:555px;
	max-height:360px;
	_height:expression(this.height > 360 ? 360: true);
    position: relative;
    z-index: 100;
}
div.caption-container {
	background:#414d57 url(../images/gallery_caption_bg.gif) left top repeat-x;
	position: relative;
	/*height:50px;*/
	padding:12px 35px;
	font-size:12px;
	color:#fff;
	/*display:none !important;*/
}
span.image-caption {
	display: block;
	position: relative;
	overflow:hidden;
	/*height:50px;*/
	line-height:1.4;
}

div.caption-container, span.image-caption {
	width: 595px;
}

div.caption {
	padding: 0;
}

	div.caption p {
		margin:0;
	}

div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.download {
	margin-top: 8px;
}
div.photo-index {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 12px;
}

.navigationBox {
	background:#32383e url(../images/gallery_nav_box_bg.gif) left top repeat-x;
	position:relative;
	overflow:hidden;
	height:65px;
	padding:10px 0 12px 0;
	margin:0 0 30px 0;
	zoom:1;
	display:none !important;
}

div.navigation-container {
	float: left;
	position: relative;
	left: 50%;
}
div.navigation {
	float: left;
	position: relative;
	left: -50%;
	height:62px;
	overflow:hidden;
}
div.navigation a.pageLink, div.navigation a.pageLink:hover {
	background:url(../images/gallery_small_arrow.png) left top no-repeat;
	display: block;
	position: relative;
	float: left;
	margin: 24px 0 0 0;
	width: 9px;
	height: 15px;
	line-height: 15px;
	opacity:1 !important;
	filter:alpha(opacity=100) !important;
}

div.navigation a.pageLink.na, div.navigation a.pageLink.na:hover {
	opacity:0.5 !important;
	filter:alpha(opacity=50) !important;
	cursor:default;
}

div.navigation a.pageLink.next, div.navigation a.pageLink.next:hover {
	background-position:-9px top;
	margin-left:10px;
}

div.navigation a.pageLink.prev, div.navigation a.pageLink.prev:hover {
	margin-right:10px;
}

div.navigation a.pageLink:focus {
	outline: none;
}

ul.thumbs {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	width:95px;
	height:62px;
	padding: 0;
	margin:0 8px;
	list-style: none;
	opacity:0.5;
	filter:alpha(opacity=50);
}

ul.thumbs li.selected {
	opacity:1;
	filter:alpha(opacity=100);
}

ul.thumbs li:hover {
	opacity:1 !important;
	filter:alpha(opacity=100) !important;
}
	
	ul.thumbs li img {
		width:95px;
		height:62px;
	}

a.thumb {
	display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
	position: relative;
	left: -50%;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	position: relative;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

div.gallery-gutter {
	clear: both;
	padding-bottom: 20px;
}
