/* Japan Trains Page
---------------------------------------------------------------------------- */

* {
	padding: 0;
	margin: 0;
}

body {
	width: 100%;
	background: #fff;
	font-size: small;
	font-family: Verdana, sans-serif;
	border-top: 0.5em solid #666;
}

#container {
	
}
a img {
	border: 0;
}
.clear {
	clear: both;
}

/* Header
---------------------------------------------------------------------------- */

#header {
	font-size: 95%;
	text-align: left;
	background: #333;
}
#header div {
	position: relative;
}
#header h1 {
	font-family: Georgia, Times;
	font-weight: normal;
	font-size: 250%;
	font-style: italic;
	letter-spacing: 1px;
	color: #eee;
	padding: 15px 0 10px 10px;
}


/* Content
---------------------------------------------------------------------------- */

#content {
	float: left;
	width: 510px;
	margin: 0 0 0 40px;
}
#content h2 {
	margin: 20px 0 5px 0;
	padding: 0;
	font-family: Verdana;
	font-size: 130%;
	font-weight: normal;
	color: #902;
}
#content a:link, #content a:visited {
	color: #333;
}
#content a:hover, #content a:active {
	color: #902;
}


/* Sidebar
---------------------------------------------------------------------------- */

#sidebar {
	float: left;
	width: 200px;
	margin: 0 0 20px 0;
	padding: 1px;
	width: 14em;
	color: gray; 
}
#sidebar p {	
	margin: 3px 0 15px 0;
	padding: 0;
	font-size: 90%;
	line-height: 1.4em;
}
#sidebar h4 {
	margin: 10px 0 0 0;
	padding: 7px 0 18px 0;
	font-family: Verdana;
	font-size: 100%;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: normal;
	text-align: center;
	color: #663;
	border-top: 1px solid #E0D0B1;
	background: url() no-repeat 50% 100%;
}
#sidebar ul {
	margin: 15px 0 0 0;
}
#sidebar li {
list-style: none;
margin: 0px;
border-bottom: 1px #aaa solid;
text-align: left;
}
#sidebar li a {
	color: #000;
	display: block;
	padding: 0.7em 0.5em 0.7em 0.9em;
	text-decoration: none;
	font-weight:bold;
}
#sidebar li a:hover {
	color: #fffbe5;
	background: #333;
}
li.last {
	border-bottom: none;
}
.listtext {
	padding: 0.7em 0.5em 0.7em 0.9em;
}
/* Google Map
---------------------------------------------------------------------------- */

#map {
	float: left;
	margin: 10px 0;
	border: 1px solid black;
}

/* Footer
---------------------------------------------------------------------------- */

#footer {
	clear: both;
}

/* Panoramio
---------------------------------------------------------------------------- */

#panoramio {
}

#panoramio span {
	font-size: x-small;
}
#panoramio .copyright {
	font-size: x-small;
	color: #ccc;
	margin-top: 0px;
}
#panoramio .pic_container {
	float: left;
	width: 550px;
}
#panoramio .wide_pic {
	float: left;
	padding: 3px 5px;
	width: 250px;
	height: 250px;
}

#panoramio .tall_pic {
	float: left;
	padding: 3px 5px;
	width: 250px;
	height: 300px;
}

/* Pagination
---------------------------------------------------------------------------- */

td, th {
	text-align: left;
	padding: 5px 0 0 0;
}
table {
	width: 700px;
	margin: 10px 0 10px 0;
}
#pagination  span#counter {
	margin-left: 10px;
}

/* Navigation Bar
---------------------------------------------------------------------------- */
#navcontainer {
	width: 100%;
	margin: 0px 0px 0px 0px; 
	border-bottom: 1px solid #000;		
	padding: 0px 0px 6px 0px; 
	font-family: helvetica, arial, sans-serif;
	text-align: right;
}

#navcontainer p	{
	padding: 7px 7px 0px 0px;
	font-family: helvetica, arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

/* to stretch the container div to contain floated list */ 
#navcontainer:after {
	content: "."; 
	display: block; 
	line-height: 1px; 
	font-size: 1px;
	color: transparent; 
	clear: both; 
} 


ul#navlist {
	list-style: none; 
	padding: 0; 
	margin: 0px; 
	background-color: #000;
	font-size: 12px;
}

ul#navlist li {
	text-align: left;
	float: left; 
	height: 25px; 
	margin: 0px 0px 0px 0px; 
	border-left: 1px solid #CCC;
	padding: 0; 
	background-color: #000;
}

ul#navlist li { width: 105px; voice-family: "\"}\""; voice-family:inherit; width: 104px;} 
html>body ul#navlist li { width: 104px; } 

ul#navlist li a {
	display: block; 
	padding: 7px 5px 5px 7px; 
	color: #CCC; 
	font-size: 11px;
	text-decoration: none;
	height: 1%;
	text-shadow: 0 0 0 #000;
}

#navcontainer>ul#navlist li a { width: auto; height: auto; } 

ul#navlist li#active a {
	background: #f0e7d7; 
	color: #C30; 
}

ul#navlist li a:hover,
ul#navlist li#active a:hover {
	color: #FFF;
	background-color: #333;
}

ul#navlist li.home	{
	border-left: none;
}

ul#navlist li#empty	{
	width: 210px;
}

ul#navlist li#short	{
		width: 454px;
}

