/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
#slidetabsmenu {
    font-family: sans-serif,arial;
    font-size: 10px;
    line-height: normal;
    margin: 10px;}
* html #slidetabsmenu{ /*IE only. Add 1em spacing between menu and rest of content*/
margin-bottom: 1em;}
#slidetabsmenu ul{
    list-style-type: none;
    padding: 0;}
#slidetabsmenu li{
display:inline;
margin:0;
padding:0;}
#slidetabsmenu a {
float:left;
background:url(images/tab-left.gif) no-repeat left top;
margin:0;
padding:0 0 0 9px;
text-decoration:none;}
#slidetabsmenu a span {
float:left;
display:block;
background:url(images/tab-right.gif) no-repeat right top;
padding:3px 14px 3px 5px;
font-weight:bold;
color:#3B3B3B;
    border-bottom: 1px solid gray;}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#slidetabsmenu a span {float:none;}
/* End IE5-Mac hack */
#slidetabsmenu a:hover span {
color: black;}
#slidetabsmenu #current a {
background-position:0 -125px;}
#slidetabsmenu #current a span {
background-position:100% -125px;
color: black;}
#slidetabsmenu a:hover {
background-position:0% -125px;}
#slidetabsmenu a:hover span {
background-position:100% -125px;}
ul#nav { position:fixed; top:10%; right:5%; list-style-type:none; border:outset 5px #0000FF; padding:5px; background-image:url(trans_pix.png); display:table; } ul#nav>li { text-align:center; width:5em; padding:2px 1em; display:table-cell; } ul#nav>li>a { color:#FFFFFF; font-weight:bold; } ul#nav>li:hover { background-color:#FFFFFF; } ul#nav>li:hover>a { color:#0000FF; }


/* ^^^^^^^^ BELOW IS THE CODE FOR THE MENU ^^^^^^^^^^ */

#styletwo{position:relative;display:block;height:24px;font-size:11px;font-weight:bold;background:transparent url(images/bgOFF.gif) repeat-x top left;font-family:Arial,Verdana,Helvitica,sans-serif;width:auto;}
* html #styletwo{ /*IE only. */
width:100%}
#styletwo ul{display:block;margin:0;padding:0;list-style-type:none;width:auto;}
#styletwo ul li{
    float: left;
    margin: 0 1px 0 0;}
* html #styletwo li{ /*IE only. */
float: none;}
#styletwo ul li a{display:block;float:left;color:#000;text-decoration:none;padding:6px 10px 0 10px;height:24px;}
#styletwo ul li a:hover,#styletwo ul li a.current{color:#fff;background:transparent url(images/bgON.gif) repeat-x top left;}

/* ^^^^^^^^ ABOVE IS THE CODE FOR THE MENU ^^^^^^^^^^ */
/* -------------------------------  body --------------------------------------------- */
body {
  background-image: url(images/ws_Sleepless_1280x1024.jpg);
  background-repeat: no-repeat;
  background-color: #8EBCE0;
  padding-left: 150px;
  padding-top: 5px;
  font-size: 120%;
  /*background: url(underline.gif) repeat-x 100% 100%;padding-bottom: 4px;   */
}
input{
border: 3px double #999999;
border-top-color: #CCCCCC;
border-left-color: #CCCCCC;
padding: 0.25em;
background-color: #FFFFFF;
/*background-image: url(http://www.macromedia.com/ ...
background-repeat: repeat-x;font-weight: bold;*/
color: #333333;
font-size: 75%;
font-family: Verdana, Helvetica, Arial, sans-serif;
}
  /* P              { font-size: 12pt; line-height: 12pt }*/
  .leipa {
  font-size: 120%; padding-right:10px;
}
.leipa P:first-letter,.leipa strong:first-letter{
  font-size: 110%; font-style: normal;
  font-weight: bold; float: left;
  font-family: "Times New Roman", Times, serif;
  alignment-baseline: baseline;/**/

}

/*.leipa P:first-letter:after{
 content:"´´´´´´´´´´´´´´´´´´´´´´´``````````````````````";*/
}
.sd_right .error {
  color: #990000;
  background-color: #FFF0F0;
  padding: 7px;
  margin-left: -1px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 5px;
  border: 1px dashed #990000;
}
.kehys {
  border: 1px dashed #990000;
}
.leipa UL {
  list-style: outside;
  border: 1px dashed #990000;
  padding-left: 30px; padding-top: 5px;  padding-bottom: 10px; padding-right: 10px;
}
.leipa  UL.compact { list-style: inside }
.sisennys{
   width: 640px;
  color: #000000;
  padding: 20px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px dashed #990000;
}
/*Internet Explorer 7 ei ymmrrä *html. 6 tuntee, mutta se ei tunne html>body  */
 .sisennys{
  background-color: #F2F2F2;
}

/* <!--[if IE 7]><link rel="stylesheet" type="text/css" href="IE7styles.css" /> <![endif]-->        */
*html .divtabs { /*IE6 varten oma. Sille toimii kyllä tuo normaalikin, mutta tässä on hieman eri arvot.  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);    */

}
/*.huom,.sisennys td,.sisennys th,.sisennys ul{
  color: #990000;
 background-color: #F4F0F0;
  padding: 7px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px dashed #990000;
}*/
.sd_right {
  clear:both;
  background-color: #FFF;
  float: right;
  color: #000;
  /*margin: 0 90px 0 0;*/
  padding: 0px 0px 0 10px;
  width: 200px;
  border-left: 1px dashed #ccc;
  margin-right: expression(document.all.center.offsetWidth * -1);
}
table{
  padding: 2;
  margin-left: 5px;
  border-collapse: collapse;
  font-family: arial, sans-serif;
  font-size: small;
}
.divtabs {  /*toimii ei ie*/
  float:none;
  width:660px;
 !important  filter: alpha(opacity=80);
  -moz-opacity: 0.80;
  opacity:0.8;
}

