a:link
{
	color: #FF4500;
	text-align: justify;
	text-decoration: none;
}

a:visited
{
	color: #A52A2A;
	text-decoration: none;
}

a:hover
{
	color: white;
	text-align: justify;
	text-decoration: underline;
}

a:active
{
	color: white;
	text-align: justify;
}

html
{
	border: none;
	padding: 0px;
	margin: 0px;
}

body
{
	/*background: url(Kuvat/kompassi_21_pieni.gif) top right no-repeat;*/
	background-color: #D7D7D7;
	margin: 0px auto 0px auto;
	padding: 0px;
	text-align: center;
	font: 11px/1.5 Verdana;
}


/* ie hack: */
     .iehackwrap { text-align: center;  }
     .boxwrap    { text-align: justify;  width: 800px; margin-left: auto; margin-right: auto;}

.ylinvasen
	{
	position: absolute;
	top: 2px;
	width: 600px;
	height: 25px;
	padding-left: 70px;
	}

.ylinoikea
	{
	position: absolute;
	top: 2px;
	left: 570px;
	width: 400px;
	height: 25px;
	text-align: right;
	}

/* Kehys, jossa oli logo, mutta se siirretään yhteen keskikehyksen kanssa
.logo
	{
	position: absolute;
	top: 27px;
	width: 800px;
	height: 300px;
	}*/

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.suckertreemenu ul{
position: relative;
top: -145px;
}

.suckertreemenu ul ul{
margin: 0;
padding: 0;
list-style-type: none;
}


/*Top level list items*/
.suckertreemenu ul ul li{
position: relative;
display: inline;
float: left;
background-color: #D7D7D7; /*overall menu background color*/
}

/*Top level menu link items style*/
.suckertreemenu ul ul li a{
display: block;
width: 75px; /*Width of top level menu link items*/
padding: 1px 4px 1px 4px;
border: 1px solid gray;
border-left-width: 0;
text-decoration: none;
text-align: center;
color: #FF4500;
font: 10px/1.5 Verdana;
font-weight: bolder;
}


/*1st sub level menu*/
.suckertreemenu ul ul li ul{
left: 0;
position: absolute;
top: 1em; /* no need to change, as true value set by script */
display: block;
visibility: hidden;
}


/*Sub level menu list items (undo style from Top level List Items)*/
.suckertreemenu ul ul li ul li{
display: list-item;
float: none;
}

/* Sub level menu links style */
.suckertreemenu ul ul li ul li a{
display: block;
width: 160px; /*width of sub menu levels*/
color: #FF4500;
text-decoration: none;
padding: 1px 5px;
border: 1px solid #ccc;
}

/*All subsequent sub menu levels offset after 1st level sub menu */
.suckertreemenu ul ul li ul li ul {
left: 159px; /* no need to change, as true value set by script */
top: 0;
}

.suckertreemenu ul ul li a:hover{
background-color: #A9A9A9;
color: white;
}


/*Background image for top level menu list links */
/*.suckertreemenu .mainfoldericon{
background: #D7D7D7 url(media/arrow-down.gif) no-repeat center right;
}*/

/*Background image for subsequent level menu list links */
/*.suckertreemenu .subfoldericon{
background: #D7D7D7 url(media/arrow-right.gif) no-repeat center right;
}*/

* html p#iepara{ /*For a paragraph (if any) that immediately follows suckertree menu, add 1em top spacing between the two in IE*/
padding-top: 1em;
}

/* Holly Hack for IE \*/
html .suckertreemenu ul li { float: left; height: 1%; }
html .suckertreemenu ul li a { height: 1%; }
/* End */

.keski
	{
	position: absolute;
	top: 27px;
	width: 800px;
	height: 900px;
	}

.etusivu
	{
	float: left;
	top: 327px;
	width: 800px;
	height: 900px;
	}

.etusivu h2

	{
	text-align: left;
	font-family: verdana;
	font-size: 15px;
	margin: 50px 30px 0px 40px;
	}

.etusivu h3
	{
	text-align: left;
	font-family: verdana;
	font-weight: lighter;
	font-size: 15px;
	margin: 10px 30px 0px 40px;
	}

.etusivu h4
	{
	text-align: left;
	font-family: verdana;
	font-weight: lighter;
	font-size: 12px;
	margin: 20px 30px 0px 40px;
	}

.etusivu h5
	{
	text-align: left;
	font-family: verdana;
	font-weight: lighter;
	font-size: 10px;
	margin: 10px 30px 0px 40px;
	}

.etusivu p
	{
	text-align: left;
	font-family: verdana;
	font-size: 11px;
	margin: 10px 30px 0px 40px;
	}

.etusivu li
	{
	text-align: left;
	font-family: verdana;
	font-size: 12px;
	margin: 0px 30px 0px 60px;
	}

.etusivu ul
	{
	text-align: left;
	font-family: verdana;
	font-size: 12px;
	margin: 5px 30px 20px 50px;
	}

.keskioikea
	{
	background: url(Keskener_kuvia/keskioikea.jpg) top left no-repeat;
	position: relative;
	top: 327px;
	left: 520px;
	text-align: center;
	font-family: Verdana;
	font-weight: bold;
	color: black;
	width: 250px;
	height: 600px;
	margin-left: 20px;
	}

.keskioikea p
	{
	text-align: left;
	font-family: verdana;
	font-size: 11px;
	font-weight: normal;
	margin: 10px 30px 0px 40px;
	}

.keskioikea img
{
    border:0px;
}

.ala
	{
	position: absolute;
	top: 885px;
	font-size: 11px;
	text-align: center;
	color: black;
	width: 800px;
	height: 20px;
	}

.oikea
	{
	position: absolute;
	top: 200px;
	left: 500px;
	width: 400px;
	height: 500px;
	margin-left: 50px;
	text-align: center;
	}

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
float: left;
text-align: left;
margin-left: 10px;
height: 200px;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid #FF4500;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid white;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #A9A9A9;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 5px;
left: 350px; /*position where enlarged image should offset horizontally */
z-index: 50;
}