* {
	box-sizing: border-box;
}

body { background: #1c1c1c; font-family: sans-serif; color: #ccc; }

#main { margin: auto; width: 720px; }
#header {
	border: 4px solid #000;
	text-align: center;
	margin-bottom: 8px;
	background: url('/images/footer.jpg');
	height: 60px;
}
#navbox { }
#footer { font-size: 8pt; font-style: italic; margin-top: 10px; text-align: center; color: #333; clear: both; }
#content { background: transparent; text-align: center; }

#header h1 { color: #000; margin: 0; margin-top: 10px; padding: 0; vertical-align: bottom; }

img { border: none; }
img.feed { width: 16px; height: 16px; }
a { text-decoration: none; color: #769dff; }

.cover img {
	width: 100%;
}

.error { font-weight: bold; color: #f66; }
.hide { display: none; }
.nonav { margin-left: 0 !important; }

div.navigation a { margin-bottom: 3px; padding: 2px 0 2px 5px; }

ul.gallery_list { list-style: none; font-size: large; padding: 0; }
ul.gallery_list img { vertical-align: middle; height: 64px; width: 64px; }
ul.gallery_list li { margin-bottom: 15px; }

div.piecedisplay  {
	position: relative;
	width: 100%;
	height: 570px;
	background: #000;
	cursor: pointer;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

div.piecedisplay .image-nav {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 32px;
	color: #333;
	font-size: 30px;
	opacity: 0;

	-webkit-transition: opacity 0.55s ease-out 0s;
	-moz-transition: opacity 0.55s ease-out 0s;
	-o-transition: opacity 0.55s ease-out 0s;
	transition: opacity 0.55s ease-out 0s;
}
div.piecedisplay .image-nav.prev {
	width: 60px;
	left: 0;
}
div.piecedisplay .image-nav.next {
	width: 60px;
	right: 0;
}
div.piecedisplay .image-nav i {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}
div.piecedisplay:hover .image-nav {
	opacity: .8;

	-webkit-transition: opacity 1s ease-in 0.75s;
	-moz-transition: opacity 1s ease-in 0.75s;
	-o-transition: opacity 1s ease-in 0.75s;
	transition: opacity 1s ease-in 0.75s;
}

#pieceimage {
	max-width: 96%;
	margin: 10px auto 10px;
	height: 550px;
}

td.navigation { vertical-align: top; }
td.navigation h1 { font-size: large; }
td.navigation h2 { font-size: medium; }
td.piecedata { text-align: right; vertical-align: bottom; width: 20%; padding-right: 1%; padding-bottom: 20px; }
td.piececell { text-align: center; width: 54%; background: #000; padding-top: 20px; padding-bottom: 20px; }
td.piececell img { border: 20px solid #000; }

div.piecetitle { font-weight: bold; }
div.piecemedium { font-size: small; font-style: italic; }
div.piecedate { font-size: small; }
div.piecedimensions { font-size: small; }

div.pager {
	position: relative;
	width: 100%;
	height: 83px;
	margin: 10px 0;
	line-height: 83px;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	padding: 3px 29px;
}
div.pager a.page {
	background: #333;
	display: inline-block;
	height: 100%;
	width: 26px;
	font-size: 30px;
	color: #1a1a1a;
	position: absolute;
	top: 0;
	bottom: 0;
}
div.pager a.page.prev {
	left: 0;
}
div.pager a.page.next {
	right: 0;
}

div.gallery_thumbs {
	display: inline-block;
	position: relative;
	width: 662px;
	height: 100%;
	overflow: hidden;
	white-space: nowrap;
	font-size: 0;
}
div.gallery_thumbs a {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: none;
	height: 75px;
	overflow: hidden;
}
div.gallery_thumbs a + a {
	margin-right: 2px;
}
div.gallery_thumbs img {
	display: inline-block;
	height: 75px;
	width: 75px;
}
div.gallery_thumbs a.active {
	border: 1px solid #e38c0c;
}
div.gallery_thumbs a.active img {
	margin: -1px;
}

div.gallery_pager { font-weight: bold; }

#contact_form td { padding-bottom: 8px;  vertical-align: top; }
#contact_form td.lbl { text-align: right; padding-right: 10px; }
#contact_form span.expl { font-style: italic; font-size: small; }
#contact_form input { width: 150px; }
#contact_form textarea { width: 400px; height: 150px; }
#contact_form img { margin-top: 5px; }

#captcha_citation { font-size: x-small; margin-top: 20px; }


div.welcome_pic { float: right; margin-left: 20px; margin-bottom: 20px; text-align: right; }
div.welcome_pic img { width: 380px; }
div.welcome_pic img.notfound { width: 193px; }
div.welcome_pic span { font-size: xx-small; font-style: italic; display: block; }

div.welcome_message {}

ul.news li { margin-bottom: 15px; }
div.news_title { font-size: medium; font-weight: bold; }
div.news_date { font-size: xx-small; font-style: italic; }

div.link_list li { margin-bottom: 8px; }
