body 
{
	background-color: #eee;
	background-image: url(/background.png);
	color: #333;
	font-family: "New Century Schoolbook", sans-serif;
	font-weigth: normal;
	font-size: 10pt;
	height: 100%;
	margin: 0px;
	padding: 1em;
	line-height: 1.4em;
}

#main
{
	max-width: 64em;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	background-color: white;
}

ul
{
	padding-left: 1em;
	list-style-type: none;
	line-height: 1.5em;
	vertical-align: center;
}

li
{
	padding-left: 1em;
	background-image: url(/square.gif);
	background-repeat: no-repeat;
	background-position: 0 0.6em;
}

img 
{
	border: 0px; /* top right bottom left */
	max-width: 100%;
}

a 
{
	color: #58b;
	text-decoration: none;
}

a:hover
{
	color: #69c;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	text-align: left;
}

h1 {
	font-size: 1.9em;
	color: #667;
	font-variant: small-caps;
}

h2 {
	font-size: 1.4em;
	color: #667;
	font-variant: small-caps;
}

h3 {
	font-size: 1.1em;
}

quote {
	display: block;
	padding-left: 2em;
	line-height: 1.5em;
}

hr {
	width: 80%;
	border: none;
	background-color: #222;
	color: #222;
	height: 1px;
	margin-top: 2.3em;
	margin-bottom: 4em;
}

#slogan 
{
	background-color: #222;
	border: 0px;
	padding: 5px 0 5px 1%;
	color: #ccc;
}

#slogan img
{
	padding: 0 2em;
}

div#error 
{
	background-color: #444;
	border: 1px solid #555;
	color: #f00;
	padding: .2em .5em .2em .5em;
	margin-top: 1em;
}

div#error:before 
{
	content: "Error: ";
	color: white;
	font-weight: bold;
}

div#error + H1 
{
	margin-top: .25em;
}

div#ctrlmenu 
{
	border: 0px;
	width: 10em;
	height: 1em;
	position: relative;
	top: -20px;
	right: 0;
	padding: 5px 1% 5px 0px;
	text-align: right;
	font-size: 10px;
	float: right;
}

#ctrlmenu ul 
{
	list-style: none;
	margin: 0;
	padding: 0px;
}

#ctrlmenu li 
{
	display: inline;
	background-image: none;
}

#ctrlmenu a 
{
	color: gray;
	padding: 5px;
	text-decoration: none;
}

#ctrlmenu a:hover 
{
	padding: 5px;
	text-decoration: none;
}

div#menu 
{
	position: relative;
	left: -2em;
	top: 1em;
	background-color: #667;
	border-right: 5px solid #454550;
	border-bottom: 5px solid #454550;
	float: left;
	font-size: 95%;
	padding: 0;
	padding-bottom: 10%;
	width: 20%;
	margin-bottom: 10em;
/*	min-height: 20em;*/
	overflow: hidden;
}

#menu ul 
{
	padding: 5px 5px 5px 10%;
}

#menu li 
{
	list-style: none;
	padding: 3px;
	background-image: none;
}

#menu a 
{
	color: #ddd;
	text-decoration: none;
}

#menu a:hover 
{
	color: #eee;
	text-decoration: none;
}

#menu a.current 
{
	color: #fff;
	text-decoration: none;
}

div#page 
{
	background-color: none transparent;
	text-align: justify;
	border: 0px;
	float: left;
	min-height: 100%;
	padding: 2%;
	width: 70%;
}

div#preview 
{
	background-color: none transparent;
	text-align: justify;
	border: 1px solid #555;
	color: #222;
	padding: 2%;
	margin-bottom: .7em;
	padding-left: 28%;
}

div#page :first-child, div#content :first-child, div#preview :first-child 
{
	margin-top: 0px;
}

div#page img, div#preview img {
	margin: 0.4em;
}

div#page a img, div#preview a img {
	border: 1px solid;
}

div#editor
{
	background-color: white;
	border: 0px;
	color: #222;
	padding: 2%;
	width: 96%;
}

#bot, #bar 
{
	background-color: #222;
	color: gray;
	border: 0px;
	clear: both;
	padding: 5px 1% 5px 0px;
	text-align: right;
	width: 99%;
	min-height: 1em;
}


textarea 
{
	background-color: white;
	border: 1px solid #555;
	color: #222;
	width: 93%;
	padding: 2em;
}

input 
{
	background-color: #eee;
	border: 1px solid #555;
	color: #444;
	font-size: normal;
}

pre
{
	margin: 1em;
	padding: 1em;
	background-color: #eee;
	overflow: auto;
}

