* {
	margin: 0;
}

html, body {
	height: 100%;
	font-family: serif;
	background: url(background.jpg) repeat;
	color: white;
}

#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

#main {
	overflow: auto;
	padding-bottom: 4em;
}

#footer {
	position: relative;
	margin-top: -4em;
	height: 2em;
	clear: both;
	text-align: center;
	color: LightGray ;
	font-weight: normal;
	font-style: italic;
	font-size: 10px;
}

#footer-2 {
	border-top: 1px dotted #aaa;
	margin-top: 1em;
	padding-top: 1em;
	margin-left: 15px;
	margin-right: 15px;
}

/* image page */

h1.image-title,
h1.index-title {
	text-align: center;
	margin: 20px 15px 10px 15px;
	padding-bottom: 15px;
	border-bottom: 1px dotted LightGray;	
	font-weight: bold;
	font-size: 25px;
}

.preview {
	height: 500px;
}
div.image-preview {	
	float: left;
	margin: 15px;
	text-align: center;
}

div.image-preview-centered {
	float: none;
	margin: 0px auto 0 auto;
	text-align: center;
}

div.image-preview-container {
	width: 650px;
}

div.image-preview-centered div.image-preview-container {
	width: auto;
}

div.image-preview-container img {
	-webkit-box-shadow: 0px 0px 4px #333;
	-moz-box-shadow: 0px 0px 4px #333;
	box-shadow: 0px 0px 4px #333;
	border: 0;
}

div.image-comment {
	float: right;
	display: block;
	margin: 15px 15px 0 0;
	padding: 3px;
	text-align: left;
	font-size: 10px;
	overflow: auto;
	width: 300px;
	border: 0px solid LightGray;
	clear: right;
}

dl.caption-container {
 font-style: italic;
	float: right;
	display: block;
	margin: 15px 15px 0 0;
	padding: 3px;
	text-align: left;
	font-size: 12px;
	font-family: sans;
	min-width: 250px;
	border: 1px solid LightGray;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 1px 1px 1px LightGray;
	-webkit-box-shadow: 1px 1px 1px LightGray;
	box-shadow: 1px 1px 1px LightGray;
}

dl.caption-container dt {
	font-weight: normal;
	cursor: default;
	float: left;
	clear: left;
	margin: 0 7px 0 0;
	padding: 0;
	color: LightGray;
	min-width: 100px;
	text-align: right;
}

dl.caption-container dd {	
 font-style: normal;
	float: left;
	margin: 0 10px 0 0;
	padding: 0;
}

dl.caption-container dd.last {
	clear: both;
	display: block;
	float: none;
}

/* index page */

ul.page-navigation {
	display: block;
	list-style-type: none;
	margin: 0 0 20px 0;
	padding: 10px 15px 10px 15px;
}

ul.page-navigation li {
	display: block;
	text-align: center;
	float: left;
	font-size: 14px;
	margin-right: 5px;
}

ul.page-navigation li.status {
	font-style: italic;
	padding-top: 4px;
	color: LightGray;
	margin-right: 15px;
}

ul.page-navigation li.current span,
ul.page-navigation li.disabled span,
ul.page-navigation li a  {
	font-weight: bold;
	display: block;
	height: 1.3em;
	padding: 3px;
}

ul.page-navigation li.number span,
ul.page-navigation li.number a {
	width: 1.3em;
}

ul.page-navigation li.current span {
	border: 1px solid #669517;
	cursor: default;
	background: #669517;
	color: #fff;
	font-weight: bold;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 1px 1px 1px #ccc;
	-webkit-box-shadow: 1px 1px 1px #ccc;
	box-shadow: 1px 1px 1px #ccc;
}

ul.page-navigation li.disabled span {
	padding-left: 10px;
	padding-right: 10px;
	border: 1px dotted #bbb;
	cursor: default;
	color: Gray ;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

ul.page-navigation li.separator {
	margin-right: 5px;
}

ul.page-navigation li a  {
	padding-left: 10px;
	padding-right: 10px;
	border: 1px solid white;
	color: white
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 1px 1px 1px white;
	-webkit-box-shadow: 1px 1px 1px white;
	box-shadow: 1px 1px 1px white;
}

ul.page-navigation li a:hover {
	text-decoration: none;
	background: white;
	color: black;
}

ul.page-navigation li.last {
	clear: right;
}

#thumbnail-grid {
	margin: auto;
}

#thumbnail-grid td.td_index,
#thumbnail-grid td.td_empty_index {
	vertical-align: middle;
}

#thumbnail-grid tr td.td_empty_index {
	width: 185px;
	height: auto;
}

#thumbnail-grid tr.tr_empty_index td.td_empty_index {
	height: 0;
}

#thumbnail-list div.thumbnail-caption-container {
	float: left;
	margin: 10px 15px;
}

#thumbnail-list div.thumbnail-container {
	border: 1px solid #aaa;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	margin-bottom: 5px;
	background: #c9c9c9;
	background: rgba(201,201,201, .33);
}

#thumbnail-list div.thumbnail-image-container {
	min-width: 255px;
	padding: 5px;
	margin-left: auto;
	margin-right: auto;
}

#thumbnail-list a.thumbnail-image img {
	display: block;
	margin: 0 auto;
	border-style: none;
	padding: 0;
}

#thumbnail-list a.thumbnail-image:hover img {
	opacity: 0.66;
}

#thumbnail-list div.caption-container {
	font-size: 11px;
	padding-bottom: 3px;
}

#thumbnail-list div.property-row {
	text-align: center;
	margin-top: 2px;
}

/* links */

a:link { 
	color: white;
	text-decoration: none;
}

a:active { 
	color: white;
	text-decoration: none;
}
a:visited { 
	color: white;
	text-decoration: none;
}

a:hover {
	color: white;
	text-decoration: underline;
}
