html,
body {
	margin: 0;
	padding: 0;
}

body	{
	background-color: #fff;
	font-family: arial, helvetica, sans-serif;
	font-size: 0.85em;
	text-align: center;
}

div#page {
	background-color: #fff;
	margin: 0 auto;
  padding: 0;
	text-align: center;
	width: 600px;
}

div#container {
  margin: 0 auto;
	padding: .5em 20px;
	text-align: center;
	width: 560px;
}

div#footer {
	clear: both;
  margin: 1em auto 0 auto;
	padding: 0;
	text-align: center;
}

a:link,
a:visited	{
	color: #666;
	text-decoration: none;
}

a:focus,
a:hover,
a:active {
	color: #182e7a;
	text-decoration: underline;
}

p,
li {
	line-height: 1.3em;
}

p a,
li a {
	text-decoration: underline;
}

h1,
h2 {
	margin: 0;
}

h1 {
	color: #333;
	padding: 0;
}

h2 {
	color: #111;
	padding-top: 10px;
}

div.content {
	/* 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:right;*/
	margin: 0 auto;
	width: 550px; 
}

div.controls {
	margin-top: 5px;
	/*height: 23px;*/
}

div.ss-controls {
	float: left;
}

div.ss-controls span {
	color: #666;
	cursor: pointer;
}

div.nav-controls {
	width: 500px;
	/*float: right;*/
}

div.nav-controls a {
	padding: 5px;
}

div.slideshow {
	/*clear: both;*/
	margin: 0 auto;
}

div.slideshow span.image-wrapper {
	/*float: left;*/
	display: block;
	margin: 0 auto;
	padding-bottom: 6px;
}

div.slideshow a.advance-link {
	display: block;
	padding: 2px;
	margin: 0 auto;
}

div.slideshow img {
	border: none;
	display: block;
	margin: 0 auto;
}

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

ul.thumbs {
	clear: both;
	margin: 0 auto;
	padding: 0;
}

ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px;
	list-style: none;
}

ul.thumbs li a {
	border: 1px solid #ccc;
	display: block;
	padding: 1px;
}

ul.thumbs li.selected a {
	background: #88f;
}

ul.thumbs a:focus {
	outline: none;
}

ul.thumbs img {
	border: none;
	display: block;
}

div.pagination {
	clear: both;
}

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

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

div.pagination a,
div.pagination strong {
	border: 1px solid #ccc;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
}

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

div.pagination strong {
	background-color: #acf;
}

div.content,
div.navigation,
div.ss-controls,
ul.thumbs	{
  margin-left: auto;
  margin-right: auto;
}

