body
{
	background: url(/i/bg.jpg) #272412 fixed;
	color: white;
	margin: 8px;
	text-shadow: black 1px 1px 1px;
}

div#nav
{
	position: absolute;
	left: 10px;
	top: 10px;
	width: 180px;
	background: url(/i/Castamir-on-272412.png) no-repeat center top;
	padding-top: 200px;
}

#menu
{
	background: url(/i/bg1.jpg) #1a180d fixed;
	border: ridge #fc0;
	border-radius: 12px;
}

#menu ul
{
	margin-left: 0;
	padding-left: 1em;
}

div#main
{
	margin-left: 200px;
}

#main > div
{
	background: url(/i/bg1.jpg) #1a180d fixed;
	padding: 0.25em;
	border: solid black 1px;
	margin-top: 0.5em;
}

/* MSIE hack */
* html #main div
{
	background: url(/i/bg1.jpg) #1a180d fixed;
	padding: 0.25em;
	border: solid black 1px;
	margin-top: 0.5em;
}
* html #main div div {background: transparent; border: none}

h1,h2		{margin: 0; color: #fd8}
em		{text-decoration: underline; font-style: normal}
q		{font-style: italic; quotes: none; background: url(/i/bg2.jpg) #312a0d fixed}

a		{color: #fc0}
a:visited	{color: #f80}
a:hover		{outline: 1px solid #000; background: #446}
a img		{border: none}

dd		{padding-bottom: 0.4em}
pre
{
		border: #fd8 1px dashed;
		background: url(/i/bg2.jpg) #312a0d fixed;
		padding: 3px;
		white-space: pre-wrap;
		word-wrap: break-word;
		overflow-wrap: break-word;
}
pre .prompt	{color: #ff5}
pre .var	{color: #5af; font-style: italic}

#main table	{border-collapse: collapse}
#main th
{
	border: #fd8 1px solid;
	text-align: center;
	background: url(/i/bg3.jpg) #430 fixed
}
#main td	{border: #fc0 1px solid; padding: 0.2em}

.footnote	{margin-top: 1em; border-top: 1px black solid; 	font-size: smaller}

.ok	{color:#0f0}
.warn	{color:#aa0}
.err	{color:#f00}

dl.table dt	{clear:left; float:left; width: 9em}
dl.table dd	{clear:right;}

kbd
{
	border: 1px solid;
	border-color: #ddd #bbb #bbb #ddd;
	border-bottom-width: 2px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: #f9f9f9;
	background-image: -moz-linear-gradient(top, #eee, #f9f9f9, #ccc);
	background-image: -webkit-linear-gradient(top, #eee, #f9f9f9, #ccc);
	background-image: linear-gradient(to bottom, #eee, #f9f9f9, #ccc);
	padding: 1px 3px;
	font: normal 0.85em sans-serif;
	white-space: nowrap;
	color:#000;
	text-shadow: none;
}


/* one-off stuff */

.whitebg	{border: #fc0 1px solid; padding: 0.2em; background: #fff}
