/* general */

body {
	background: #CCCCCC url(../kuvat/background.gif);
	font-family: "Georgia", "Serif", "Sans-serif", "Arial";  
	color: #080808;
	font-size: 9pt;
	line-height: 18pt;
	margin: auto 0 auto; 
	}
	
li {
	list-style-type: none;
} 

ul {	
	padding-left: 0px;
	margin-left: 0px;
}
	
/* header */

#headerwrap {
	margin: 0 auto;
	background: #F2F1EC url(../kuvat/header_background.jpg) repeat-x;
	height: 300px;
	width: 1000px;
}

#bannercontainer {
	background: url(../kuvat/banner.jpg) right no-repeat;
	float: left;
	padding-left: 75px;
	height: 275px;
	width: 225px;
}

	#bannercontainer h1 { 
		width: 100%; 
		margin: 0 auto; 
		height: 275px; 
		}

	#bannercontainer h1 a { 
		height: 275px; 
		display: block; 
		width: 100%; 
		}

#headercontainer {
	background: #FDFCF8 url(../kuvat/header.jpg);
	float: left;
	height: 175px;
	width: 625px;
	float: left;
}

/* nav controls */

#navcontainerfirst {
	background: url(../kuvat/navcontainerfirst_background.jpg) no-repeat;
	float: left;
	padding: 8px 12px 0px 12px;
	margin: 0px 0px 0px 40px;
	width: 236px;
	height: 92px;
}

.navbuttonnumbers {
	float: left;
	clear: right; 
	padding: 0px;
	height: 24px;
	width: 52px;
	text-align: center;
}

	.navbuttonnumbers h1 { 
		width: 52px; 
		height: 24px; 
		font-weight: normal;
		margin: 0px;
}

	.navbuttonnumbers h1:hover {
		background: url(../kuvat/header_button_numbers_hover.jpg) no-repeat;
}

	.navbuttonnumbers h1 a { 
		width: 52px; 
		height: 24px; 
		display: block; 
		font-size: 9pt;
		color: #85827B; 
		text-decoration: none;
}

	.navbuttonnumbers h1 a:hover {
		color: #F2F1EC; 
		background: url(../kuvat/header_button_numbers_hover.jpg) no-repeat;
}

#navcontainer {
	float: left;
	width: 340px;
}
		
.navbutton {
	float: left;
	background: url(../kuvat/header_button.jpg) no-repeat;
	padding-right: 4px;
	height: 31px;
	width: 100px;
	text-align: center;
}

	.navbutton h1 { 
		width: 100px; 
		height: 31px; 
		font-weight: normal;
		margin-top: 0px;
		padding-top: 0px;
		
}

	.navbutton h1:hover {
		background: url(../kuvat/header_button_hover.jpg) no-repeat;
}

	.navbutton h1 a { 
		width: 100px; 
		height: 31px; 
		display: block; 
		font-size: 12pt;
		color: #85827B; 
		text-decoration: none;
		line-height: 30px;
}

	.navbutton h1 a:hover {
		color: #080808; 
		background: url(../kuvat/header_button_hover.jpg) no-repeat;
}
	
/* main */

#mainwrap {
	overflow: auto;
	background-color: #F2F1EC;
	margin: 0 auto;
	width: 1000px;
	padding-top: 7px;
	text-align: justify; 
	text-justify: auto;
}

#mainwrap a {
		font-size: 9pt;
		line-height: 14pt;
		color: #1D1D1D;  
		padding: 3px; 
		background: #EBE8E3;
		text-decoration: none;
}

#mainwrap a:hover { 
		color: #F2F1EC;  
		padding: 3px; 
		background: #080808;
		}

#mainleft {
	background: #F2F1EC;
	overflow: auto;
	float: left;
	margin: 0 auto;
	width: 449px;
	padding: 0px 20px 30px 30px;
}

#mainright {
	overflow: auto;
	background: #F2F1EC;
	float: left; 
	margin: 0 auto;
	width: 471px;
	padding: 0px 30px 0px 0px;	
}

#borderwrap {
	border-left: 3px double #080808;
	padding: 0px 0px 30px 20px;
}

.imageinfo {
	color: #585858;
	text-align: right;
	padding: 10px 0px 20px 0px;
}

#text:first-letter {
	overflow: auto;
	float: left;
	display: block;
	font-family: "Georgia", "Serif", "Sans-serif", "Arial"; 
	color: #080808;
	font-size: 20pt;
	border: 3px double #080808;
	padding: 5px;
	margin-top: 7px;
	margin-right: 5px;
	}

#mainwrap h1 {
	font-family: "Georgia", "Serif", "Sans-serif", "Arial";
	font-size: 16pt;
	font-weight: lighter;
	border-bottom: 1px solid #080808;
}

#mainright h1 {
	margin-left: 24px;
}

#mainwrap h2 {
	font-size: 12pt;
	text-transform: uppercase;
	margin-top: 0px;
}
	
/* footer */

#footerwrap {
	clear: both;
	background: #080808;
	margin: 0 auto;
	height: 470px;
	width: 1000px;
	color: #F2F1EC;
	font-size: 8pt;
	line-height: 11pt;
}

#footerwrap a, footerwrap a:link, footerwrap a:visited { 
		font-size: 9pt;
		line-height: 14pt;
		color: #BDBBB6; 
		padding: 3px;  
		text-decoration: none; 
		}
		
#footerwrap a:hover { 
		color: #1D1D1D;  
		padding: 3px; 
		background: #EBE8E3;
		}
		
#footerwrap h1 {
	font-size: 10pt;
	font-style: italic;
}

.footercontainerfirst {
	float: left;
	width: 440px;
	padding: 30px;
	height: 250px;
	}

.footercontainer {
	float: left;
	width: 210px;
	padding: 30px;
	padding-right: 10px;
	height: 250px;
	}
	
/* lightbox */

#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;
	}
