* {
padding:0;
margin:0;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, address { margin:1em 0; }
li, dd { margin-left:0%; }
select option{ padding:0 5px; }

.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
a img{ border:none; }
	
body {
background:#fff;
text-align:center;
margin:10px 0 0 0;
}

#container {
width:700px;
text-align:left;
background-color:#fff;
margin:0 auto;
}

#header1 {
height:200px;
margin-bottom:10px;
background-image:url(images/header.jpg);
background-position:center;
background-repeat:no-repeat;
background-color:#fff;
text-align:left;
}

#header2 {
border-top:10px #B4D255 solid;
border-bottom:1px #B4D255 dotted;
height:65px;
margin-bottom:10px;
text-align:left;
}

#logo {
width:150px;
background-color:#fff;
margin:0;
padding:0;
float:left;
}

#logo img{
border:0;
margin-top:10px;
padding:0;
}

#navcontainer {
margin-top:10px;
margin-bottom:10px;
background-color:#fff;
text-align:center;
clear:right;
padding:5px;
}

#content {
width:400px;
margin-left:15px;
float:left;
clear:right;
text-align:justify;
}

#content img {
border:1px #777 solid;
}

#content p {
margin-top:1em;
margin-bottom:0.2em;
color:#444;
font-family:Arial, Helvetica, sans-serif;
font-size:0.8em;
line-height:1.4em;
}

.korostus {
	font-weight:700;
}

#sidebar-a {
float:left;
width:230px;
height:350px;
background-color:#fff;
text-align:left;
margin:0 0 0 10px;
border-right:1px #B4D255 dotted;
}

#sidebar-a p {
text-align:left;
color:#444;
font-family:Arial, Helvetica, sans-serif;
font-size:0.75em;
line-height:1.4em;
padding-top:2px;
}

#sidebar-a img {
border:1px #777 solid;
}

#footer {
width:100%;
clear:both;
height:30px;
border-top:1px #B4D255 dotted;
border-bottom:10px #B4D255 solid;
margin-top:5px;
background-color:#fff;
}

#footer p {
text-align:left;
color:#777;
font-family:Arial, Helvetica, sans-serif;
font-size:0.7em;
line-height:1.4em;
margin:0.5em 2em 0 22.9em;
}

/* NAVIGOINTI */
ul#navlist {
margin-left:0;
padding-left:0;
white-space:nowrap;
font-family:Arial, Helvetica, sans-serif;
font-size:0.8em;
font-weight:700;
line-height:1.4em;
}

#navlist li {
display:inline;
list-style-type:none;
margin-right:1em;
}

#navlist a {
padding:0.6em 1.6em;
}

#navcontainer ul li a#current {
color:#fff;
background:green;
}

#navlist a:link,#navlist a:visited {
color:green;
text-decoration:none;
background:#fff;
}

#navlist a:hover {
color:#000;
text-decoration:none;
background:url(images/nav_hover.gif) top left repeat;
}

/* OTSIKOT */
h1 {
font-family:Arial, Helvetica, sans-serif;
font-size:1.3em;
font-weight:normal;
color:#777;
text-align:left;
}

h2 {
font-family:Arial, Helvetica, sans-serif;
font-size:1em;
font-weight:normal;
color:#777;
text-align:left;
}

h3 {
margin-bottom:1px;
font-family:Arial, Helvetica, sans-serif;
font-size:0.8em;
font-weight:700;
color:#777;
}

/* LINKIT */
a:link {
color:green;
text-decoration:none;
}

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

a:hover,a:active {
color:#000;
text-decoration:none;
}

/* LISTAT */
ul {
margin-top:5px;
padding:0;
}

.projektit li {
list-style-type:none;
color:#444;
font-family:Arial, Helvetica, sans-serif;
font-size:0.8em;
line-height:1.7em;
padding:0;
}

.projektit a:link,.projektit a:visited {
display:block;
color:green;
text-decoration:none;
background:#fff;
}

.projektit a:hover,.projektit a:active {
display:block;
color:#000;
text-decoration:none;
background:url(images/port_hover.gif) center right no-repeat;
}

#peruslista ul,#peruslista li {
list-style-type:none;
font-family:Arial, Helvetica, sans-serif;
font-size:0.8em;
line-height:1.6em;
margin:0;
padding:0;
}

#peruslista a:link,#peruslista a:visited {
color:green;
text-decoration:none;
}

#peruslista a:hover,#peruslista a:active {
color:#000;
text-decoration:none;
}

.clearing {
clear:both;
}

/* LOMAKE */
fieldset {
width:350px;
border:0;
}

#tiedot label {
line-height:1.6em;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:0.8em;
color:#444;
position:absolute;
padding: 4px 0 0 20px;
}

input {
width:200px;
margin-left:85px;
line-height:1.1em;
font-size:0.7em;
background-color: #fff;
border:1px #B4D255 solid;
padding: 3px 5px 3px 5px;
color: #000;
}

textarea {
margin-left:85px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:0.7em;
background-color: #fff;
height:165px;
width:200px; 
border: 1px #B4D255 solid;
padding: 2px 5px 2px 5px;
color: #000;	
}

#replacement-2 {
width: 75px;
height: 24px;
padding: 25px 0 0;
margin: 0 0 0 210px;
border: 0;
background: transparent url(images/submit.gif) no-repeat center top;
overflow: hidden;
cursor: pointer; /* for IE 5.x */
}
form>#replacement-2 { /* For non-IE browsers*/
height: 0px;
}

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

#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: 0em;
	}
#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.8em;
	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: 1.0em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}