/*
Copyright Kaivertamo Paakkari Oy 2006

Style sheet for a generic page
*/

body {
  background:#fff;
  margin:0;
  padding:0;
  color:#000;
  font:x-small/1.5em Georgia,Serif;
  voice-family: "\"}\""; voice-family:inherit;
  font-size:small;
  } html>body {font-size:small;}

h1 {
  font-family: Georgia,Serif;
  line-height: 120%;
  color: #000;
  }
#page_content {
  font-family: arial, sans-serif;
  }

#header, #header a {
  border: 0 solid #fff;
  height: 53px; /* image height */
  width: 387px; /* image width */
  }
#header {
  margin: 12px 0 14px 0px;
  padding: 0 0 0 40px;
  background-image: url('./images/logo.gif');
  background-repeat: no-repeat;
  background-position: top right;
  display: block;
  float: left;
  }
#header a {
  display: block;
  margin: 0;
  }
#header span {
  display: none;
  margin: 0;
  }

#change_language {
  float:        right;
  text-align:   right;
  margin-right: 2ex;
}
#change_language, #change_language a {  
  color: #666;
}

/*
Code originally from
Sliding Doors by Douglas Bowman
http://www.alistapart.com/articles/slidingdoors/
*/

#menu {
  clear: both;
  margin: 1px 0 0 0;
  float:left;
  width:100%;
  background:#fff url('./images/bg.gif') repeat-x bottom;
  font-size:93%;
  line-height:normal;
  }
#menu ul {
  clear: both;
  margin:0;
  padding:1px 10px 0 40px;
  list-style:none;
  }
#menu li {
  float:left;
  background:url('./images/left.gif') no-repeat left top;
  margin:0 0 0 1px;
  padding:0 0 0 9px;
  }
#menu a {
  float:left;
  display:block;
  background:url('./images/right.gif') no-repeat right top;
  padding:5px 15px 4px 6px;
  text-decoration:none;
  font-weight:bold;
  color:#ccc;
  }
/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
#menu a {float:none;}
/* End IE5-Mac hack */
#menu a:hover {
  color:#fff;
  }
#menu li.active a:hover {
  color: #333;
  }
#menu li.active {
  background-image:url('./images/left_on.gif');
  }
#menu li.active a {
  background-image:url('./images/right_on.gif');
  color:#333;
  padding-bottom:5px;
  }
#submenu {
  margin: 0;
  clear: both;
  background:#666 url('./images/submenu_bg.gif');
  width: 100%;
  height: 3.67ex;
  }
#submenu ul {
  margin: 0 0 0 40px;
  padding: .33ex 0 .5ex 0;
  }
#submenu li {
  display: inline;
  margin: 0 3ex 0 0;
  }
#submenu li.active {
  font-weight: bold;
  }
#submenu a {
  color: #666;
  text-decoration: none;
  }
#submenu li.active a {
  color: #000;
  }
#submenu a:hover {
  color: #000;
  }
#page_container, #footer {
  clear: both;
  width: 80ex;
  margin-left: 40px;
  }
#page_container {
  border-bottom: 1px solid #666;
  }
#page_content {
  margin: 4ex 5ex 4ex 5ex;
  }
#footer {
  text-align: center;
  margin: 1ex 0 2ex 0;
  }
#footer p {
  font-size: 67%;
  color: #999;
  }
