div#container {
	overflow: hidden;
}

div.content{
	display:none;
	clear:both;
	width:600px;
	height:400px;
}

div.content a, div.navigation a {
	text-decoration: none;
}
div.content a:hover, div.content a:active {
	text-decoration: underline;
}

div.navigation a.pageLink {
	height:90px;
	line-height:90px;
}

div.controls{
	height:0;
}

div.ss-controls {
	display:none;
}

div.nav-controls {
	float: right;
}

div.slideshow-container, div.loader, div.slideshow a.advance-link {
	width:600px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
}

div.loader, div.caption-container, div.slideshow a.advance-link {
	height:400px; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
}

div.slideshow-container {
	position: relative;
	clear: both;
	float: left;
	height:400px;
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	left: 0;
	top:0;
}

div.slideshow a.advance-link{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	width:600px;
	height:400px;
}

div.slideshow a.advance-link *{
	vertical-align: middle;
}

div.slideshow a.advance-link:hover,
div.slideshow a.advance-link:active,
div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow a.advance-link:focus {
	outline: none;
}

div.slideshow img{
	max-width:600px;
	max-height:390px;
}

div.caption-container {
	float: right;
	position: relative;
	margin-top: 30px;
}
span.image-caption {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

div.caption-container, span.image-caption {
	width: 334px;
}

div.caption {
	padding: 0 12px;
}

div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.download {
	margin-top: 8px;
}
div.photo-index {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 12px;
}
div.navigation-container {
	float: left;
	position: relative;
	left: 50%;
}
div.navigation {
	float: left;
	position: relative;
	left: -50%;
}
div.navigation a.pageLink {
	display: block;
	position: relative;
	float: left;
	margin:0 2px;
	width: 16px;
	background-position:center center;
	background-repeat:no-repeat;
}
div.navigation a.pageLink:focus {
	outline: none;
}

ul.thumbs {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width:560px;
}
ul.thumbs li{
	float:left;
	padding:0;
	margin:1px;
	list-style: none;
}
a.thumb {
	display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
	position: relative;
	left: -50%;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	position: relative;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

div.gallery-gutter {
	clear: both;
	padding-bottom: 20px;
}

div.caption-container {
	color: #111;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.download {
	margin-top: 8px;
}
div.photo-index {
	color: #777;
}
div.controls a.prev {
	background:url(../../../img/prev-foto.png) no-repeat center left;
	text-indent:-9999px;
	position:absolute;
	left:0;
	top:0;
	width:50%;
	height:100%;
	z-index:1000;
}
div.controls a.next {
	background:url(../../../img/next-foto.png) no-repeat center right;
	text-indent:-9999px;
	position:absolute;
	right:0;
	top:0;
	width:50%;
	height:100%;
	z-index:1000;
}
div.loader {
	background-image: url(loader.gif);
}
div.slideshow img {
	border-color: #ccc;
}
ul.thumbs li.selected a.thumb {
	border:1px solid #010534;
}
div.pagination a:hover {
	background-color: #eee;
}
div.pagination span.current {
	background-color: #000;
	border-color: #000;
	color: #fff;
}

.thumb{
	float:left;
	height:90px;
	overflow:hidden;
	width:136px;
	cursor:pointer;
	border:1px solid #FFF;
}

.thumb img{
	max-width:140px;
}

div.navigation a.prev {
	background-image: url(prevPageArrow.gif);
}
div.navigation a.next {
	background-image: url(nextPageArrow.gif);
}
