@charset "utf-8";

/*-------------------------------------------------------

Base elements

*/
html {
  background-color: #CDE;
}

body {
  margin: 0;
  padding: 0;
/*  font-family: Verdana, Arial, Helvetica, Sans-Serif;*/
  font-family: Tahoma, Geneva, Arial, Sans-Serif;
  font-size: 11pt;
}
/*-------------------------------------------------------

Element positioning

*/

#Page {
  margin: 10px auto 15px auto;
  width: 790px;
  background-color: #FFF;
}

#Header {

}

#Menu {
  margin-left: 19px;
  width: 150px;
  float: left;
  margin-top: 25px;
}

#Content {
  min-height: 300px;
  margin-left: 170px;
}

#Footer {  height: 20px;
}


/*-------------------------------------------------------

Header styles

*/

#Header {
  background-color: #159;
  border-bottom: 1px solid #000;
}


#Header>a>img {
  margin: 10px 0px 10px 30px;
  border: none;
}

div.roundtop {
  background: url(corner_tr.png) no-repeat top right;
}

div.roundbottom {
  background: url(corner_br.png) no-repeat top right;
}

div.roundtop>img, div.roundbottom>img {
  border: none;
  display: block !important;
}

/*-------------------------------------------------------

Menu styles 

*/
#Menu {
  text-align: center;
  border-left: 1px solid #000;
  /*border-right: 1px solid #000;*/
  padding-top: 20px;
  background: url(slide1_start.png) repeat-x 0px 5px;
  font-size: 115%;
  letter-spacing: 1pt;
}

#Menu ul {
  list-style: none;
  margin: 0px 0px 5px 0px;
  padding: 0px 0px 15px 0px;
  border-top: 1px solid #000;
  background: url(slide1_end.png) repeat-x bottom left;
}

#Menu li:first-child {

}

#Menu li {

}

#Menu a:link, #Menu a:visited {
  text-decoration: none;
/*  font-weight: bold;*/
  color: #FFF;
}

#Menu a {
  display: block;
  line-height: 30px;
  border-bottom: 1px solid #000;
  background: url(slide1.png) repeat-x #58B;
}

#Menu a:hover {
  background-color: #8AC;
}
 
/*-------------------------------------------------------

Language selection bar

*/

#langbar {
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  list-style-type: none; 
  list-style-position: inside;
  padding: 0;
  margin: 0 2em 0 0;
  float: right;
  text-align: center;
  border-collapse: collapse;
  display: none;
}

#langbar li {
  display: table-cell;
  width: 2em;
}

#langbar a {
  display: block;
}

#langbar a:link, #langbar a:visited {
  color: #CCC;
  text-decoration: none;
}     

#langbar a:hover {
  background-color: #CCC;
  color: #FFF;
}
      

#langchange {
  float: right;
  margin-top: 10px;
  margin-right: 2.5em;
  font-variant: small-caps;
}

#langchange:link, #langchange:visited {
  color: #CCC;
  padding: 0.25em 0.5em 0.25em 0.5em;
  border: 1px solid #DDD;
  text-decoration: none;
  font-size: 80%;
}

#langchange:hover {
  color: #FFF;
  background-color: #DDD;
}

/*-------------------------------------------------------

Content styles

*/
#Content {
  border-left: 1px solid #000;
  padding: 3em 2em 2.5em 3em;
  background-color: #FFF;
}

/* ---- Text blocks ---- */

#Content p, #Content blockquote {
  line-height: 1.5em;
/*  text-indent: 2em;*/
}

#Content p {

}

#Content blockquote {
  border-left: 2px solid #666;
  color: #666;
  margin: 0;
  padding-left: 10px;
}

/* ---- Tables ----- */

#Content table {
  border-collapse: collapse;
  text-align: left;
  margin: 1em auto 1.5em auto;
}

#Content table.left {
  margin: 1em 0 1.5em 0;
}

#Content td {
  padding: 0.25em 1em 0.5em 0.75em;
  vertical-align: baseline;
}

#Content table.top td {
  vertical-align: top;
}

#Content tr {

}

#Content th {
  padding: 0.25em 1em 0.25em 0.75em;
  font-weight: bold;
  vertical-align: baseline;
}

#Content table.bordered td {
  border: 1px solid #000;
}

#Content table.bordered th {
  border: 1px solid #000;
  background-color: #8AC;
  color: #FFF;
}

/* ---- Headers ---- */

#Content h1, #Content h2, #Content h3, #Content h4, #Content h5, #Content h6 {
  font-weight: normal;
}

#Content h1 {
  margin-top: 0px;
  border-bottom: 1px solid #CCC;
  font-size: 174%;
}

#Content h2 {
  font-size: 164%;
}

#Content h3 {
  font-size: 145%;
}

#Content h4, #Content h5, #Content h6 {
  font-size: 118%;
}

#Content h5 {

}

#Content h6 {

}

/* ---- Lists ---- */

#Content ul ol {

}

#Content ul {
  list-style-type: none; 
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

#Content li {
  line-height: 1.5em;
  list-style-position: inside;
}

#Content ul li:before {
  content:  "\2022  ";
  color: #666;
}

#Content ol {
  counter-reset: item;
  padding-left: 0;
  margin-left: 0;
  list-style-type: none;
}

#Content ol ol {
  padding-left: 1em;
  margin-left: 0;
}

#Content ol li {

}
/*
 HUOM!!!! jos counters() osiossa on sulkujen sisällä väli, internet explorerin parsaus kaatuu siihen. eli kirjoita seuraavasti:
 content: counters(item,".")
 
 eikä näin:
 content: counters(item, ".")
*/

#Content ol>li:before {
  content: counters(item,".") ". ";
  counter-increment: item;
  color: #666;
}

#Content ol>li li:before {
  content: counters(item,".") " ";
}

/* ---- Links ---- */

#Content a {

}

#Content a:link, #Content a:visited {
  color: #8AC;
  text-decoration: none;
}

#Content a:hover {
  text-decoration: underline;
}

/* ---- Definion lists ---- */
#Content dl {

}

#Content dt {
  margin-top: 0.5em;

}

#Content dd {
  margin-left: 2em;
  color: #333;
}

/* ---- Other ---- */

#Content img {
  float: right;
  padding: 5px;
  margin: 5px 10px;
  border: 1px solid #CCC;
  display: compact;
  clear: right;
}

#Content hr {
  margin: 5px 0;
  border-top: 1px solid #CCC;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

/*-------------------------------------------------------

Footer styles

*/
#Footer {
  font-size: 80%;
  color: #666;
  padding: 10px 25px 0px 25px; 
  border-top: 1px solid #000;
}

#Footer div.left {
  float: left;
}

#Footer div.right {
  text-align: right;
  float: right;
}

