/* basic style */
html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: Arial;
	font-size: 1em;
	line-height: 1.5;
}

button,
input,
iframe,
select,
textarea,
table {
	font-family: Arial;
	font-size: 1em;
	line-height: 1.5;
}

table,
table td {
	padding: 0;
	border-collapse: collapse;
	border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 { margin: 0; }
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h5 { font-size: 0.83em; }
h6 { font-size: 0.75em; }
p { margin: 1em 0; }

a:link { color: #00c; }
a:visited { color: #909; }
a:hover { color: #c00; }
a:active { color: #900; }

ol, ul, dl {
	margin: 1em 0;
	padding: 0 0 0 1.5em;
}
dl { padding: 0; }
dd { margin: 0 0 1em 1em; }


.clear {
	clear: both;
	display: block;
	height: 0;
	overflow: hidden;
}
/* basic style */

/* main layout style */
html,
body {
	background-color: #ccc;
	overflow: visible;
}

.w100 { width: 100%; }
.h100 { height: 100%; }

#root-container {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#root {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	zoom: 1;
}
#root .container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: auto;
	overflow-y: scroll;
}

#back-to-main {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #999;
}
#back-to-main div {
	width: 0;
	height: 0;
	overflow: hidden;
}

#sidebar {
	position: relative;
	float: right;
	height: 100%;
	background-color: #fff;
}
#sidebar .container {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
}

#nav-link {
	position: absolute;
	right: 100%;
	bottom: 0;
	z-index: 2;
}
#nav-link a {
	padding: 0.25em 0.125em;
	line-height: 1.15;
}

#container {
	position: relative;
	height: 100%;
	background-color: #ccc;
	overflow: hidden;
	zoom: 1;
}
#container .container {
	background-color: #ccc;
}

#header {
	overflow: hidden;
	zoom: 1;
}
#header h1 {
	margin: 0;
}

#main {
	position: relative;
	margin: 0 0.5em;
}

#footer {
	margin: 1.5em 0;
	overflow: hidden;
	zoom: 1;
}
/* main layout style */

/* additional layout style */
.webring a img {
	height: 1.25em;
	border: none;
	vertical-align: middle;
}

.window {
	padding: 1em;
}

#sidebar h1 {
	font-size: 1.75em;
}
#sidebar h3 {
	margin: 0.25em 0 0;
}
#sidebar ul {
	margin: 0 0 0.75em;
	padding: 0 0 0 1.5em;
	list-style: square;
	vertical-align: middle;
}
#sidebar li {
	vertical-align: middle;
}
#sidebar li a {
	display: block;
	padding: 0.25em;
}
#sidebar .webring li {
	clear: both;
}
#sidebar .webring li a {
	display: inline;
	padding: 0;
}
#sidebar #language {
	overflow: hidden;
	zoom: 1;
}
#sidebar #language div {
	width: 100%;
	overflow-x: scroll;
	white-space: nowrap;
}
#sidebar #language img {
	height: 1em;
	vertical-align: middle;
}

#header h1 {
	margin: 0.25em 0 0;
}
#header #el-img-1 div,
#header #el-img-1 span {
	cursor: pointer;
}

#location-bar {
	margin: 0.25em 0.25em 0;
	padding: 0.25em;
	background-color: #ccc;
	overflow: auto;
	zoom: 1;
}

#main h2 {
	clear: both;
	margin-top: 0.625em;
	padding: 0.25em 0;
}
#main h2 a {
	color: #000;
	text-decoration: none;
}
#main h2 a:hover {
	text-decoration: underline;
}
#main h3 {
	margin: 0.5em 0;
}
#main .dialog-border,
#main .fixed-border,
#main .window-border {
	margin: 0 0 0.5em;
}

#today img {
	height: 5em;
}
#today span {
	font-size: 2em;
	font-weight: bold;
}

html body .btn.to-top {
	clear: both;
	display: block;
}
html body .btn.to-top td {
	width: auto;
}
.btn.to-top .triangle-up,
.btn.to-top .triangle-bottom {
	float: left;
	margin: 0.5em 0.25em 0 0;
}
.btn.to-top .triangle-right,
.btn.to-top .triangle-left {
	float: left;
	margin: 0.375em 0.375em 0 0;
}

img.button {
	height: 2em;
}
/* additional layout style */

/* decorative style */
.t-center {
	text-align: center;
}
.t-thm {
	color: #33c;
}

.color-separator {
	margin: 1em 0;
	height: 0.25em;
	background-color: #cc6;
	overflow: hidden;
	zoom: 1;
}
.color-separator div {
	float: left;
	width: 25%;
	height: 100%;
	overflow: hidden;
	zoom: 1;
}

.bugEl {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	background-color: transparent;
}
/* decorative style */

/* sub page style */
.sub-page {
	overflow: visible;
}
.sub-page body {
	overflow: auto;
}

.sub-page h1, .sub-page h2 {
	margin: 0.25em 0;
}
.sub-page h2 {
	clear: both;
	margin-top: 0.5em;
}

.sub-page .btn.to-top {
	display: inline;
}
.sub-page .btn.to-top td {
	width: auto;
}

.sub-page .nav-link {
	float: left;
	margin-right: 1em;
}

.sub-page #location-bar {
	clear: both;
}

.sub-page #nav {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sub-page #nav li {
	float: left;
	margin-right: 1em;
}
.sub-page #nav li a {
	display: block;
	float: left;
}

.sub-page #content {
	margin: 0 auto;
}

.sub-page #main {
	clear: both;
	margin: 0 0 0.5em;
}
.sub-page #main h3 a {
	color: #000;
}

.sub-page #footer {
	margin-bottom: 0;
}
/* sub page style */