#galleryLayout {
	width: 584px;
	height: /*608*/630px;
	overflow: hidden;
	margin: 1.25em 0 0;
	cursor: default;
}


div.content {
	/* The display of content is enabled by a javascript generated style on the page.
	   This is so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	/*width: 550px;*/
	
		padding: 16px;
	background: #fff;
	border: 1px solid #dce1e4;
}

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.loader {
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	/*width: 550px;*/
	height: 400px;
	overflow: hidden;
}


div.slideshow {
	height: 400px;
	overflow: hidden;
	clear: both;
	text-align: center;
}

div.slideshow span.image-wrapper {
	/*float: left;*/
	/*padding-bottom: 12px;*/
}

div.slideshow a.advance-link {
	/*padding: 2px;*/
	display: block;
	padding: 0;
	border: none;
	/*border: 1px solid #ccc;*/
}

div.slideshow span {
	display: block;
	height: 400px;
}

div.slideshow a {
	display: block;
}

div.slideshow img {
	border: none;
	vertical-align: bottom;
}

div.download {
	display: none;
	/*float: right;*/
}


div.embox {
	height: 25px;
	overflow: hidden;
	margin: 16px 0 0;
	/*clear: both;*/
	/*border: 1px solid #ccc;*/
	/*background-color: #eee;*/
	/*padding: 12px;*/
}

div.image-title {
	background: #fff;
	font-size: 1.4em;
	font-weight: bold;
	line-height: 1.4em;
}

div.image-desc {
	display: none;
	line-height: 1.3em;
	padding-top: 12px;
}


div.controls {
	width: 120px;
	margin: 0 0 -1px;
	margin: 16px 0 0;
	/*margin-top: 5px;*/
	height: 25px;
}

div.controls a {
	/*padding: 5px;*/
}

div.ss-controls {
	float: left;
	padding: 1px 0 0;
}

div.nav-controls {
	height: 19px;
	overflow: hidden;
	float: right;
}

div.nav-controls a {
	margin: 0 0 0 1.35ex;
}


div.navigation {
	margin: 6px 0 0;
	/* The navigation style is set by a javascript generated style on the page.
	   This is so that the javascript specific styles won't be applied unless javascript is enabled. */
}

ul.thumbs {
	display: block;
	height: 102px;
	clear: both;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #dce1e4;
	text-align: center;
}

ul.thumbs li {
	display: inline-block;
	margin: 6px 0 0 6px;
	padding: 0;
	background: none;
	list-style: none;
}

a.thumb {
	display: block;
	border: 2px solid #fff;
}

ul.thumbs li.selected a.thumb {
	border-color: #0096d3;
}

a.thumb:focus {
	outline: none;
}

ul.thumbs img {
	border: none;
	display: block;
	width: 86px;
	height: 86px;
}


div.pagination {
	margin: 6px 0 0;
	clear: both;
	text-align: center;
}

div.navigation div.top {
	display: none;
	margin-bottom: 12px;
	height: 11px;
}

div.navigation div.bottom {
	/*margin-top: 12px;*/
	clear: both;
	margin-left: 3px;
}

div.pagination a, div.pagination span.current {
	display: inline-block;
	/*float: left;*/
	margin-right: 3px;
	padding: 4px 8px;
	line-height: 1.1em;
	border: 1px solid #d2d3d3;
}

div.pagination a:hover {
	background-color: #e8e8e8;
	text-decoration: none;
}

div.pagination span.current {
	font-weight: bold;
	background-color: #545455;
	border-color: #545455;
	color: #fff;
	cursor: default;
}

