/* Site-wide styles */

BODY {
	background: #FFFFFF url(/files/tornator/sivupohjat/bg.gif) repeat-x;
	margin: 0;
	padding: 0;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #303030;
}

FIELDSET {
	border: 0;	
	margin: 0;
	padding: 0;
}

INPUT[type="submit"],
INPUT[type="button"],
INPUT[type="reset"],
INPUT.button {
	font-size: 12px;
	color: #666666;
	border: 1px solid #264D1D;
	height: 20px;
	padding: 0 4px 0 4px;
}

INPUT[type="text"],
INPUT[type="password"],
INPUT.text {
	border: 1px solid #D1D1D1;
	background: #fff;
	height: 16px;
	line-height: 16px;
	padding: 1px;
	font-size: 100%;
}


H2, H3, H4 {
	margin-top: 0;
	color: #6a6a6a;
}

H1 {
	margin: 0px;
	padding: 0px;
	font-size: 16px;
	color: #6a6a6a;
}

H5, H6 {
	margin-top: 0;
	color: #303030;
	line-height: 100%;
}

H6 {
	font-style: italic;	
}

/* H1 { font-size: 150%; } */
H2 { font-size: 135%; }
H3, H4 { font-size: 120%; }
H5, H6 { font-size: 80%; }

LABEL {
	color: #808080;
}

A IMG {
	border: 0;
}

A:link, A:visited {
	color: #75a12f;
	text-decoration: none;
}
A:hover, A:active {
	color: #75a12f;
	text-decoration: underline;
}


/* Main elements */


#header {
	width: 880px;
	height: 97px;
}

#langsel {
	padding: 13px 10px 10px 0px;
	color: #d9d9d9;
	position: absolute;
	z-index: 10;
	left: 720px;
	top: 6px;
	width: 134px;
	height: 7px;
}

#langsel a:link, #langsel a:visited {
	font-weight: bold;
	font-size: 11px;
}

#langsel a:active, #langsel a:hover {
	font-weight: bold;
	font-size: 11px;
	text-decoration: underline;
}

#search {
	position: absolute;
	z-index: 10;
	left: 700px;
	top: 37px;
	width: 176px;
	height: 22px;
	background-image: url(/files/tornator/sivupohjat/search_bg.gif);
	background-repeat: no-repeat;
}

#search input.search_field {
	float: left;
	width: 95px;
	height: 18px;
	border: solid 0px #fff;
	background: transparent none no-repeat;
  padding: 4px 10px 1px 30px;  
  font-family: 'Arial', sans-serif;
  font-size: 12px;
	color:#5a5753;
}

#search .search_button {
	padding-top: 3px;
	padding-right: 3px;
}

#topnavi {
	width: 840px;
	height: 32px;
	margin: 0px;
	padding-left: 40px;
	background-image: url(/files/tornator/sivupohjat/topnavi_bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#topnavi ul {
  margin: 0px;
	padding: 0px;
	height: 32px;
  list-style-type: none;
}

#topnavi li {
	display: block;
	float: left;
	margin: 0px;
	padding: 0px;
	height: 32px;
}

#topnavi a {
  display: block;
	float: left;
	margin: 0px;
	padding: 0px;
	height: 32px;
}

#subnavi {
	position: absolute;
	top: 140px;
	left: 10px;
	width: 230px;
	z-index: 20;
}

#subnavi ul {
  margin: 0px;
	padding: 0px;
  list-style-type: none;
}

#subnavi li {
	width: 190px;
	height: 24px;
	margin: 0px;
	padding: 8px 10px 0px 30px;
	background-image: url(/files/tornator/sivupohjat/subnavi_bgOff.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

#subnavi li.selected {
	background-image: url(/files/tornator/sivupohjat/subnavi_bgOn.gif);
}

#subnavi li a:link, #subnavi li a:visited {
	font-weight: bold;
	color: #75a12f;
}

#subnavi li.selected a:link, #subnavi li.selected a:visited {
	font-weight: bold;
	color: #fcfcfc;
}


/* MEMY NAVI */

#metsat ul {
  margin: 0px;
	padding: 0px;
  list-style-type: none;
}

#metsat li {
	width: 190px;
	height: 24px;
	margin: 0px;
	padding: 8px 10px 0px 30px;
	background-image: url(/files/tornator/sivupohjat/subnavi_bgOff.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

#metsat li.selected {
	background-image: url(/files/tornator/sivupohjat/subnavi_bgOn.gif);
}

#metsat li a:link, #subnavi li a:visited {
	font-weight: bold;
	color: #75a12f;
}

#metsat li.selected a:link, #subnavi li.selected a:visited {
	font-weight: bold;
	color: #fcfcfc;
}


#left_container {
	float: left;
	width: 652px;
}

#right_container {
	float: left;
	width: 228px;
	min-height: 93px;
	background-image: url(/files/tornator/sivupohjat/front_right_bg.gif);
	background-repeat: repeat-y;
	background-position: left top;
}

#sub_container {
	margin-left: 240px;
}

#footer {
	padding-top: 20px;
	height: 20px;
	font-weight: bold;
	font-size: 11px;
	border-top: 1px dotted #CCCCCC;
	background-color: #FFFFFF;
	color: #d9d9d9;
}

#front_container {
	float: left;
	width: 426px;
	margin: 0px 1px 0px 0px;
}

#front_tiedotteet_container {
	float: left;
	width: 225px;
}

.front_tiedote {
	margin: 0px;
	border-top: 1px dotted #CCCCCC;
	padding: 10px 10px 10px 34px;
	background: #FFFFFF url(/files/tornator/sivupohjat/front_tiedote_ikoni.gif) no-repeat 10px 10px;
}

.front_tiedote a {
  font-weight: bold;
}

#footer ul {
  margin: 0px;
	padding: 0px;
  list-style-type: none;
}

#footer li {
	display: block;
	float: left;
	height: 20px;
	margin: 0px;
	padding: 0px 6px 0px 10px;
	background-image: url(/files/tornator/sivupohjat/footernavi_separator.gif);
	background-repeat: no-repeat;
	background-position: left 2px;
}

#footer li a:link, #footer li a:visited {
	font-weight: bold;
	color: #75a12f;
}

.form {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #006633;
  background-color: #FFFFFF;
  border: 1px solid #006633;
}
 
.form2 {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #FFFFFF;
  background-color: #006633;
  border: 1px solid #006633;
}
 
.input {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #006633;
  background-color: #FFFFFF;
  border: 1px solid #006633;
}

.henkilohaku {
width: 200px;
}


/* Generic helpers */

.center {
	text-align: center;
	margin: 0 auto;
	display: block;
}

.float_left {
	float: left;	
}

.float_right {
	float: right;	
}

.bold {
	font-weight: bold;	
}

.clearer {
	clear: both;	
}

.no_bg {
	background-color: transparent;
	background-image: none;	
}

TABLE.vertical_header TH {
	text-align: right;
}

