@charset "utf-8";

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

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

body {
	background: white;
	margin: 0px;
	padding: 0px;
}

table {
	margin: 0;
	padding: 0;
	border-spacing: 0px;
	empty-cells: show;
}

#page {
	width: 100%;
}

#iconbox, #titlebox {
	margin: 0;
	border-bottom: 1px solid;
	border-color: #9098a0;
	background: #f0f2f4;
}

#iconbox {
	padding: 20px 20px 10px 30px;
}

#titlebox {
	padding: 20px 50px 10px 50px;
}

#navigationbox {
	margin: 0;
	padding: 40px 20px 20px 20px;
	vertical-align: top;
}

#contentbox {
	margin: 0;
	padding: 20px 50px 30px 50px;
	vertical-align: top;
}

#emptybox, #copyrightbox {
	margin: 0;
	border-top: 1px solid;
	border-color: #9098a0;
	padding: 5px 50px 5px 50px;
	background: #f0f2f4;
}


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

h1, h2, h3, h4, h5, h6 {
	font-family: Verdana, Arial, sans-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 Kaku Gothic Pro", "MS PGothic", Verdana, Arial, sans-serif;
}

h1 {
	font-size: 3em;
	line-height: 1em;
	margin: 0px 0px 10px 0px;
}

h2 {
	font-size: 1.8em;
	line-height:1.5em;
}

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

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

h4 {
	font-size: 1em;
}

h5 {
	font-size: 0.8em;
	margin: 0;
	padding: 0;
}

h6 {
	font-size: 0.2em;
}

/********** icon box **********/

#icon {
	width: 135px;
	height: 75px;
	text-align: center;
	margin: 0px 10px 0px 10px;
}

#icon img {
	max-width: 135px;
	max-height: 75px;
}

/********** title box **********/

#date {
	display: none;
}

/********** navigation box **********/

#calendar th, #calendar td, #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", "SimSun", 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;
}

#navigation a:hover {
	background: #8088ff;
}

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

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

#calendar table, #toc ul, #externallinks ul {
	border-width: 1px;
	background: #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;
}

#calendar table {
	width: 100%;
}

#calendar th.month {
	margin: 0px;
	padding: 1px;
	background: #b0b4ff;
	font-weight: normal;
	text-align: center;
}

#calendar td {
	border-width:  1px 0px 0px 1px;
	padding: 0px;
	margin: 0px;
}

#calendar td.first {
	border-width: 1px 0px 0px 0px;
}

#calendar span.weekday {
	background: #d0d4d8;
	color: black;
}

#calendar span {
	display: block;
	text-align: center;
	margin: 0;
	padding: 0.2em;
	line-height: 1em;
	color: #d0d4d8;
}

#calendar span.thispage {
	background: #b0b4ff;
	color: black;
}

#calendar a.day {
	display: block;
	text-align: center;
	padding: 0.2em;
	line-height: 1em;
}

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

#toc, #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: #b0b4ff;
}

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


/********** content box **********/

#content a:hover, #content img.logo:hover {
	background: #8088ff;
}

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

#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;
}

#content a {
	color: inherit;
	text-decoration: underline;
}

#content a.undecoratedlink {
	text-decoration: none;
}

div.entry {
	border-top: 1px dotted gray;
	margin-top: 1em;
	padding-top: 1em;
}

div.entry:first-child {
	border-top: none;
	margin-top: 0em;
	padding-top: 0em;
}

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;
}

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

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

th {
	text-align: left;
}


/********** copyright box **********/

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

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

#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: Verdana, Arial, sans-serif;
	font-size: 1em;
	line-height: 1.2em;
	margin-bottom: 1em;
}

