div.gallery{ 
	padding:20px 0px; margin:0px;  
}
div.content_gallery {
	/* The display of content_gallery is enabled by a javascript generated style on the page.
	   This is so that the slideshow content_gallery won't display unless javascript is enabled. */
	display:none;
	float:right;
	width:480px;
	text-align:right;
	margin-top:10px;
}

div.content_gallery a,
div.navigation a {
	text-decoration: none;
	color:#000;
}

div.content_gallery  a:focus,
div.content_gallery  a:hover,
div.content_gallery  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: 550px;
	height: 350px
}

div.slideshow {
	clear: both;
}

div.slideshow span.image-wrapper {
	float: left;
	padding-bottom: 12px;
}

div.slideshow a.advance-link {
	padding:0px;
	display:block;
	border:2px solid #383838;
}

div.slideshow img {
	border:none;
	display:block;
	width:100%; height:auto;
}

div.download {
	float:right;
}

div.download a{
	color:#333;
}

div.embox {
	clear: both;
	border: 1px solid #383838;
	padding: 12px;
	text-align:left;
}

div.image-title {
	font-weight: bold;
	font-size: 1.3em;

}

div.image-desc {
	line-height: 1.2em;
	padding-top: 12px;
}

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. */
}
.image-desc pre{
	font-family:inherit;
}

.download a {
	width: 30px;
	height: 30px;
	background: url(images/download_icon.png) no-repeat;
	display: block;
	text-indent: -8000px;
}

ul.thumbs {
	clear:both;
	margin:0px; padding:0px;
	list-style:none;
}

ul.thumbs li {
	float:left;
	padding:0px; margin:5px 5px 5px 0;
}

a.thumb {
	display:block;
	padding:1px;
	border:1px solid #383838;
}

ul.thumbs li.selected a.thumb { background:#383838; }
a.thumb:focus { outline: none; }

ul.thumbs img {
	border:none;
	display:block;
	width:80px; height:80px;
}

div.pagination { clear:both; }

div.navigation div.top {
	height:11px;
	margin-bottom:22px;
}
div.navigation div.bottom { margin-top: 12px; }

div.pagination a,
div.pagination span.current {
	display:block;
	float:left;
	margin-right:2px;
	padding:2px 10px;
	background:#efefef;
	color:#222;
}

div.pagination a:hover {
	background:#c5126b;
	color:#fff;
	text-decoration:none;
}

div.pagination span.current {
	font-weight:bold;
	background:#c5126b;
	color:#fff;
}



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