/*
@import url(/style/metla.css);
@import url(/style/metinfo.css);
*/

body {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	width: 62em;
	min-width: 800px;
	margin: 0px;
	padding: 0px;
	text-decoration: none;	
}	

img {
	border: 0;
}

img#kansikuva {
	float: right;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 180%;
	color: #666666;
	margin-bottom: 3px;
	font-weight: normal;
	margin-top: 1%;
}

h2 {
	font-family: Arial,sans-serif;
	font-size: 130%;
	color: #666666;
	margin: 0px;
	padding: 0px;	
}

h3 {
	font-family: Arial,sans-serif;
	font-size: 120%;
	color: #000000;
	margin: 0px;
	padding: 0px; 
}

h4 {
	font-family: Arial,sans-serif;
	font-size: 110%;
	font-weight: normal;
	color: #000000;
	margin: 0px;
	padding: 0px;
}

h5 {
	font-family: Arial,sans-serif;;
	font-size: 100%;
	color: #000000;
	margin: 0px;
	padding: 0px;
}

ul {
	list-style-type: square;
}

ul ul {
	list-style-type: disc;
}

ul ul ul {
	list-style-type: none;
}

label {
	font-family: Arial,sans-serif;
	font-size: 100%;
	font-weight: bold;
	color: #334d55;
}


#masthead{
	padding: 0px;
	border-bottom-style: none;
	width: 100%;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;	
	height: 108px;
}

#masthead img {
	padding-bottom: 0px;
	border-bottom-width: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	border-top-width: 0px;
	margin-top: 0px;
}

/* Ylävalikko*/
#paamenu {
	padding-left: 19.5%;
	background-image: url(/metinfo/tilasto/img/metinfo-tilastop-ylamenu.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	font-size: 11px;
	height: 1.2em;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	margin: 0px;
	line-height: 0.8em;
}

#paamenu a, #paamenu a:visited {
	color: #D9E2D8;
	text-decoration: none;
}
#paamenu a:hover {
	color: #D9E2D8;
	text-decoration: underline;
}

/* Tulostuksen alkuun Metlan logo */
#mastheadPrint { 
	display:none; 
}


#navBar {
	float: left;
	width: 18%;
	margin: 0px;
	background-color: #FFFFFF;
	padding-bottom: 1px;
	padding-left: 1px;
	clear: none;
	padding-top: 1px;
}
 
#content{
	position: relative;
	left: 1%;
	width: 58%;		/* Muutettu 13.3.2009, oli 62%. Huom, myös headlines. MiG */
	font-size: 80%;
	float: left;	
}

/* Footer */
#footer {
	clear: both;
	width: 100%;
	color: #FFFFFF;
	background-image: url(/metinfo/tilasto/img/tilastop-alapalkin-tausta4.gif);
	background-repeat: no-repeat;
	text-align: center;
	background-position: left top;
	height: 31px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;		
} 

#footer a:link, #footer a:visited {
	font-size: 11px;
	color: #FFFFFF;
	text-decoration: none;
}
#footer a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

#siteName {
	margin: 0;
	padding: 0 0 0 10px;
}

#globalNav {
	padding: 0px 0px 5px 10px;
	border-bottom: 1px solid #CCC;
	color: #cccccc;
}

#globalNav img {
	display: block;
}

#globalNav a {
	font-size: 90%;
	padding: 0 4px 0 0;
}

#pageName{
	margin: 0px;
	padding: 0px 0px 0px 10px;
}


/* Navigointipolku */
#polku {
	padding: 2px 0px 0 10px;
	text-align: right;
	margin-bottom: -6px;
	font-size: 10px;
	color: #333333;
}

#polku a:link {
	color: #54963E;
	text-decoration: none;
}

#polku a:visited {
	color: #54963E;	
	text-decoration: none;
}

#polku a:hover {
	color: #54963E;
	text-decoration: underline;
}


/************** .feature styles ***************/

.feature {
	padding: 0px 0px 10px 10px;
	font-size: 80%;
}

.feature h3 {
	padding: 30px 0px 5px 0px;
	text-align: center;
}

.feature img {
	float: left;
	padding: 10px 10px 0px 0px;
}


/************** .story styles *****************/

.story {
	padding-top: 5px;
	text-align: left;	
}

.story a:link {
	color: #006633;
	text-decoration: underline;
}

.story a:visited {
	color: #006633;
	text-decoration: underline;
}

.story h3 {
	margin-top: 10px;
}

.story p {
	text-align: left;		
}
.story ul {

}

.vasenPalsta {
	width: 45%; 
	text-align: left;
	float: left;
}

.oikeaPalsta {
	width: 45%; 
	text-align: left;
	float: right;	
}


/************* #siteInfo styles ***************/
/*
#siteInfo{
	clear: both;
	border: 1px solid #cccccc;
	font-size: 75%;
	color: #cccccc;
	padding: 10px 10px 10px 10px;
}

#siteInfo img{
	padding: 4px 4px 4px 10px;
	vertical-align: middle;
}
*/

/************* #search styles ***************/
/*
#search{
	padding: 5px 0px 5px 10px;
	border-bottom: 1px solid #cccccc;
	font-size: 90%;
}

form{
	margin: 0px;
	padding: 0px;
}

#search label{
	display: block;
	margin: 0px;
	padding: 0px;
}

*/
/*********** #navBar link styles ***********/

#navBar ul a:link, #navBar ul a:visited {
	display: block;	
	color: #000000;
	text-decoration: none;
}
#navBar ul {
	list-style: none; 
	margin: 0; 
	padding: 0;
}

/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {
	border-bottom: 1px;
	solid #EEE;
}

/* fix for browsers that don't need the hack */
html>body #navBar li {
	border-bottom: none;
}


/*********** #sectionLinks styles ***********/

#sectionLinks {
	margin: 0px;	
	font-size: 90%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #9aab9b;
}
/*
#sectionLinks ul {
	list-style: none; 
	margin: 0; 
	padding: 0;
}

#sectionLinks ul a:link, #sectionLinks ul a:visited {
	display: block;	
	color: #000000;
	text-decoration: none;
}
*/
#sectionLinks li {
	background-color: #f9ffe6;
	font-size: 80%;
	border: 1px solid #9aab9b;
	border-bottom: none;
	padding-left: 6px;
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 3px;
}

#sectionLinks li a {
	color: black;
	font-weight: normal;
	padding-left: 9px;
}
#sectionLinks a:hover{
	color: black;
	background-image: url(/metinfo/tilasto/img/kolmio-oik.gif);	
	background-repeat: no-repeat;	
	background-position: center left;
}

#sectionLinks li.otsikko{
	font-weight: normal;
	font-size: 90%;
	color: #FFFFFF;
	background-image: url(/metinfo/tilasto/img/tilastop-menuots-tausta-2px.gif);
	background-repeat: repeat;
	background-position: left top;
	padding-left: 6px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #9aab9b;
	border-right-color: #9aab9b;
	border-left-color: #9aab9b;
}

#sectionLinks li.valittu{	
	background-color: #e9ffad;	
	font-size: 80%;
	color: #FFFFFF;	
}

#hr-line {
	border-top-style: dotted;
	border-top-width: 1px;
	border-top-color: #9AAB9B;
	background-color: #FFFFFF;
	color: #FFFFFF;
	text-decoration: none;
}



/*********** .relatedLinks styles ***********/

.relatedLinks{
	position: relative;
	margin: 0px;
	padding: 0px 0px 10px 10px;
	font-size: 90%;
}

.relatedLinks h3{
	padding: 10px 0px 2px 0px;
}

.relatedLinks a:link,
.relatedLinks a:visited {
	display: block; 
}

/************** #advert styles **************/

#advert{
	padding: 10px 0px 10px;
}

#advert img{
	display: inline;
	vertical-align: top;
}


/************** #headlines styles **************/
/*
#headlines{
	position: relative;
	width: 20%;
	font-size: 90%;
	padding-right: 10px;
	border-left-width: 1px;
	border-left-style: dotted;
	border-left-color: #9aab9b;
}*/
#headlines a:link{
	color: #006633;
	text-decoration: underline;
}

#headlines a:visited{
	color: #006633;
	text-decoration: underline;
}

#headlines img {
	text-align: left;
	padding-right: 8px;
}

#headlines{
	margin: 0px;
	position: relative;
	float: right;
	width: 22%;	
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 10px;
	left: 1%;
	font-size: 70%;
	border-left-width: 1px;
	border-left-style: dotted;
	border-left-color: #9aab9b;
	/*background-color: #f9ffe6;*/
}

#headlines p{
	padding: 5px 0px 5px 0px;
}
#headlines ul {
	list-style-type: none;
	margin: 0px;
}
#headlines ul li {
	margin-left: -10px;
	text-indent: -10px;
}

#headlines dl dd {
	margin-left: 15px;
}

a.alaviiva {

	border-bottom: 1px solid #cccccc;
}
li.taso2 {
	margin-left: 2em;
	font-size: 80%;
	background-color: #D8E6E2;
}

/************** #hakulomakesivujen tyylit **************/

.ots9px {  
	font-size: 12px; 
	font-weight: bold;
}
.metla { 
	font-family: "Times New Roman", Times, serif; 
	font-weight: bold 
}

#siirtotiedostot {
	margin-top: 1.5em;
	margin-bottom: 1.2em;
}

.tiivis {	
	margin-top:0.1em;	
	margin-bottom:0.2em;      
}

.tulostaulukko {
	border-color: #000000;
	border-style: solid;
	border-width: 1px;
}

.taulukkorivi1 {  
	/*background-color: #F7F7F4;*/	
	background-color: #f9ffe6;
}

.taulukkorivi2 {	
	/*background-color: #e9ffad;*/
	background-color: #F7F7F4;
}

.vihreatausta {  	 			
	margin-top: 3px; 
	margin-bottom: 3px;
	background-color:#E9FFAD
}

table { border-collapse:collapse;}

th {
	border-color: lightgrey;
	border-style: solid;
	border-width: 1px;
	text-align: left;
	vertical-align: bottom;
	color: #000000;
/*	background-image: url(/metinfo/tilasto/img/menu1px.png);
	background-repeat: repeat-x; */
	background-color: #e9ffad;
	padding:0px 5px 0px 5px;
	margin: 0px;
}


select {  
	font-size: 8pt;
}

input {  
	font-size: 8pt;
}
.vasen { 
	text-align: left;
}
.oikea { 
	text-align: right; 
	padding-right: 5px;
}
.keski { 
	text-align: center;
}
.huom {  
	color: #FF0000;
}
/*
a:link {  text-decoration: underline}
a:visited {  text-decoration: underline; color: #006633}
a:hover {  text-decoration: underline; color: #006633}
pre {  font-family: "Courier New", Courier, mono}
*/

@media print {
	
#navBar {
	 display:none; 
}

#paamenu {
	 display:none; 
}

#masthead { 
	display:none; 
}

#headlines { 
	display:none; 
}

#footer { 
	display:none; 
}

#mastheadPrint { 
	display:block; 
}

#content {
	width:100%;
	font-size:12pt;	
}

}

/* Toisen ja kolmannen tason navigointi */
#nav-menu2 ul {
	list-style: none;
	padding: 0;
	margin-top: 1em;
	margin-right: 0em;
	margin-bottom: 0em;
	margin-left: 0em;
}

#nav-menu2 li {
	font-size: 11px;
	line-height: 1.8em;
	display: inline;
	margin: 0;
}

#nav-menu2 li p {
	height: 1.7em;
	line-height: 1.7em;
	display: inline;
	border: 1px solid #dcdce9;
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	background-color: #E9FFAD;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-right: 1em;
	padding-left: 1em;
}

#nav-menu2 li img {
	border: 0;
}

#nav-menu2 li a:link, #nav-menu2 li a, #nav-menu2 li a:visited {
	height: 1.7em;
	line-height: 1.7em;
	display: inline;
	border: 1px solid #dcdce9;
	color: #000000;
	text-decoration: none;
	background-color: #F9FFE6;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-right: 1em;
	padding-left: 1em;
}

#nav-menu2 li a:hover {
	height: 1.7em;
	line-height: 1.7em;
	display: inline;
	border: 1px solid #dcdce9;
	color: #000000;
	text-decoration: underline;
	/*background-color: #E9FFAD;*/
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-right: 1em;
	padding-left: 1em;
}

#nav-menu2 {
	/*width:60em*/
}

#nav-menu3 ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav-menu3 li {
	font-size: 11px;
	display: inline;
	margin: 0;
}

#nav-menu3 li p {
	height: 1.7em;
	line-height: 1.7em;
	display: inline;
	border: 1px solid #dcdce9;
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	background-color: #E9FFAD;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-right: 1em;
	padding-left: 1em;
}

#nav-menu3 li a:link, #nav-menu3 li a, #nav-menu3 li a:visited {
	height: 1.7em;
	line-height: 1.7em;
	display: inline;
	border: 1px solid #dcdce9;
	color: #000000;
	text-decoration: none;
	text-align: center;
	background-color: #E9FFAD;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-right: 1em;
	padding-left: 1em;
}

#nav-menu3 li a:hover {
	height: 1.7em;
	line-height: 1.7em;
	display: inline;
	border: 1px solid #dcdce9;
	color: #000000;
	text-decoration: underline;
	/*background-color: #DEEDA9;*/
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-right: 1em;
	padding-left: 1em;
}

#nav-menu3 {
	/*width:60em*/
}

