/*
 * common style
 * for ie6, see ie6.css also.
 * not support ie5.5 anymore.
 */

/* css reset */

body,
h1, h2, h3, h4, h5, h6,
ol, ul, li, dl, dt, dd,
table, caption, th, td,
address, blockquote, p, pre {
	font-size: 100%;
	font-style: normal;
	font-weight: normal;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

/* global elements */

body {
	color: #222;
	font-family: corbel, verdana, sans-serif; /* vista, win/mac, generic */
	font-size: 90%;
}

#contents {
	position: absolute;
	top: 0;
	width: 100%;
}

/* block elements */

h1 {
	border-bottom: 3px double #ccc;
	border-top: 3px double #ccc;
	font-family: cambria, georgia, serif; /* vista, win/mac, generic */
	font-size: 120%;
	font-weight: bold;
	line-height: 2.5em;
	text-align: center;
	text-shadow: 2px 2px 2px #aaa;
}

h2 {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	font-size: 160%;
	line-height: 2;
}

h3 {
	border-left: 8px solid #952525;
	font-weight: normal;
	color: #444;
	padding-left: 5px;
}

h4 {
	margin-top: 1.3em;
}


h4:after {
	content: "】";
	margin-left: 0.2em;
}

h4:before {
	content: "【";
	margin-right: 0.2em;
}

p,
pre,
dl {
	margin-top: 1.3em;
}

h4+p {
	margin-top: 0;
}

pre {
	border: 1px solid #999;
	clear: both;
	overflow: auto;
	padding: 0.5em;
}

table {
	border: 1px solid #999;
	border-collapse: collapse;
	width: 100%;
}

caption {
	color: #666;
	text-align: left;
	margin-bottom: 0.25em;
}

th, td {
	border: 1px solid #aaa;
	padding: 0.25em;
}

th {
	background-color: #ddd;
}

li {
	margin-left: 1.75em;
}

dt {
	display: list-item;
	margin-left: 1em;
}

dd {
	margin-left: 1em;
	margin-top: -0.25em;
}

dd pre {
	border-style: none;
	margin-top: 0;
	padding: 0;
}

/* navigation block */

#global-nav,
#global-header {
	position: fixed;
	left: 20px;
}

#global-nav {
	font-size: 80%;
	height: 1.5em;
	overflow: hidden;
	top: 0.5em;
	width: 222px;
}

#global-nav ul,
#global-nav li {
	line-height: 1;
}

#global-nav ul {
	margin-left: -1em;
}

#global-nav li {
	display: inline;
	list-style-type: none;
	margin-left: 1em;
}

#global-header {
	top: 1.8em;
	width: 222px;
}

#update-date {
	font-size: 80%;
	text-align: center;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

#contents-table {
	border: 1px solid #ccc;
	font-size: 80%;
	padding: 10px 10px 10px 0;
}

#contents-table ol {
	margin-left: 15px;
}

/* main block */

.article {
	margin-bottom: 1.5em;
}

.section {
	padding-top: 1.8em;
}

.section ul {
	margin-top: 1.3em;
}

.article > .section {
	margin-left: 270px;
	margin-right: 20px;
}

.table-wrapper {
	margin-top: 1.3em;
}

.figure dl {
	float: right;
	margin-left: 0.5em;
}

.figure dt {
	display: block;
}

.figure dd {
	color: #555;
	font-size: 80%;
	text-align: center;
	margin-left: 0;
}

.aside {
	background-color: #eee;
	border: 1px solid #999;
	clear: both;
	padding: 1em;
}

.aside pre,
.aside table {
	background-color: #fff;
}

/* main block - minor elements */

#about img {
	float: left;
	margin-right: 0.5em;
}

dl.address,
dl.config,
dl.command {
	border: 1px solid #999;
	padding: 0.5em;
}

.caution {
	background-color: #ffd;
	border: 1px solid #ccc;
	padding: 0.5em;
}

.legend {
	margin-left: 1em;
	margin-top: 0.5em;
}

.legend dt, .legend dd {
	display: inline;
	font-size: 90%;
	margin-left: 0;
}

.legend dt:after {
	content: "：";
}

.legend dd {
	margin-right: 1em;
}

td.disk,
td.level {
	text-align: center;
}

.toTop {
	clear: both;
	font-size: 80%;
	margin-top: 1.8em;
	text-align: right;
}

/* footer block */

.footer {
	border-top: 1px solid #ccc;
	font-size: 80%;
	padding: 5px 0;
	margin-left: 270px;
	margin-right: 20px;
}

/* inline elements */

code {
	font-family: consolas, "courier new", courier, monospace; /* vista, win, mac, generic */
}

p code {
	color: #050;
	margin: 0 0.25em;
}

/* inline elements - anchor  */

a {
	border-bottom: 1px dashed #aaa;
	text-decoration: none;
}

a:hover {
	border-bottom-color: #c00;
	color: #c00;
}

.figure a,
#qbBox a {
	border-bottom-style: none;
}

p a {
	margin: 0 0.25em;
}

/* google search */

#google {
	border: 1px dashed #ccc;
	font-size: 80%;
	margin-top: 20px;
}

#google img {
	border-style: none;
	margin-left: 2px;
}

#google a {
	border-bottom-style: none;
}

#google-inner {
	padding: 0 10px 10px;
}

#textbox {
	margin: -2px 0 4px;
	width: 195px;
}

#submit {
	margin-top: 4px;
}

