/*
    CSS
*/

html {
  margin: 0; padding: 0;
}
body {
	margin: 0;
	padding: 0;
	background: #cfcfcf url(../images_elektromet/bg.jpg) no-repeat top;
	font-family: Arial, sans-serif;
	font-size: 82%;
	line-height: 18px;
	color: #000;
}

form { margin: 0; padding: 0; }

.main a img{
	border:none;
}

/*img, form, input { margin: 0; padding: 0; }
img { border: none; }
.main img { border: 1px solid #999; padding: 1px; }*/

.container {
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.header,
.logo,
.search,
.navigation,
.contents,
.fiilis,
.orange,
.content,
.main,
.footer {
  position: relative;
  float: left;
  margin: 0;
  padding: 0;
}

.header {
  clear: both;
  width: 960px;
  height: 111px;
}
/* was 	background: #ccc url(../images_elektromet/search_bg.png) repeat-x top; */
.logo {
  width: 240px;
  height: 111px;
  left:-1px;
}
.search {
  width: 356px;
  height: 27px;
  margin-top: 27px;
  float: right;
  text-align:right;
}
.navigation {
  left:-1px;
  width: 720px;
  height: 27px;
  padding-bottom: 16px;
  margin-top: 14px;
	background: #ccc url(../images_elektromet/navigation_bg.png) no-repeat top;
}
.contents {
  clear: both;
  width: 960px;
  border-top: 5px solid #fff;
	background: #fff url(../images_elektromet/contents_bg.png) repeat-y top;
}
.fiilis {
  width: 240px;
}
.orange {
  width: 229px;
  min-height: 400px;
  margin-left: 5px;
  padding: 5px 0 5px 0;
  /*background: #385dad url(../images_elektromet/orange_bg.png) no-repeat top;*/

}
.content,
.main {
  width: 685px;
  padding: 5px 20px 20px 20px;
}
.footer {
  clear: both;
  width: 930px;
  padding: 20px 15px 15px 15px;
	background: #666 url(../images_elektromet/footer.png) repeat-x top;
}

/*
    LISTS
*/

.search ul li,
.search ul {
  list-style: none;
  position: relative;
  display: block;
  float: right;
  margin: 0;
  padding: 0;
}
.search ul li.searchfield {
  position: relative;
  display: block;
  float: left;
  width: 30px;
  height: 27px;
}

.search ul li.language a {
  position: relative;
  display: block;
  float: left;
  width: 30px;
  height: 22px;
  padding: 5px 0 0 0;
}
.search ul li.searchfield {
  width: 200px;
  height: 24px;
  background: url(../images_elektromet/mag.png) no-repeat;
  padding: 3px 0 0 35px;
  margin-left: 10px;
  float:right;
}
.search ul li p {
  margin: 0; padding: 0; line-height: 1px;
}
.search ul li input {
  width: 185px; padding: 2px; border: 1px solid #666;
}

.navigation ul li,
.navigation ul {
  list-style: none;
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
}
.navigation ul li a {
  height: 17px;
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  border-right: 0px solid #fff;
  font-weight: bold;
}

.navigation ul li:hover{	/*KORJASI IE- Onkelman*/
   background-color:#fff;
}

.navigation ul li a:hover,
.navigation ul li a.current {
  background-color: #fff;
  color: #666;
  text-decoration:none;
}
.navigation ul li a.last {
  border-right: 0px solid #fff;
}

.orange ul li,
.orange ul {
  list-style: none;
  position: relative;
  display: block;
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
  width:230px;
}
.orange ul li a,
.orange ul ul li a,
.orange ul ul ul li a {
  /*height: 17px;*/
  position: relative;
  display: block;
  float: none;
  clear: both;
  margin: 0;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
} /* was text-transform: uppercase; */
.orange ul li a.current {
  background-color: #4574bc;
  color: #fff;
  text-decoration:none;
}
.orange ul li a:hover {
  background-color: #666;
  color: #fff;
  text-decoration:none;
}
.orange ul ul li a {
  padding: 5px 10px 5px 30px;
  font-weight: normal;
}
.orange ul ul ul li a {
  padding: 5px 10px 5px 30px;
  font-weight: normal;
}

/*Matin lisäyksiä Uutisia silmälläpitäen*/

.orange h1.news{
  padding-left:10px;
  color:#fff;
  font-size:14px;
  font-weight:normal;
  border-bottom: 1px solid #ffffff;
}

.orange p.news{
  padding-left:10px;
  padding-right:10px;
  color:#fff;
  font-size:12px;
}

.orange a.news{
  font-size:11px;
  color:#fff;
  text-decoration:none;
}

.orange a.news:hover{
  text-decoration:underline;
}

.main ul li{
	background-image:url('../images_elektromet/bullet.gif');
	background-repeat:no-repeat;
	padding-left:15px;
}

.main ul {
	list-style-type: none;
	margin: 3px 3px 6px 5px;
	padding: 0 0 0 0;
}

/*Matin lisäykset lakkaa*/

/*
    TEXT
*/

a{
	color: #385dad;
	text-decoration:none;
}

a:hover{
	text-decoration:underline;
}

h1,
h2,
h3,
h4 {
  position: relative;
  display: block;
  color: #385dad;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
h1 {
  color: #385dad;
  font-size: 20px;
  padding: 5px 0 3px 0;
  margin-bottom: 5px;
  border-bottom: 3px solid #385dad;
  letter-spacing: 0.04em;
}
h2 {
  color: #385dad;
  font-size: 16px;
  padding: 8px 0 8px 0;
}
h3 {
  color: #385dad;
  font-size: 12px;
  padding: 1em 0pt;
  letter-spacing: 0.04em;
}

h4 {
  color: #385dad;
  font-size: 12px;
  text-transform: none;
  padding: 0pt 0pt;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 12px 0;
  padding: 0;
	font-family: Tahoma,Verdana,Arial,sans-serif;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 100%;
	font-size-adjust: none;
	font-stretch: normal;
	line-height: 1.5em;
}

/*FORMS*/

.form_field{
	width:100%;
	border:1px solid #cccccc;
	color:#333333;
	font-family: Arial, Helvetica, sans;
	font-size:12px;
}

.form_area{
	width:95%;
	border:1px solid #999999;
	padding:10px;
	padding-bottom:20px;
}

.form_progress{
	width:20%;
	border:1px solid #999999;
	padding:10px;
	text-align:center;
	background-color:#CCCCCC;
}

.form_progress_active{
	width:20%;
	border:1px solid #999999;
	padding:10px;
	text-align:center;
	background-color:#ffffff;
}

.form_button{
	border:1px solid #999999;
	color:#000000;
	cursor:pointer;
	padding:3px;
}


/*FORMS END*/

/*NEWS*/

.news_header{
text-align:left;
display:block;
float:left;
padding:5px;
border-right:1px solid #cccccc;
border-bottom:1px solid #cccccc;
}

.news_header:hover{
cursor:pointer;
background-color:#666;
color:#ffffff;
}

.news_header_active{
text-align:left;
display:block;
float:left;
padding:5px;
border-right:1px solid #cccccc;
border-bottom:1px solid #cccccc;
background-color:#d06b1e;
}

.news_link{
 background-color:#ffffff;
 padding: 5px;
 border-bottom: 1px solid #cccccc;
 border-right: 1px solid #cccccc;
 border-left:1px solid #cccccc;
}

.news_link:hover{
 cursor:pointer;
 background-color:#666;
 color:#ffffff;
}

.logout_link{
	color:#CCCCCC;
	padding:5px;
}

.logged_in{
	color:#ffffff;
	padding:5px;
}

/*NEWS END*/

/*TUOTETAULUKOT*/

.main table{
	/*float:left;*/
}

.otsikko_rivi{
	background-color:#0072bc;
	color:#ffffff;
	padding-top:2px;
	padding-bottom:2px;
	font-size:11px;
}

.rivi1{
	background-color:#ffffff;
	color:#000000;
	font-size:11px;
	padding-top:2px;
	padding-bottom:2px;
}

.rivi2{
	background-color:#d4e0f2;
	color:#000000;
	font-size:11px;
	padding-top:2px;
	padding-bottom:2px;
}

.kuvausrivi{
	font-size:11px;
}


/*TUOTETAULUKOT PÄÄTTYY*/



