* { margin: 0; padding: 0; }

p { margin-bottom: 1em; }
a img { border: none; }
a { color: blue; text-decoration: underline; }
a:hover { color: red; text-decoration: none; }

body { font-family: Arial, Helvetica, sans-serif; font-size: 12px;
	margin-left: 170px; width: 600px;
	background: url(backpage.png) no-repeat 150px 0;
}

#sidebar { position: absolute; top: 0; left: 0;
    width: 150px; padding-top: 300px;
    background: url(background.jpg) no-repeat top left;
    border-right: 3px solid #006600;
}

#sidebar .menu { list-style-type: none; text-align: right; margin-bottom: 2em; }
#sidebar .menu li a { padding: 4px; padding-right: 10px; display: block; }
#sidebar .menu li h4 a { text-decoration: none; color: #000; }
#sidebar .menu li a:hover { background-color: #ddff77; border-top: 1px solid #dd8800; border-bottom: 1px solid #dd8800;
	padding-top: 3px; padding-bottom: 3px; }

#sidebar .edit { text-align: right; padding-right: 10px; margin-bottom: 2em; }
#sidebar .edit input { border: 1px solid #fff; background-color: #fff; font-weight: bold; font-size: 16px; border-bottom: 2px solid #aadd00; cursor: pointer; }
#sidebar .edit input:hover { color: red; }

#sidebar .rename {  margin-left: 10px; z-index: -1; overflow: hidden; margin-bottom: 2em; }
#sidebar .rename:hover { z-index: 2; background: #fff; overflow: visible; }
#sidebar .rename fieldset { border: 1px solid #ddff77; width: 200px; background: #fff; }
#sidebar .rename legend { font-size: 11px; white-space: pre; font-weight: bold; padding: 1px; background: #fff; }
#sidebar .rename input[type=text] { width: 85%; margin: 2px; font-size: 11px; border: 1px solid #999; }
#sidebar .rename input[type=submit] { font-size: 10px; border: 1px solid #333; font-weight: bold; float: right; margin: 3px; background: #fff; }

#sidebar .delete { text-align: right; margin-bottom: 2em; margin-right: 10px; }
#sidebar .delete input { border: 1px solid #fff; background: #fff; font-weight: bold; border-bottom: 2px solid #f99; cursor: pointer; }
#sidebar .delete input:hover { color: red; }

#sidebar .lastmod { font-size: 11px; text-align: right; margin-right: 10px; margin-left: 3em; }


#edit textarea { font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 100%;
	border: 1px solid #999; background: #eee; color: #666; margin-bottom: 0.5em; height: 87%; max-height: 600px; }
#edit textarea:focus { color: #000; border-color: #000; background: #fff; }
#edit label[for=ftext] { display: none; }
#edit p { margin: 0; }
#edit .help { float: right; }
#edit .help a { color: #000; text-decoration: none; border-bottom: 1px solid #aadd00; font-size: 11px; }
#edit .help a:hover { color: red; }
#edit .submit input { border: 1px solid #fff; background: #fff; font-size: 16px; font-weight: bold; border-bottom: 2px solid #aadd00; cursor: pointer;
	position: absolute; margin-top: -4em; margin-left: -8em; }
#edit .submit input:hover { color: red; }
#edit label[for=flock] { border-bottom: 1px dashed #dd8800; cursor: pointer; }

#page form fieldset { border: 1px solid #999; padding: 0.5em; margin-bottom: 1em; }
#page form legend { padding: 2px; font-weight: bold; }
#page dl { margin: 0.5em; }
#page dt { font-weight: bold; }
#page dd { margin-left: 2em; margin-bottom: 0.8em; }
#page form label { border-bottom: 1px dashed #dd8800; cursor: pointer; }
#page form label:hover { color: red; }
#page .special input,#page .special select { font-size: 12px; }
#page .special input[type=password] { font-family: Verdana; font-size: 11px; }

#page .special hr { border: none; color: transparent; background: transparent; border-bottom: 1px solid #999; margin: 1em 0; }
#page .index input[type=submit] { float: right; }
#page .index h3 a { color: black; text-decoration: none; }
#page .index ul { margin: 1em; list-style-type: none; }

h1 { margin-bottom: 10px; margin-top: 10px; }
h1 a { color: #000; text-decoration: none; paddin-bottom: 2px; }
h1 a:hover { border-bottom: 2px solid #dd8800; color: #000; padding: 0; }

#page .text { font-family: Georgia, Times New Roman, Times, serif; }
#page .text h2,#page .text h3,#page .text h4 { font-family: Arial, Helvetica, sans-serif; }
#page .text p,#page .text pre,#page .text h2,#page .text h3,#page .text h4 { margin-bottom: 1em; }
#page .text ul,#page .text ol { margin-bottom: 1em; margin-left: 2em; }
#page .text blockquote { margin-bottom: 1em; background: url(citation-end.png) no-repeat bottom right; padding-bottom: 0.8em; padding-right: 2em; }
#page .text blockquote p:first-child { background: url(citation.png) no-repeat top left;  }
#page .text blockquote p { padding-top: 0.8em; padding-left: 2em; margin: 0; font-style: italic; }
#page .text pre { margin-bottom: 1em; font-family: Courier New, Courier, mono; font-size: 12px; padding-left: 1em; padding-top: 2em;
	background: url(code-begin.png) no-repeat top left; overflow: auto; }

#page .error { color: red; font-weight: bold; }