﻿html, body {
	margin: 0;
	padding: 0;
}

html {overflow-y: scroll;}

body 
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px; 
	color: #000000;	
	text-align: center;
	background: #EAEAEA url(../img/body_bg.jpg) repeat-x top left; 
	/*border: solid 1px black;*/
	height: 100%;
	width: 100%;
	overflow-y: hidden;	
	overflow-x: visible;
}

body a img, body a:hover img {
	border: none;
}

body a
{
    color: #CC3333;
    text-decoration: none;
    font-weight: bold;
}

body a:Link
{
    color: #CC3333;
    text-decoration: none;
    font-weight: bold;
}

body a:visited	
{
    color: #EB891B;
    text-decoration: none;
    font-weight: bold;
}

body a:Hover
{
    color: #EB891B;
    text-decoration: none;
    font-weight: bold;
}

body a:active
{
    color: #EB891B;
    text-decoration: none;
    font-weight: bold;
}

/*
body a 
{
	color: #666;
	text-decoration: none;
}

body a:link	
{	
	color: #666;
	text-decoration: none;
}	
		
body a:visited	
{	
	color: #d85144;
	text-decoration: none;
}	
		
body a:active
{	
	color: #d85144;
	text-decoration: none;
}	
		
body a:hover {
	color:#666;
	text-decoration: none;
}
*/
html>body h1, html>body h2, html>body h3, html>body h4 {
	margin:auto;
}

hr {	
	width: 100%;
	height: 1px;
}

table 
{
	font-size: 1em;
	color: #000000; 	
	/*color: #666;*/
	/* */
}



#Powered a:Link
{
    color: #000;
    text-decoration: none;   
}

#Powered a:Hover
{
    color: #000;
    text-decoration: none;
}

/* Set static page width */

#Container, #Header, #Columns, #Footer   {
	width: 1008px;
	/*border: solid 1px black;*/
}
/* Set cross-browser minimum content height */



#MinHeight 
{
	position: relative;
	display: block;
	height: 500px;
	width: 1px;
}

#Container 
{
	position: relative;
	display: block;
	margin-top: 0; 
	margin-right: auto; 
	margin-bottom: 0; 
	margin-left: auto;
	padding: 0;
	height: 100%;
	text-align: left;
	background: url(../img/container_bg3.jpg) repeat-y top left;
	/*background: transparent url(../img/container_bg2.jpg) repeat-y top left;*/
	/*border: solid 1px black;*/
}

html>body #Container {
	/*border-bottom: 1px transparent;	*/
}

/* This is needed for clearing floats  inside container */

#Container:after {
	content: "."; 
	display: block;
	height: 0.01em;
	overflow: hidden;
	visibility: hidden; 
	clear: both;
}
/******* HEADER********/
#Header
{
position:relative;
	
    height: 150px;    
    /*padding-left: 9px;
    padding-right: 9px;*/
    /*border: solid 1px blue;*/
}

#HeaderContent
{
	position: relative;
	display: block;
	height: 100px;
	/*background-color: #888888;*/
	background: url(../img/header/header_bg3.jpg) no-repeat top left;
	/*border: solid 1px black;*/
}

#HeaderRight
{
    float: right;
    /*border: dotted 1px black;*/
    width: 400px;
    height: 100px;
}

#logo
{
    margin-top: 19px;
    margin-left: 39px;
    width: 122px;
    height: 61px;
    float: left;
}


/******** COLUMNS **************/
#Columns 
{
 /*   height: 100%;

	margin: 0;
	padding: 0;
	padding-left: 19px;
	padding-right: 19px;
	width: 970px;
	height: auto;
	background-color: #666666;
	background: #fff url(../img/container_bg3.jpg) repeat-y top left;
*/
	
	/*	position: relative;
	display: block;*/
	margin-top: 0; 
	margin-right: auto; 
	margin-bottom: 0; 
	margin-left: auto;
	padding: 0;
	height: 100%;
	height: auto;
	text-align: left;
	background: transparent url(../img/container_bg4.jpg) repeat-y top left;
	
}

/* This is needed for clearing floats  inside container */

#Columns:after {
	content: "."; 
	display: block;
	height: 0.01em;
	overflow: hidden;
	visibility: hidden; 
	clear: both;
}

#C1 {
	float: left;	
	width: 225px;
	height: 100%;
	margin-top: 10px;
	margin-left: 10px;
	background-color: #FFF;
}
html>body #C1
{
margin-left: 20px;
}


#C2 {
/*	position: relative;
	display: inline;*/
	float: left;
	width: 735px;
	height: auto;
	margin-left: 0; /* 0 0 -2px;*/
	padding-left: 0;
	/*border-top: solid 1px blue;*/
	overflow: hidden;	
	/*z-index: 5;*/
}

html>body #C2 {
margin: 0 0 0 10px;
}


#BannerImg
{
    width: 735px;
    height: 150px;
    margin-top: 10px;    
}
	
/*
#ContentFrame {
	position: relative;
	display: block;
	width: 580px;
	height: auto;
	margin: 0;
	padding: 0;
}*/

/************ Bottom content boxs****************/		
	
/**************** SAContent areas **************************/

#SAContent1, #SAContent2, #SAContent3, #SAContent4
{
    margin-left: 27px;
    margin-right: 26px;    
}

#SAContent3
{
    margin-top: -70px;
    width: 500px;    
    font-size: 28px;
    color: #DA251D;  
    display: block;   
}

#SAContent4
{
    margin-top: 50px;
    margin-right: 20px;
    height: auto;       
    /*border: solid 1px black;*/
}
/*
#SAContent5 {
	position: relative;
	display: inline;
	float:right;
	width: 285px;
	margin: 0;
	padding: 5px 0 5px 0px;
	overflow: hidden;	
}
*/
#SAArea
{
    width: 735px;
    margin-right: 20px;
    overflow: hidden;
    /*border: solid 1px black;*/
}

/*****************************************/
/*#C3 {
	float: right;
	margin: 0 4px 0 0;
	width: 5px;
}
html>body #C3 {
	margin: 0 4px 0 0;
	width: 10px;
}*/


/**** SEARCH ***/
/*************** New style BEGINS */
#Searchbox
{
    float:right;
    color:  #FADEC2;
    text-transform: uppercase;    
    /*border: solid 1px black;*/
    margin-right: 15px;
    margin-top: 25px;
    padding: 0;
    width: auto;
    font-weight: bold;
}

#btnSearch 
{
    
    width: 61px;
    height: 21px;
    text-transform: uppercase;
    color: #fff;
    font-weight: normal;
    font-size: 9px;
    padding: 0;
    padding-left: 2px;
    margin: 0;
    margin-left: 8px;
    border: none;
    background:  url(../img/header/hae_button_wide.gif) no-repeat top left;
}

#txtSearch
{
    margin-left: 10px;
    width: 186px;    
}
/** New style ends */
/*
#SearchTool
{
	position:relative;
    display: block;
     float:left;
	height: 30px;
	width: 445px;
	margin: 0;
    padding:  0;
  
	}
html>body #SearchTool
{
	height: 50px;	
	}
#SearchTitle
	{
	position:relative;
    display: block;
    float: left;
    text-align:right;
	height: 28px;
	width: 195px;
	margin: 5px 0 0 0;
    padding: 8px 0 0 0;
   
			}
			
#Search
	{		
	position:relative;
	display: block;
	float: right;
	margin: 5px 0 0 0;
	padding: 0;
	height: 35px;
	width: 240px;
	
		}
html>body #SearchTitle, #Search
{
	margin: 15px 0 0 0;
	}
		
#txtSearch
	{
	position:relative;
	display: block;
	 float: left;
	margin: 2px 0 0 0;
	padding: 0;
	height: 20px;
	line-height: 20px;
	width: 185px;
			}
		
#btnSearch {
    position:relative;
    display: block;
	float: right;		
    margin: 1px 4px 0 0;
    padding: 0;    
    color: #f7eceb;
    font-size: 9px;
    font-weight: bold;   
    width: 35px;
    height: 25px;
    background: url(../img/header/hae_nappi2.gif) 0 0 no-repeat;
	
    }
html>body #btnSearch {
    	
    margin:  1px 8px 0 0;   	
    }

#btnSearch:hover
{	
    color: #f7eceb;
    }
    */
    
    
    /* NEWSBOX*/ 	
#Newsbox
{
		position: relative;
	display: block;
	float:left;	
	width: 500px;
	height: auto;
	margin: 0;
	padding: 0;	
	overflow: hidden;	
	
	}
	
	
#Newsbox_header
{
	position: relative;
	display: block;
	float:left;	
	width: 300px;
	height: auto;
	margin: 0;	
	overflow: hidden;
	
	}
	
#Newsbox_news1_h_date
{
	position: relative;
	display: block;
	float:left;
	color: #999999;
	width: 100px;
	line-height: 15px;
	margin:0;
	padding: 0;	
	
	}
	
#Newsbox_news1_h
{
	position: relative;
	display: block;
	float: left;	
	width: 300px;
	height: auto;	
	margin: 0;
	padding: 0;	
	overflow: hidden;
	font-weight: bold;	
	}	


#Newsbox_news1_text
{
	position: relative;
	display: block;
	float:left;	
	width: 300px;
	height: auto;
	margin: 0 ;	
	padding: 0;	
	overflow: hidden;	
	}	
	
#Newsboxcell1
	{
	position: relative;
	display: block;
	float:left;	
	width: 400px;
	height: auto;
	margin: 0 0 5px 0;	
	overflow: hidden;	
	}			

.MainHeading p
{
    margin: 0;
    padding: 0;
}

#submenuTop
{
    width: 225px;
    height: 26px;
    padding-top: 11px;
    padding-left: 12px;
    text-transform: uppercase;
    font-weight: bold;
    background: url(../img/submenu_top.gif) no-repeat top left;
}
#SubmenuContent
{
    width: 225px;
    height: 100px;
    background: url(../img/submenu_bg_gray.gif) repeat-y top left;
}

#submenuBottom
{
    width: 225px;
    height: 10px;
    background: url(../img/submenu_bg_gray_bottom.gif) no-repeat top left;    
}

/*************** Listaukset **/

#listausTop
{
    margin-right: 10px;
    width: 100%;    
    color: #fff;
    line-height: 24px;    
    font-weight: bold;
    margin-bottom:1px;
}

th.Listausotsikko
{
    padding-left: 11px;
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
}

th.ListausotsikkoNimi
{
    /*width: 624px; */
     width: 374px; 
    /*float: left;  */
    padding-left: 11px;
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
}
/*th.ListausotsikkoNimi
{
    
     width: 569px; 
  
    padding-left: 11px;
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
}
*/

th.ListausotsikkoPvm
{
    /*width:89px;     
    float: left;*/
    width:89px;  
    padding-left: 11px;
    margin-right: 1px;    
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
}

/*th.ListausotsikkoNimi
{
    width: 624px; 
    float: left;  
    padding-left: 11px;
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
}*/

th.ListausotsikkoRahoitusmuoto
{
    width: 195px; 
    /*float: left;  */
    padding-left: 11px;   
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
}
/*tr.ListausotsikkoRahoitusmuotoOtsikko
{
    width: 713px; 
    float: left;  
    padding-left: 11px;
   background-color: #F1F1F1;
}*/


th.ListausotsikkoTäynnä
{
    width: 55px; 
   /* float: left;  */
    padding-left: 11px;     
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
   
}

/*
.listausRivi
{
    margin-right: 10px;
    width: 100%;    
    color: #000;
    line-height: 24px;    
    margin-bottom:1px;
    background-color: #F1F1F1;
    clear: both;

*/
    /*z-index: 10;*/
    /*
}*/

.ListausPvm
{
    width:89px;     
    line-height: 24px;    
    /*float: left;*/
    padding-left: 11px;    
    margin-bottom:1px;
    margin-right: 1px;
    /*background-color: #F1F1F1;*/
    /*z-index: 5;*/
}

.ListausKoulutus
{
    width: 624px; 
    line-height: 24px;    
    /*float: left; */ 
    padding-left: 11px;    
    margin-bottom:1px;
    background-color: #F1F1F1;
    /*z-index: 5;*/
}

.Listaus a:Link
{
    color: #CC3333;
    text-decoration: none;
    font-weight: bold;
}
.Listaus a:Hover
{
    color: #EB891B;
    text-decoration: none;
    font-weight: bold;
}

.ListausPvm:Hover, .ListausKoulutus:Hover, ListausRivi:Hover
{
       /*background-color: #F8F8F8;*/
}

table.Listaus
{
    position: relative;
    /*width: 630px;*/
    overflow: hidden;
    /*height: 200px;   */ 
}

.Listaus tr
{
    height: 24px;
    background-color: #F1F1F1;
    width: auto;
    overflow: hidden;
    }
   


.Listaus td
{
    padding-left: 11px;
    
   /* background-color:  #F1F1F1;*/
}

.Listaus tr:hover
{
    background-color: #F8F8F8;
}

.Listaus th
{
    color: #fff;
    background: #fff url(../img/listaus_top_bg.gif) repeat-x top left;
    font-weight: bold;
    padding-left: 11px;
}


/*#Footer {
	height: 50px;
	width: 770px;
	background-color: #CCCCCC;
	padding-top: 21px;
	padding-left: 21px;	
	margin-top: 18px;
	background: #fff url(../img/footer/footer_bg.gif) no-repeat top left;	
}	*/

#Footer {

	clear: both;
	
	margin: 0;
	height: 50px;
	width: 735px; 
	margin: 10px 0 0 0;
	float: left;
	background: url(../img/footer/footer_bg.gif) no-repeat top left;
	
	overflow: hidden;
	padding-top: 19px;
	padding-left: 21px;	
	
}	
#FooterContent {
padding-top: 21px;
	padding-left: 21px;
	width: 700px;
}	