body {
	text-align: center;
	min-width: 700px;
	font-family: Verdana, Geneva, Arial, Helvetica, Gothic, sans-serif;
	font-size: small;
	background: #EDEDED;
}
a {
	text-decoration: none;
	color: #1E1DA9;
}
a:visited {
	color: #831EA8;
}
a:active, a:hover {
   text-decoration: underline;
   color: red;
}
a img, .noborder {
	border-style: none;
}
.external {
	padding-top: .45em;
}
.linkicon {
	padding-left: .3em;
}
#content {
	line-height: 160%;
	height: 100%; /* To cause hasLayout in IE */
}
h1 {
	color: #006400;
	background: #CAEBB9;
	font-size: 131%;
}
h2 {
	font-size: medium;
	background: #DCF5CF;
	margin-right: 25%;
	color: #006400;
}
h1 a, h1 a:visited, h2 a, h2 a:visited {
	color: #006400;
	text-decoration: underline;
}
h1 a:active, h1 a:hover, h2 a:active, h2 a:hover {
	color: red;
}
.h2note {
	float: right;
	color: #006400;
}
.mainlist {
	list-style-image: url(img/greenarrow.gif);
}
.mainlist ol {
	list-style-image: none;
	margin: 0 0 0 2.5em;
	padding: 0;
}
.mainlist ul {
	list-style-image: url(img/greenball.gif);
}
acronym {
	border-bottom: 1px dotted;
	cursor: help;
}
.hide {
	display: none;
}
.pullheader {
	border: 1px solid #B8BEC4;
	background: #EDEEF3;
}
.picture {
	border: 1px solid gray;
}
.forceinline {
	display: inline;
}
a#oldtoggle {
	background-image: url(img/foldplus.gif);
	background-repeat: no-repeat;
	background-position: right center;
}


/* Structure */

#logo {
	display: block;
}
#centerwrapper {
	margin: 0 auto;
	width: 700px;
	text-align: left;
}
#shadowtop {
	height: 5px;
	font-size: 0;
	background: #D6D6D6 url(img/shadowtop.gif) no-repeat bottom right;
	clear: right;
}
#mainpanel {
	padding-right: 4px;
	background: #D6D6D6 url(img/shadowright.gif) repeat-y right;
	position: relative;
	width: 696px;
	line-height: 0;
}
#banner {
	margin-left: 4px;
}
#barabutton {
	float: right;
	margin: 10px 15px 50px 0;
}
#nihongobutton {
	float: right;
	margin: 10px 10px 50px 0;
}
#content {
	position: relative;
	padding: 10px 16px 12px 55px;
	margin-left: 40px;
	background: white url(img/leftbar.gif) repeat-y;
	clear: right;
}
#leftbarbottom {
	float: left;
	position: relative;
	left: 40px;
	background: #D6D6D6;
	margin-top: -40px;
	width: 40px;
	height: 40px;
}
#shadowbottom {
	height: 4px;
	background: #EDEDED url(img/shadowbottom.gif) no-repeat;
	font-size: 0;
}
#contact {
	text-align: center;
	font-size: smaller;
}
.clear {
	clear: both;
}
.def, span.title {
	font-style: italic;
}
#sizeselector {
	width: 42px;
	height: 23px;
	background: #D6D6D6 url(img/sizeselector.gif) no-repeat;
	float: right;
	padding: 3px;
}
#sizeselector img {
	margin-right: 1px;
	cursor: pointer;
}


/* Navbar */

#nav {
	background: #0A2ACC url('img/navdivider.gif') no-repeat 40px center;
	height: 40px;
	width: 615px;
	position: absolute;
	left: 40px;
	top: 195px;
}
#nav ul {
	list-style-type: none;
	margin: 0 0 0 45px;
	padding-left: 0;
}
#nav li {
	float: left;
	position: relative;
	width: 6em;
}
#nav a {
	display: block;
	text-decoration: none;
	position: relative;
}
#nav a.navtop {
	line-height: 40px;
	color: white;
	width: 6em;
	text-align: center;
	font-weight: bold;
	background: url('img/navdivider.gif') no-repeat right center;
}
#nav a.nulllink, #nav a.currentlink {
	cursor: default;
}
#nav a.currentlink {
	color: #FF8080;
}
#nav li ul {
	position: absolute;
	top: 40px;
	left: -46px;
	display: none;
	z-index: 1;
	border: #B8BEC4 1px;
	border-style: none solid solid solid;
	width: 8em;
}
#nav li:hover ul, #nav li.over ul {
	display: block;
}
#nav li:hover a, #nav li.over a {
	color: black;
	border-left: #CFCED2 solid 5px;
	background: #EDEEF3;
	margin-left: -5px;
}
#nav li:hover .nulllink, #nav li.over .nulllink {
	color: gray;
}
#nav li:hover .currentlink, #nav li.over .currentlink {
	color: #C00000;
}
#nav li:hover a:hover, #nav li.over a:hover {
	border-color: #FFFFD5;
	background: #D6DDE5;
}
#nav li:hover .nulllink:hover, #nav li.over .nulllink:hover, #nav li:hover .currentlink:hover, #nav li.over .currentlink:hover {
	border-color: #CFCED2;
	background: #EDEEF3;
}
#nav li li {
	border: none;
	line-height: 190%;
	background: #EDEEF3;
	padding: 0;
	margin: 0;
	width: 8em;
}
#nav li li a {
	font-size: smaller;
	border-left: #CFCED2 solid 5px;
	height: 2em;
	line-height: 2em;
	padding: 0 0 0 .5em;
}
#nav li li a:hover {
	border-color: #FFFFD5;
	background: #D6DDE5;
}
#nav li li ul {
	top: 0;
	left: 4px;
	margin-left: 8em;
	border-top-style: solid;
}
#nav li:hover li ul, #nav li.over li ul {
	display: none;
}
#nav li:hover li:hover ul, #nav li.over li.over ul {
	display: block;
}


/* Menu-specific width adjustments */

#nav #projectsmenu, #nav #projectsmenu li {
	width: 12em;
}
#nav #projectsmenu li ul, #nav #projectsmenu li li {
	width: 10em;
}
#nav #projectsmenu ul {
	margin-left: 12em;
}
#nav #statsmenu, #nav #statsmenu li {
	width: 13em;
}
#nav #statsmenu li ul, #nav #statsmenu li li {
	width: 11em;
}
#nav #statsmenu ul {
	margin-left: 13em;
}
#nav #linksmenu, #nav #linksmenu li {
	width: 12em;
}
#nav #linksmenu li li {
	width: 8em;
}


/* Notes */

.notewrapper {
	display: none;
	position: relative;
	font-weight: normal;
	float: left;
}
.note {
	position: absolute;
	background: #F3EF9A;
	border: 1px solid #EFCB38;
	padding: .3em;
	width: 11em;
}
.imgbutton {
	cursor: pointer;
}
.closebutton {
	float: left;
	margin: 0 .3em 0 0;
}
.notecontents {
	margin-left: 1em;
	font-size: smaller;
	color: gray;
}
.notewrapper .notecontents {
	display: inline;
	margin-left: 0;
	font-size: small;
	color: black;
}

