#gallery{
min-height: 374px;
   height: auto !important;
   height: 374px;
}
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:100%;
	position:relative
}
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: none;
}
div.controls {
	margin-top: 10px;
	height: 23px;
	position:absolute;
	top:344px;
	left:0
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}


div.ss-controls a{
display:block;
width:12px;
padding:0;
margin:1px 64px 0 3px;
height:12px;
}

div.ss-controls a.play{
background: url(../files/play_pause.png) no-repeat bottom left;
display:none
}

div.ss-controls a.pause{
background: url(../files/play_pause.png) no-repeat top left;
}


div.nav-controls a.prev{
background: url(../files/gal_prev.gif) no-repeat top left;
padding:0 12px 0 8px;
margin-left:70px
}

div.nav-controls a.next{
background: url(../files/gal_next.gif) no-repeat top right;
padding:0 8px 0 12px
}


div.loader {
	background-image: url('../files/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 {
	
	background: #DEE3D7;
	display: block;
}
div.slideshow img {
	border: none;
	display: block;
}
div.download {
	float: right;
}
div.embox {
	clear: both;
	background-color: #eee;
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}

div.image-desc {
	line-height: 1.3em;
	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. */
	   position:absolute;
	   right:0; 
	   top:0;
	   width:138px;
}
ul.thumbs {
	clear: both;
	margin: 0 !important;
	padding: 0 !important;
}
ul.thumbs li {
	float: left;
	padding: 0 !important;
	margin: 0 0 12px 12px !important;
	list-style: none;
	background:none !important
}
a.thumb {
	display: block;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	height: 2px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
}
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;
}

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