body {
	margin: 0;
	padding: 10px 0 10px 0;
	text-align: center;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 1em;
	background-color: #f3f3f3;
	color: #000000;
	position: relative;
}

a:link,a:visited,a:active { color: #0000ff; text-decoration: none; }
a:hover { color: #0000ff; text-decoration: underline; }

#container {
	margin: 0 auto;
	width: 760px;
	text-align: left;
	height: 100%;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	background-color: #ffffff;
	color: #000000;
}
#top {
	background-color: #ffffff;
	color: #000000;
	border-top: 1px solid #000000;
	padding: 5px 5px 5px 50px;
	font-size: 2em;
	font-family: verdana, sans-serif;
	font-weight: bold;
	position: relative;
	height: 38px;
	background-image: url('/img/tl.gif');
	background-position: top left;
	background-repeat: no-repeat;
}
#top h2 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 3px;
	margin: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 0.35em;
	font-weight: normal;
	text-align: right;
}
#menu {
	background-color: #6683e2;
	border-top: 2px solid #0c0294;
	border-bottom: 2px solid #0c0294;
	border-left: 10px solid #0c0294;
	border-right: 10px solid #0c0294;
	color: #000000;
	font-size: 1em;
	padding: 0 0 6px 0;
}
#menu div {
	font-size: 1em;
	font-weight: normal;
	background-color: #6683e2;
	color: #ffffff;
	border-left: 4px solid #0c0294;
	padding: 3px 6px 3px 6px;
	float: right;
}
#menu div.sel {
	background-color: #000066;
	color: #ffffff;
}
#menu div a:link, #menu div a:visited, #menu div a:active { color: #ffffff; text-decoration: none; }
#menu div a:hover { color: #ffffff; text-decoration: underline; }
#menu div.sel a:link, #menu div.sel a:visited, #menu div.sel a:active { color: #ffffff; text-decoration: none; }
#menu div.sel a:hover { color: #ffffff; text-decoration: underline; }

#middle {
	position: relative;
}
#left {
	position: absolute;
	top: 0;
	left: 0;
	width: 125px;
	padding: 5px 0 0 0;
	background-color: transparent;
	color: #000000;
	font-size: 0.8em;
	text-align: left;
	border-right: 1px solid #efefef;
	border-bottom: 1px solid #efefef;
}
#main {
	background-color: #ffffff;
	color: #000000;
	padding: 0 0 5px 130px;
	margin: 0;
	min-height: 450px;
}
* html #main { height: 450px; }

#bottom {
	background-color: #6683e2;
	color: #ffffff;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	width: 100%;
	font-size: 0.6em;
	font-weight: normal;
	text-align: center;
	padding: 5px 0 5px 0;
	clear: both;
}

#left div.adsense {
	padding: 2px;
}
#left #i_search {
	width: 119px;
	margin: 2px 2px 0 2px;
	padding: 0;
	border: 1px solid #6683e2;
	font-size: 1em;
	color: #000000;
	background-color: #fcfcfc;
}
#left input.button {
	border: 1px solid #6683e2;
	color: #000000;
	background-color: #fcfcfc;
	margin: 1px 2px 2px 69px;
	width: 50px;
	font-size: 0.9em;
	padding: 0;
}
#left h1 {
	font-size: 1em;
	font-weight: bold;
	margin: 0 0 4px 0;
	padding: 0 2px 0 0;
	text-align: right;
}
#left h1 span {
	border-bottom: 1px dashed #dfdfdf;
}
#left h1.date {
	margin: 2px 0 0 0;
	font-size: 0.8em;
}
#left ul {
	margin: 0 0 10px 0;
	padding: 0;
}
#left ul.date {
	margin: 0;
}
#left ul li {
	list-style-type: square;
	margin: 0 0 0 17px;
	padding: 2px;
	font-size: 0.9em;
}
#left ul li.active {
	color: #6666dd;
	list-style-type: disc;
}
#left img.rss {
	display: block;
	margin: 5px;
	border: 0;
}

#main div.adsense {
	text-align: center;
	margin: 5px 0 20px 0;
}
#main h1 {
	font-size: 1.1em;
	font-weight: bold;
	padding: 5px 2px 2px 0;
	margin: 0 0 5px 5px;
	text-align: left;
	border-bottom: 1px dashed #bbbbbb;
	background-color: transparent;
	color: #000000;
}
#main h1 span {
	font-size: 0.6em;
	font-weight: normal;
	margin: 8px 0 0 0;
	float: right;
}
#main div.main {
	font-size: 0.9em;
	margin: 5px 5px 20px 10px;
	padding: 0;
	display: block;
	background-image: url('/img/tr.gif');
	background-position: top right;
	background-repeat: no-repeat;
	min-height: 48px;
	
}
* html #main div.main { height: 48px; }
#main h2 {
	width: 200px;
	margin: 10px 0 20px 427px;
	padding: 0 3px 0 0;
	border-top: 1px solid #dfdfdf;
	font-size: 0.7em;
	font-weight: normal;
	text-align: right;
}
#main p {
	font-size: 1.0em;
}
#main p.code {
	margin: 0 5px 10px 10px;
	padding: 5px;
	font-family: "Courier New", Courier, mono;
	font-size: 0.8em;
	border: 1px solid #000000;
	background-color: #efefef;
	color: #000000;
	overflow: auto;
	white-space: pre;
}
* html #main p.code { overflow: scroll; width: 90%; }
#main p.more {
	font-size: 0.8em;
	font-style: italic;
}
#main h4 {
	margin: 0 0 0 30px;
	padding: 0;
	font-size: 0.9em;
	font-weight: bold;
	border-bottom: 1px dashed #dfdfdf;
}
#main div.comments {
	margin: 10px 10px 10px 30px;
	font-size: 0.8em;
	width: 575px;
	background-color: #fafaff;
}
#main div.comments h3 {
	font-size: 1.1em;
	font-weight: normal;
	border-bottom: 1px solid #ccccff;
	margin: 0 0 2px 0;
}
#main div.comments h3 span {
	font-size: 0.7em;
	font-weight: normal;
	margin: 0 0 0 5px;
}
#main div.comments p {
	margin: 0 0 15px 0;
}
#main div.comments input { margin: 1px 1px 0 4px; }
#main div.comments textarea { margin: 1px 1px 0 4px; }

#main table {
	font-size: 1.0em;
	border-collapse: collapse;
	text-align: center;
}
#main table caption {
	font-weight: bold;
	background-color: #6683e2;
	color: #fff;
	padding: 4px;
	margin: 0;
	border-bottom: 1px solid #000;
}
#main table tr td {
	background-color: #e0e0ff;
	color: #000;

	padding: 2px;
	font-size: 0.9em;
}
#main table tr.title td {
	background-color: #eaeaff;
	color: #000;
	padding: 2px 10px 2px 10px;
	border-bottom: 1px solid #888;
}

div.portfolio {
	font-size: 14px;
	min-height: 175px;
}
* html div.portfolio { height: 175px; }
div.portfolio div.pic {
	float: left;
	border: 1px solid #0000dd;
	margin-right: 10px;
}
div.portfolio div.pic img {
	border: 0;
}
div.portfolio h1 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: bold;
}
div.portfolio p {
	font-size: 14px;
	font-weight: normal;
	margin: 10px 0 0 0;
	padding: 0;
}

p.code {
	text-indent: 0;
	margin: 5px 5px 10px 10px;
	padding: 5px;
	font-family: "Courier New", Courier, mono;
	font-size: 10pt;
	border: 1px solid #000000;
	background-color: #efefef;
	color: #000000;
	overflow: auto;
	white-space: pre;
}
* html p.code { overflow: scroll; width: 90%; }
div.article em {
	font-style: normal;
	color: #000099;
}

p.sign {
	text-align: right;
	border-right: 10px solid #000000;
	border-left: 1px solid #000000;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	padding: 3px 10px 3px 3px;
	margin: 20px 0 0 0;
	background-color: #6285f8;
	color: #ffffff;
}

/* users */

div.loginbox {
	margin: 20px;
	padding: 5px;
	font-size: 12px;
	width: 250px;
	background-color: #ddeeff;
	color: #000000;
	border: 1px solid #000000;
}
div.loginbox div.tleft {
	width: 50px;
}
div.loginbox input {
	margin: 1px;
}
div.loginbox input.button {
	border: 1px solid #000000;
	background-color: #ffffff;
	color: #000000;
	font-size: 14px;
}

div.panelhead {
	margin-left: 20px;
	font-size: 10px;
	padding: 2px;
	background-color: #6683e2;
	color: #ffffff;
	border-left: 1px solid #000000;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
}
div.panelhead a:link { color: #eaeaff; }
div.panelhead a:active { color: #eaeaff; }
div.panelhead a:visited { color: #eaeaff; }
div.panelhead a:hover { color: #eaeaff; text-decoration: underline; }

div.adusers {
	margin-left: 20px;
	font-size: 12px;
	margin-bottom: 10px;
}

div.tleft {
	float: left;
	width: 150px;
	text-align: right;
	margin-right: 10px;
}
div.tright { }

.centered { text-align: center; }
.righted { text-align: right; }
.lefted { text-align: left; }
.underline { text-decoration: underline; }
.bold { font-weight: bold; }
img { border: 0; }
form { margin: 0; padding: 0; }
