body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #4b4a4a;
	background-color: #292929;
	background-image: url(images/tausta.png);
	background-repeat: repeat-x;
	overflow-y:scroll;
	overflow-x:auto;
	margin-top:0px;
	margin-bottom:0px;
}

a:link {
	color: #4b4a4a;
	text-decoration: underline;
}
a:visited {
	text-decoration: underline;
	color: #4b4a4a;
}
a:hover {
	text-decoration: none;
	color: #4b4a4a;
}
a:active {
	text-decoration: underline;
	color: #4b4a4a;
}

h1 {
	font-size:14px;
	color:#771314;
	font-family:Georgia, "Times New Roman", Times, serif;
}

#keskitys {
	position:absolute;
	float:left;
	width:952px;
	height:auto;
	left:50%;
	margin-left:-476px;
}

#header {
	display:block;
	float:left;
	width:952px;
	height:148px;
}

#menu {
	display:block;
	float:left;
	width:952px;
	height:29px;
}

#menu img {
	border:none;
}

#pohja {
	display:block;
	float:left;
	width:952px;
	height:auto;
	background-image:url(images/pohja.png);
}

#vasen {
	display:block;
	float:left;
	width:8px;
	height:auto;
}

#sivumenu {
	display:block;
	float:left;
	padding-top:45px;
	padding-left:27px;
	width:155px;
	height:auto;
	font-size: 11px;
	line-height: 16px;
}

#sivumenu img {
	border:none;
}

#tekstialue {
	display:block;
	float:left;
	padding-top:40px;
	padding-left:62px;
	width:635px;
	height:auto;
}
#tekstialue img {
	border: 1px solid #989490;
	padding: 6px;
	margin-right:10px;
}


.pieni {
	font-size:11px;
}

#kuvadivi img {
	border: 1px solid #989490;
	padding: 6px;
	margin-right:30px;
}

.kuvadiv {
	display:block;
	float:left;
	width:300px;
	height:190px;
	padding-bottom:10px;
}

.tekstidiv {
	display:block;
	float:left;
	width:335px;
	height:190px;	
	paddign-left:300px;
	padding-top:30px;
	padding-bottom:10px;	
}

.sukutauludiv {
	display:block;
	float:left;
	width:635px;
	height:auto;
	padding-top:10px;
	padding-bottom:20px;
}

.sukutauludivPentu {
	width:635px;
	height:auto;
	padding-top:10px;
	padding-bottom:20px;
}

.taul {
	border-right:1px dashed #989490;
	border-bottom:1px dashed #989490;

}

.suku {
	font-size: 11px; 
	padding: 3px;
	background-color:#e9e8e8;
	text-align:center;
	border-top:1px dashed #989490;
	border-left:1px dashed #989490;
}

#oikea {
	display:block;
	float:left;
	padding-left:58px;	
	width:7px;
	height:auto;
}

#footer {
	display:block;
	float:left;
	height:50px;
	background-color:#212121;
}

/* Lightbox alkaa */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#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-image: url(data:image/gif;base64,AAAA); /* 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/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/lightbox/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; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
