html, body {
  padding: 0px; margin: 0px;
  height: 100% ;
  min-height: 800px;    font-family: arial, sans serif;
  font-size:11px;
  text-align: center;
}

object {
 border: 0px;
 margin: 0px;
 padding: 0px;
}


#footer {
      margin: 0 auto;
      text-align: right;
      vertical-align: bottom;
      width: 100%;
   }
table{
 margin: 0px;
 padding: 0px;
 border-collapse: separate;
 border-spacing: 1px;
 font-size:11px;    font-family: Arial, sans serif;
}
a {  
 text-decoration: none;  color: #006;  }
a:visited {
 text-decoration: none;   color: #226; }
 
a:hover{  text-decoration: underline;  color: #59B114; }

form {
 margin: 0px;
 padding: 0px;
 display: inline;

}

h1, h2, h3, h4 {
 padding: 0px;
 margin: 0px;
}

br {
 margin: 0px;
 padding: 0px;
 height: 0px;
}

.Otsikko {
 font-weight: 900;  font-size: 11px;  color: #006;
}

.Ingressi {
 font-style: italic;
}

.Huomio {
 background: yellow;
}
.kentta {
 height: 20px;
 width: 100px;
 font-family: Arial, sans serif;   font-size: 12px;
 text-transform: none;    border: 1px solid #555;    background: #AEC2DB;
}
.nappi {  height: 20px;
 width: 130px;
 font-family: arial, sans serif;
 font-size: 1em;    text-transform: lowercase;
 color: #000;
 background: #1b3;
  font-weight: 600; }
.nappi_red {
 height: 20px;
 width: 130px;
 font-family: arial, sans serif;
 text-transform: lowercase;
 font-size: 1em;
 font-weight: 600;
 color: #000;
 background: #d33;
}



#pohja_vasen {
 position: absolute;
 width:50%;
 left: 0px;
 background: url(img/bg/bodybg_vasen6.gif) repeat-x;  /* background:  
url(img/bg/bodybg_vasen4.gif) repeat-x; */  height: 100%;
 z-index: 0;
}
#pohja_oikea {
 position: absolute;
 width:50%;
 right: 0px;
 background: url(img/bg/bodybg_oikea4.gif ) repeat-x;
 height: 100%;
 z-index: 0;
}

#ulkokehys {
 position: relative;
 margin: 0px auto;
 background: #000;
 background: url(img/bg/mainbg3.gif) repeat-y;
 width: 997px;
 align: center;
 top: 0px;
 height: 100%;
 overflow: visible;
 color: #fff;
 z-index: 1;
 border: 0px #f00 solid;
 }


#yla_osa {
 background: url(img/bg/login_bg.jpg) no-repeat;
 width: 997px;
 height: 27px;
 padding: 0px;
 margin: 0px;
 z-index: 2;
 }




#login {
 position: relative;
 color: #333;
 float: right;
 width:500px;
 top: 1px;
 right: 40px;
 vertical-align: top;
 text-align: right;
}

#login a{
 color: #006;
 text-decoration: none;
}
#login a:hover{
 color: #59B114;
 text-decoration: none;
}

#login table {
 margin: 0px;
 width: 100%;
 border: 1px solid #f00;
 padding: 0px;
 font-size: 1em;    font-weight: normal;
 border-collapse: collapse;
 border: 0px;
 color: #333;
 float:right;
 text-align: right;

}

#login .nappi {
 height: 20px;
 width: 130px;
 font-family: arial, sans serif;
 font-size: 1em;
 color: #000;
 background: #1b3;
  font-weight: 600;
}

#login .nappi_out {
 height: 20px;
 width: 130px;
 font-family: arial, sans serif;
 font-size: 1em;
 font-weight: 600;
 color: #000;
 background: #d33;
}

#login .kentta {
 height: 20px;
 width: 100px;
 font-family: Arial, sans serif;   font-size: 12px;
 text-transform: none;    border: 1px solid #555;    background: #AEC2DB;
}

#flash_osa {
 /*background: url(img/bg/top_flash_bg.jpg) no-repeat;*/  background: none;
 width: 997px;  overflow: hidden;
 height: 139px;
 padding: 0px;
 margin: 0px;
 margin-left: 0px;
 margin-top: 0px;
 top: 0px;
 z-index: 2;
 align: left;
 }

.flash {
 border: 0px;
}

#menu_1 {
 background: url(img/bg/menu1_bg3.gif) no-repeat;
 width: 997px;
 height: 24px;
 padding: 0px;
 padding-left: 38px;
 margin: 0px;
 z-index: 2;
 text-align: left;
 vertical-align: bottom;
 text-transform: lowercase;
 font-weight: 600;
 font-size: 11px;
}

#menu_boksi1 {
 float: left;
 display: inline;
 padding-left: 1px;
 padding-right: 1px;
 padding-top: 5px;
}

#menu_1 a {  color: white;  text-decoration: none; } #menu_1 a:hover {  color: 
59B114;  text-decoration: none; }

#menu_2 {
 background: url(img/bg/menu2_bg2.gif) no-repeat;
 width: 997px;
 height: 23px;
 padding: 0px;
 padding-left: 37px;
 margin: 0px;
 z-index: 2;
 text-align: left;
 text-transform: lowercase;
 font-weight: 5 00;
 font-size: 10px;
}

#menu_boksi2 {
 float: left;
 padding-left: 1px;
 padding-right: 1px;
 padding-top: 5px;
}


#menu_2 a {
 color: black;
 text-decoration: none;
} #menu_2 a:hover {  color: #3F7D0E;  text-decoration: none; }


#menu_main_sep {
 background: url(img/bg/menu_main_sep.gif) repeat-x;
 width: 850px;
 height: 15px;
 padding: 0px;
 margin: 0px auto;
 z-index: 2;
}

#keskikehys {
 background: url(img/bg/mainbg3.gif) repeat-y;
 text-align: center;
 width: 997px;
 padding: 0px;
 margin: 0px;
 z-index: 2;
}

#keski_alku {
 background: url(img/bg/main_alku_bg2.gif) no-repeat;
 top: 0px;
 width: 997px;
 height: 60px;
 padding: 0px;
 margin: 0px;
 z-index: 2;
 text-align: center;
}

#keski_sisa_boksi {
 clear: both;
 width: 920px;
 margin: 0px auto;
 padding: 0px;
 text-align: left;
}

#pvm {
 color: #000;
 font-size: 1em;
 float: left;
 margin-left: 4px;
 margin-top: 13px;
 margin-bottom: 0px;
}

#iso_navi_teksti {
 color: #fff;
 font-size: 2.0em;
 font-weight: 900;
 font-family: Tahoma;
 text-transform: lowercase;
 float: left;
 margin-top: -5px;
 margin-left: -3px;
 z-index: 3;
 margin-bottom: 0px;
}

#muokkaus_nappulat {
 color: #000;
 float: right;
 margin-right: 5px;
 margin-top: 22px;
 text-align: right;
}

#apu_navi {
 font-size: 1em;
 color: #000;
 float:right;
 margin-right: 5px;
 margin-top: 13px;
 text-align: left;
 text-transform: Capitalize;
 z-index: 3;
 width: 35%;
}

#haku_boksi {
 color: #000;
 float: right;
 margin-right: 10px;
 margin-top: 18px;
 margin-bottom: 3px;
 text-align: right;
}

#haku {
 color: #000;
 font-size: 1.0em;
 margin-top: 0px;
 border: dashed 1px #aaa;
}
#kayttajienhallinta_text {    margin: 2px;  font-size: 12px;  font-weight: 600;
}

#haku .nappi {
 height: 20px;
 width: 40px;
 font-family: Arial, sans serif;
 text-transform: lowercase;
 font-weight: 600;
 font-size: 1em;
 margin: 2px;
}

#haku .kentta {
 height: 20px;
 width: 120px;     display: inline;
 font-family: Verdana, sans serif;
 margin: 2px;    margin-right: 0px;    border: 1px solid #555;    background:  
#AEC2DB;    font-size: 12px;
}

#palaute {
 color: #000;
 }



#sisaltokehys {
 background: url(img/bg/main_sis.gif) repeat-y;
 width: 702px;
 float: left;
 margin: 0px;
 margin-left: 10px !important;
 margin-left: 5px;
 color: #444;
 text-align: left;
 z-index: 3;
 overflow: hidden;
}

#main_sis_alku {
 position: relative;
 background: url(img/bg/main_sis_alku.gif) no-repeat;
 margin: 0px;
 padding: 0px;
 width: 702px;
 height: 11px;
 z-index: 3;
}

#main_sis {          /* P--OSA ELI KESKIKEHYS, JOHON TUOTETAAN SIS-LT+ */
 position: relative;
 background: url(img/bg/main_sis.gif) repeat-y;
 padding: 20px;
 padding-top: 8px;
 padding-bottom: 25px;
 margin: 0px;
 width: 690px;
 text-align: left;
 z-index: 3;
 overflow: hidden;
}

#main_sis_kapea {          /* Tekstisisukselle pieni kavennus reunoja varten.. firefox ongelman takia */
 width: 670px;
 z-index: 3;
 text-align: justify;
}

#edit_boksi {
 margin: 7px;
}


#main_sis_loppu {
 position: relative;
 background: url(img/bg/main_sis_loppu2.gif) no-repeat;
 bottom:0px;
 margin: 0px;
 width: 702px;
 height: 11px;
 z-index: 3;
}

#sivupalkki {
 float:right;
 margin-right: 5px;
 color: #000;
 background: #E8E8E8;
 width: 190px;
 font-size: 12px;
 }
#sivupalkki a{  color: #fff; }


.sivu_solu_alku {
 position: relative;
 height: 9px;
 width: 190px;
 background: url(img/bg/sivu_solu_alku.gif) no-repeat;
}

.sivu_solu_boksi {
 width: 190px;
 background:  #006;
 padding-bottom: 5px;
}

.sivu_solu_aihe {
 color: #fff;
 font-weight: 800;
 margin-left: 4px;
}

.sivu_solu_otsikko {
 background: url(img/bg/sivu_solu_otsikko.gif) repeat-x;
 color: #fff;
 position: relative;
 left: 2px;
 padding-top: 2px;
 height: 19px;
 width: 186px;
 font-weight: 800;

}

.sivu_solu_sisalto {
 position: relative;
 background: #D0EAF9;
 font-size: 10px;
 height: 101px;
 width: 186px;    
 font-weight: 400;
 left: 2px;
 overflow:hidden;
}

.sivu_solu_sisalto_teksti {
 position: absolute;
 margin: 3px;
 font-weight: 400;  font-size: 11px;
}
.sivu_solu_loppu {
 position: relative;
 height: 9px;
 width: 190px;
 background: url(img/bg/sivu_solu_loppu.gif) no-repeat;
 margin-bottom: 10px;
}


   #keski_loppu {
 background: url(img/bg/main_end.jpg) no-repeat;
 background-position: top left;
 width: 865px;
 height: 12px;
 padding: 0px;
 margin: 0px;
 z-index: 2;
 overflow:hidden;
}



#alaosa_navi {
 /* background: url(img/bg/footerbg.gif) repeat-y; */
 width: 997px;
 height: 30px;
 padding: 10px;
 text-align: center;
 color: #000;
 text-transform: lowercase;
}

#alaosa_navi a{
 color: #000;
 text-decoration: none;
}

#alaosa_navi a:hover{  color: #000;  background: #ddd;  text-decoration: 
underline;  }

.luelisaa {
 color: #ffffff;
 text-decoration:none;
}



/* #footer {
 background: url(img/bg/footerbg.gif) repeat-y;
 position: relative;
 width: 865px;
 text-align: right;
 bottom: 0px;
 z-index:1;
 }

#footer_table {
 background: url(img/footer.jpg) right no-repeat;
 width: 864px;
 position: relative;
 bottom: 0px;
 z-index: 1;
}  */
