html
{
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	background: rgb(51,51,51) url("../images/bg01.gif") repeat-x;
}

body 
{
	width: 75%;
	max-width: 1200px;
	min-width: 840px;
	margin: 30px auto 80px auto;
	padding: 2px;
	border: 5px solid #555;
	font-family: Arial, sans-serif;
	color: #fff;
}

body.about { background: url("../images/bg_circuit03.gif") -30px -100px; }
body.projects { background: url("../images/bg_influenza01.jpg"); }
body.people { background: url("../images/bg_map01.jpg"); }
body.papers { background: url("../images/bg_graph01.gif") -20px -30px; }

h1, h2, h3 {font-family: Agency FB, Arial Narrow, Arial, sans-serif; padding: 0px;}

td { vertical-align: top;}

a:link, a:active {color: #b00;}
a:visited {color: #c70;}

#bodylining
{
	margin: 0px;
	padding: 0px;
	border: 1px solid #555;
}

#header {padding: 20px 35px;}
#header.about  	{background: url("../images/bg_circuit04.gif") -33px -53px repeat-x; }
#header.people 	{background: url("../images/bg_map02.jpg") -3px -3px repeat-x; }
#header.projects{background: url("../images/bg_influenza02.jpg") -3px -3px repeat-x; }
#header.papers 	{background: url("../images/bg_graph02.gif") -23px -3px repeat-x; }

#header h1 
{
	margin: 0px; 
	text-align: right; 
	font-size: 28pt; 
	text-shadow: 5px 5px 5px #000;
}

#mainmenu
{
	background-color: rgb(248,222,128);
	color: rgb(95,95,95);
	border: 4px solid #fff;
	height: 140px;
	font-size: 0.8em;
	margin: 0px 15px 0px 6px;
	-moz-box-shadow: 7px 7px 10px #111;
	-webkit-box-shadow: 7px 7px 10px #111;
	box-shadow: 7px 7px 10px #111; 
}

#mainmenu.about {background: rgb(248,222,128) url("../images/circuit05.jpg") 0px 0px no-repeat;}
#mainmenu.wiki {background: rgb(248,222,128) url("../images/moin02.gif") 0px -10px no-repeat;}
#mainmenu.projects {background: rgb(248,222,128) url("../images/influenza04.jpg") -30px -10px no-repeat;}
#mainmenu.people {background: rgb(248,222,128) url("../images/map03.jpg") 0px 0px no-repeat;}
#mainmenu.papers {background: rgb(248,222,128) url("../images/timeseries02.jpg") -50px -100px no-repeat;}

#mainmenu h2 
{
	color: #fff; 
	margin: 0px; 
	padding: 85px 0px 0px 0px; 
	width: 180px; 
	text-align: center;
	font-size: 24pt;
	text-shadow: 4px 4px 5px #000;
}

#mainmenu ul { float: right; margin: 5px 5px; padding: 0px; }
#mainmenu li { display: inline; white-space: nowrap; padding: 0px 10px; border-right: 1px solid rgb(128,128,128);}
#mainmenu li.last { border-right: none;}

#sidemenu 
{
	position: relative;
	z-index: 10;
	width: 190px;
	float: left;
	margin: 35px 0px;
	padding: 0px;
	font-size: 0.9em;
	text-shadow: 3px 3px 5px #111;
}

#sidemenu ul { text-align: right; margin: 0px; margin-right: 20px;}
#sidemenu li { padding: 0px 0px 18px 0px; list-style-type: none; }

#main
{
	background: #fff;
	color: #555;
	margin: -115px 35px 0px 190px;
	padding: 2px 25px 20px 20px;
	font-size: 0.8em;
	-moz-box-shadow: 3px 3px 10px #333;
	-webkit-box-shadow: 3px 3px 10px #333;
	box-shadow: 3px 3px 10px #333;
}

#main h1 { font-size: 2.8em; margin: 5px 0px 15px 0px; color: #333; }
#main h2 { font-size: 2.0em; margin: 20px 0px 20px 0px; border-bottom: 1px solid #ddd; color: #333; }
#main h3 { font-size: 1.6em; margin: 20px 0px 15px 0px; border-bottom: 1px solid #ddd; color: #333; }
#main h4 { font-size: 1.0em; margin: 15px 0px 10px 0px; color: #d40; }
#main h5 { font-size: 1.0em; margin: 15px 0px 10px 0px; color: #333; }
#main h6 { font-size: 1.0em; margin: 15px 0px 10px 20px; color: #555; }
#main p { margin: 0px 0px 10px 20px; }
#main ul, #main ol { margin-top: -5px; }
#main li { margin: 0px 0px 0px 20px; }

#pageend {clear: both;}

#bottomlinks
{
	background-color: rgb(248,222,128);
	color: rgb(95,95,95);
	font-size: 0.75em;
	margin: 0px 35px 10px 190px;
	padding: 5px 20px;
}

#bottomlinks ul { text-align: center; margin: 0px; padding: 0px; }
#bottomlinks li { display: inline;  white-space: nowrap; padding: 0px 10px; border-right: 1px solid rgb(128,128,128);}
#bottomlinks li.last { border-right: none;}


#footer
{
	margin: 0px 35px;
	padding: 0px;
	height: 10px;
	position: relative;
	top: 25px;
	text-align: right;
	font-size: 0.8em;
	color: rgb(128,128,128);
}

#footer .logo { float: right; margin-left: 15px; }
#footer p { padding-top: 2px; }

#mainmenu a:link, #mainmenu a:active, #mainmenu a:visited {text-decoration: none; color: rgb(95,95,95);}
#sidemenu a:link, #sidemenu a:active, #sidemenu a:visited {text-decoration: none; color: #fff;}
#bottomlinks a:link, #bottomlinks a:active, #bottomlinks a:visited {text-decoration: none; color: rgb(95,95,95);}
#footer a:link, #footer a:active, #footer a:visited  {text-decoration: none; color: rgb(128,128,128);}

#mainmenu .active, #sidemenu .active {font-weight: bold; }
#bottomlinks a:hover, #mainmenu a:hover { color: #b00; }
#sidemenu a:hover { color: #fea; }
#footer a:hover { color: #aaa; }

#border_shade {position: absolute; width: 75%; max-width: 1200px; min-width: 840px; height: 72px; top: 46px; clear: both;}
#border_shade_left {background: url("../images/borderleft_shade.gif") no-repeat; float: left; position: relative; left: -7px; width: 8px; height: 70px;}
#border_shade_right {background: url("../images/borderright_shade.gif") no-repeat; float: right; position: relative; left: 7px; width: 8px; height: 70px;}
#border_shade p {font-size: 0.75em; padding: 25px 0px 0px 30px; white-space: nowrap;}
#border_shade p a:link, #border_shade p a:visited, #border_shade p a:active {color: #666; text-decoration: none; margin-right: 10px;}
#border_shade p a:hover {color: #aaa;}

.edit_btn, .edit_btn_inline, .edit_btn_right 
{
	background-color: rgb(248,222,128);
	color: #444;
	font-weight: normal;
	font-size: 8pt;
	font-family: Arial, sans-serif;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	padding: 1px 7px;
	cursor: pointer;
}
.edit_btn_right { float: right; margin: 5px 0px 0px 20px;}
.edit_btn_inline {padding: 0px 5px; margin: 0px 0px 0px 10px; }

a.edit_btn:active, a.edit_btn:link, a.edit_btn:visited, 
a.edit_btn_inline:active, a.edit_btn_inline:link, a.edit_btn_inline:visited, 
a.edit_btn_right:active, a.edit_btn_right:link, a.edit_btn_right:visited 
{text-decoration: none; color: #444;}
a.edit_btn:hover, a.edit_btn_inline:hover, a.edit_btn_right:hover {color: #b00;}


#main p.subtitle
{
	margin: -12px 0px 15px 0px;
	font-size: 0.9em;
	color: #888;
}

#main p.links {font-size: 0.9em;}
.links a {margin-right: 5px;}


td.qlinks 
{	
	vertical-align: top; 
	padding: 0px 0px 0px 20px;
	width: 200px;
}
#main td.qlinks p 
{
	background-color: #555; 
	margin: 0px; 
	padding: 15px 12px 10px 12px; 
	color: #fff;
	font-size: 0.9em;
	-moz-box-shadow: 2px 4px 6px #111;
	-webkit-box-shadow: 2px 4px 6px #111;
	box-shadow: 2px 4px 6px #111;
}
#main .qlinks a:link, #main .qlinks a:visited, #main .qlinks a:active {color: #fff; text-decoration: none;}
#main .qlinks a:hover {color: #fea;}

td.field
{
	vertical-align: top;
	padding-left: 10px;
}
td.field input, td.field textarea, td.field select {width: 350px;}

td.lbl 
{
	vertical-align: top;
	padding-left: 20px;
	text-align: right;
	width: 150px;
}

td.leftpad10 {padding-left: 10px;}
.no_wrap {white-space: nowrap;}
.spacer {height: 1px; width: 100%; margin: 0px;}

