a:link 
{color:#177EBA; 
text-decoration: underline;}

a:hover 
{color:#177EBA; 
text-decoration: none;}

a:visited
{color:#177EBA; 
text-decoration: underline;}


body {
  text-align: center;
  background-color: #373737;
  background-image: url(../pics/2008_graphics/body_bg.png);
  background-repeat: repeat-x;
  color:#000000;
  font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  font-size:11px;
  line-height:15px;
}
div#wrapper {
  width: 960px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;	
}

div#header {
  background-color: #c10c13;
  border-bottom: 1px solid #0B0B0B;
  overflow: hidden;
  position: relative;
}

  div#header div#headerSpacer {
    height: 12px;
    background-image: url(../pics/2008_graphics/header_spacer.png);
    background-position: top center;
    background-repeat: no-repeat;
  }
  
  div#header div#headerLogo {
    width: 200px;
    height: 100px;
    /*float: right;
    position: relative;*/
    padding-right: 11px;
 	position: absolute; 
 	right: 0;
 	top: 12px;
  }
  
  
  div#header div#navigationBar {
    background-image: url(../pics/2008_graphics/navigationbar_bg.png);
    background-position: top center;
    background-repeat: repeat-x;
    background-color: #0B0B0B;
    height: 32px;
    margin-top: 84px;
    /*margin-left: 55px !important;*/
    margin-left: 26px !important;
    margin-left: 14px;
    float: left;
    position: relative;
    
  }
  
  div#header div#navigationBar ul li {
    background-image: url(../pics/2008_graphics/navigation_bg.png);
    background-position: top center;
    background-repeat: repeat-x;
    background-color: #0B0B0B;
    display: block;
    height: 32px;
    border-color: #000000;
    border-width: 1px 1px 0 1px;
    border-style: solid;
    margin-right: 1px;
    float: left;
    padding: 0 12px 0 12px;
  }
  
 
  
  div#header div#navigationBar ul li a {
    font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
    font-size: 15px;
    color: #646869;
    line-height: 31px;
    color: #dee0e0;
    text-decoration: none;
    font-weight: bold;
  }
  
  div#header div#navigationBar ul li a#selected {
    text-decoration: underline;
   
  }
  
  div#header div#navigationBar ul li#s {
     background-image: url(../pics/2008_graphics/navigation_bg_s.png);
    background-position: top center;
    background-repeat: repeat-x;
  }
  

div#frontpageContent {
  background-color: #000000;
  padding: 0;	
}

 #page_fp {
    padding-left: 26px;
    padding-top: 23px;
    padding-bottom: 36px;
    overflow: hidden;
	background: #0B0B0B url(/pics/footer_liuku.jpg) repeat-x ;
   
  }
  	
  	#page_fp p {
      color: #c5c5c5;
    }
      
    #page_fp p a {
        color: #005D94;
        text-decoration: underline;
      }
  
    #page_fp div#fp_content div.fp_column {
      float: left;
      border-left: 1px solid #222222;
      width: 300px;
      margin-bottom: 25px;
     }
    
    #page_fp div#fp_content div.fp_column p {
      padding-left: 20px;
      padding-right: 38px;
    }
    
   #page_fp div#fp_content div.fp_column h2 {
      font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
      color: #c5c5c5;
      font-size: 20px;
      margin-bottom: 10px;
      font-style: normal;
      padding-left: 20px;
      padding-right: 5px;
    }
    
   #page_fp div#fp_content div.fp_column h5 {
      font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
      color: #c5c5c5;
      font-size: 15px;
      margin-bottom: 10px;
      font-style: normal;
      padding-left: 20px;
      padding-right: 5px;
    }
    
   #page_fp div#fp_content div.fp_column p.newsHeader, 
   #page_fp div#fp_content div.fp_column p.newsHeader a {
      margin-bottom: 10px;
      padding-left: 20px;
      color: #c5c5c5;
    }
    
    	#page_fp div#fp_content div.fp_column p.newsHeader a { padding-left:0px; text-decoration:none; }
    	#page_fp div#fp_content div.fp_column p.newsHeader a:hover { text-decoration:underline; }
    
   #page_fp div#fp_content div.fp_column div.readMore {
      padding-left: 0;
      color: #c5c5c5;
      padding-top: 1em;
    }
    
    #page_fp div#fp_content div.fp_column p {
      padding-left: 20px;
    }
    
  #page_fp div#fp_content div.fp_column ul {
      color: #c5c5c5;
      list-style-image: url(../pics/2008_graphics/li_gray.png);
      margin-left: 2em;
    }
    
    #page_fp div#fp_content div.fp_column li {
      list-style-image: url(../pics/2008_graphics/li_gray.png);
      margin-left: 11px;
    }
  
   #page_fp div#fpRSS {
      	height: 10px;
      	width: 250px;
        margin: 25px 0 0 0;
    }
  
      #page_fp div#fpRSS img {
      	display: inline;
        position: relative;
		top: 7px;
		margin: 0 7px 0 7px;
      }
      #page_fp div#fpRSS p {
        margin: 10px 0 0 0;
        font-weight: bold;
        font-size: 12px;
    	display: inline;
        color: #C5C5C5;
      }
      
     #page_fp div#fpRSS a {
     	text-decoration: none;
        margin: 10px 0 0 0;
        font-weight: bold;
        font-size: 12px;
    	display: inline;
        color: #C5C5C5;
      }
      
    #page_fp #newsLetter {
      	height: 10px;
      	width: 250px;
        margin: 25px 0 0 0;
        _margin: 10px 0 0 0 ;
      	}
      	
     #page_fp #newsLetter img 	{
     	position: relative;
		top: 8px;
        display: inline;
        margin: 0 7px 0 7px;
        }
        
     #page_fp #newsLetter p 	{
 		margin: 10px 0 0 0;
        font-weight: bold;
        font-size: 12px;
    	display: inline;
        color: #C5C5C5;
        }
        
       #page_fp #newsLetter a 	{
       	text-decoration: none;
 		margin: 10px 0 0 0;
        font-weight: bold;
        font-size: 12px;
    	display: inline;
        color: #C5C5C5;
        }
      
#fpSpacer {
    height: 11px;
    background-image: url(../pics/2008_graphics/footer_spacer.png);
    background-position: top center;
    background-repeat: no-repeat;
  }

div#content {
  background-color: #ffffff;
  padding: 15px 25px 40px 38px;  
}


			
#content ol {margin-left: 37px;}

#content ol li  {
   padding:0px;
   list-style-type: decimal;
   background: 0px;
   }
   
#content ul {margin-left: 0px;}
 
#content ul li {
	xpadding: 0px
	}
	
#content .sisaltokuva{margin: 3px;} 		
			
			
div#content div#print {
    float: right;
    position: relative;
    
  }

div#footer {
  padding-top: 0px !important;
  padding-top: 36px;
  clear: both;
  background-color: #000000;
  color: #c5c5c5;
  padding-bottom: 25px;
  border-bottom: 1px solid #a10000;
}

  div#footer p {
    color: #c5c5c5;
  }
  
    div#footer p a {
      color: #FFF;
      text-decoration: underline;
    }
    
    div#footer p a:visited {
      color: #FFF;
      text-decoration: underline;
    }
        
    div#footer p a:hover {
      text-decoration: none;
    }
    
  div#footer ul li a {
    color: #FFF;
    text-decoration: none;
  }
  div#footer ul li a:visited {
    color: #FFF;
    text-decoration: none;
  }
  div#footer ul li a:hover {
    color: #FFF;
    text-decoration: underline;  
  }
  
  div#footer div#footerSpacer {
    height: 11px;
    background-image: url(../pics/2008_graphics/footer_spacer.png);
    background-position: top center;
    background-repeat: no-repeat;
  }
  
  
  
  div#footer div#footerInfobar {
    height: 30px;
    background-color: #1a1a1a;
    padding-left: 26px;
    
  
  }
    div#footer div#footerInfobar p {
      line-height: 30px;
    }
    
    div#footer div#footerInfobar img {
      padding:0px;
      margin: 0 1px 0 2px;
    }
    
    
    div#footer div#footerInfobar p#footerInfobarLeft {
      float: left;
        _padding-top: 5px;
    }
    
    div#footer div#footerInfobar p#footerInfobarRight {
      float: right;
      padding-right: 39px;
    
  
    }
  
  
  
/* Vanhasta palvelusta kopioidut */
  
#table1 {
border:1px;
border-style:solid;
border-color:#F7F3F7;
}

#table2 {
border:0px;
border-style:solid;
border-color:#F7F3F7;
}

#table3, table.bordered, table.background {

border-bottom:1px;
border-right:1px;
border-left:0px;
border-top:0px;
border-style:solid;
border-color:#E5E5E5;
}
#table3 td, table.bordered td, table.background td {
border-bottom:0px;
border-right:0px;
border-left:1px;
border-top:1px;
border-style:solid;
border-color:#E5E5E5;
padding-top:3px;
padding-right:3px;
padding-bottom:3px;
padding-left:5px;
}

table.background {
background-color: #AAAAAA;
}

#table_referenssi{

width: 600px;
margin-left:20px;
}

#yhteystiedot{
margin-left:20px;}

.vihrea, tr.background{
background-color:#EFEFEF;
}
.harmaa1{
background-color:#FAFAFA;
}

.harmaa2{
background-color:#EFEFEF;
}

#table4 {
border:1px;
border-style:solid;
border-color:#E3E3E3;
color:#666666;


}

#table4 p{
margin-left:5px;

}

#table6 {
border:1px;
border-style:solid;
border-color:#731810;
color:#666666
}

#table6 p{
margin-left:5px;

}

#table5 {
border:1px;
border-style:solid;
border-color:#E3E3E3;
}

  #content #a1 { 
    float: left; 
    width: 550px; 
    padding-right: 40px;   
  }
	
  #content #a1-flow {
    padding: 0px 20px 0px 20px;
  }	

  #content #a1 span a, #msg a { text-decoration: underline; color: #005C91; }
  #content #a1 span a:hover, #msg a:hover { text-decoration: underline; }

  #content #a1 ul, #content #a1-flow ul {
  	list-style-type: square; 
  	margin-left:20px; 
  	padding:0px;
  }
  #content #a1 ul li, #content #a1-flow ul li { font: normal normal 11px "Trebuchet MS",Arial,Helvetica, sans-serif; padding-bottom: 5px;}

  #content #a1 h1, #msg h1, h1.consistent { 
            font: bold normal 26px "Trebuchet MS",Arial,Helvetica, sans-serif; 
            color: #0f3634; 
            letter-spacing: -0.5px; 
            padding-top: 0px; 
            margin-left: 0px; 
            margin-bottom: 7px;
            margin-top: 0px; 
            }

  #content #a1 h2, #msg h2, h2.consistent { 
            font: bold normal 26px "Trebuchet MS",Arial,Helvetica, sans-serif; 
            color: #0f3634; 
            letter-spacing: -0.5px; 
            padding-top: 0px; 
            margin-left: 0px; 
            margin-bottom: 7px;
            margin-top: 0px; 
            }

  #content #a1 h3, #msg h3 { 
            font: normal normal 18px "Trebuchet MS",Arial,Helvetica, sans-serif; 
            color: #0f3634; 
            margin-bottom: 3px;
            margin-top: 8px; 
            }

  #content #a1 h4, #msg h4 { 
            font: normal bold 12px arial, sans-serif; 
            color: #565656; 
            margin-bottom: 3px;
            margin-top: 8px;
            }

  #content #a1 ul.more  { 
            display: table; 
            list-style-type: none; 
            background: url(/pics/ul-bg.gif); 
            background-repeat: no-repeat; 
            padding-left: 30px; 
            margin: 0px;
            }

  #content #a1 ul.more li { display:inline;
}
  #content #a1 ul.more li a { 
            text-decoration: underline; 
            color: #005C91; 
            font: normal normal 11px "Trebuchet MS",Arial,Helvetica, sans-serif; 
            letter-spacing: 1px; 
            }

  #content #a1 ul.more li a:hover { text-decoration: underline; }
 
 
  #content p { margin:0px; padding:0.5em 0em; }
  

 
          
  #content #a2 { 
	overflow:hidden;
    width: 300px;
	margin-left: 14px;
  }
  #content #a2 img { margin-right: 0px; }
  #content #a2 img.kuvapaikka { border: 4px solid #DFDFDF; margin-bottom: 20px; } 
  
  table.centered td { text-align: center; }
  
/* alavalikko */

#wrapper #header #langAndHome {
	position: absolute;
	top: 30px;
	left: 38px;	
	font-family: Arial, sans-serif;
}
#wrapper #header .lang {
		/*xpadding: 0px 0 0 26px;
		position: absolute;
		top: 10px;
		left: 38px;
		width: 200px;	
		xmargin-top: 20px;*/
		display: inline;
		}

#wrapper #header .lang a {
	color: #fff;
	text-decoration: none;
 	}

#wrapper #header .lang a:hover {
	text-decoration: underline;
 }

#wrapper #header .lang a.selected {
		font-weight: bold;
} 	
 	
#wrapper #header .topLang {
	color: #fff;
	display: inline;
	text-decoration: none;
	padding-left: 20px;
	/*
	position: relative;
	top: 10px;
	left: 60px;
	xpadding: 0px 0 0 26px;
	
	width: 200px;
	xmargin-top: 20px;*/
	}

#wrapper #header .topLang a {
	color:#fff; 
	text-decoration: none; 
}

#wrapper #header .topLang a:hover { 
	text-decoration: underline;
}
#wrapper #header .topLang a.selected {
	font-weight: bold;
}
	
 

  #subnav { 
	font: normal normal 11px arial, sans-serif; 
	line-height: 18px; 
	width: 299px;	
  }

  #subnav h4 { 	float: left; font: bold italic 14px "Trebuchet MS",Arial,Helvetica, sans-serif; color: #C3C3C3; margin: 0px; padding: 10px 0px 10px 5px ; }
  
  #subnav a { font: normal normal 11px "Trebuchet MS",Arial,Helvetica, sans-serif; color: #004F7D; text-decoration:none; }        
  
  #subnav ul { 
            padding:0;
            margin-bottom: 2px;
            }
   
   #subnav ul.border { border:1px solid #DFDFDF; padding:10px 0 5px 0; margin:0 0 10px 0; } 
   #subnav ul.border li { padding:0; margin:0 0 0 8px; }         
  
  
  #subnav ul li { 
            padding: 0px 0px 0px 5px;
            list-style-type: none; 
            color:#C00000; 
            margin-right: 10px; margin-left: 7px;
            }

  #subnav ul li a { 
            background: url(/pics/redbox.gif) no-repeat; 
            background-position: 0px 3px; 
            padding-left: 15px;
            color: #000000;
            }
  #subnav ul li.active a { 
            font-weight: bold;
            }

  #subnav ul li a:hover { text-decoration: underline; }
  
  #subnav ul.second { border: 0px; margin: 0px; padding: 0px; }
  #subnav li.second { 
            padding: 0px 0px 0px 20px;
            list-style-type: none; 
            margin:0;
            }

  #subnav li.second a { 
            margin: 0 0 0 15px; padding: 0 0 0 15px;
            background: url(/pics/2008_graphics/red_list.png) no-repeat; 
            background-position: 5px 3px;
            color: #c50303;
            } 
  
  #msg { 
            font: normal normal 11px "Trebuchet MS",Arial,Helvetica, sans-serif; 
            line-height: 18px; 
            margin:auto; display: table; 
            width: 736px; border:0px solid #000; 
            padding-top: 20px; padding-bottom: 40px;
			margin-left:20px;
            
            }

  #msg .kuvapaikka { 
            border: 4px solid #DFDFDF; 
            float: right;  
            margin: 0px 0px 15px 15px; 
            }
            
a.blockLink {
	display: block;
}

small.date {
	color: #c00000;
}

div#subnav ul.bulletinList {
  border: 1px solid #F7F3F7;
}
div#subnav ul.bulletinList li a {
  background: none;
  padding-left: 0;
}

	div#subnav ul#tapahtumat li span { display:none; height:0; }

	div#subnav ul#tapahtumat li a { 
            background: url(/pics/redbox.gif) no-repeat; 
            background-position: 0px 3px; 
            padding-left: 15px;
            color: #000000;
            }

div#yhteydenottopyynto fieldset {
  background:#F3F3F3 none repeat scroll 0% 0%;
  border:medium none;
  margin-top: 20px;
  padding-top: 30px;
  padding-bottom: 30px !important;
  padding-bottom: 0;
  text-align:center;
  width: 580px;
}

div#yhteydenottopyynto label {
  font-size: 18px;
}

* + html div#yhteydenottopyynto fieldset {
	padding-bottom: 0 !important;	
} 

div#yhteydenottopyynto fieldset input, div#yhteydenottopyynto fieldset textarea  {
  border:1px solid #C5C5C5;
  font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
}

div#yhteydenottopyynto input {
  margin-left: 20px;
  font-size:15px;
  padding: 3px;
}

div#yhteydenottopyynto input#submitTarjous {
	position: relative;
	top: 8px !important;
	top: 4px;	
	border: 0;
}
* + html div#yhteydenottopyynto input#submitTarjous  {
	top: 4px !important;	
} 


#a1 li {
	background: url(/pics/listmark.gif) no-repeat 0px 5px; 
	list-style-type: none;
	padding-left: 13px;
	}
	

blockquote {margin-left: 40px;}
blockquote blockquote {margin-left: 40px;}	
blockquote blockquote blockquote {margin-left: 40px;}	
blockquote blockquote blockquote blockquote  {margin-left: 40px;}	
blockquote blockquote blockquote blockquote blockquote {margin-left: 40px;}	



table.huomio li, div#a2 table li {
		background: url(/pics/merkki.gif) no-repeat 2px 9px; 
		color: #fff;
		list-style-type: none;
	    padding-left: 10px;
	    margin-left: 10px;
	    font-weight: normal !important;
		}
		
div#a2 table li {
	background: url(/pics/merkki_musta.gif) no-repeat 2px 9px;
	color: #000;
}
		
table.huomio ul, div#a2 table ul {
	padding: 0 0 5px 0 ;
	} 		

table.huomio h4, div#a2 table h4 {
	font-weight: normal !important;
	font-size: 12px;
	color: #fff;
	padding: 0px 0 0 10px;
}

div#a2 table h4 {
	color: #000;	
}


/* Tagipilven tyylit alkavat */

	div#tagCloud {
		background-color: #123935;
		color: #FFFFFF;
		width: 549px;	
		font-family: Verdana, sans-serif;
		font-size: 14px;
		text-align: center;
		padding: 10px 5px 10px 5px;
	}
	div#tagCloud  span.tagCloudTag {
		line-height: 130%;
	}
	div#tagCloud  span.small {
		font-size: 100%;
		margin: 0 3px 0 3px;		
	}
	div#tagCloud span.medium {
		font-size: 120%;	
		margin: 0 6px 0 6px;
	}
	div#tagCloud span.large {
		font-size: 150%;
		margin: 0 9px 0 9px;	
	}
	
	div#content div#tagCloud span.tagCloudTag a {
		text-decoration: none;
		color: white;	
	}
	
	div#content div#tagCloud span.tagCloudTag a:visited {
		text-decoration: none;
		color: white;	
	}
	
	div#content div#tagCloud span.tagCloudTag a:hover {
		background-color: #FFFFFF;
		color: #123935;	
	}
	
/* Tagipilven tyylit loppuvat */
	
	table.formTable {
		background-color: #F3F3F3;
	}
		table.formTable td, table.formTable th {
			vertical-align: top;
			font-size: 18px;
			padding: 20px 0;
		}
		
		table.formTable td textarea, table.formTable td input {
			width: 20em;
			font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
			border: 1px solid #C5C5C5;
		}
		
		table.formTable td {
			padding-right: 30px;
			padding-left: 20px;
		}
		
		table.formTable th {
			padding-right: 20px;
			padding-left: 30px;
		}
	
		table.formTable td.submit {
			text-align: right;
		}
			table.formTable td.submit input {
				width: auto;
			}

/* Joulutervehdysten qtip-tyylit */

.qtip .qtip-content{
   padding: 10px;
   overflow: hidden;
}

.qtip { margin-top:5px; }
   
   .qtip .qtip-content .qtip-title,
   .qtip-cream .qtip-content .qtip-title{
      background-color: #F0DE7D;
   }
   
   .qtip-light .qtip-content .qtip-title{
      background-color: #f1f1f1;
   }

   .qtip-dark .qtip-content .qtip-title{
      background-color: #404040;
   }

   .qtip-red .qtip-content .qtip-title{
      background-color: #F28279;
   }
   
   .qtip-green .qtip-content .qtip-title{
      background-color: #B9DB8C;
   }

/* qtip-tyylit loppuu */
/*Testikommentti*/
