
* {
	padding: 0;
	margin: 0;
}
html {
	height: 100%;
}
body {
	font: 12pt  Verdana,sans-serif;
	line-height: 1.6em;
	background-color: #666f4d;
	height: 100.01%;
}

header {
	background: transparent url(kerriaHeader.jpg) no-repeat left top; /* 1000x264 */
	
	text-align: right;
	padding-right: 16px;
	padding-left: 384px;
	width: 600px;
	
	padding-top: 170px;
	height: 94px;
}

div.wrapper {
	width: 1000px;
}

nav {
    font-family: Calibri, sans-serif;
	background: transparent url(whiteSmallSpray.png) repeat-y left top; /* 240x240 */
	
	padding-left: 34px;
	padding-right: 26px;
	width: 180px;
	
	padding-top: 32px;
	padding-bottom: 32px;
	
	float: left;
}

main { /* 760x? */
	background: transparent url(whiteSpray.jpg) repeat-y left top; /* 760x760 */
	
	width: 760px;
	float: left;
	
	margin-top: -54px;
	padding-top: 86px;
	
	margin-bottom: -72px;
	padding-bottom: 144px;
}

footer {
	font-size: 8pt;
	text-align: center;
	color: #555;
	
	background: transparent url(kerriaFooter.jpg) no-repeat left top; /* 1000x199 */
	
	padding-left: 240px;
	width: 760px;
	
	padding-top: 12px;
	height: 187px;
	
	clear: both;
}




/* General tags */
h1, h2, h3, h4, h5 {
	font-family: Calibri, sans-serif;
	color: #618313;
	font-weight: normal;
}
h1 {
	font-size: 24pt;
	line-height: 26pt;
}
h2, h3 {
	padding-left: 5px;
}
h3 {
	line-height: 20pt;
	border-top: 2px solid #666f4d;
}
header h1 {
	font-size: 38px;
}
h2 {
	margin-top: 2em;
	padding-top: 5px;
	border-top: 5px solid #666f4d;
}
td {
	padding-right: 1em;
}

a {
	text-decoration: none;
	color: #be9d00;
}
a:hover {
	text-decoration: underline;
}
a#homelink:hover {
	text-decoration: none;
}

input[type="text"],
input[type="password"],
input[type="submit"],
textarea {
	border: 1px solid #be9d00;
	background-color: #fff;
	
	padding: 2px 5px;
}
input[type="text"].w1:focus {
	width: 300px;
}
textarea.w1 {
	width: 300px;
	height: 250px;
}

main p,
main table {
	padding: 0 32px;
	margin-bottom: 1em;
}
main ul {
	list-style-type: square;
}
main ul, 
main ol {
	list-style-position: outside;
	margin-left: 32px;
	margin-bottom: 1em;
}

main > dl dt {
	font-weight: bold;
	
	background: url("triangle-r.png") no-repeat scroll -1px top transparent;
	padding-left: 32px;
	
	margin-top: 1em;
}
main > dl dd {
	margin-left: 32px;
}

code {
	font-family: monospace;
	background-color: #dadada;
}
figure.code {
	font-family: monospace;
	background-color: #777;
	color: #fff;

	padding: 0 32px;
	margin-bottom: 1em;
}
sh {
	opacity: .5;
}

blockquote {
	background-color: #666F4D;
	color: #FFFFFF;
	font-style: italic;

	margin: 0 32px 1em;
	padding: 0.5em 32px;
}



/* Special elements */
nav a {
	color: #353535;
	text-decoration: none;
}
nav ul li {
	list-style-type: none;
}
nav li li {
	padding-left: 1em;
}
nav li.notOpen ul {
	display: none;
}
.openparent.level2.section {
    font-variant: all-small-caps;
}
/*
nav li.open {
	border-right: 5px solid #666f4d;
}*/
nav h3 {
	font-size: 12pt;
	font-weight: bold;
	
	margin: .5em 0 0 -16px;
}





.gallery { /* 760x */
	font-size: 10pt;
	line-height: 12pt;
	
	background-color: #fff;
	color: #333;
	
	padding: 5px;
	margin-top: 40px;
	
	clear: both;
}
.gallery h3 {
	font-size: 14pt;
	font-weight: bold;
	text-align: center;
	
	color: #777;
	
	padding-bottom: 7pt;
}
.gallery dl,
.gallery dt,
.gallery dd,
.gallery dt a,
.gallery dt img {
	display: block;
}
.gallery dl { /* Images: 232x232   total=696 */
	float: left;
	
	padding-left: 5px;
	padding-right: 5px;
	width: 240px;
	
	padding-top: 5px;
	padding-bottom: 5px;
}
.gallery dl:hover {
	background-color: #ebebeb;
}
.gallery dl img {
	margin: 0 auto;
}
.gallery .shortCaption {
	font-weight: bold;
	text-align: center;
	color: #777;
}
.gallery dd {
	margin: 0 5px;
}

div.imgthumb {
	width: 232px;
	
	padding: 5px;
	padding-right: 0;
	
	margin: .5em;
	margin-right: 0;
	
	float: right;
	clear: right;
	
	background-color: #666f4d;
	color: #fff;
}
div.imgthumb dd {
	font-size: 8pt;
	line-height: 10pt;
}



menu.navBoard {
	display: block;
	width: 100%;
}
div.navBoard {
	background-color: #666F4D;
	color: #fff;
	text-align: center;
	
	
	float: right;
	padding-left: 64px;
	padding-right: 16px;
}
.navBoard a {
	color: #fff;
}

menu#toc {
	font-size: 10pt;
	
	margin-left: 32px;
	width: 260px;
	
	border-top: 2px solid #666f4d;
	border-bottom: 2px solid #666f4d;
	
	position: relative;
}
menu#toc h2 {
	border-top: none;
	margin-top: 0;
}

#granjowlinks {
	font-size: 8pt;
	line-height: 10pt;
}
#granjowlinks td {
	width: 200px;
}
#granjowlinks p {
	margin: 0;
	padding: 0;
	text-align: center;
}


.highlight {
	background-color: #ced5bf;
}
.old {
	background-color: #777;
}
