#controls {
	display:none;	
}
.center{
    position: relative;
}
.clear{
    clear:both;
}
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: 33px;
}
div.controls a {
	padding: 5px;
}
.page{
  padding-top: 4px;
  float: left;
  color: #000;
  padding-right: 5px;
}
div.ss-controls{
  display: block;
  float: left;
}
div.ss-controls a.play{
  display: none;/*
  width: 120px; 
  background: url(../images/play.png) no-repeat left center;
  padding-left: 15px;
  position: absolute;
  top:560px;
  left:300px;
  &left: 310px;*/
}
div.ss-controls a.pause{
  display: block;
  width: 90px;
  padding-left: 15px;
  background: url(../images/stop.png)  no-repeat left center;
  position: absolute;
  top:560px;
  left:300px;
  /*&left: 310px;*/
}
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/arrow_gallerific_right.png) no-repeat right top;
  width: 56px;
  height: 40px;
  line-height: 40px;
  float: left;
  padding: 0px 27px 0px 0px;
  position: absolute;
  top:550px;
  left:635px; 
  /*&left:645px;*/  
}
div.nav-controls .next:hover{
  background-position: right bottom ;
}
div.nav-controls .prev{
  display: block;
  background: url(../images/arrow_gallerific_left.png) no-repeat  left top;
  width: 56px;
  height: 40px;
  line-height: 40px;
  float: left;
  padding: 0px 0px 0px 35px;
  position: absolute;
  top:550px;
  left:30px;
  /*&left:40px;*/  
}
div.nav-controls .prev:hover{
  background-position: left bottom ;
}

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;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 122px;
}
ul.thumbs li {
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
a.thumb {

	display: block;
	padding-bottom: 0px;
	border:1px solid #D4D4D4;

}
#thumbs {width:145px;float:right;margin-right:10px; max-height: 95%; overflow-y: auto; overflow-x: hidden;}
#thumbs li {width:122px;}
#slideshow {position:relative; width:745px; 
    }
#slideshow a {text-decoration:none;position:relative; left:0;}
ul.thumbs li.selected a.thumb {
	border: 1px solid #000;
	margin: 0px;
	/*position: relative;*/
/*	left:-3px;*/
}
#slideshow img {
    
    /*max-height: 100%;*/
    left: 0;
    position: absolute;
    top: 0;
	margin:0; padding:0;
	cursor:crosshair !important;
  max-height: 840px !important;
  width: auto;
  max-width: 685px;
        /*max-height: 98%;*/
}
.image-wrapper {}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}


div.pagination {
	display: block;
  clear: both;
  height: 40px;
  width: 200px;
  margin: 0px 0 0px 20px;
}
div.navigation div.top {
	display: none;
  margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
	height: 40px;
}
div.pagination a, div.pagination span.current {
	display: block;
	float: left;
	width: 22px;
	height: 20px;
	margin-right: 2px;
	margin-top: 10px;
	padding-top: 4px;
	padding-left: 1px;
	font-weight: bolder;
	color:white !important;
  background: url(../images/pager.png) repeat top;
}
div.pagination a:hover {
	text-decoration: none !important;
	background: url(../images/pager.png) repeat bottom;

}
div.pagination span.current {
  font-weight: bold;
  background: url(../images/pager.png) repeat bottom;
}

div.pagination a.next {
	display: block;
	float: left;
	width: 27px;
	height: 40px;
	margin-right: 2px;
	margin-top: 0px;
	font-weight: bolder;
	color:white !important;
	padding-top: 0px;
  /*background: url(../images/arrows.png) no-repeat top right;*/
  font-size: 1px;
}
div.pagination a.next:hover{background-position: bottom right;}

div.pagination a.prev {
	display: block;
	float: left;
	width: 27px;
	height: 40px;
	margin-top: 0px;	
	margin-right: 2px;
	font-weight: bolder;
	color:white !important;
	padding-top: 0px;
  /*background: url(../images/arrows.png) no-repeat top left;*/
  font-size: 1px;
}
div.pagination a.prev:hover{background-position: bottom left;}



/* 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;
}