/* reset */

* {
	margin: 0;
	padding: 0;
	font-size: 100%;
	line-height: 1.5;
	font-weight: normal;
	font-style: normal;
	list-style: none;
	text-align: left;
	border-collapse: collapse;
	border-spacing: 0;
	color: #333;
}

a {
	border-bottom: 1px dotted #154;
	color: #154;
	text-decoration: none;
}

a:hover {
	border-bottom: none;
	text-decoration: underline;
	color: #a03;
}

/* layout */

body {
	text-align: center;
}

#whole {
	width: 800px;
	
	border: 1px solid black;
	margin: 5px auto 5px auto;
}

#header {
	height: 120px;
	border-bottom: 1px solid black;
}

#menu {
	width: 200px;
	float: right;
}

#main {
	margin: 0 200px 0 0;
	padding: 0 8px 10px 10px;
}

#footer {
	clear: both;
	border-top: 1px solid gray;
}

/* header */

#header {
	background-image: url("title.png");
	position: relative;
}

#header h1 {
	text-indent: -9999px;
}

#header h1 a {
	position: absolute;
	display: block;
	border: none;
	top: 10px;
	left: 10px;
	width: 580px;
	height: 100px;
}

#search {
	position: absolute;
	top: 10px;
	right: 10px;
}

#search_text {
	float: right;
	display: block;
	width: 90px;
}

#search_button {
	float: right;
	clear: right;
	display: block;
	width: 50px;
	text-align: center;
}

#search a {
	float: right;
	clear: right;
	display: block;
	border: none;
}

#search a img {
	border: none;
}

/* menu */

#menu {
	font-size: 90%;
}

#menu dl dt {
	font-weight: bold;
	padding: 1px;
	text-align: center;
	color: #333;
	background: #e2d9d8;
	border: 1px solid #786863;
	margin: 5px 0 0 0;
}

#menu dl {
	margin: 0 5px 5px 0;
}

#menu ul {
	border-left: 1px solid #786863;
	border-right: 1px solid #786863;
	border-bottom: 1px solid #786863;
}

#menu li {
	padding: 4px 4px 4px 5px;
	background: white;
}

/* main */

#main h2 {
	font-weight: bold;
	padding: 7px 0 6px 15px;
	font-size: 100%;
	color: #4A3732;
	border-bottom: 1px solid gray;
	margin: 0 -10px 8px -10px;
}

#main h3 {
	font-weight: bold;
	margin: 0 0 8px 0;
	padding: 0 0 0 20px;
	background: url("square.png") no-repeat left center;
}

#main p {
	padding: 0 0 10px 0;
}

#main ul {
	padding: 0 0 8px 25px;
}

#main ul li {
	list-style-type: disc;
	margin: 0 0 4px 0;
}

#main ol {
	padding: 0 0 8px 25px;
}

#main ol li {
	list-style-type: decimal;
	margin: 0 0 4px 0;
}

#main table {
	margin: 0 8px 8px 8px;
}

#main table caption {
}

#main table td {
	padding: 2px 5px 2px 5px;
	border: 1px solid #786863;
}

#main table th {
	padding: 2px 5px 2px 5px;
	border: 1px solid #786863;
	background: #e2d9d8;
}

#main dl dt {
	font-weight: bold;
}

#main dl dd {
	margin: 0 0 0 20px;
}

#counter {
	font-size: 90%;
	margin: 20px 0 0 10px;
}

#counter img {
	border: none;
}

#main .frame {
	margin: 0 0 16px 0;
	padding: 10px;
	border: 1px solid #786863;
	background: #eee;
}

/* footer */

#footer {
	padding: 8px;
}

#footer p {
	font-size: 90%;
}

