div.jq_gallery {
	/* 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: block;
	width: 930px;
  height: 450px;
  text-align: center;
  margin: 0px;
  padding: 0px;	
}
div.jq_gallery a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.jq_gallery  a:focus, div.jq_gallery  a:hover, div.jq_gallery  a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	margin-bottom: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
.page{
  padding-top: 4px;
  float: left;
  color: #FFFFFF;
  padding-right: 5px;
}
div.ss-controls{
  display: block;
  float: left;
}
div.ss-controls a.play{
  display: block;
  width: 150px; 
  background: url(../images/bg_slideshow.gif) 10px 8px no-repeat;
  margin-left: 300px;
}
div.ss-controls a.pause{
  display: block;
  width: 150px;
  background: url(../images/bg_slideshow.gif) 10px 8px no-repeat;
  margin-left: 300px;
}
div.nav-controls {
	display: block;
	width: 170px;
	margin: 0px auto 0px auto;
}
/* Buttons */
div.nav-controls{
  float: left;
  padding-top: 2px;
}
div.nav-controls .next{
  display: block;
  background: url(../images/gallery_next.gif) no-repeat;
  width: 56px;
  height: 12px;
  float: left;
  padding: 10px 0px 0px 00px;
}
div.nav-controls .next:hover{
  background: url(../images/gallery_next.gif) 0px -22px no-repeat;
}
div.nav-controls .prev{
  display: block;
  background: url(../images/gallery_prev.gif) no-repeat;
  width: 56px;
  height: 12px;
  float: left;
  padding: 10px 0px 0px 10px;
}
div.nav-controls .prev:hover{
  background: url(../images/gallery_prev.gif) 0px -22px no-repeat;
}

div.loader {
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 350px
}
div.slideshow {
  display: block;
	clear: both;
	width: 910px;
	height: 450px;
	margin:0px auto 0px auto;
}
div.slideshow span.image-wrapper {
  display : block;
  height: 450px;
}
div.slideshow a.advance-link {
	padding: 2px;
	display: block;
}
div.slideshow img {
	border: none;
	height: 450px;
}
div.download {
	float: right;
}
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: 1.3em;
	padding-top: 12px;
}
div.navigation {
	
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	padding-left: 50px;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #F00;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	height: 50px;
}
div.pagination {
	display: block;
  clear: both;
  height: 30px;
  width: 200px;
  margin: 0px auto 0px auto;
}
div.navigation div.top {
	display: none;
  margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
	height: 11px;
}
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: #A30301;
	text-decoration: none;

}
div.pagination span.current {
font-weight: bold;
	background: #FF0000;
	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;
}
#gallery-adv hr{
  height: 1px;
  border: 0;
  border-bottom: 1px solid #FF0000;
  margin-left: 30px;
}