@charset "utf-8";

/********** color scheme **********
	#9098a0 medium gray - borders
	#f0f2f4 light gray - background
	#d0d4d8 medium-light gray - special use, e.g., day of week
	#b0b0ff medium blue - current place
	#7070ff medium blue - hover
*/

/********** page layout **********/

body {
	margin: 0;
	padding: 0;
	width: 100%; /* use maximum space in window; avoid scrolling */
	min-width: 700px; /* users may have to scroll after zooming in */
}

#header {
	padding: 20px 20px 20px 20px;
	border-bottom: 1px solid;
	border-color: #9098a0;
	background-color: #b0b0ff;;
	background: -webkit-gradient(linear, left top, left bottom, from(#d0d0ff), to(#9090ff));
	background: -moz-linear-gradient(top,  #d0d0ff,  #9090ff);
}

#minitoc {
	display: none;
}

#body {
	padding: 50px 20px 20px 20px;
}

#navigation {
	display: inline-block;
	width: 25%;
	vertical-align: top;
}

#contentbox {
	display: inline-block;
	width: 74%; /* leave 1% for borders and rounding errors */
}

#content {
	vertical-align: top;
	margin-left: 50px;
}

#footer {
	border-top: 1px solid;
	border-color: #f0f2f4;
	padding: 5px 20px 5px 20px;
	background-color: #b0b0ff;
	background: -webkit-gradient(linear, left top, left bottom, from(#d0d0ff), to(#9090ff));
	background: -moz-linear-gradient(top,  #d0d0ff,  #9090ff);
}


/********** header styles **********/

#sitetitle {
	font-family: Verdana, Arial, sans-serif;
	font-weight: normal;
	color: black;
	font-size: 1.5em;
	line-height: 1em;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
	padding-left: 0.15em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Georgia", "New Times Roman", serif;
	font-weight: normal;
	color: black;
	clear: both;
}

h1:lang(ja), h2:lang(ja), h3:lang(ja), h4:lang(ja), h5:lang(ja), h6:lang(ja),
h1 :lang(ja), h2 :lang(ja), h3 :lang(ja), h4 :lang(ja), h5 :lang(ja), h6 :lang(ja) {
	font-family: "Hiragino Mincho Pro", "MS PMincho", "Georgia", "New Times Roman", serif;
}

h1:lang(ko), h2:lang(ko), h3:lang(ko), h4:lang(ko), h5:lang(ko), h6:lang(ko),
h1 :lang(ko), h2 :lang(ko), h3 :lang(ko), h4 :lang(ko), h5 :lang(ko), h6 :lang(ko) {
	font-family: "AppleMyungjo", "Batang", "Georgia", "New Times Roman", serif;
}

h1:lang(zh-Hans), h2:lang(zh-Hans), h3:lang(zh-Hans), h4:lang(zh-Hans), h5:lang(zh-Hans), h6:lang(zh-Hans),
h1 :lang(zh-Hans), h2 :lang(zh-Hans), h3 :lang(zh-Hans), h4 :lang(zh-Hans), h5 :lang(zh-Hans), h6 :lang(zh-Hans) {
	font-family: "STSong", "SimSun", "Georgia", "New Times Roman", serif;
}

h1:lang(zh-Hant), h2:lang(zh-Hant), h3:lang(zh-Hant), h4:lang(zh-Hant), h5:lang(zh-Hant), h6:lang(zh-Hant),
h1 :lang(zh-Hant), h2 :lang(zh-Hant), h3 :lang(zh-Hant), h4 :lang(zh-Hant), h5 :lang(zh-Hant), h6 :lang(zh-Hant) {
	font-family: "LiSong Pro", "MingLiu", "Georgia", "New Times Roman", serif;
}

h1 {
	font-size: 3em;
	line-height: 1em;
	margin-bottom: 0.5em
}

h2 {
	font-size: 1.8em;
	line-height: 1.5em;
	margin-bottom: 0.5em;
	margin-top: 1em;
}

h2:before {
	content: "";
	display: block;
	height: 1em;
}

h2:first-child:before {
	height: 0px;
}

h3 {
	font-size: 1.3em;
	margin: 1em 0;
}

h4 {
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
}

h5 {
	font-size: 0.8em;
	margin: 1em 0;
	padding: 0;
	color: #9098a0;
}

h6 {
	font-size: 0.2em;
}

/********** navigation **********/

#toc a, #toc span, #externallinks a, #externallinks span {
	font-family: Verdana, Arial, sans-serif;
	font-size: 0.8em;
}

#toc a:lang(ja), #toc span:lang(ja), #externallinks a:lang(ja), #externallinks span:lang(ja) {
	font-family: "Hiragino Kaku Gothic Pro", "MS PGothic", Verdana, Arial, sans-serif;
}

#toc a:lang(ko), #toc span:lang(ko), #externallinks a:lang(ko), #externallinks span:lang(ko) {
	font-family: "AppleGothic", "MS PGothic", Verdana, Arial, sans-serif;
}

#toc a:lang(zh-Hans), #toc span:lang(zh-Hans), #externallinks a:lang(zh-Hans), #externallinks span:lang(zh-Hans) {
	font-family: "STHeiti", "SimHei", Verdana, Arial, sans-serif;
}

#toc a:lang(zh-Hant), #toc span:lang(zh-Hant), #externallinks a:lang(zh-Hant), #externallinks span:lang(zh-Hant) {
	font-family: "LiHei Pro", "MingLiu", Verdana, Arial, sans-serif;
}

#navigation a {
	color: black;
	text-decoration: none;
	-webkit-tap-highlight-color: #7070ff;
}

#navigation a.tocpage {
	background-color: #d0d4d8;
}	

#navigation a:hover {
	background-color: #7070ff;
	color: white;
}

#navigation table, #navigation ul {
	border-style: solid;
	border-color: #9098a0;
	background-color: #f0f2f4;
}

#navigation td, #navigation li {
	border-style: solid;
	border-color: #ffffff;
}

#toc ul, #externallinks ul {
	border-width: 1px;
	background-color: #f0f2f4;
	-webkit-box-shadow: 2px 2px 3px #c0c4c8;
	-moz-box-shadow: 2px 2px 3px #c0c4c8;
	box-shadow: 2px 2px 3px #c0c4c8;
}

#toc ul ul {
	border-color: #ffffff;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

/* workaround for Explorer 6.0/Windows: classes used for lists: l1 - level 1, l2 - level 2, suffix f - first item */

#externallinks {
	margin-top: 20px
}

#toc ul, #externallinks ul {
	width: 100%;
	margin: 0px;
	padding-left: 0px;
	line-height: 1.2em;
	list-style-type: none;
}

#toc li, #externallinks li {
	border-width: 1px 0px 0px 0px;
	margin: 0px;
	padding: 0px;
}

#toc li.l1f, #externallinks li.l1f {
	border-width: 0px;
}

#toc ul.l2 {
	width: auto;
	padding-left: 2em;
	border-width: 1px 0px 0px 0px;
}

#toc li.l2 {
	border-width: 1px 0px 0px 1px;
}

#toc li.l2f {
	border-width: 0px 0px 0px 1px;
}

#toc a, #externallinks a {
	display: block;
	margin: 0px;
	padding: 0.3em;
}

#toc span {
	display: block;
	margin: 0px;
	padding: 0.3em;
}

#toc span.thispage {
	background-color: #b0b0ff;
}

#toc img {
	width: 0.7em;
	height: 0.7em;
	padding-right: 3px;
	border: none;
}


/********** content **********/

#content a:hover, #content a>img.logo:hover {
	background-color: #7070ff;
	border-bottom: 1px solid #303030;
	color: white;
}

#content p, #content li, #content td, #content th {
	font-family: "Georgia", "New Times Roman", serif;
	font-size: 1em;
	line-height: 1.8em;
	color: #303030;
}

#content p:lang(ja), #content li:lang(ja), #content td:lang(ja),
#content p :lang(ja), #content li :lang(ja), #content td :lang(ja) {
	font-family: "Hiragino Mincho Pro", "MS PMincho", "Georgia", "New Times Roman", serif;
}

#content p:lang(ko), #content li:lang(ko), #content td:lang(ko),
#content p :lang(ko), #content li :lang(ko), #content td :lang(ko) {
	font-family: "AppleMyungjo", "Batang", "Georgia", "New Times Roman", serif;
}

#content p:lang(zh-Hans), #content li:lang(zh-Hans), #content td:lang(zh-Hans),
#content p :lang(zh-Hans), #content li :lang(zh-Hans), #content td :lang(zh-Hans) {
	font-family: "STSong", "SimSun", "Georgia", "New Times Roman", serif;
}

#content p:lang(zh-Hant), #content li:lang(zh-Hant), #content td:lang(zh-Hant),
#content p :lang(zh-Hant), #content li :lang(zh-Hant), #content td :lang(zh-Hant) {
	font-family: "LiSong Pro", "MingLiu", "Georgia", "New Times Roman", serif;
}

#content p {
	text-align: left;
	margin: 1em 0;
}

#content ul {
	padding-left: 3em;
}

#content li {
	list-style: disc outside;
}

#content a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dotted black;
	-webkit-tap-highlight-color: #7070ff;
}

#content a.undecoratedlink {
	border-bottom: none;
}

div.entry {
	margin-top: 2.3em;
}

#content p:first-child, #content div.entry:first-child {
	margin-top: 0em;
	padding-top: 0em;
}

div.entry h2 {
	margin-top: 0;
}

#contenttoc ul.l1 {
	padding-left: 0;
}

#contenttoc ul.l1>li {
	list-style: none;
	margin-top: 2em;
}

#contenttoc span.group, #contenttoc li.l1>a {
	font-size: 1.8em;
	line-height: 1.5em;
	margin-bottom: 0.5em;
}	

img.portleft, img.portright, img.landleft, img.landright,
img.portleftslr, img.portrightslr, img.landleftslr, img.landrightslr {
	padding: 5px;
	border: 1px solid #9098a0;
	-webkit-box-shadow: 3px 3px 3px #c0c4c8;
	-moz-box-shadow: 3px 3px 3px #c0c4c8;
	box-shadow: 3px 3px 3px #c0c4c8;
}

img.portleft {
	float: left;
	width: 240px;
	height: 320px;
	margin: 5px 20px 10px 0px;
}

img.portright {
	float: right;
	width: 240px;
	height: 320px;
	margin: 5px 10px 10px 20px;
}

img.landleft {
	float: left;
	width: 320px;
	height: 240px;
	margin: 5px 20px 10px 0px;
}

img.landright {
	float: right;
	width: 320px;
	height: 240px;
	margin: 5px 10px 10px 20px;
}

img.portleftslr {
	float: left;
	width: 240px;
	height: 360px;
	margin: 5px 20px 10px 0px;
}

img.portrightslr {
	float: right;
	width: 240px;
	height: 360px;
	margin: 5px 10px 10px 20px;
}

img.landleftslr {
	float: left;
	width: 360px;
	height: 240px;
	margin: 5px 20px 10px 0px;
}

img.landrightslr {
	float: right;
	width: 360px;
	height: 240px;
	margin: 5px 10px 10px 20px;
}

/* logos embedded in content of a few pages */
img.logo {
	float: left;
	padding: 5px;
	margin: 0px 5px 5px 0px;
	border: none;
}

img {
	max-width: 100%;
}

div.clear {
	clear: both;
	height: 0px;
	margin: 0px;
}

#content ul.pagetoc li {
	list-style: none;
	line-height: 1.5em;
}

#content code, #content pre {
	font-family: Verdana, "Courier New", sans-serif;
	font-size: 0.9em;
}

#content pre {
	color: #303030;
	line-height: 1.5em;
	margin: 1em 0;
	padding-left: 3em;
	white-space: pre-wrap;
}

#content code:lang(ja), #content pre :lang(ja) {
	font-family: "Hiragino Kaku Gothic Pro", "MS PGothic", Verdana, "Courier New", sans-serif;
	font-size: 1em;
}

#content code:lang(ko), #content pre :lang(ko) {
	font-family: "AppleGothic", "Gulim", Verdana, "Courier New", sans-serif;
	font-size: 1em;
}

#content code:lang(zh-Hans), #content pre :lang(zh-Hans) {
	font-family: "STHeiti", "SimHei", Verdana, "Courier New", sans-serif;
	font-size: 1em;
}

#content code:lang(zh-Hant), #content pre :lang(zh-Hant) {
	font-family: "LiHei Pro", "MingLiu", Verdana, "Courier New", sans-serif;
	font-size: 1em;
}

#content table {
	border-width: 1px;
	border-style: solid;
	border-color: #9098a0;
	border-collapse: collapse;
	margin: 1em 0;
	max-width: 100%;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
}

#content th, #content td {
	border-width: 1px;
	border-style: solid;
	border-color: #9098a0;
	padding: 3px;
	vertical-align: top;
	line-height: 1.4em;
}

#content th {
	background-color: #f0f2f4;
	font-weight: bold;
	text-align: left;
}

#content th span.help {
	float: right;
	width: 1.4em;
	margin-left: 0.5em;
	text-align: center;
	background-color: #d0d4d8;
	-webkit-border-radius: 1.4em;
	-moz-border-radius: 1.4em;
}

em {
	font-style: italic;
}

.capitals {
	font-variant: small-caps;
}



/********** copyright **********/

#legal {
	font-family: Verdana, Arial, sans-serif;
	font-size: 0.8em;
	line-height: 1.4em;
}

/********** contact form **********/

#contact table, #contact th, #contact td {
	border-style: none;
}

#contact tr {
	vertical-align: top;
}

#contact label {
	margin-right: 1em;
}

#contact input, #contact textarea {
	width: 100%;
}

#contact label, #contact button, #contact textarea, #contact input {
	font-family: "Georgia", "New Times Roman", serif;
	font-size: 1em;
	line-height: 1.2em;
	margin-bottom: 1em;
}


