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

/*content*/

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #555;
	text-align: center;
}
h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #555;
}

.header {
	margin-right: auto;
	margin-left: auto;
	text-wrap: none;
	background-image: url(../images/header-gallery.jpg);
	width: 900px;
	height: 125px;
	background-repeat: no-repeat;
}

/*navigation bar*/
#top ul{
	padding-top: 10px;
	margin-left: 8px;
	padding-left: 0px;
	/*width: 542px;*/
} 

#top li {
      font-size: 10px;
      font-weight: bold;
      line-height: 13px;
      /*display: block;
      float: left;*/
      padding-left: 7px;
      padding-top: 5px;
      padding-bottom: 5px;
	  display: inline;
} 

#top li a{
	color: #555;
	border: 0px;
	padding-left: 10px;
	padding-right: 10px;
	list-style-type: none;
} 

#top li a:visited{
	color: #555;
	border: 0px;
	font-weight: bold;
	text-decoration: none;
	font-size: 14px;
	padding-left: 10px;
	padding-right: 10px;
	list-style-type: none;
} 

#top li a:hover{
      color: #FFFFFF;
      background: none;
      padding-bottom: 2px;
	  list-style-type: none;  
} 

#top li .active{
      color: #FFFFFF;
	  list-style-type: none;  
} 

#top{
	height: 37px;
	text-align: center;
}

/*links*/
#top li .active{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #555;
	text-decoration: none;
	font-weight: bold;
}

#top li a:link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #555;
	text-decoration: none;
	font-weight: bold;
}

#top li a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}
/* Gallery */
div#page {
	width: 900px;
	background-color: #fff;
	margin: 20px auto;
	text-align: left;
	border: 1px solid #555555;
}
div#container {
	padding: 15px;
	height: 1050px;
}
div#ads {
	clear: both;
	padding: 12px 0 12px 66px;
}
div#footer {
	text-align: center;
	clear: both;
	padding-top: 12px;
}
a{
	color: #666666;
	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;
	width:550px; 
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.ss-controls {
	float: left;
}
div.ss-controls span {
	color: #666666;
	cursor: pointer;
}
div.nav-controls {
	float: right;
}
div.nav-controls a {
	padding: 5px;
}
div.slideshow {
	clear: both;
}
div.slideshow span.image-wrapper {
	float: left;
	padding-bottom: 12px;
}
div.slideshow a.advance-link {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
div.slideshow img {
	border: none;
	display: block;
}
div.download {
	float: right;
}
div.embox {
	clear: both;
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 12px;
}
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 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;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
ul.thumbs li a {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
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 {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination strong {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}

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

div.pagination a:hover {
	background-color: #171b38;
	text-decoration: none;
	color: #FFF;
}
div.pagination strong {
	background-color: #171b38;
}
.header #top .active {
	color: #FFFFFF;
}
