/* 
 * Screen styles 
 * Author: Marko Myllymäki (marko myllymaki at iki fi)
 */

body,
html { 
  margin:0;
  padding:0;
  color:#000;
  background:#f0f5ff;
  background-image: url("images/pattern.gif");
  font-family: "Verdana", sans-serif;
}

body { 
  min-width:900px;
}

#wrapper {
  width:900px;
  margin:0 auto;
  color: #000;
  background:#e8f0ff;
  background-repeat: no-repeat;
}

#menu { 
  float: left;
  width: 200px;
  margin: 0px;
  padding: 20px 5px 5px 10px;
  font-family: "Arial", sans-serif;
  font-size: 90%;
}

#header {
  color: #ffffff;
  background-color:#80a7de;
  background-image: url("images/header_bg2.jpg");
  text-align: right;
}

#footer {
  position: relative;
  clear: both;

  height: 60px;
  margin: 0;
  padding: 0;
  
  border-top: 2px solid #fff;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;

  color: #000;
  background-color:#80a7de;
  background-image: url("images/header_bg2.jpg");
}

#menu ul { 
  margin: 2px 0 0 0; /* 0 **/
  padding: 0;
  list-style-type: none;
  line-height: 1.3em;
  font-weight: bold;
}

#menu ul ul #active, #menu ul ul li a { 
  border-top: 1px solid #e8f0ff;
  border-bottom: 0;
  margin: 0 0 0 0; /* 0 **/
  padding: 0em 1em;
  line-height: 1.3em;
}

#special_menu { 
  margin-top: 2em;
  margin-bottom: 2em;
  line-height: 1.1em;
  font-size: 80%;
}

#menu li a {   
  margin: 2px 0 0 0; /***/
  display: block;
  line-height: 1.3em;
}

#menu a:link, #menu a:visited {  
  margin: 2px 0 0 0; /***/
  display: block;     
  color: #103070;
  text-decoration: none; 
}

#menu a:hover {  
  /*border-top: 2px solid #e8f0ff;*/
  margin: 2px 0 0 0; /***/
  color: #000;
  background-color:#fff;
}

#menu ul li  {  
  margin: 2px 0 0 0; /***/
  display: inline;
}

/* menu active elements highlighting */
#menu ul #active {  
  margin: 1px 0 0 0; 
  display: block;
  color: #000;
  background-color: #fff;
}

#menu ul #active ul {    
  margin: 1px 0 0 0; 
  display: block;
  color: #000;
  background-color: #e8f0ff;
}

#header h1 { 
  margin: 0px 0px 5px 0px;
  border-bottom-style: solid;
  border-width: 2px;
  padding: 0px 10px 5px 5px;
}

#content { 
  float: right;
  width: 660px;
  min-height: 400px;
  margin: 0px;
  padding: 5px 10px 30px 10px;
  color: #000;
  background-color: #fff;
}

* html #content {  
  /* The IE fix - \*/
  height: 400px;
  /* Keep this here! */ 
}

#footer p {  
  position: absolute;
  margin: 0px;
/*)  border-top-style: solid;
  border-color: #e8f0ff;
  border-width: 2px;
*/
  padding: 1em 1em;
  color: #204080;
  font-size: 80%;
  bottom: 10px;
}

#footer #logos {  
  position: absolute;
  right:12px;
  bottom:7px;
}

#footer img {  
  border: none;
}

/* Content area styles ("user styles")*/

#content { 
  position: relative;
  font-family: Verdana, sans-serif;
  font-size: small;
}

#content p {  
  font-family: Verdana, sans-serif;
}

#content #last_update { 
  position: absolute;
  bottom:1px;
  right:10px;
  color:#204080;  
  font-size: x-small;
}

#content a {
  text-decoration: none;
  color: #005be5;
  background: none;
}
#content a:visited {
  color: #402b98;
}
#content a:active {
  color: #402b98;
}

#content a:hover {  
  border-bottom: 1px dotted #5050a0;
  background: #f0f5ff;
}

#content h2, h3, h4 { 
  color: #204080; 
  font-weight: bold;
  font-family: Arial, sans-serif;
}

#content h2 { 
  font-size: 140%;
}

#content h3 { 
  font-size: 130%;
}

#content h4 { 
  font-size: 110%;
}

#content ul { 
  margin: .1em 0 0 1.3em;
  padding: 0;
  line-height: 1.4em;
  list-style-type: square;
  list-style-image: url("images/square.gif");
}

#content li
{ 
  margin-bottom: 0.3em;
  padding-bottom: 0px;
}

#content img.right {  
  float:right;
  margin:0.5em 0em 1em 1em;
  border: solid 1px #ddd;
  padding: 2px;
}

#content img.left {  
  float:left;
  margin:0.5em 1em 1em 0em;
  border: solid 1px #ddd;
  padding: 2px;
}

#content img.icon {  
  margin:0;
  border: 0;
  padding: 0;
  position: relative;
  bottom: -4px;
}

/* Forms in the content area*/

#content form {
   line-height: 1.4em;
}

#content form label { 
  display: block;
  float: left;
  margin-right: 0.5em;
  width: 5em;
  text-align: left;
}  

#content form input { 
  border: 1px solid #8595bf;
  padding:1px;
  background-color: #e8f0ff;
  color: #781351;
}  

#content form .submit input { 
  border: 1px outset #c5d5ff;
  color: #000;
  background-color: #e8f0ff;
}

#content form fieldset { 
  border: 1px solid #c5d5ff;
  padding: 1em 1em;
}

#content form legend { 
  padding: 2px 10px;
  color: #000;
  background-color: #e8f0ff;
}

#content #warning {  
  color: #a02010;
  background-color: #ffffe0;
  font-weight: bold;
}

#content dl dt { 
  padding-top: 0.3em;

  color: #204080; 
  font-weight: bold;
  font-family: Arial, sans-serif;
}


#content #news {  
  border: 1px solid #c5d5ff;
  padding: 0 5px 0 5px;
  margin: 0;
  background-color: #e0f0ff; 
}

#content dl dd { 
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}

#content table {
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border: 1px solid #d8e0ef;
  margin: 10px 0px;
  padding: 0;
  border-collapse: collapse;
}

#content table.data {
  font-size: 90%;
}

#content table.data td, table.data th {
  padding: 2px 5px;
  vertical-align: top;
}


#content td {
  margin: 0;
  border: 1px solid #d8e0ef;
  padding: 2px;
  font-weight: normal;
  text-align: left;
}

#content th {
  text-align: left;
  border: 1px solid #d8e0ef;
  background-color:#e8f0ff;
  margin: 0;
  padding: 2px;

  color: #204080; 
  font-weight: bold;
  font-family: Arial, sans-serif;
}



