div.gcontent {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	/*float: right;*/
	width: 600px; 
  margin-left: 5px;
}
div.gcontent a, div.navigation a {
	text-decoration: none;
	color: #777;
  /*margin-top: 6px;*/
  margin-top: 4px;
}
div.gcontent a:focus, div.gcontent a:hover, div.gcontent a:active {
	text-decoration: underline;
}
div.controls {
	/*margin-top: 5px;*/
  margin: 2px 0px;
	height: 23px;
}
div.controls a {
  padding: 5px 40px 0px 0px; /* spacing between controls */
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 400px; /* This should be set to be at least the height of the largest image in the slideshow */
  overflow: hidden;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 600px;
	height: 400px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {
  overflow: hidden;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
  /*background: #000;*/ /* turn background black for images that don't fill slideshow */
}
div.slideshow a.advance-link {
	display: block;
	width: 600px;
  /* these were 502 */
	/*height: 0px;*/ /* This should be set to be at least the height of the largest image in the slideshow */
  height: 400px;
	line-height: 0px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
  position: relative;
	vertical-align: middle;
	/*border: 1px solid #ccc;*/
  max-height: 400px;
  width: auto;
  height: auto;
  /*height: 400px;*/
}
div.download {
	float: right;
  margin: 2px 0px;
}

div.caption-container {
	position: relative
	clear: left
	height: 75px
}
span.image-caption {
  /*float: right;*/
	display: block
	position: absolute
	width: 600px
	top: 0
	left: 0;
}
div.caption {
	/*padding: 12px;*/
  /*padding: 6px 12px 12px;*/
  padding: 0px;
}
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 using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
  margin-left: 5px;
}
div.navigation a.pageLink {
  height: 75px;
  line-height: 75px;
}
div.navigation a.pageLink {
  display: block;
  position: relative;
  float: left;
  margin: 2px;
  width: 16px;
  background-position:center center;
  background-repeat:no-repeat;
}
div.navigation a.pageLink:focus {
  outline: none;
}
/*div.navigation a.prev {
  background-image: url(prevPageArrow.gif);
}
div.navigation a.next {
  background-image: url(nextPageArrow.gif);
}*/
ul.thumbs {
	clear: both;
  float: left;
	margin: 0;
	padding: 0;
  height: 86px;
  overflow: hidden;
  margin-top: -5px;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0px 4px 5px 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
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 {
	/*margin-bottom: 12px;
	height: 11px;
  margin-top: 6px;*/
  width: 170px; 
  float: left;
}
div.navigation div.bottom {
	/*margin-top: 12px;*/
  clear: both;
  /*margin-top: 6px;*/
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	/*padding: 4px 7px 2px 7px;*/
	padding: 2px 7px;
	border: 1px solid #ccc;
  margin-top: 6px;
}
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 span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
