body {
	margin: 0;
	padding: 0;
	color: #404040;
	background: #F0F0F0;
	background-image: url("./images/bg.png");
	background-repeat: repeat-y;
	background-position: top center;
	line-height: 125%;
}

a {
	text-decoration: none;
}

a:link {
	color: #4040FF;
}

a:visited {
	color: #D040D0;
}

a:hover {
	color: #FF4040;
}

a:active {
	color: #FF8080;
}

#wrap {
	margin: 0 auto;
	padding: 0;
	width: 800px;
	color: #404040;
	background: #FFFFFF;
}

h1 {
	overflow: hidden;
	margin: 0;
	padding: 0;
	height: 85px;
	line-height: 300px;
	color: #608060;
	background-image: url("./images/logo.png");
	background-repeat: no-repeat;
	background-position: 10px center;
}

p#description {
	margin: 0 5px;
	padding: 0 5px;
	font-size: small;
	line-height: 25px;
	border-bottom: 2px solid #B0D0B0;
}

/* nav */
#nav {
	float: left;
	width: 165px;
	margin: 5px 0 4px;
}

#nav h2 {
	display: none;
}

#nav ul {
	margin: 0 0 0 5px;
	padding: 0;
	list-style: none;
}

#nav ul li {
	margin: 0 0 1px;
	padding: 0;
	font-size: small;
	list-style: none;
}

#nav ul li a {
	display: block;
	padding: 0 0 0 10px;
	height: 40px;
	line-height: 40px;
	text-decoration: none;
	font-weight: bold;
	font-size: small;
}

#nav ul li a:link, #nav ul li a:visited {
	color: #F8FFF8;
	background: #80A080;
	border-left: 5px solid #608060;
}

#nav ul li a.selected {
	color: #FFFFFF;
	background: #A0C0A0;
	border-left: 5px solid #80A080;
}

#nav ul li a:hover {
	color: #80A080;
	background-color: #E4F4E4;
	background-image: url("./images/navbg.png");
	background-repeat: no-repeat;
	background-position: right center;
	border-left: 5px solid #80A080;
}
/* end of nav */

/* content */
#content {
	float: left;
	width: 470px;
	margin: 5px 0 0;
}

#content h2 {
	margin: 0 5px 5px;
	padding: 0 0 0 20px;
	color: #608060;
	background-color: transparent;
	background-image: url("./images/h2bg.png");
	background-repeat: no-repeat;
	font-size: medium;
	line-height: 30px;
}

#content h3 {
	margin: 0 15px 5px;
	padding: 0 0 0 5px;
	color: #608060;
	background-color: transparent;
	background-image: url("./images/h3bg.png");
	background-repeat: no-repeat;
	font-size: small;
	line-height: 25px;
	border-left: 5px solid #608060;
}

#content h3 a {
	text-decoration: none;
}

#content h3 a:link {
	color: #4060FF;
}

#content h3 a:visited {
	color: #D040D0;
}

#content h3 a:hover {
	color: #FF4040;
}

#content h3 a:active {
	color: #FF8080;
}

#content ul {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-size: small;
}

#content ul li {
	margin: 0 10px;
	padding: 5px;
	list-style: none;
	border-bottom: 1px dotted #608060;
}

#content ul li strong {
	font-weight: normal;
	color: #608060;
}

#content p {
	margin: 0 15px;
	padding: 0 10px 15px;
	font-size: small;
}

#content dl {
	margin: 0;
	padding: 0 15px 5px;
	font-size: small;
}

#content dl dt {
	margin: 0 5px;
	padding: 0 5px;
	line-height: 20px;
	background: #C0E0C0;
}

#content dl dd {
	margin: 0 5px 10px;
	padding: 5px;
	border-width: 0 1px 1px;
	border-style: solid;
	border-color: #C0E0C0;
}

#content table {
	width: 460px;
	margin: 0 5px 10px;
	padding: 0;
	font-size: small;
    border: 1px solid #E3E3E3;
    border-collapse: collapse;
    border-spacing: 0;
}

#content table th {
	width: 120px;
	padding: 5px;
	color: #606060;
	border: solid #E3E3E3;
	border-width: 0 0 1px 1px;
	background: #F5F5F5;
	text-align: left;
}

#content table td {
	padding: 5px;
	border: #E3E3E3 solid;
	border-width: 0 0 1px 1px;
	text-align: left;
}
/* end of content */

/* ad */
#ad {
	float: left;
	width: 165px;
	margin: 5px 0;
}

#ad h2 {
	display: none;
}

#ad ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#ad li {
	margin: 0;
	padding: 0 0 5px;
}

#ad a {
	display: block;
	margin: 0;
	padding: 0;
	width: 60px;
}

#ad a.h60 {
	height: 60px;
	line-height: 60px;
}

#ad a.h158 {
	height: 158px;
	line-height: 158px;
}

#ad img {
	margin: 0;
	padding: 0;
	border-width: 0;
}
/* end of ad */

/* footer */
#footer {
	margin: 0 5px;
	clear: both;
	text-align: center;
	border-top: 2px solid #B0D0B0;
}

#footer h2 {
	display: none;
}

#footer ul {
	margin: 0; 
	padding: 10px 0 0;
	list-style: none;
	font-size: small;
}

#footer ul li {
	margin: 0;
	padding: 0 10px;
	display: inline;
	border-left: 1px solid #808080;
}

#footer ul li#top {
	border: 0;
}

#footer p#copyright {
	margin: 0;
	padding: 0 0 10px;
	font-size: small;
}
/* end of content */
