/* Styles defined in the body remove any default margin or padding on the page.
 * Some browsers add margin, others add padding, so setting them both to zero means the page offset looks the same in all browsers.
 * The background rule sets the page background to white with the image of *** in the top left.
 * The background image also contains the main page heading in Finnish.
 * The text is set to a very dark gray, which is easier on the eyes than black.
 * The font-family applies to all text on the page, except where specifically overridden by other rules. */


body {
	margin: 0;
	padding: 0;
	color: #333;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	overflow-y:scroll;
	background-color: #EAE2D7;
}

/* All margins are removed from h1 and h2 tags, except for the bottom margin, which is set to 10px.
 * The main font-family is reset to Verdana, which looks better for titles, and the color is reset to a dark blue.
 */
 
h1, h2 {
    margin: 0 0 10px 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #036;
}

h2 {
    font-size: 150%;
}

/* Paragraphs have the left and top margins reduced to zero. The auto rule leaves the right margin untouched, 
 * while the bottom margin is set to 1em. The default font size is reduced, and the spacing between lines increased
 * for greater readability. */

p {
    margin: 0 auto 1em 0;
    padding: 0 20px;
    font-size: 85%;
    line-height: 1.4;
}

/* Because the page heading "Japan Journey" is embedded in the background image, the page needs an HTML heading
 * that won't appear on screen. This makes the page more user-friendly to search engines and screen readers.
 * By setting the position as absolute with a top of minus 100px, the page heading is safely moved offscreen. */

header {
    position: absolute;
    top: 50px;
			padding:90px 0 45px;
}

/* The wrapper div wraps the rest of the page content and adds a 90px top margin so that it clears the "KOPLAS tmi"
 * page title in the background image. */

/* span.a {
  display: inline; /* the default for span */
	/* font-size: 150%;
  padding: 5px;
  border: 2px solid rgb(139, 0, 7);  
} */

#wrapper {
	padding:70px 0 45px;
	background: #fff url(../kuvat/koplas_3_tausta.jpg) top left no-repeat;
	width:900px;
	margin:0 auto;
	position:relative;
	border-left: 1px solid #A4C8D8;
	border-right: 1px solid #A4C8D8;
	min-height:490px;
}




      a {
	display: block;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	letter-spacing: 1px;
	margin: 0px;
	color: white;
	border-top: 1px solid #ff3399;
}





div#menuPane {
	position: absolute;
	left: 5px;
	top: 71px;
	width: 175px; /*tämä värjää menu-laatikoiden reunat */
}
div.menu {
	display: block;
	font-size: 14px;
	margin: 0;
	padding: 0;
	border: 2px solid #080808; /* tämä värjää menulaatikoiden reunat */
}

div.menu a {
	font-weight: bold;
	text-decoration: none;
	text-align: left;
	letter-spacing: 1px;
	margin: 0px;
	color: white; /* linkkien tekstin väri */
	border-top: 1px solid #554499;
}

div.menu a:link{
	background: #111111;
}

div.menu a:visited{
	background: #7c7b7b; /* visited laatikon taustaväri */
}
div.menu a:hover{
	background: #555555; /* hover laatikon taustaväri */
	letter-spacing: 2px;
}

div.menu h4{ 
	padding: 2px;
	margin: 0px;
}

div#koplas{
	position: relative;
	left:485px;
	top:-45px;
	font-size: 330%;
	color:#29e739;
	font-family: Helvetica;
}




div#top{
	position: relative;
	left: 18px;
	top: -80px;
	width: 100px;
	height: 45px;
        color: #85a5d6;
	background-color: #dd1414;
}
 
div#top h1, h2, h3, h4{
	background-color: #111111;
        color: #aaaaaa;
	text-align: left;
	letter-spacing: -1px;
	color: #5566dd;
	padding: 2px;
	border-top: 0px solid black;
}

div#top a:link{
	background: #442266;
	color: black;
 
}

div#top a:visited{
	background: #6688aa;
	color: cyan;
 
}

div#top a:hover{
	background: #88aacc;
	color: black;
	letter-spacing: 1px;
}


div#content{
	position: absolute;
	left: 185px;
	top: 70px;
	width: 78%;
	border: 2px double #7FC07F;
        color: #0c0c0b;
	background-color: #eaeee6;
	padding: 2px;
	margin-right: 5px;
}

div#content h1, h2, h3, h4{
	background-color: #d6e7c0;
        color: #aaaaaa;
	text-align: left;
	letter-spacing: -1px;
	color: #315e43;
	padding: 2px;
	border-bottom: 1px solid black;
}

div#content a:link{
	background: #111111;
	color: #1b1533;
	width: 80 px;
	letter-spacing: 1px;
}

div#content a:visited{
	background: #e7dfec;
	color: rgb(29, 29, 29);
	width: 80 px;
	letter-spacing: 1px;
}

div#content a:hover{
	background: #e7dfec;
	color: black;
	letter-spacing: 2px;
}



div#footer{
	position: absolute;
	left: 5px;
	top: 560px;
	width: 175px;
	height: 45px;
        color: #00ddaa;
	background-color: white;
}

div#footer p, h1, h2, h3, h4{
	background-color: #d6c9d0; /* tämä määrittää contentin otsikon taustan värin */
        color: #f01010;
	text-align: center;
	/*letter-spacing: -1px;*/
	color: #111111; /* tämä määrittää contentin otsikon tekstin värin */
	padding: 2px;
	border-top: 0px solid black;
}	