* { margin: 0; padding: 0; }

html {
	min-height: 100%;
	height: auto;
	overflow-y: scroll;	
}

body {
	font-family: 'Trebuchet', Helvetica, sans-serif;
	font-size: 12px;
	background: white;
	background: url('../images/bg.jpg') repeat-x;	
	}
#wrap {
	margin: 0px auto;
	width: 900px;
    margin-top: 130px;
	}
.clear {
	visibility: hidden;
	clear: both;
	}

/* Lomake */	
	
.error{
    color: red;
    }	

/* Lomakkeet */

form {
    margin-left: 30px;
    }

form div {margin: 0 0 5px;}
form div.captcha {height: auto;}
form p {display: inline-block; margin: 0 !important;}

label {display: inline-block; width: 150px;}
textarea {vertical-align: top; height: 200px;}

input, textarea {width: 250px; padding: 3px;}
.captcha {padding-left: 150px;}
input[type=submit] {margin-left: 150px;}
   
    		
a {
	color: #636363;
	text-decoration: none;
	font-weight: bold;
	}
a:hover {
	text-decoration: underline;
	}

h1, h2, h3, h4, h5 {
	padding-left: 25px;
	color: #474747;
	}	
	
h1 {
	background-color:#636363;
	color: white;
	font-size: 13px;
	letter-spacing: 1px;	
	font-weight: bold;	
	padding: 5px 0 5px 15px;
	border-left: 10px solid #CE0618;
	margin: 5px 0px 10px 0px;	
}

h2 {
	background-color:#636363;
	color: white;
	font-size: 13px;
	letter-spacing: 1px;	
	font-weight: bold;	
	padding: 5px 0 5px 15px;
	border-left: 10px solid #CE0618;
	margin: 5px 0px 10px 0px;	
}

h3 {
	font-size: 13px;
	font-weight: bold;
	margin: 10px 0px 5px 0px;
	}
	

h4, h5 {
	font-size: 12px;
	font-weight: bold;
	margin: 10px 0px 5px 0px;
	}

p {
	margin: 5px 5px 5px 25px;
	line-height: 1.4em;
	}

table {
	margin-left:25px;
	float:left;
	}	

		
/* Header stuff */
#header {
	width: 100%;
	height: 130px;
	background: url('../images/bg.jpg') repeat-x;	
	position: fixed;
	top: 0px;
	z-index: 10;
	}
.headerContent{
	margin: 0px auto;
	width: 900px;
	background: url('../images/headerbg.jpg') no-repeat;
	}	
	
#header .link {
	width: 310px;
	height: 81px;
	padding: 15px 0 0 35px;
	float: left;
	}
#header .link a{
	display: block;
	text-indent: -99999px;
	outline: 0;
	height: 59px;
	}
	
#slogan {
	font-family: Georgia, "Times New Roman", Times, serif;
	float: right;
	padding: 10px 35px 0 0;
	text-align: right;
	color: white;
	}
#slogan strong {
	font-size: 16px;
	font-weight: normal;
	color: #0055a4;
	}

/* Navigation */
#navigation {
	list-style: none;
	padding: 0px 0px 0px 0px;
	text-transform: uppercase;
	font-size: 11px;
	clear: both;
	height:30px;
	font-weight: bold;
	}
#navigation li {
	float: left;
	line-height: 17px;
	}
#navigation li.last {
	background: none;
	}
#navigation a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 6px 15px 6px 15px;
	}
#navigation a:hover {
	border-top: 2px solid white;	
	}
#navigation a.active {
	border-top: 2px solid white;
	padding-top:4px;	
	}

.navigation2{ 
    float:left; 
    display: block; 
    width: 240px; 
    margin-top: 40px; 
    min-height: 500px;  
    padding: 0px 5px 0x 0px;
    }	
    
ul#nav2 {
    list-style-type: none;
    line-height: 1.9em;
    margin: 0px;
    padding: 0px;
    margin-left: 0px !important;
    }    

#nav2 .active2 a{
    font-weight: normal !important;
    text-decoration: none;
    background-color: #E3E3E3;
    padding: 4px 15px;
    }    
    	
/* The big pic */
#rotatepic {
	background: white;
	width: 625px;
	height: 280px;
	margin-bottom:10px;
	}


/* Main content */

#content {
	padding: 7px 0px 10px 0px;
	}
	
#left_area {
	width: 625px;
	padding-right: 10px;
	float: left;
	font-size: 12px;
	min-height: 500px;
	}
	
		
#left_area a {
	text-decoration: underline;
	}	

#left_area ul{
	margin-left: 40px;
	}		

.content3{
    display: block; 
    float: right; 
    width: 600px;    
    }	

.pikkukuvat {    
    width: 260px;
    padding-top: 5px;
    float: right;
    margin: 0px 0px 5px 5px;
    }		
    
.pikkukuva{    
	float: left; 
	padding: 4px 4px 1px 4px;
	border: 1px solid #C0C0C0;
    }
  
.pikkukuvat2 {    
    margin: 5px 0px 10px 25px;
    }		
    
.pikkukuva2{    
	padding: 4px 4px 4px 4px;
	border: 1px solid #C0C0C0;    
	width: 70px;
	height: 70px;
    }

.pikkukuva3{    
	padding: 4px 4px 4px 4px;
	border: 1px solid #C0C0C0;    
    }        
       
#ryhmaboksi {
	width: 90%;
	padding-left:25px;
	padding-top:15px;
	float:left;
	display: block;	
	font-size:14px;
	}	
			
#right_area {
	width: 245px;
	padding-left: 10px;
	float: right;
	font-size: 12px;	
	}	
		
#right_area h2 a{
	color: white;
	}	

.clear{
	clear:both;
	}	
	

.newsitem {
	margin-bottom: 20px;
	}
	
#footer{
	width:100%;
	height:145px;
	background: url('../images/footerbg.jpg') repeat-x;	
	padding-top:15px;
	text-align: center;
	color: black;
	}
	
#footer p{
	text-align: center;
	}	