a:link {text-decoration: none; font-weight: bold; color: #ffffff;}
a:visited {text-decoration: none; font-weight: bold; color: #ffffff;}
a:active {text-decoration: none; font-weight: bold; color: #ffffff;}
a:hover {text-decoration: none; font-weight: bold; color: #999999;}

.testlink:link {background: #FFFFFF; font-weight: bold; text-decoration: none; color: #000000;}
.testlink:visited {background: #FFFFFF; font-weight: bold; text-decoration: none; color: #000000;}
.testlink:active {background: #FFFFFF; font-weight: bold; text-decoration: none; color: #000000;}
.testlink:hover {background: #FFFFFF; font-weight: bold; text-decoration: none; color: #999999;}

body {
font-family: verdana;
color: white; 
font-size: 10px;
margin: 0px;
background-image: url(../_taustakuvat/tausta2.jpg);
background-position: top center;
background-attachment: fixed; 
}

html {
overflow: scroll;
}

.taulukko {
font-family: verdana;
color: white; 
font-size: 10px ;
}

.navitaulukko {
padding-bottom: 10px;
padding-right: 40px;
}

H1 {
font-family: verdana;
color: white; 
font-size: 11px ;
font-weight: bold;
}

.previkka { 
border: 10px solid white; 
margin-top: 10px;
margin-bottom: 10px;
margin-left: 10px;
margin-right: 10px
}

.etuiso { 
border: 10px solid white; 
margin-bottom: 10px;
margin-left: 10px;
margin-right: 10px
}

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%	
	}

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}
	
	
/*

	Hannunsotkema
	
	Fiksaa ite mitat oikein
*/
	
#banneri {
	// Banneri, jossa linkit
	display:block;
	width:auto;
	height:100px;
	margin:25px;
	background:#FFF url(../_taustakuvat/banneritausta.gif) no-repeat;
	text-align:right;
	padding-right:5px;
}
#banneri a {
	/* Tekstit siirretään bannerin alalaitaan */
	/* inline-block on laatikko, jota juoksutetaan kuin tekstiä */
	display:inline-block;
	/* mutta IE on takaperoinen ja eikä nimensä mukaisesti tajua */
	*display:inline;
	padding-top:80px;
	/*  IE needs this */
	zoom:1;
}
#kuvaalue {
	display:block;
	width:756px;
	/* Nämä alla varmistavat, että alue on täsmälleen keskellä selain ikkunaa */
	margin-left:auto;
	margin-right:auto;
	border:10px solid #FFF;
	margin-bottom:25px;
	margin-top:25px;
	padding-bottom:35px;
	text-align:left;
}
#aihelinkki {
	/* inline-block on laatikko, jota juoksutetaan kuin tekstiä */
	display:inline-block;
	/* mutta IE on takaperoinen ja eikä nimensä mukaisesti tajua */
	*display:inline;
	width:186px;
	text-align:center;
	vertical-align:top;
	
	/*  IE needs this */
	zoom:1;
}
	
	
