/* CSS Document */



body {
   font-family: arial;
   font-size: 9pt;
   margin: 0;
   padding: 0;
   background:#e8e8e8;
   background-image:url('images/tausta.jpg');
   background-repeat:repeat-x;

 
}

body.kirjautunut {
   font-family: arial;
   font-size: 9pt;
   margin: 0;
   padding: 0;
   background:#e8e8e8;
   background-image:url('images/tausta.jpg');
   background-repeat:repeat-x;
   background-position: 0% 36px; 
}

/*a {
   padding-bottom:2px;
}*/

body.tuloste {
   background: #ffffff;
   padding:1em;
}

body * {
   font-size: 9pt;
}

td.rivikohdistus {

   background-image:url('images/arrowright.gif') !important;
   background-repeat:no-repeat !important;
   background-position: right center !important;
   padding-right:25px !important;
  /* background-color:red !important; */
}

td.ylareuna {
   padding-left:10px;
   background-color:#fe6915;
}

div.alapalkki {
   text-align: center;
   height: 40px;
   width: 960px;
   background-image:url('images/alapalkki.gif');
   background-repeat: no-repeat;
   padding-top:12px;
   color:#fff;
/*   font-size:9pt;
   font-family:Arial;*/
}

div.alapalkki2 {
   text-align: center;
   height: 40px;
   width: 960px;
   background-image:url('images/alapalkki_sivu.jpg');
   padding-top:16px;
   color:white;
   background-repeat: no-repeat;
/*   font-size:9pt;
   font-family:Arial;*/
}


#paataulu {
   width:960px;
   /*border-collapse: collapse;*/
/*   width: 200px;*/
   /*border: 1px solid #e0e0e0;*/
}


/*------------------------------------------------------------------------------
   LINKKIEN VÄRITYS

   - Kaikki sivuston linkit ovat sinisiä ja ilman alleviivausta
   - Kursori linkin päällä => alleviivaus ja oranssi väri
/*----------------------------------------------------------------------------*/
a {
/*   color: #9fa0a4; /*navy;*/
   /*color: #808080; navy;*/
/*   color: #023783; */
/*#1767B0;*/

   color: #2B486A;
   text-decoration: none;
   font-family: Arial; /*arial;*/
   /*font-weight: bold;*/
}

/*
a:visited {
   color: #1767B0;
   text-decoration: none;
   font-family: Arial;
}

a:active {
   color: #1767B0;
   text-decoration: none;
   font-family: Arial;
}*/

a:hover {
   color: #327EF1;
   text-decoration: underline;
   /* border-bottom:solid 1px #a0a0a0; */
}

table.navi {
   border-top:1px solid #d0d0ff;
   background-image:url('images/pvmtausta.jpg');
   background-repeat:no-repeat;
   background-position:top right;
}


td.ylanavi {
	background-image:url('images/ylanavi.jpg');
   background-repeat:repeat-x;
	padding-left:5px;
   padding-top:4px;
   padding-bottom:5px;
}

td.ylanavi2 {
	background-image:url('images/valipalkki.jpg');
   padding-left: 14px;
}

td.ylanavi3 {
	background-image:url('images/ylanavi2.jpg');
	background-repeat:repeat-x;
   padding-left: 14px;
}



td.ylamenu {
   /*font-size:9pt;*/
   padding:4px;
   /*background-image:url('images/ylanavi.jpg');
   background-repeat:repeat-x; */
}

td.pvm {

   background-image:url('images/pvmtausta.jpg');
   background-repeat:no-repeat;
   background-position:top right;
}

div.hakunavix {
   /*background-image:url('images/pvmtausta.jpg');
   background-repeat:no-repeat;
   background-position:top right;*/
   position:absolute;
   border-bottom:1px solid #d0d0ff;
   background-color:#d0d0ff;
   /*background-image:urrgb(61,129,243)l('images/valipalkki.jpg');*/
   width:201px;
   padding-left:50px;
}

div.navigointi {
   color:#808080;
}

div.ylanavigoinnit {

   padding-right:2em;

}

td.navi {
   border-top:1px solid #d0d0ff;
   border-bottom:1px solid #d0d0ff;
   padding:4px 0;
   background-image:url('images/valipalkki.jpg');
}

td.oikeanavi {
   border-top:1px solid #d0d0ff;
   /*border-bottom:1px solid #d0d0ff;*/
   padding:4px 0;
   background-image:url('images/valipalkki.jpg');
}

span.inactive {
   /*text-decoration:line-through;*/
   color:#a0a0a0;
}

div.murupolku {
   font-family: Arial;
   font-size: 9pt;
   padding-bottom:0em;
   padding-left:20px;
   color:#808080;
   margin-bottom:1em;
}

div.murupolku * {
   font-family: Arial;
   font-size: 9pt;
}

div.ylarivi {
   padding-bottom: 40px;
   /*color: #808080;*/
   color: #808080;
   text-align: right !important;
   margin-top:46px;
}

div.ylarivi2 {
/*   padding-bottom: 34px;*/
   /*color: #808080;*/
   color: #808080;
   text-align: right !important;
}


div.ylarivi a {
   color: #808080;
}

td.menulinkki a {
   font-size:11pt;
   color:#fff;
   font-weight:bold;
/*   text-shadow:1px 1px 1px #000; */
   display:block:
   width:100%;
}

td.menulinkki a:hover {
   font-size:11pt;
   color:#000;
   font-weight:bold;
/*   text-shadow:1px 1px 1px #000; */
   display:block:
   width:100%;
   text-decoration:none;
}

td.menulinkki a:visited {
   font-size:11pt;
   color:#fff;
   font-weight:bold;
/*   text-shadow:1px 1px 1px #000; */
   display:block:
   width:100%;
   text-decoration:none;
}


/*td.menulinkki a:hover {
   background-color:#F2F7FF;
   color:#043580;
}*/


td.menulinkki {
   text-align: center;
   padding: 0 8px;
   padding-left:10px;
   padding-right:10px;

}

td.menulinkki2 {
   text-align: center;
   padding: 0 8px;
   background-color:#496794;

}
td.menulinkki3 {
   text-align: center;
   padding-left: 5px;
   color:#fff;

}


td.menulinkki2 a.valittu {
/*   color: white;
   background:#a0a0a0;*/

   /*color: #48494e;*/
   /*color: #fff;*/
   /* #1668b1; */

/*   font-weight: bold;*/
/*   font-size:9pt;
   font-family: Arial;*/
   text-decoration: underline;

}

td.menulinkki2 a.eivalittu {
/*   color: white;
   background:#a0a0a0;*/

   /*color: #48494e;*/
   /*color: #fff;*/
   /* #1668b1; */

/*   font-weight: bold;*/
   color: #ffffff;
/*   font-size:9pt;
   font-family: Arial;*/  
}


td.menulinkki a.valittu {
/*   color: white;
   background:#a0a0a0;*/

   /*color: #48494e;*/
   /*color: #fff;*/
   /* #1668b1; */
    color:#fff;
/*   font-weight: bold;*/
/*   font-size:9pt;
   font-family: Arial;*/
}

a.valittu {
/*   color: white;
   background:#a0a0a0;*/

/*   color: #48494e;*/
   color:#fff;
/*   font-size:9pt; */
   font-weight: italic

}


a.eivalittu {

/*   color: white;*/
   color:#fff;

   /*color: #48494e;*/
/*   font-size:9pt;*/
   font-weight: italic;

}


a.eivalittu:hover {
/*   color: #48494e;*/
   color:#fff;
/*   font-size:9pt;*/
   font-weight: italic;
}

a.eivalittu2 {

/*   color: white;*/
   color:#144168;

   /*color: #48494e;*/
/*   font-size:9pt;*/

}


a.eivalittu2:hover {
/*   color: #48494e;*/
   color:#144168;
/*   font-size:9pt;*/
   background:#F2F2F2;

}


/* Pyöreä valilehti alkaa */
.boxvlehti {
      margin-top:0;
  		margin-right:0;
      background:transparent;
 }
.boxvlehti h1, .boxvlehti p {
 margin:0 10px;
 }
.boxvlehti h1 {
 font-size:1.5em;
 color:#aaa;
 }
.boxvlehti p {
 padding-bottom:0.5em;
 }
.boxvlehti .b1, .boxvlehti .b2, .boxvlehti .b3, .boxvlehti .b4,
.boxvlehti .b1b, .boxvlehti .b2b, .boxvlehti .b3b, .boxvlehti .b4b {
 display:block;
 overflow:hidden;
 font-size:1px;
 }
.boxvlehti .b1, .boxvlehti .b2, .boxvlehti .b3, .boxvlehti .b1b,
.boxvlehti .b2b, .boxvlehti .b3b {
 height:1px;
 }
.boxvlehti .b1 {
 margin:0 5px;
 /*background:#ddd;*/
 }
.boxvlehti .b2 {
 /*background:#eee;
 border-left:1px solid #ddd;
 border-right:1px solid #eee;*/
 margin:0 3px;
 border-width:0 2px;
 }
.boxvlehti .b3 {
 /*background:#eee;
 border-left:1px solid #ddd;
 border-right:1px solid #ddd;*/
 margin:0 2px;
 }
.boxvlehti .b4 {
 /*background:#eee;
 border-left:1px solid #ddd;
 border-right:1px solid #aaa;*/
 height:2px; margin:0 1px;
 }

.boxvlehti .b1b {
 margin:0 5px;
 /*background:#ddd;*/
 }
.boxvlehti .b2b {
 /*background:#eee;
 border-left:1px solid #ddd;
 border-right:1px solid #eee;*/
 margin:0 3px;
 border-width:0 2px;
 }
.boxvlehti .b3b {
 /*background:#eee;
 border-left:1px solid #ddd;
 border-right:1px solid #ddd;*/
 margin:0 2px;
 }
.boxvlehti .b4b {
 /*background:#eee;
 border-left:1px solid #ddd;
 border-right:1px solid #aaa;*/
 height:2px; margin:0 1px;
 }


.boxvlehti .titlecontent {
   display:block;
   text-align:left;
   padding-bottom:0.2em;
   padding-left:1em;
   padding-right:1em;
   background-image:url('images/valikko.jpg');
   background-repeat:repeat-x;

 }

.boxvlehti .content {
   display:block;
   text-align:left;
   padding-bottom:0.2em;
   padding-left:1em;
   padding-right:1em;

 }

.boxvlehti .boxcontent {

   padding-right:1em;
	background-image:url('images/ylanavi.jpg');
   background-repeat:repeat-x;
/*   background:red;*/
}

td.menupalkki {

	padding: 1em;
   /*background-color:#f0f0f0;
   border-right:1px solid #e0e0ff;*/

}

td.emenupalkki {

	padding: 0em;
   /*background-color:#f0f0f0;*/
   border-right:1px solid #e0e0ff;

}

table.lisatiedot * td {
   padding:0.2em 0.5em 0.2em 0;
}

td.lisaotsikko {
   color:000;
   font-weight:bold;
   padding-top:1em !important;
}

td.keskipalsta {
   text-align:left;
   background-color:#fff;
}

td.keskipalstaetusivu {
   text-align:left;
   padding:0px;
   background-color:#fff;
}

td.tausta2 {
	background-image:url('images/ylpea_siita.jpg');
   background-repeat:no-repeat;
   height:60px;
   background-color:#fff; 
}


p {
   width: 40em;
   line-height:1.5em;
   margin-top:1em;
   margin-bottom:1em;
/*   font-size:9pt;*/
}

div.ingressi {
   line-height: 1.8em;
   /*letter-spacing: 0.1em;*/
   margin-top: 0.2em;
   margin-bottom: 0em;
   font-weight: normal;
   color: #000;
   font-size: 9pt !important;
   font-weight: bold;
}

div.tiedotepvm {
   color:#404040;
   font-weight: normal;
   padding-bottom:4px;
}

div.tiedotepvm2 {
   color:#a0a0a0;
   font-weight: normal;
/*   font-size:9pt;*/
}

h1  {
   color: #333333;
   font-family: Arial;
   padding-bottom:2px;
   margin:0;
   margin-bottom:1em;
   font-weight: normal;
   font-size:14pt !important;
   line-height:1em;
}

h1.tiedote {
   margin-bottom:5px;
}


h3  {
   color: #E48A00;
   font-family: Arial;
   padding-bottom:2px;
   margin:0;
   margin-bottom:0.3em;
/*   font-weight: bold;
   font-size:9pt !important ;*/

}

div.muokattu {
   padding-bottom:10px;
   padding-right:20px;
   color:#808080;
   text-align:right;
   font-size:9pt !important;
   background-color:#fff;
}

div.muokattu * {
   font-size:9pt !important;


}

td.muokattu {
   background-image:url('images/menuala.jpg');
   background-repeat:no-repeat;
   background-position:left top;
   padding-bottom:1em;

}

div.tulosteheader {
   font-family:arial;
   color:#404040;
}

div.tulosteleipa {
   /*border-top:1px solid #a0a0a0;
   border-bottom:1px solid #a0a0a0;*/
   padding-left: 2em;
}


div.sivu {
   padding-top:0.5em;
   padding-left:1.6em;
   padding-bottom:1.5em;
   font-size:9pt;
   line-height:1.1em;
   width:660px;
   vertical-align:top;
}

div.sivu2 {
   padding-top:0em;
   padding-left:1em;

   padding-bottom:1.5em;
/*   font-size:9pt;*/
   line-height:1.5em;
   width:460px;
   vertical-align:top;

}

div.sivu3 {
   padding-top:0.5em;
   padding-left:1em;
   padding-bottom:1.5em;
/*   font-size:9pt;*/
   line-height:1.5em;
   width:650px;
   vertical-align:top;

}


/*div.sivu * {
   font-size:9pt;
}*/



input.haku {
   font-family: Arial;
   font-size: 9pt;
   font-weight: bold;
   background:#ffffff;
/*
   border-top: solid 1px #c0c0c0;
   border-right: solid 1px #e0e0e0;
   border-bottom: solid 1px #e0e0e0;
   border-left: solid 1px #c0c0c0;
*/

   border-left: solid 1px #a0a0a0;
   border-top: solid 1px #a0a0a0;
   border-right: solid 1px #c0c0c0;
   border-bottom: solid 1px #c0c0c0;
   width:140px;

   height:18px;
   padding-left:15px;
   background-image:url('images/haku_10x9.jpg');
   background-repeat:no-repeat;
   background-position:2px 3px;
}

div.hakunavi * {
   font-size:8pt;
   color:#808080;
   line-height:1em;

}

div.hakunavi {
   font-size:8pt;
   color:#808080;
   line-height:1em;
}

span.hakuotsikko * {
   font-size: 9pt;
   color: navy;
}

div.ohje {
   line-height: 1.33em;
   background-color: #ffffe0;
   border:solid 1px #d0d0c0;
   padding:2px 4px;

}

div.tulostenavi {
   margin-bottom: 1em;
}


/*table.isotaulukko {
   background-image:url('images/tausta211.jpg');
   background-repeat:repeat-y;
}*/

div.haku {
    background-image:url('images/tausta_1x65.jpg');
    padding:0px;
    margin:0px;
}


/*FCKeditor käyttää alla olevia tyylejä*/


/*
    The following are some sample styles used in the "Styles" toolbar command.
    You should instead remove them, and include the styles used by the site
    you are using the editor in.
*/

div.leipa  .Bold
{
	font-weight: bold;
}

div.leipa  .Title
{
	font-weight: bold;
	font-size: 18px;
	color: #cc3300;
}

div.leipa  .Code
{
	border: #8b4513 1px solid;
	padding-right: 5px;
	padding-left: 5px;
	color: #000066;
	background-color: #ff9933;
}

form.lomake {
}

form.lomake label {
   margin-top:0.5em;
   display: block;
   margin-left:1em;
}

form.lomake label.check {
   margin-top:0;
   display: inline;
   margin-left:3px;
}

form.lomake input {
   margin-left:1em;
   font-size:10pt;
   color:#000000;
   font-weight: normal;
}

form.lomake h3 {
   margin:0;
   margin-top:1em;
   color:#404040;
   font-size:10pt;
   font-family:Arial;
}

div.pakollinen {
   /*background-color:#ffe0e0;*/
   margin-left:1em;
   padding:0.5em;
   color:red;
   display:none;

}

div.pakollinen2 {
   /*background-color:#ffe0e0;*/
   color:red;
   display:none;
   font-weight:bold;
}


div.esimerkki {
   margin-left:1em;
   color:#808080;

   width:30em;
   /*position:absolute;display:inline;width:30em;*/
}

div.lomakeupper {
   margin-left:1em;
}

form.lomake div.lomakefooter {
   margin-top:1em;
}
form.lomake div.alateksti {
   margin-left:1em;

}


table.uusimmattoimitilat * h1{

   color:#808080;
   font-size:10pt !important;
   margin:0;

}

/* Asiakas tms. luettelo alkaa */
table.luettelo {
   /* background:#d0d0d0; */
	border:solid 0px #d0d0d0;
	/* margin:5px 0 9px 0; */
	padding:7px 5px 9px 9px;   
}
table.luettelo th {
	font-weight:normal;
	text-align: left;
   background:#f0f0f0;
/*   font-size:9pt; */
   font-weight:normal;
/*   font-family:Arial;*/
   padding:0.2em;
   padding-left:0.3em;
   padding-right:0.3em;
}
table.luettelo th.lotsikko {
	background-color: #e0e0e0;
   font-weight:bold;
   color:#404040;
}

table.luettelo th a {
   font-weight:normal;
   display:block;
   font-family:Arial;
}
/*
table.luettelo tr td a {
   display:block;
   width:100%;
}
*/
table.luettelo th a:visited {
   color:#404040;
}
table.luettelo th a:hover {
   color:#404040;
}
table.luettelo th a:active {
   color:#404040;
}
table.luettelo th a:link {
   color:#404040;
}
table.luettelo tr td {
	font-weight:normal;
   background:#ffffff;
/*   font-size:9pt;*/
   padding:4px 9px 4px 0px; 
}

table.luettelo tr td.vasen {
   text-align:right;
   padding-right:2px;
}

table.luettelo tr.hover td {
 	background:#F5F2E5;
}

tr.hooveri td {
 	background:#c5d8f5;
}

table.luettelo tr td.osallistuja {
	background-color: #e0e0e0;
}

/* Asiakas tms. luettelo päättyy */

div.ylapalkki {
   background:#f0f0f0;
   background-repeat:repeat-x;
   border-bottom:1px solid #a0a0a0;
   padding:3px;
   position:fixed;
   top:0;
   width:100%
}

div.ylapalkki a, table.yllapitopalkkitausta a, td.valikkolinkki a{
   color:#333;
   text-decoration:none;
   padding:0px;
   margin:0px;
}

div.ylapalkki a:hover, table.yllapitopalkkitausta a:hover, td.valikkolinkki a:hover{
   color:#68480f;
   text-decoration:none;
}


table.yllapitopalkkitausta {
   background-color:#fff;
   padding-left:15px;
   padding-top:3px;
   padding-bottom:3px; 
   -webkit-border-radius: 7px;
   -moz-border-radius: 7px;
   border-radius: 7px; 

}

div.toimintoboxi2 {
   background:#ffffff;
   border:1px solid #a0a0a0;
   padding:5px;
   z-index:10;
   position:absolute;

}

div.virheilmoitus {
   text-align:left !important;
   border:1px solid #e0e0e0;
   background:#F4F0E0;
   margin-left:190px;
   color:#000;
   padding:10px;
   bottom:100px;
   margin-top:20px;
}


div.sivukartta {
   background:#ffffff;
   border:1px solid #a0a0a0;
   padding:5px;
   z-index:10;
   position:absolute;
   width:400px;

}


div.toimintoboxi {
   background:#c0c0c0;
   border:1px solid #c0c0c0;
   padding:5px;
   z-index:10;
   position:absolute;

}



div.valikkorivi {
   margin-bottom:0.5em;

}


/* Infobox3 */

.infobox {
	margin-top:0.5em;
  	background:transparent;
  	position:absolute;
/*  width:40%;*/
  }

.infobox .boxcontent .h1 {
	font-weight:bold;
   font-size:100%;
   color:red;
}
.infobox p {    /*trbl*/
	/*width:35em;*/
  margin:0px 0px 0px 0px;
  padding:0.5em 0;
  /*font-weight:bold; */
  /*text-align:center;*/
  }

.infobox .b1, .infobox .b2, .infobox .b3, .infobox .b4, .infobox .b1b, .infobox .b2b, .infobox .b3b, .infobox .b4b {
  display:block;
  overflow:hidden;
  font-size:1px;
  }
.infobox .b1, .infobox .b2, .infobox .b3, .infobox .b1b, .infobox .b2b, .infobox .b3b {
  height:1px;
  }
.infobox .b2 {
	/*
  background:#eee;
  border-left:1px solid #ddd;
  border-right:1px solid #eee;
  */
  background:#f0f0f0;
  border-left:1px solid #fad163;
  border-right:1px solid #fad163;
  }
.infobox .b3 {
  background:#eee;/*'#fff;     */
  border-left:1px solid #ddd;
  border-right:1px solid #ddd;
  }
.infobox .b4 {
  background:#eee;/*#fff; */
  border-left:1px solid #ddd;
  border-right:1px solid #aaa;
  }
.infobox .b4b {
  background:#f0f0f0;
  border-left:1px solid #eee;
  border-right:1px solid #999;
  }
.infobox .b3b {
  background:#f0f0f0;
  border-left:1px solid #ddd;
  border-right:1px solid #999;
  }
.infobox .b2b {
/*  background:#fff;
  border-left:1px solid #aaa;
  border-right:1px solid #999;  */
  background:#f0f0f0;
  border-left:1px solid #fad163;
  border-right:1px solid #fad163;
  }
.infobox .b1 {
  margin:0 2px; /*5px;*/
  background:#fad163; /*#ddd;  */
  }
.infobox .b2, .infobox .b2b {
  /*margin:0 3px;
  border-width:0 2px; */
	margin:0 1px;
  	border-width:0 1px;
  }
.infobox .b3, .infobox .b3b {
  margin:0 2px;
  }
.infobox .b4, .infobox .b4b {
  height:2px; margin:0 1px;
  }
.infobox .b1b {
	margin:0 2px;
  	background:#f0f0f0;
  /*margin:0 5px; background:#999;  */
  }
.infobox .boxcontent {
  display:block;
  background:#f0f0f0; /*#ffeebf;*//*#fad163;  */
  background-image:url('images/info_16x16.gif');
  background-repeat: no-repeat;
  background-position:10 0;
  padding-left:36px;
  padding-right:10px;
  border-left:1px solid #fad163;/*#ddd; */
  border-right:1px solid #fad163;/*#999; */
  }

.infobox ul {

}
.infobox li {
	padding:0;
	padding-bottom:0.5em;
   margin:0;
}

.infobox li span {
	background-image:url('images/ok.gif');
  	background-repeat: no-repeat;
   background-position: top right;
   padding-right:20px;
}

.infobox li.error span {
	font-weight:bold;
	color:red;
	background-image:url('images/error16.gif');
  	background-repeat: no-repeat;
   background-position: top right;
   padding-right:20px;
}

.infobox ol {
	padding-left: 36px;
   margin:0;
}

.infobox .titlecontent {
  display:block;
  background:#f0f0f0;
  border-left:1px solid #ddd;
  border-right:1px solid #999;
  border-bottom:1px solid #aaa;
  text-align:center;
  padding-bottom:0.2em;
  }

.infobox .vali b {
	display : block;
   color : green;
   margin-top:0.5em;
   border-bottom:1px solid #c0c0c0;
   margin-bottom:0.5em;

}

/* Infobox3 */


input.button {
   font-family:Arial;
   font-size:9pt;
}

td.painikkeet {
   padding-top: 1em;
}

input.lomake {
   font-family:Arial;
   font-size:9pt;

}

h2 {

   color: #808080;
   font-family: Arial;
   margin:0;
   margin-bottom:0em;
   margin-top:18px;
   font-weight: bold;
/*   font-size:9pt !important;*/

}

h5 {

   color: #202020;
   font-family: Arial;
   margin:0;
   margin-bottom:0.5em;
   margin-top:18px;
   font-weight: bold;
   font-size:9pt !important;

}

h6 {

   color: #505050;
   font-family: Arial;
   margin:0;
   font-weight: bold;
   margin-bottom:0.5em;
/*   font-size:9pt !important;*/

}


div.paadiv {
   text-align:center;
}



select {
   font-family: Arial;
   font-size:9pt;
}
input {
   font-family: Arial;
   font-size:9pt;

}

div.sivunrivitboksi {
   margin-left:0.5em;
   background:#ffffff;
   border:1px solid #a0a0a0;
   padding:5px;
   z-index:10;
   position:absolute;
   display:none;
}

div.rivilinkit {
   margin-top:0.5em;
}


h4  {
   color: #014590;
   font-family: Arial;
   padding-bottom:2px;
   font-weight: bold;
   font-size:10pt !important ;
   margin:0;
}

/*Sivunriveihin*/

img.raamitettu {
   border:solid 1px #000;
}

div.kuvateksti {
   margin-top:0.5em;
   margin-bottom:1em;
   font-style:italic;
}

td.kuvateksti {
   margin-bottom:1em;
   font-style:italic;
}

div.rivilohko {

   margin-top:1em;
   margin-bottom:1em;
   margin-right:1em;
   font-size: 9pt !important;
   line-height:1.8em;
}

table.rivilohko {
   margin-top:0.2em;
   margin-bottom:0.2em;
}

div.henkilorooli {
   font-weight:bold;
   margin-bottom:1em;
}

td.muokattavaekarivi {
   border-left:1px solid #a0a0a0;
   border-top:1px solid #a0a0a0;
   border-bottom:1px solid #a0a0a0;
   background-color:#fafafa !important;
}

td.muokattavarivi {
   border-top:1px solid #a0a0a0;
   border-bottom:1px solid #a0a0a0;
   background-color:#fafafa !important;
}

td.muokattavarivi table td {
   background-color:#fafafa;
}

table.linkkitaulukko td {

   background:#fff !important;
}

td.muokattavavikarivi {
   border-right:1px solid #a0a0a0;
   border-top:1px solid #a0a0a0;
   border-bottom:1px solid #a0a0a0;
   background-color:#fafafa !important;
}

div.sisalto {
   margin:2em;
}

div.navi {
   color:#a0a0a0;
}

table.sivunperustiedot {
   margin-bottom:20px;
   margin-top:10px;
}

td.oikeasolu {
   padding:6px;
   vertical-align:top;
   text-align:right;
   /*width:100px;*/
}

td.oikeasolu2 {
   padding:2px;
   vertical-align:top;
   text-align:right;
}

td.oikeasolu3 {
   padding:4px;
   vertical-align:top;
   width:100px;
   text-align:right;
}


div.readonly * {
   color:#a0a0a0 !important;
}

div.kuva {
   background:#fff !important;
   position:absolute;
   display:none;
   border:1px solid #a0a0a0;

}

div.kuva table td {
   background:#fff !important;

}


div.ilmoitus2 {
   border: solid 1px #BE8114;
   background-color: #FEF7DA;
   padding:8px;
   letter-spacing:0.1em;
   line-spacing:1.2em;
   padding-left:50px;
   background-image:url('images/info.gif');
   background-repeat:no-repeat;
   background-position: 8px 8px;
   width:500px;
   margin-bottom:1em;
}

td.murupolku {
   padding-right:3px;
   padding-bottom:3px;
}

div.lihavavaliotsikko {
   font-weight:bold;
   padding-top:3px;
   padding-bottom:1px;
}

td.eilihavavaliotsikko {
   padding-top:3px;
   padding-bottom:1px;
}

td.lihavavaliotsikko {
   font-weight:bold;
   padding-top:3px;
   padding-bottom:1px;
}

div.eilihavavaliotsikko {
   padding-top:3px;
   padding-bottom:1px;
}

td.rivilohkonsolu {
   padding-bottom:2px;
   padding-right:1em;
}

td.rivilohkonsolu2 {
   padding-bottom:1em !important;
   padding-right:1em !important;
}

td.rivilohkonsolu3 {
   padding-right:2px;
   padding-bottom:2px;
   line-height:1.8em;

}

td.luettelonsolu {
   padding-right:5px;
   padding-bottom:3px;
}

td.nuolikuva {
   width:13px;
}

div.ilmoitus {
   border: solid 1px #BE8114;
   background-color: #FEF7DA;
   padding:3px;
   letter-spacing:0.1em;
   line-spacing:1.2em;
   padding-left:35px;
   background-image:url('images/info.gif');
   background-repeat:no-repeat;
   background-position: 8px 8px;
   margin-bottom:1em;
   width:530px;
}

div.divVarjo {
   position:absolute;
   /*background-image:url('images/harmaa_500x400.jpg');*/
   background:#a0a0a0;
   filter:alpha(opacity=65);
   opacity:.30;

   /*background:#f0f0f0;
   filter:alpha(opacity=65);*/
}

div.taustavariboksi {

   background-image:url('images/varitettyboksi.jpg');
   background-repeat:no-repeat;
   color:#fff;
   font-weight:bold;
   height:25px;
   padding:5px 0 0 7px;
   margin-bottom:3px;
   width:220px;


}

span.valittu {
   background-image:url('cimages/taus_1x30.jpg');
}

div.huom {
   color:red;
}

div.kirjoittaja {
/*   font-size:9pt;*/
   color:#404040;
   border-left:14px #e0e0e0 solid;
   padding-left:5px;
}

div.kommentti {

   background:#fffff0;
   padding:5px;
   margin-bottom:1em;
   border:1px solid #c0c0c0;
}

div.kommenttileipa {

   padding-left:3em;
   line-height: 1.8em;
   letter-spacing: 0.1em;
   margin-top: 0.7em;
   margin-bottom: 0em;
   font-weight: normal;
   color:#000;
/*   font-size:9pt; */

}

/*td.vasen {
   background-image:url('images/vasentausta.jpg');
   background-repeat:repeat-y;
   background-position: right;
   width:25px;
}

td.oikea {
   background-image:url('images/oikeatausta.jpg');
   background-repeat:repeat-y;
   background-position: left;
   width:25px;
}            */

td.loppu {
   background-image:url('images/alapalkki.jpg');
   background-repeat:no-repeat;
   background-position: top center;
   height:47px;
   color:#a0a0a0;

}

input.nappula {

   background:#fff;
   background-image:url('images/nappula.jpg');
   background-repeat:no-repeat;
   padding-right:7px;
   padding-bottom:2px;
   font-size:9pt;
   height:20px;
   width:40px;
   color:#fff;
   border:0px solid #000;
   font-weight:bold;
}

td.valittumenu {
   background:#xDEECF9;
}

td.valittumenu a {
   background-image:url('images/menukatkoviiva.jpg');
   background-repeat:repeat-x;
   display:block;
   padding-top:10px;
   padding-bottom:10px;
   padding-left:10px;  
}

td.valittumenu a:hover {
   background:#F2F2F2;
   color:#043580;
}


td.valittumenu2 a {
   display:block;
   padding-top:4px;
   padding-bottom:4px;
   padding-left:6px;  
}

td.valittumenu2 a:hover {
   background:#F2F2F2;
   color:#043580;

}


div.divPopup3 {
   display:none;
   position:absolute;
   z-index:1;
}

div.divPopup3 .varjostus {
   position:absolute;


}

div.divPopup3 .content {
   padding:0;
   margin:0;
   border:solid 1px #000000;
   background-color:#ffffff;
   position:relative;
   border-radius: 7px; 
   -moz-border-radius: 7px;
   -webkit-border-radius: 7px;
   box-shadow: 0px 0px 10px 0px #303030;
   -moz-box-shadow: 0px 0px 10px 0px #303030;
   -webkit-box-shadow: 0px 0px 10px 0px #303030;

}

div.divPopup3 .formcontent {
   border:solid 1px #000000;
   background-color:#f0f0f0;
   position:relative;
}

div.aBar { 
   cursor: move;
   background-color:#ffaf22;
   color:#000; 
   height:24px;
   padding-top:2px;
   padding-left:2px;
   -webkit-border-top-left-radius: 7px;
   -webkit-border-top-right-radius: 7px;
   -moz-border-radius-topleft: 7px;
   -moz-border-radius-topright: 7px;
   border-top-left-radius: 7px;
   border-top-right-radius: 7px;
}

div.aBar2 {
   cursor: move;
   background-color:#EDCC8B;
}


div.VarjoPopup {
   padding:3px;
   padding:3px;
   z-index: 50;
   display:none;
   position:absolute;
   background-image:url('images/harmaa_500x400.jpg');
   background-position:1em 1em;
}

div.VarjoPopup div.VarjoSisus {

   border:solid 1px red;
   background-color:#ffffff;
}



textarea.venytys {
   overflow-y:hidden;
   font-family: Arial;
   font-size:9pt;
   color:red;
   font-weight: normal;
   padding:3px;
   line-height:1.33em;
}

div.venytys {
   overflow-y:hidden;
   font-family: Arial;
   font-size:9pt;
   color:red;
   font-weight: normal;
   
   display: block;
   visibility:hidden;
   position:absolute;
   border:solid 1px #a0a0a0;
   line-height:1.33em;
   padding:3px;
}

label.formlabel {
   color:#0000;
   font-weight:normal;
}

td.rastitus {

   padding-bottom:7px;
   padding-right:3px;

}


div.wait {
   background-image:url('images/ajax-loader.gif');
   background-repeat:no-repeat;
   font-size:9pt;
   background-color:#FFFFCC; 
   padding:1em;
   background-position: 0.5em 1em;
   padding-left:2.5em;
   text-align:center;
}

p.kuvateksti {
   margin-top:0.5em;
   margin-bottom:2em;
   font-style:italic;
}

div.pikkukuvat {
   
   padding-right:1em;
   width:500px;

}

table.tiivis td {

   padding:0 1em 3em 0;
}

td.hakutausta {
   background-image:url('images/hakukuva.jpg');
   background-repeat:no-repeat;
   height:18px;
   padding-top:0px;
   padding-left:23px;
   padding-right:22px;
   padding-bottom:5px;
   vertical-align:text-middle;
}

#hakusana {
   border:none; 
   background:url('images/lapinakyva_1x1.gif');
}

/*td.vasensivu {
	background-image:url('images/vasensivu.jpg');
   background-repeat:repeat-y;
   background-position:right;
   width:20px;
   border-right:1px solid #CAE1F3;
}

td.oikeasivu {
	background-image:url('images/oikeasivu.jpg');
   background-repeat:repeat-y;
   background-position:left;
   width:20px;
   border-left:1px solid #CAE1F3;

}   */

td.katkoviivasolu {

   background-color:#fff;
/*   background-image:url('images/katkoviiva.jpg');
   background-repeat:no-repeat;
   background-position: center center;*/
   padding-bottom:5px;
}

td.etusivuboksit {
   padding-left:6px;
   padding-top:0px;
   font-size:10pt;
   font-weight:bold;
   color:#333;
   vertical-align:bottom;
   height:0px;
   width:220px;
}

td.osoitetiedot {
   height:160px;
	background: #bebebe;
   border-bottom-left-radius: 15px; 
   -moz-border-bottom-left-radius: 15px; 
   -webkit-border-bottom-left-radius: 15px; 
   border-bottom-right-radius: 15px; 
   -moz-border-bottom-right-radius: 15px; 
   -webkit-border-bottom-right-radius: 15px; 

}

td.osoitetaulukko {
   font-size:9pt;
   padding-left:40px;
   padding-right:40px;
   line-height:2.3em;
}

tr.hover td {
	background-color: #F2F2F2;
}

div.alasivu_taso_1 {
   margin-top:1.5em;
}

div.alasivu_taso_1 * {
   font-weight:bold;
   font-size:10pt;
}

div.alasivu_taso_2 {
   margin-top:2em;
   margin-left:3em;
   margin-bottom:0.2em;
}

div.alasivu_taso_2 * {
   font-weight:bold;
}

div.alasivu_taso_2_sisalto {
   margin-left:3em;

}

td.navipolku * {
   background-color:#fe6915;
   font-size: 9pt important;
   height:40px;
   color:#000;
   font-weight:italic;

}

div.odota {
/*   background-image:url('images/ajax-loader.gif');*/
/*   background-image:url('images/hourglass.gif');*/
   background-image:url('images/ajax_indicator.gif');
   background-repeat:no-repeat;
   font-size:9pt;
/*   background-color:#EbFbFF;*/
   background-color:#ffff99;
   color:navy; 
   padding:0.5em 1em;
   background-position: 0.4em 0.4em;
   padding-left:2.5em;
}

div.hakukonekuvaus {

   font-size:9pt;
   color:#a0a0a0;
   font-family:Arial;
   font-style:italic;
   padding-left:2em;
   padding-bottom:1em;
   padding-right:1em;
}

div.dia {
   padding:3em;
   text-aling:center;
}

/* kirjautmisruudun menulaatikko alkaa */
.menubox5 {
	margin-top:0.5em;
  	background:transparent;
  }
.menubox5 h1, .menubox4 p {
  margin:0 10px;
  }
.menubox5 h1 {
  font-size:1.5em;
  color:#aaa;
  }
.menubox5 p {
  padding-bottom:0.5em;
}
.menubox5 .b1, .menubox5 .b2, .menubox5 .b3, .menubox5 .b4, .menubox5 .b1b, .menubox5 .b2b, .menubox5 .b3b, .menubox5 .b4b {
	display:block;
  	overflow:hidden;
  	font-size:1px;
}
.menubox5 .b1, .menubox5 .b2, .menubox5 .b3, .menubox5 .b1b, .menubox5 .b2b, .menubox5 .b3b {
  	height:1px;
}
.menubox5 .b2 {
	background-color:#fff;
  	border-left:2px solid #ddd;
  	border-right:2px solid #eee;
}
.menubox5 .b3 {
	background-color:#fff;
  	border-left:2px solid #ddd;
	border-right:2px solid #ddd;
}
.menubox5 .b4 {
	background-color:#fff;
  	border-left:2px solid #ddd;
  	border-right:2px solid #aaa;
}
.menubox5 .b4b {
  	background-color:#fff;
  	border-left:2px solid #eee;
  	border-right:2px solid #999;
}
.menubox5 .b3b {
  	background-color:#fff;
  	border-left:2px solid #ddd;
  	border-right:2px solid #999;
}
.menubox5 .b2b {
  	background-color:#fff;
  	border-left:2px solid #aaa;
  	border-right:2px solid #999;
}
.menubox5 .b1 {
  	margin:0 5px;
  	background-color:#ddd;
}
.menubox5 .b2, .menubox5 .b2b {
  	margin:0 3px;
  	border-width:0 2px;
}
.menubox5 .b3, .menubox5 .b3b {
  	margin:0 2px;
}
.menubox5 .b4, .menubox5 .b4b {
  	height:2px; margin:0 1px;
}
.menubox5 .b1b {
  	margin:0 5px; background-color:#999;
}
.menubox5 .boxcontent {
  	display:block;
  	background-color:#fff;
  	border-left:2px solid #ddd;
  	border-right:2px solid #999;
}

.menubox5 .titlecontent {
  	display:block;
   background-color:#FFAF22;
  	border-left:1px solid #ddd;
  	border-right:1px solid #999;
  	border-bottom:1px solid #aaa;
  	text-align:left;
  	padding-bottom:0.2em;
  	padding-left:0.5em;
}

.menubox5 .vali b {
	display : block;
   color : green;
   margin-top:0.5em;
   border-bottom:1px solid #c0c0c0;
   margin-bottom:0.5em;
}
/* Pyöreä menulaatikko päättyy */

 /*Sisäänkirjautuminen alkaa*/
 
.kirjautumisikkuna {
   padding-top:15px;
   padding-bottom:15px;
   width:400px;
   background-color:#fff;
   border:1px solid #999;
   border-radius: 15px; 
   -moz-border-radius: 15px;
   -webkit-border-radius: 15px;
   box-shadow: 0px 0px 40px 0px #303030;
   -moz-box-shadow: 0px 0px 40px 0px #303030;
   -webkit-box-shadow: 0px 0px 40px 0px #303030;
}
 
table.kirjautuminen {
   border:solid 1px #81AEC8;  
   background-color: #e7efff;  
}

table.kirjautuminen td {
	color: black;
/*   font-size: 10pt; */
   font-family: arial;
} 

td.otsikko {
   font-size:18px;
   color:#333;
   padding-bottom:10px;
}

td.tervetuloa {
   line-height:1.5em;

}

table.laki {
   width:350px;
	border: solid 1pt #88601A; 
   border-radius: 5px; 
   -moz-border-radius: 5px; 
   -webkit-radius: 5px; 
   background-color:#FFEED1;
   margin:0.5em;
}

table.laki td {
	text-align:center;
   padding:0.5em;
   font-size:8pt;
   line-height:1.3em; 
}
/* Sisäänkirjautuminen päättyy */

.pagenotfound {
   margin:30px auto;
   width:450px;        
   background:#fff;
   border-left:1px solid #ddd;
   border-top:1px solid #ddd;
   border-right:1px solid #999;
   border-bottom:1px solid #999;
   padding:30px 20px 30px 20px;
}     

.pagenotfound .btn {
   background: #f0f0f0;
   background-image: -webkit-linear-gradient(top, #f0f0f0, #c2c2c2);
   background-image: -moz-linear-gradient(top, #f0f0f0, #c2c2c2);
   background-image: -ms-linear-gradient(top, #f0f0f0, #c2c2c2);
   background-image: -o-linear-gradient(top, #f0f0f0, #c2c2c2);
   background-image: linear-gradient(to bottom, #f0f0f0, #c2c2c2);
   -webkit-border-radius: 11;
   -moz-border-radius: 11;
   border-radius: 11px;
   text-shadow: 1px 0px 5px #f7f7f7;
   font-family: Arial;
   color: #545454;
   font-size: 1.2em;
   padding: 10px 20px 10px 20px;
   border: solid #d4d4d4 1px;
   text-decoration: none;
}

.pagenotfound .btn:hover {
   background: #f0f0f0;
   background-image: -webkit-linear-gradient(top, #f0f0f0, #dedede);
   background-image: -moz-linear-gradient(top, #f0f0f0, #dedede);
   background-image: -ms-linear-gradient(top, #f0f0f0, #dedede);
   background-image: -o-linear-gradient(top, #f0f0f0, #dedede);
   background-image: linear-gradient(to bottom, #f0f0f0, #dedede);
   text-decoration: none;
}    