body{
	background-color: #F5EFDA;
	font-family:Verdana,Geneva,'DejaVu Sans',sans-serif;
	font-size: 0.75em;
	min-width: 80em;
	min-height: 100%;
}

/* general */
a{
	font-size: 100%;
	color: #3B0000;
	font-weight: bold;
	text-decoration: none;
}
a:hover{
	background-color: transparent;
	text-decoration: underline;
}
a.newpage{
	color: #B0A490;
}

input{
	font-size: 100%;
	font-family:Verdana,Geneva,'DejaVu Sans',sans-serif;
}

#login-status {
	color: #F2EAC1;
}
#login-status > a > strong, #login-status > a {
	color: #F2EAC1;
	font-weight: bold;
}

/* the things on the side of the page */
#container-wrap{
	padding: 0 0 0 2em;
	background-color: #300;
}

#container {
	padding: 0 2em 0 0;
	background-color: #300;
}

textarea{
	font-size: 100%;
	font-family:Verdana,Geneva,'DejaVu Sans',sans-serif;
}

#content-wrap{
	min-height: 0; /* fixes ie7 peekaboo bug */
	_height: 0; /* fixes ie6 peekaboo bug */
}

/* Top navigation bar */
#top-bar{
	font-size: 105%;
	background-color:#8F0E00;
	top: 7em;
	right: 5em;
	left: 40em;
	padding: 0.3em 2em 1.8em 3em;
	font-weight: bold;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
	border: 2px solid #69160D;
}
#top-bar li{
	margin: 0;
}
#top-bar ul li a, #top-bar ul li ul li a {
	border-left:1px solid #69160D;
	/*margin:  2px 0 2px 0;*/
	background-color:#8F0E00;
	color: #F2EAC1;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
}

#top-bar ul li a:hover, #top-bar ul li ul li a:hover{
	background-color: #330000;
	color: #F2EAC1;
	text-decoration: none;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
}

#top-bar ul li ul{
	font-weight: bold;
	border: 1px solid #69160D;
}

#top-bar ul li ul li a {
	border: none;
	margin: 0;
}

#top-bar a {
	color: #F2EAC1;
}

/* End of top bar section*/

/* Title (name of wiki etc.) */
#header {
	background-color: #330000;
	height: 7em;
}
#header h1 a{
	font-size: 220%;
	padding: 0.5em 0 0 1em;
	color: #F2EAC1;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
	font-weight: bold;
	font-variant: small-caps;
}
#header h2{
	font-size: 140%;
	font-weight: bold;
	padding: 0 0 0 3em;
	color: #F2EAC1;
	font-family:Verdana,Geneva,'DejaVu Sans',sans-serif;
}
/* End of title section */

/* Side navigation bar */
#side-bar{
	font-size: 105%;
	width: 15em;
	padding: 1em;
	margin: 3em 0 0 0;
	background-color: #8F0E00;
	border: 2px solid #69160D;
	color: #F2EAC1;
	font-weight: bold;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
}
#side-bar h1, #side-bar h2, #side-bar h3{
	text-align: center;
}
#side-bar ul{
	display: block;
	padding: 0;
	margin: 0;
	list-style: none;
}
#side-bar ul li{
	display:block;
}
#side-bar li a {
	padding-top: 4px;
	padding-bottom: 4px;
	display: block;
	padding-left: 1em;
	border-bottom: 1px solid #69160D;
	color: #F2EAC1;
	font-weight: bold;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
	text-decoration: none;
}
#side-bar li a:hover {
	background-color: #330000;
}
#side-bar p {
	padding: 5px;
	margin: 0px;
	margin-bottom: 3px;
	margin: 0px;
}
/* End of side bar section */

/* Main content section */
#main-content{
	font-size: 100%;
    background-color: #F2EAC1;
	margin-top: 1em;
	margin-left: 17em;
	margin-right: 1em;
	padding: 1em 1em 1em 3em;
	border: 2px solid #69160D;
}

#main-content p{
	line-height: 1.4em;
}
* html #main-content {height: 1%;}

#main-content h1 {
	font-weight: bold;
	color: #100;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
}

#main-content h2{
	font-weight: bold;
	color: #100;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
}

#main-content h3 {
/*	margin-left: 2em;*/
	font-weight: bold;
	color: #100;
	font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
}

/*End of main content section */


#page-title{
	font-weight: bold;
	color: #8F0E00;
	font-variant: small-caps;
	font-family: 'Verdana', 'Deja Vu Sans', 'Bitstream Vera Sans', sans-serif;
}

/* footnotes */
#footer {
	font-size: 70%;
	background-color: #555;
	padding-top: 3px;
	padding-bottom: 3px;
	border-top: 2px solid #2A343D;
	color: #E7E9DC;
	text-align: left;
	
}
#footer a {
	color: #EEE;
}
/* end of footnotes' section*/


#license-area{
	background-color: #000000;
	color: #ffffff;
	font-family: 'Lucida Console',monotype;
	padding: 0.2em 1em;
	margin: 0;
}

/*Dunno what those do */
.page-options-bottom a, a.action-area-close{
	color: #200;
	padding: 2px;
	background-color: #F2EAC1; 
	text-decoration: none;
}
.page-options-bottom a:hover, a.action-area-close:hover{
	background-color: #F4EFD7;
	text-decoration: underline;
}
.page-tags span{
	font-size: 80%;
}

/*CUSTOM STUFF FOLLOWS*/
/* Upbox (i.e. WIP, English is there etc.) */
.custom_upbox {
	text-align: center;
	background-color: #300;
	color: #F2EAC1;
	padding-bottom: 3px;
}
.custom_upbox a {
	color: #F2EAC1;
	text-decoration: underline;
}
.custom_upbox a:hover {
	color: #F2EAC1;
	text-decoration: underline;
	background-color: #8F0E00;
}
/* Rightbox (the summary on the right)*/
.custom_rbox {
	font-size: 120%;
	margin: 0 2em 1em 2em;
	margin-clear: right;
	max-width: 30em;
	float: right;
	clear: right;
	padding: 1.5em;
	border: 6px double #B8B19A;
	background-color: #F2EAC1;
	color: #100;
	font-family:Verdana,Geneva,'DejaVu Sans',sans-serif;
	text-align: center;
	line-height: 2em;
}
.custom_rbox image {
	text-align: center;
	margin: 1em;
}
.custom_rbox table tr td {
	font-size: 90%;
	max-width: 15em;
	line-height: normal;
    border: 1px solid #B8B19A;
	padding: 0.5em;
	margin: 1px;
	background-color: #F2EAC1;
	color: #100;
}

.custom_quotebox {
	font-size: 90%;
	background-color: #F4EFD7;
	color: #200;
	float: right;
	clear: right;
	max-width: 38em;
	text-align: right;
	margin: 1em;
	padding: 1em 2.5em 1em 2.5em;
	font-family:Georgia,'Nimbus Roman No9 L',serif;
	font-style: italic;
}
.custom_quotebox i {
	font-size: 70%;
	font-style: normal;
}

/* TOC */
#toc {
	font-size: 90%;
	border: 0;
	background-color: #F4EFD7;
	color: #200;
	float: left;
	margin: 1em;
	padding: 1em 2.5em 1em 2.5em;
	font-family: 'Verdana', 'Deja Vu Sans', 'Bitstream Vera Sans', sans-serif;
}