/* Category */

#content ul#galleryCatList {
	font-style:italic;
	list-style:none;
	margin-left:0;
}

#content #galleryCatList li {
	margin:0 0 12px 25px;
	padding:0;
	display:inline;
	float:left;
	text-align:center;
	background:none;
}

#content #galleryCatList li.first {
	margin-left:0;
}

#content #galleryCatList li.clear {
	margin:0;
	display:block;
	float:none;
	clear:both;
	height:13px;
}

#content #galleryCatList li a {
	text-decoration:none;
}

#galleryCatList a img {
	padding:2px;
	border:1px solid #ECE9D8;
	*margin:0 0 5px 0;
}

#galleryCatList a:hover img {
	border:1px solid #983A4D;
}


/* Gallery View */

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

#controls {
	float:right;
	width:125px;
	margin:15px 0 0 0;
}

div.ss-controls {
	float: right;
	margin:0 10px;
	font-weight:bold;
}

div.nav-controls {
	float: right;
	display:none;
}

#loading {
	background:url(/images/icons/loader.gif) no-repeat center;
	height: 350px;
	margin:0 0 -350px 0;
}

#slideshow {
	clear: both;
	text-align:center;
}

#slideshow img{
	border:6px solid #FFFFFF;
}

#caption h2 {
	margin-top:15px;
}

#content ul.thumbs {
  clear: both;
  margin:0;
  list-style: none;
}

#content ul.thumbs::after {
  content: "";
  display: table;
	clear: both;
}

#content ul.thumbs li {
	float: left;
	padding:0 21px 0 6px;
	background:none;
}

#content ul.thumbs li.lastThumb {
	padding:0;
}

a.thumb {
	padding: 2px;
	border: 1px solid #ECE9D8;
	float:left;
}

#thumbs p{
	margin:0 0 0 7px;
	color:#666;
}

ul.thumbs li.selected a.thumb {
	border:1px solid #CEBFAA;
}

ul.thumbs img {
	display: block;
}


div.pagination {
	clear: both;
}


div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}

div.navigation div.bottom {
	margin-top: 12px;
}

#content div.pagination a, div.pagination span.current {
	display: block;
	float: left;
	margin:3px 0 0 6px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
	text-decoration:none;
}

div.pagination a:hover {
	background-color: #983A4D;
	text-decoration: none;
	color:#fff;
}

div.pagination span.current {
	font-weight: bold;
	border-color: #e0dfdf;
	color: #ccc;
	margin:3px 0 0 6px;
}

#content div.pagination a.prevPage, div.pagination span.prevPage {
	float:left;
	margin:3px 0 0 6px;
}
