div.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: none;
	float:left;
}
div.gallery a, div.navigation a {
	background: #fff;
	text-decoration: none;
	color: #777;
}
div.gallery  a:focus, div.gallery  a:hover, div.gallery  a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
	_width: 200px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
	font-size: 0.85em;
	padding-left: 10px;
}
div.nav-controls {
	float: right;
}

div.loader {
	background-image: url('../images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 328px;
	height: 227px;
}
div.slideshow {
	background: #fff;
	clear: both;
}
div.slideshow span.image-wrapper {
	padding-bottom: 12px;
}
div.slideshow a.advance-link {
	padding: 2px;
}
div.slideshow img {
	border: none;
}

div.previous {
   width: 28px;
	margin: 1px;
   float: left;
}

div.next {
   width: 28px;
	margin: 1px;
   float: right;
}

div.navigation {
	/* The navigation style is set by a javascript generated style on the page.
	   This is so that the javascript specific styles won't be applied unless javascript is enabled. */
}

#thumbs {
   clear: both;
	width: 732px;
}

ul.thumbs {
	float: left;
   margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
   margin: 0 1px;
   _margin: 0;
 	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
}
ul.thumbs li.selected a.thumb {
	background: #fff;
}
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;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
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;
}

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

/* different style for homepage thumbs */

#Home div.previous {
	margin-right: 3px;
}

#Home div.next {
	margin-left: 3px;
}

#Home ul.thumbs li {
   margin: 0 7px;
   _margin: 0 5px;
}

/* different style for poem thumblist */

#Poems #thumbs {
	margin-top: -10px;
}

#Poems #thumbs h3 {
	padding: 15px 0 5px 0;
}

#Poems #thumbs ul.thumbs li {
	float: none;
}

#Poems div.previous, 
#Poems div.next {
   float: left;
   width: 60px;
}
