html, body {
	width: 100%;
	min-height: 100%;
	height: 100%;
	background-color: #ffffff;
	background-image: url('images/bg_grad.png');
	background-repeat: repeat-x;

	margin: 0px;
	padding: 0px;
	
	color: #333;
	text-shadow: 0px 1px 0px #f1f1f1;
	
}

div, a, ul, li, hr, img {
	margin: 0;
	padding: 0;
}


#bg_smoke {
	width:100%;
	height: 100%;
	background-image: url('images/bg_smoke.png');
	background-repeat: no-repeat;
	background-position: center top;
	
	
	
	
}

	
#wrapper {	
	position: absolute;
	left: 50%;
	top: 0;
	width: 950px;
	margin: 0 0 0 -475px; 
	
		
}
img {
	border: 0px;
}

hr {
	margin-top: 30px;
	margin-bottom: 30px;
	
	border: 0;
  	width: 100%;
	color: #ccc;
	background-color: rgba(0,0,0,0.3);
	height: 1px;
	box-shadow: 0px 1px 0px rgba(255,255,255,0.6);

}

h1 {
	color: #FFFFFF;
	display: none;
}
h2 {
	padding: 0px;
	margin-top: 20px;
	margin-bottom: 15px;
	color: #2F2F2F;
	font-size: 1.5em;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
h3 {
	padding: 0px;
	margin-bottom: 15px;
	margin-top: 20px;
	color: #2f2f2f;
	font-size:1.2em;
	font-family: Arial;
}
h4 {
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	color: #2f2f2f;
	font-size: 0.95em;
	font-family: Arial, Helvetica, sans-serif, Tahoma;
}

#container {
	width: 950px;
	min-height: 200px;
	margin: 0 auto;
	
	-moz-box-shadow: 0 0 30px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 0 30px rgba(0,0,0,0.4);
	box-shadow: 0 0 30px rgba(0,0,0,0.4);
	
	background-image: url('images/bg_metal.jpg');
	background-repeat: repeat-y;
	position: relative;	
}

#header {
	height: 160px;
	width: 950px;
	text-align: center;
	
}

#header img {
	margin-top: 20px;
	margin-bottom: 0px;
	
}

#tausta {
	padding: 0px;
	margin: 0px;
	height: 100%;
	width: 100%;
	background-image: url('images/trbg.png');
	background-repeat: no-repeat;

}


/* ------------------------NAVIGAATIO------------------------ */
#naviborder {
	width: 822px;
	margin-left: 60px;
	margin-right: 60px;
	border: 1px solid rgba(255,255,255,0.3);
	padding: 3px;
	position: relative;
	
	box-shadow: 0 0 10px rgba(0,0,0,0.6);
	
	height: 35px;
	
	clear: both;
	border-radius: 2px;
}

#navi {
	width: 100%;
	float: left;
	height: 25px;
	
	position:relative;
	overflow: hidden; /*TÄRKEÄ*/
	
	padding-top: 5px;
	padding-bottom: 5px;

	background-color: rgba(255,255,255,0.2);
	
	text-shadow: none;
	
	
	
}
#navi ul {
	text-align: center;
	list-style: none;
	clear: left;
	float: left;
	position:relative;
    left:50%;
}

#navi ul li {
	margin-left: 10px;
	margin-right: 10px;
	margin-top:-1px;
	
	float: left;
	line-height: 25px;
	display: block;
	
	list-style: none;
	position: relative;
	right:50%;
	
	border-radius: 2px;
	border: 1px solid rgba(255,255,255,0);

}

#navi ul li a {	
	display: block;
	
	height: 25px;
	padding-left: 24px; padding-right: 24px;
	margin-top: 2px;
	
	text-decoration: none;
	font-family: Arial;
	font-size: 0.8em;
	
	font-family: 'Aldrich', Helvetica, sans-serif;
}
#navi a:hover {
	color: #fff;
	text-shadow: #fff 0px 0px 3px;
}

#navi ul li a:link {
	color: rgba(0,0,0,1.0);	
	
}

#navi ul li a:visited {
	color: rgba(0,0,0,0.8);

}
#navi ul li:hover {
	/* background-color: rgba(255,160,0,1); */
	border: 1px solid rgba(0,0,0,0.6);
	box-shadow:inset 0 0 10px rgba(0,0,0,1);
	
	
	background-color: #ffb400;
	background: -moz-linear-gradient(top,  #ffb400,  #ff8c00);
	background: -webkit-gradient(linear, left top, left bottom, from(rgb(255,180,0)), to(rgb(255,140,0)));


	}
	

/* ------------------------SISÄLTÖ------------------------ */
#content_margin {
	
	padding-top: 20px;
	padding-bottom: 0px;
	margin-left: 30px;
	margin-right: 30px;
	
	width: 770px;
}

#content {
	width: 830px;
	height: 100%;
		
	padding-bottom: 20px;
	margin-top: 45px;
	margin-left: 60px;
	margin-right: 60px;
	

	text-align: left;
	position: relative;
		
	font-family: Arial, Helvetica, sans-serif;
	
	background-color: rgba(255, 255, 255, 0.55);
	box-shadow:inset 0 0 8px rgba(0,0,0,0.7);
	border-radius: 2px;
	
	font-size: 0.87em;
}

#content p {
	text-align: left;
	
	padding: 0px;
	}
#content a {
	color: #0030B8;
	text-decoration: underline;
}
#content a:visited {
	color: #0030B8;
}

#content ul {
	padding-left: 25px;
	margin: 0px;
	list-style: disc;
	margin-bottom: 15px;
	margin-top: 5px;
}
#content li {
	padding-top: 2px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-left: 2px;
	
}
#content img {
	margin: 0px auto;
}


/* ------------------------ALAOSA------------------------ */

#footer {
	text-align: center;	
	width: 950px;
	clear: both;
	height: 35px;
	color: rgba(0,0,0,0.45);
	text-shadow: 0px 1px 0px rgba(255,255,255,0.55);
	font-size: 0.92em;
	font-family: Arial, Helvetica, sans-serif;
	padding-bottom: 4px;
	padding-top: 20px;
}
#footer img {
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 1px;
	padding-top: 3px;
}


/*-----------------TAULUKKO---------------*/

#taulukko table tr:nth-child(even) {
	background-color: rgba(0,0,0,0.07);
}
#taulukko table td {
	padding: 3px;
}

/* --------------------ETUSIVU--------------*/

#slideshow {
	margin-top:10px;
	margin-bottom: 27px;
	height: 385px;
	width: 770px;
	background-color: black;
}


/* ------------ */
#designby {
	padding-top: 12px;
	padding-bottom: 18x;
	text-align: center;
	font-size: 0.7em;
	color: rgba(0,0,0,0.15);
	font-family: Arial, Helvetica, sans-serif;
	text-shadow: none;
}
#designby a, a:visited {
	color: rgba(0,0,0,0.20);
	text-decoration: none;
	text-shadow: none;
}
#designby a:hover {
	text-decoration: underline;
}