/* ********** General layout settings */
body{
	background:#eee;
	font-family:verdana,arial,sans-serif;
	font-size:10pt;
}
#left{
	float:left;
	width:25%;
}
#right{
	float:right;
}
body>#right{ /* IE hack to avoid floating */
	width:75%;
}

#search,#main,#sidebar,#foot{
	margin:5px;
	border:1px solid #aaa;
	background:#eed;
	padding:4px;
}
a{
	text-decoration:none;
	color:#00a;
}
h1{
	font-size:200%; 
}
h2{
	font-size:170%; 
}
h3{
	font-size:140%; 
}
h4{
	font-size:125%; 
}
h5{
	font-size:110%; 
}
h6{
	font-size:100%; 
}
pre{
	margin:0 5px;
	background:#eee;
	border:1px dashed #ccc;
}
.markup pre{
	border:none;
	background:none;
}

/* ********** Searchdialog layout */
#search{
	padding-top:0;
	padding-bottom:0;
	font-size:8pt;
}
#search .searchbutton{
	font-size:8pt;
}

/* ********** Text Layout */
#wikitext{
	background:#fff;
	border:1px solid #aaa;
	padding:15px 5px 5px 7px;
	font-size:10pt;
}
#wikitext h1, #wikitext h2, #wikitext h3, #wikitext h4, #wikitext h5, #wikitext h6{
	background-color:#eef;
	font-weight:bold; 
	padding-left:5px;
	border-top:1px solid #889;
	border-left:1px solid #889;
	margin:0.8em 0 0.6em -2px;
}
#wikitext a:hover{
	color:#bb0;
}
#wikitext ul{
	list-style-image:url('blue.png');
}
#wikitext ul ul{
	list-style-image:url('green.png');
}
#wikitext ul ul ul{
	list-style-image:url('yellow.png');
}
#wikitext ul ul ul ul{
	list-style-image:url('red.png');
}
#wikitext dt{
	border-bottom:1px dashed #aaa;
}
#wikitext p span.wikitrail{
	text-align:right;
}

/* ********** MenuBar formatting */
#menubar{
	margin-left:5px;
}
#menubar .vspace{
	margin:0;
}
#menubar a:hover{
	color:#77f;
}
/* ********** MenuBar Drop Down Menu formatting */
#menubar ul{ /* toplevel */
	list-style-type:none;
	margin:0;
	padding:0;
}
#menubar ul li{
	list-style-type:none;
	float:left;
	border:1px solid #aaa;
	background:#eed;
	margin:0 5px 5px 0;
	padding:0 3px;
}
#menubar ul li:hover, #menubar ul li.over{
	background:#ddc;
}
#menubar ul li ul li a:hover{
	color:#ff2;
}
#menubar .menutitle{
	display:block;
/*	width:100px;*/
	font-weight: bold;
	border:
}
#menubar ul li ul{ /* sublevel */
	list-style-type:none;
	position:absolute;
	margin:0;
	padding:0;
	display:none;
	clear:both;
	border:1px solid #999;
}
#menubar ul li ul li{
	display:block;
	width:120px;
	clear:left;
	margin:0;
	font-size:90%;
	border:none;
	background:#ccc;
}
#menubar ul li ul li:hover, #menubar ul li ul li.over{
	background:#bbb;
}
#menubar li:hover ul, #menubar li.over ul{
	display:block;
}
#menubar li>ul{
	top:auto;
	left:auto;
}

/* ********** Main working area formatting */
#main{
	clear:left;
	margin-top:0;
}

/* ********** SideBar formatting */
#sidebar h1{
	font-size:140%; 
	border-bottom:3px solid #aaa;
	border-left:2px solid #aaa;
	background:#eef;
	padding:0 4px;
	margin:5px 0 0 0;
}
#sidebar ul{
	list-style-type:none;
	padding-left:2em;
	padding-bottom:0;
	margin-left:0; /* IE hack */
}
#sidebar li{
	border-left:2px dotted #aaa;
	padding-left:5px;
}
#sidebar a:hover{
	color:#ccf;
}
#sidebar .vspace{
	margin-top:0.5em;
}
#sidebar{
	font-size:82%;
}
#sidebar{
	padding:4px 9px 4px 9px;
}

/* ********** special Wiki settings when editing */
#wikiedit textarea{
	width:99%;
}

/* ********** special setting when viewing history */
.diffbox{
	border-bottom:none;
	padding-bottom:4px;
}
.diffadd{
	background-image:url(new.png);
}
.diffdel{
	background-image:url(old.png);
}
.diffrestore{
	margin-top:0;
	background:#ddd;
	border:1px solid #999;
	border-top:none;
}
.diffrestore a{
	font-weight:bold;
}
#wikitext .diffrestore a:hover{
	color:#ff9;
}

/* ********** Group/Title Display Layout */
#page{
	margin:2px 2px 0 0;
}
.pagegroup a{
	display:inline;
	font-size:9pt;
	margin-left:5px;
	float:left;
	color:#bbb;
}
.pagegroup{
	float:left;
}
.pagetitle a{
	display:inline;
	font-weight:bold;
	color:#aa5;
}

/* ********** Tabs layout */
#tabs{
	margin:0;
}
#tabs ul{
	margin:0;
	list-style-type:none;
	padding-left:15px;
}
#tabs li{
	border:1px solid #aaa;
	background:#ddd;
	display:inline;
	font-size:11px;
	font-weight:bold;
	padding:0 5px 1px 5px;
	margin:0;
}
#tabs li a:hover{
	color:#55e;
}

/* ********** Print Preview Display */
#print{
	font-size:9pt;
	font-weight:bold;
	margin:0;
	float:right;
}
#print a{
	border:1px dotted #999;
	background:#eee;
	padding:0 5px;
}
#print a:hover{
	color:#55d;
	background:#ddd;
	border:1px solid #aaa;
}

/* ********** Layout Last Modified */
.lastmod{
	font-size:8pt;
	font-style:italic;
	color:#aaa;
	margin-left:15px;
	margin-bottom:3px;
}

/* ********** Layout Footer */
#foot ul{
	list-style-type:none;
	padding:0;
	margin:0;
	font-size:8pt;
	font-wieght:bold;
}
#foot li{
	display:inline;
	margin-left:10px;
}
#foot li.bar{
	margin-left:0px;
}
#foot li.bar a{
	border:1px dotted #999;
	padding:0 3px;
	background:#eee;
}
#foot li.bar a:hover{
	background:#ddd;
	color:#55d;
	border:1px solid #aaa;
}
#foot a{
	font-weight:bold;
}
#foot a:hover{
	color:#55e;
}
#foot a[href='#Top']{
	background:#eee;
	border:1px dotted #999;
	padding:0 3px;
}
#foot a[href='#Top']:hover{
	background:#ddd;
	color:#55d;
	border:1px solid #aaa;
}
