html, body{
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: small;
  margin: 0;
  padding: 0;
  
}
body{
  background-color: white;
  background-image: url(img/navitop.jpg);
  background-repeat: repeat-y;
  margin-left: 0px;
  padding-left: 0px;
}

body.popup{
  background-image: none;
}

.popup{
  font-size: 12px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

h1{
  font-size: 22px;
  font-weight: bold;
}


/*** ELEMENTTIEN PAIKAT ***/
div.content{
  margin-left: 200px;
  padding-top: 0;
  margin-top: 8px;
  margin-bottom: 8px;
}
div#kirjautuminen{
  position: absolute;
  right: 5px;
  top: 2px;
}
div#reuna{
  position: absolute;
  left: 0px;
  top: 108px;
  bottom: 0;
  width: 190px;
}
div#tuotehaku{
/*    position: absolute; */
  margin-left: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
}
div#tuoteryhmat{
/*    position: absolute; */
  margin: 0 12px 0 10px;
}
div#navigointi{
  position: absolute;
  left: 0px;
  top: 85px;
  width: 100%;
}
div#navigointi div{
  background-image: url(img/line_bgr.jpg);
  width: 1030px;
}
div#ostoskori{
/*  position: absolute; */
  left: 10px;
  top: 60px;
}


/* VASEN REUNA */
div#reuna{
  background-color: #fff5b3;
  background-image: url(img/navitop.jpg);
}

/* TUOTERYHMÄRAKENNE*/
div#tuoteryhmat{
/*
  border-top: 2px solid #888;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  border-left: 2px solid #888;
	background-color: #f5f5ff;
*/
	padding: 3px;
}

ul#root{
	margin: 2px;
	width: 100%;
}
ul#root{
	font-size: 10px;
  list-style: none;
  margin: 0 0 0 0.5em;
  padding: 0;
}
ul#root li{
  margin: 0;
  padding: 0;
  line-height: 0.1em;
}
ul#root li span {
  line-height: 1.2em;
	cursor: pointer;
  font-weight: bold;
}
ul#root li ul {
  list-style: none;
  display: none;
  margin: 0;
  padding: 0;
}
ul#root li ul li{
  margin-left: 1.4em;
}
ul#root li a{
  line-height: 1.2em;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: black;
}
ul#root li a:hover{
  text-decoration: underline;
}

/* OSTOSKORI */
table#ostoskori{
  margin-left: 10px;
  margin-top: 30px;
}
table#ostoskori tr.yhteensa td{
  font-weight: bold;
  border-top: 1px solid black;
}
table#ostoskori tr.yhteensa td.summa{
  text-align: right;
}

/* KIRJAUTUMINEN */
div#kirjautuminen {
  font-size: 10px;
}
div#kirjautuminen input.painike{
  margin-top: 2px;
}

/* HEADER */
div#header{
  height: 110px;
  background-color: white;
}

/* YLANAPIT */
div#navigointi{
  background-color: #fff5b3;
  background-image: url(img/line_bgr.jpg);
  height: 23px;    
  
}
div#navigointi div{
  background-image: url(img/line_bgr.jpg);    
  padding-left: 3px;
  padding: 2px 0 0 3px;
  height: 21px;
}
div#navigointi a{
  color: black;
  text-decoration: none;
  font-size: 11px;
  font-weight:bold;
  font-family: Verdana;
  
}



/* LISTAUKSET */
table.lista{
  border: 1px #4e5252 solid;
  width: 751px;
}
table.lista tr td{
  padding-left: 0.4em;
  padding-right: 0.4em;
  font-size: 8pt;
}
table.lista thead tr td{
  background-color: #fef7af;
  font-size: 11px;
  font-weight: bold;
  height: 20px;
  padding-left: 0.5em;
}
table.lista thead a{
  color: black;
}
table.lista thead img{
}
table.lista thead tr td.otsikko{
  background-color: #ffde8f;
  font-size: 11px;
  font-weight: bold;
  height: 20px;
  padding-left: 0.5em;
}
/*Pallojen ohjeteksti*/
table.lista thead tr td.otsikko2{
  background-color: #ffde8f;
  font-size: 9px;
  font-weight: normal;
  height: 20px;
  padding-left: 0.5em;
}
table.lista tr.odd{
  background-color: #efefef;
}
table.lista tr td.valiotsikko{
  background-color: #fef7af;
  height: 20px;
  font-weight: bold;
  font-size: 10px;
}
table.lista tr td li{
  height: 5px;
  padding-left: 0em;
  margin-left: 2em;
  margin-top: 2px;
  margin-bottom: 4px;
}
table.lista tr.yhteensa td{
  border-top: 1px solid #aaa;
  font-weight: bold;
  height: 22px;
}


/* PAINIKKEET JA TAKSTIKENTÄT */
input.painike, p.toiminnot input {
  background-color: white;
  color: black;
  font-size: 10px;
  border: 1px solid #666;
  width: auto;
}

input.painike2 {
  background-color: white;
  color: black;
  font-size: 10px;
  border: 1px solid #666;
  width: auto;
  
}

/*OSTOSKORIN PAINIKE*/
p.toiminnot_ostis input {
  background-color: white;
  color: black;
  font-size: 10px;
  border: 1px solid #666;
  margin-left: 10px;
}

.txtbox{
  height: 14px;
  font-size: 11px;
  /*
  width: 130px;
  */
  border: 1px solid #666;
}
.tekstikentta{
  background-color: white;
  color: black;
  font-size: 12px;
  border: 1px solid #666;
	width: 580px;
  height: 80px;
}

/* OSIO-taulukot */
table.osio{
  border-collapse: collapse;
  background-color: white;
  border: 1px #444 solid;
  font-size: 8pt;
  
}
div#reuna table.osio{
  width: 174px;
  margin-left: 7px;
  margin-top: 10px;
}
table.osio thead td{
  background-color: #ffde8f;
  font-weight: bold;
  height: 20px;
  border-bottom: 1px solid #c92;
}
table.osio thead td.tuotevalikko{
  background-color: #ffde8f;
  font-weight: bold;
  height: 30px;
  width: 600px;
}
table.osio td{
  padding: 3px;
}

/*Tuotevalitsin*/
table.valikko{
  background-color: #ffde8f;
  font-weight: bold;
  height: 25px;
}

table.valikko thead td.tuotevalikko{
  background-color: #ffde8f;
  font-weight: bold;
  width: 740px;
}



/* TUOTEHAKU */
table#tuotehaku input.haku{
  width: 100px;
  height: 14px;
  font-size: 11px;
  border: 1px solid #666;
}
table#tuotehaku input.hakupainike{
	text-align: center;
	color: white;
  font-weight: bold;
  font-size: 9px;
	border-top: 1px solid #cccccc;
	border-right: 1px solid #666666;
	border-bottom: 1px solid #666666;
	border-left: 1px solid #cccccc;
	background-color: #F30000;
  margin-bottom: 0.2em;
}
table#tuotehaku input.txtbox{
  width: 90px;
  height: 12px;
  font-size: 8pt;
}

table#tuotehaku td.taulu {
  padding: 0;
}
table#tuotehaku td.taulu table{
  width: 100%;
  border-collapse: collapse;
}


/* KIRJAUTUMINEN */
table#kirjautuminen tbody td{
  padding: 2px 2px 0 2px;
}
table#kirjautuminen input.txtbox{
  width: 90px;
  height: 12px;
  font-size: 8pt;
}
table#kirjautuminen input.painike{
  width: auto;
}
table#kirjautuminen td.input{
  text-align: right;
}
table#kirjautuminen td.kirjaudu{
  text-align: right;  
  padding-bottom: 2px;
}

/* KIRJAUTUNUT */
table#kirjautunut tbody td{
}
table#kirjautunut ul{
  margin: 0;
  padding-left: 15px;
  list-style: square;
}
table#kirjautunut ul li{
}
table#kirjautunut tbody a{
  color: black;
  text-decoration: none;
}
table#kirjautunut tbody a:hover{
  text-decoration: underline;
}



/* LISTAUKSET */
table.tuoteinfo{
  border: 1px #4e5252 solid;
  border-collapse: collapse;
}
table.tuoteinfo tr td{
  padding-left: 0.5em;
  font-size: 11px;
}
table.tuoteinfo thead tr td.otsikko{
  background-color: #ffde8f;
  font-size: 11px;
  font-weight: bold;
  height: 20px;
  padding-right: 0.5em;
}
table.tuoteinfo tr td.valiotsikko{
  background-color: #fef7af;
  height: 20px;
  font-weight: bold;
  font-size: 11px;
}
table.tuoteinfo tr td.tuotedata{
  height: 20px;
}
table.tuoteinfo tr td.tuotedata_kuvaus{
 vertical-align: top;
}

/* TUOTEVALITSIN */
div.tuotevalitsin{
  border: 1px solid black;
  width: 742px;
}
div.tuotevalitsin table.valikko{
  border-bottom: 1px solid black;
}
table.tuotevalitsin select{
  border: 1px solid black;
  width: 180px;
}
table.tuotevalitsin input.txtbox{
  border: 1px solid black;
  width: 175px;
  height: 16px;
}
table.tuotevalitsin input.painike{
  border: 1px solid black;
  width: 50px;
  height: 19px;
  font-size: 12px;
  background-color: white;
}
table.tuotevalitsin input.painikehaku{
  border: 1px solid black;
  width: 50px;
  height: 19px;
  font-size: 12px;
  background-color: white;
  vertical-align: bottom;
  margin-bottom: 0.1em;
}
form{
  margin: 0;
}
div.linkkilista {
  margin-top: 2em;
}
div.tuotevalitsin a{
  color: blue;
}
div.linkkilista ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
div.linkkilista a{
  color: blue;
}


/* OTSIKOT */
h1{
  font-size: 10pt;
  margin: 0.2em 0 0.2em 0;
}
h2{
  font-size: 9pt;
  margin: 0.2em 0 0.2em 0;
}
h3{
  font-family: Verdana, Arial, Sans-Serif;
  font-size: 16px;
  font-weight: bold;
  margin: 0.2em 0 0.2em 0;
}
/* LINKIT */
a{
  color: blue;
}

/* TUOTERYMAT */
ul.tuoteryhmat{
  list-style: none;
  margin:0;
  padding-left: 15px;
}
ul.tuoteryhmat li a{
  text-decoration: none;
}
ul.tuoteryhmat li a:hover{
  color: #000;
}
input.maara{
  width: 30px;
  background-color: white;
}

table.tiedot{
  width: 751px;
  font-size: 12px;
  border: 1px solid black;
  border-collapse: collapse;
}
table.tiedot thead td, table.tiedot tr.valiotsikko td, table.tiedot td.valiotsikko{
  background-color: #fef7af;
  font-weight: bold;
}
table.tiedot tr.otsikko td{
  font-weight: bold;
  background-color: #ffde8f;
}
table.tiedot td{
  padding-left: 4px;
  height: 20px;
}
table.tiedot thead td{
  height: 22px;
}
table.tiedot thead tr.otsikko td{
  height: 25px;
}
table.tiedot td select, textarea{
  border: 1px solid black;
}
table.tiedot tr td input{
  border: 1px solid black;
  width: 165px;
}





td.summa, td.kpl{
  text-align: right;
}



/* VERKKOMAKSU */
table.verkkomaksu{
  border-collapse: collapse;
  border-top: 1px solid #000;
}
table.verkkomaksu tr.otsikko td{
  font-weight: bold;
  font-size: 10pt;
  border-bottom: none;
}
table.verkkomaksu td{
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid black;
}



/* YLEISIA FIXAUKSIA */
a img{
  border: none;
}
/*OSTOSKORIPOLKU*/
div.ostoskoripolku{
  border: 1px solid black;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  width: 740px;
  margin: 0 0 1em 0;
  color: #666;
  font-weight: bold;
  font-size: 12px;
  background-color: #e5f5ff;
}
div.ostoskoripolku span.nykyinen{
  color: #000;
}
div.ostoskoripolku a{
  color: #666;
  text-decoration: none;
}


/*OSTOSKORIINFO*/
div.ostoskoriinfo{
  width: 740px;
  margin: 0 0 1em 0;
}
div.ostoskoriinfo h1 img{
  vertical-align: middle;
  margin: 0;
}
div.ostoskoriinfo h1{
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 22px;
  color: #006699;
  font-weight: normal;

}
div.ostoskoriinfo p.nykyinen{
  color: #000;
  font-size: 12px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  padding-left: 50px;
  width: 400px;
}

ul.virhe{
  color: red;
  list-style: square;
}


/* INFO-BOXI */

div.infoboxi{
  font-weight: bold;
  color: #080;
  margin: 0 0 0.8em 0;
  width: 570px;
  padding: 5px;
  border: 1px solid #777;
  background-color: #f6f6f6;

}
div.infoboxi img {
  vertical-align: bottom;
  margin-right: 2px;
}
div.infoboxi span{
  padding-bottom: 1em;
  line-height: 18px;
}
table.osio tr.rivi, td.rivi{
  font-size: 1px;
  line-height: 0px;
  margin: 0;
  padding: 0;
}


/*VARASTOSALDOKUVA*/

table.lista tr td.varastosaldokuva{
  text-align: center;
  margin: 0;
}
table.tiedot tr td select.combo{
  width: 238px;
}

table.tiedot tr td input.checkbox{
  width: auto;
}
.kentta_keskitetty{
  BORDER-BOTTOM: gray 1px solid;
  BORDER-LEFT: gray 1px solid;
  BORDER-RIGHT: gray 1px solid;
  BORDER-TOP: gray 1px solid;
  FONT-FAMILY: Verdana;
  FONT-SIZE: 8pt;
  text-align: center;
}

/* Mainos taulukko */
div.mainos{
	border: 2px solid black; 
	display: block;
	float: left;
	width: 310px;
	margin: 10px 10px 10px 0;
}

div.mainos table{
	width: 100%;
}

div.mainos p{
	margin-bottom: 0;
	margin-top: 0;
}

