body {
	margin: 0 0 1em 0;
	padding: 0;
	color: black;
	background-color: #eee;
	line-height: 130%;
	text-align: center;
	font-family: verdana, helvetica, arial, sans-serif;
}

#wrapper-header {
	background: #222;
}

#header {
	width: 75%;
	height: 80px;
	line-height: 80px;
	margin: 0 auto;
	border-left: 1px solid #707070;
	border-right: 1px solid #707070;
	text-align: left;
}

#header h1 {
	margin: 0;
	padding: 0;
	font-size: 420%;
	padding-left: 30px;
	%letter-spacing: -0.1em;
	font-family: "trebuchet ms", verdana, helvetica, arial, sans-serif;
	font-weight: normal;
}

#wrapper-menu {
	background: #88ac0b url('img/menu-background2.png') top left repeat-x;
	float: left;
	width: 100%;
}

#menu {
	width: 75%;
	margin: 0 auto;
	font-size: 95%;
	white-space: nowrap; /* stops half a menu link dropping to next line. Instead, the whole link will drop. This only happens if you have a lot of menu links, and large text size */
	padding-right: 2px;	/* The menu far left, and far right borders are not quite lining up in non IE browsers for some reason. This makes it less noticable */
}

* html #menu { padding-right: 0; } /* See above comment. This re-adjusts IE to the above padding */

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	border-left: 1px solid #95bc0e;
	border-right: 1px solid #95bf0f;
	width: 100%;

}

#menu li {
	display: inline;
}

#menu a:link, #menu a:visited {
	padding: 0.2em 1em;
	background: transparent;
	color: #FFF;
	text-decoration: none;
	float: left;
	border-right: 1px solid #95bc0e;
}

#menu ul li a:hover
{
	background: #b6e41c url('img/menu-hover2.png') repeat-x;
	color: #485B06;
}


#content_frame {
	width: 73%; /* 73% because it has 1% padding on each side, which brings it to 75% wide */
	margin: 0 auto;
	padding: 3.5em 1% 20px 1%;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
	background: white;
	font-size: 90%;
	text-align: left;
}

#note_frame {
	float: right;
	margin: 1% 2% 10px 5px;
	padding: 0;
	width: 20%;
	background: transparent;
	border: none;
	text-align: left;
	font-size: 0.8em;
	line-height: 1.1em;
}

div.note_box {
	margin: 0.5em 0;
	padding: 7px 4px;
	background: #f5f5f5;
	color: #666;
	border: solid 1px #aaa;
	text-align: left;
	font-size: 0.8em;
	line-height: 1.1em;
}



* html #content { padding-top: 1.8em; } /* Set padding top in IE to 20px */


#footer {
	margin: 0 auto;
	padding: 2px 1%;
	width: 73%;
	text-align: right;
	color: white;
	letter-spacing: 0.15em;
	background: #8fb40c url('img/menu-background2.png') top left repeat-x;
	border: solid #a0c80e;
	border-width: 0 1px 1px 1px;
	font-size: 80%;
}

h2 {
	color: #666;
	margin-top: 2em;
	padding-bottom: 3px;
	border-bottom: 1px solid #a0c80e;
	font-size: 150%;
	%letter-spacing: -0.1em;
}

h3 {
	color: #a0c80e;
	background: transparent;
	margin-left: 0.9em; 
}

a:link, a:visited {
	color: #260;
	text-decoration: none;
}

a:hover
{
//	border-bottom: solid 2px #dddddd;
//	color: #000;
//	text-decoration: underline;
}

p { margin-left: 1em; }

span.explained {
	color: #a8c80e;
	text-decoration: underline;
	cursor: help;
}

span.explained_text {
	color: black;
}

span.bibtex {
	color: #a8c80e;
	text-decoration: underline;
	cursor: help;
}

span.bibtex_text {
	color: black;
}


div.figure_left,
div.figure_right,
dif.figure_center {
	padding: 5px;
	text-align: center;
	background: white;
}
div.figure_left { float: left;   margin: 10px 20px 20px 0; }
div.figure_right { float: right;   margin: 10px 0 20px 20px; }
div.figure_center { float: center; clear: both; }

div.figure_framed { 
	border: solid 1px #a0c80e;
}

p.figure_caption { 
	font-size: 0.7em;
	color: black;
	font-weight: normal;
	margin: 0;
	padding: 0;
	line-height: 1.1em;
	text-align: left;
}

img.figure {
	margin:0;
	padding:0;
}


img.portrait {
	padding: 2px;
	height:100pt;
	float: right;
	background: white;
	border: none; //solid 1px #a0c80e;
	margin-left: 4px;
}

img {
	border: none;
}

li {
	margin-bottom: 1.1em;
}


