a {
	color: #0B0B9E;
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active {
	text-decoration: underline;
}

blockquote {
	background-color: #DDD;
	padding:2mm;
	border: 1px dotted black;
}

body {
	background-color: white;
	font-family: sans-serif;
	padding-left: 3%;
	padding-right: 3%;
	text-align: justify;
}

pre {
	background:#DDD;
	padding: 2mm;
	border: 1px solid black;
}

p.code {
	background:#DDD;
	padding: 2mm;
	border: 1px solid black;
	font-family: monospace;
	white-space: pre-wrap;
}

header {
	text-align: center;
}

nav {
	text-align: center;
}

footer {
	text-align: center;
	font-size: smaller;
}

a.page_link {
	color: white;
	padding-left: 20px;
	padding-right: 5px;
}

a.page_link:link {
	text-decoration: none;
}

a.page_link:visited {
	text-decoration: none;
}

a.page_link:hover {
	text-decoration: underline;
}

img.license {
	border: 0px;
	max-height: 35px;
	max-width: 35px;
}

div.menu {
	background-color: #0C0CB9;
	color: white;
	letter-spacing: .1em;
	padding: 2px 2px 2px 2px;
}

.menu a {
	color: white;
}

.menu span {
	padding-left: 10px;
	padding-right: 10px;
}

div.tags_list {
	list-style-type: none;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: smaller;
	border: 2px #0C0CB9 solid;
	background-color: white;
	text-align: justify;
}

article h1.title {
	text-transform:uppercase;
	margin-bottom: 0px;
	color: black;
}

article .title a {
	color: black;
}

article h2.date {
	font-size: small; 
	color: grey; 
	margin-top: 0px;
	font-weight: normal;
}

img.logo {
	border: 0px;
	max-height: 150px;
	max-width: 300px;
}

table.history {
	margin-left: auto;
	margin-right: auto;
}

table.history h2 {
	text-align: center;
}

table.history h4 {
	text-align: center;
}

table.history ul {
	list-style-type: none;
}

/* Photo gallery. */

img.scaled, img.thumb {
	border: 0px;
}

p.scaled {
	text-align: center;
}

table.scaled {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

img.thumb {
	border: 0px;
}

table.collection {
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
	border: none;
}

.collection tr {
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
}

td.thumb_left {
	min-width: 200px;
	max-width: 200px;
	text-align: left;
}

td.thumb_right {
	min-width: 200px;
	max-width: 200px;
	text-align: right;
}

td.scaled_info {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 100%;
}

div.scaled_meta {
	font-size: smaller;
	color: #777;
}

.scaled_meta span {
	padding-left: 10px;
	padding-right; 10px;
}

div.thumbs {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 100%;
	border-spacing: 10px;
}

/* Bus schedules. */

table.bus { border-collapse: collapse; text-align: center; }
table.bus td, table.bus th {
	border: 1px dotted #666666;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 7px;
	padding-right: 7px;
}
table.bus td.stop { text-align: left; white-space: nowrap; }
table.bus td.terminus { text-align: center; }
table.bus td.holiday { color: red; }
table.bus td.holiday_a { background-color:#f08080; }
table.bus td.holiday_b { background-color:#00ffff; }
table.bus td.holiday_c { background-color:#ffa500; }
table.bus th.title { font-size: x-large; border: none; }
table.bus td.station_english, td.station_japanese { text-align: left; white-space: nowrap; }
table.bus td.url, table.bus td.date {
	border: none;
	font-size: smaller;
	padding: 0px;
}

/* Schools. */

table.school { border-collapse: collapse; }
table.school td , table.school th{ border: 1px solid black; padding: 2px; }
table.school td.date { white-space: nowrap; color: #4C4646; }
table.school td.meiji { text-align: center; background: #cccccc; vertical-align: top; }
table.school td.taisho { text-align: center; background: #b5b5ff; vertical-align: top; }
table.school td.showa { text-align: center; background: #ffc8ff; vertical-align: top; }
table.school td.heisei { text-align: center; background: #dcdcba; vertical-align: top; }

p.school_thumbs { text-align: center ; }
p.school_thumbs img { border: 0px; }

/* Recipes. */

ul.ingredients {
	font-weight: bold;
}

/* Flashcards. */

table.flashcards {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	border: 1px solid black;
	border-collapse: collapse;
}

table.flashcards td, table.flashcards th {
	border: 1px solid black;
	padding: 3px 3px 3px 3px;
}

img.flashcard {
	max-width: 200px;
	max-height: 200px;
}
