div.gallery-box {
	/* The display of gallery-box is enabled by a javascript generated style on the page.
	   This is so that the slideshow gallery-box won't display unless javascript is enabled. */
	display: none;
	/*float: left;*/
	width: 390px;
}
div.gallery-box a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.gallery-box a:focus, div.gallery-box a:hover, div.gallery-box a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}

div.loader {
	background-image: url('../images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 300px;
	height: 350px
}
div.slideshow {
	clear: both;
}
div.slideshow span.image-wrapper {
	float: left;
}
div.slideshow a.advance-link {
	/*padding: 2px;*/
	display: block;
	/*border: 1px solid #ccc;*/
}
div.slideshow img {
	border: none;
	display: block;
	width:380px;
	width:380px;
	padding: 4px 5px 5px 4px;
	background: url(../images/bg-main-img-shad.jpg) no-repeat right bottom;
}
div.download {
	float: right;
}
div#caption {
	clear: both;
}
div.embox {
	clear: both;
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}

div.image-desc {
	line-height: 20px;
}
div.navigation {
	/* 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 {
	clear: both;
	margin: 0;
	padding: 0;
	width: 700px;
	height: 100px;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0;
	list-style: none;
}
a.thumb {
	padding: 0;
	display: block;
	border: 1px solid #003366;
}
body.home a.thumb {
	cursor: default;
}

ul.thumbs li.selected a.thumb {
	background: #000;
}

a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	width: 98px;
	height: 98px;
}
div.pagination {
	clear: both;
	position:relative;
}
div.navigation div.top {
	margin-bottom: 10px;
	height: 27px;
}
div.navigation div.bottom {
	margin-top: 10px;
}
div.pagination a, div.pagination span.current {
	float: left;
	margin-right: 0;
	padding: 0;
	/*display: block;*/
	display: none;
}
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 a.next {
	display: block;
	position: absolute;
	right: 0;
	width: 14px;
	height: 27px;
	background: url(../images/gal-right.jpg) no-repeat 0 0;
	text-indent: -9999px;
}

div.pagination a.prev {
	display: block;
	position: absolute;
	left: 0;
	width: 14px;
	height: 27px;
	background: url(../images/gal-left.jpg) no-repeat 0 0;
	text-indent: -9999px;
}

/* Minimal Gallery Styles */
#thumbs-min ul.thumbs li {
	float: none;
	padding: 0;
	margin: 0;
	list-style: none;
}

#thumbs-min a.thumb {
	padding: 0px;
	display: inline;
	border: none;
}

#thumbs-min ul.thumbs li.selected a.thumb {
	background: inherit;
	color: #000;
	font-weight: bold;
}