div {
  text-align: center;
}

.tab {
  border: 0px solid #00FFFF;
  align: center;
  empty-cells: show;
  border-collapse: collapse;
  font-size: 9px;
  font-family: 'Verdana', 'Arial', 'Helvetica', 'Sans-Serif';
  text-decoration: none;
}

tr {
  valign: top;
  text-align: center;
}
tr.row_head {
  background: #0000FF;
  color: #CCFFFF;
  font-size: 11px;
  font-weight: bold;
}
td.row_top {
  border-top: 1px solid #FF0000;
  border-left: 3px solid #FF0000;
  border-right: 3px solid #FF0000;
  color: #FF0000;
  font-size: 11px;
  font-weight: bold;
}
tr.row_1 {
  background: #FFFF66;
  color: #0000FF;
}
tr.row_2 {
  background: #FFFFCC;
  color: #0000FF;
}
tr.row_foot {
  background: #0000FF;
  color: #CCFFFF;
  font-size: 11px;
  font-weight: bold;
}
tr.row_submit {
  background: #0000FF;
  color: #CCFFFF;
  font-size: 11px;
  font-weight: bold;
}

tr.row_ref {
  background: #C6FFC6;
  color: #000;
  font-size: 11px;
  font-weight: bold;
  height: 60px;
  text-align: left;
  left: 200px;
}

td {
  border: 2px solid #FFFFFF;
  padding: 2px;
}


input {
  border: 1 solid #EFEFEF;
  font-size: 9px;
  font-family: 'Verdana', 'Arial', 'Helvetica', 'Sans-Serif';
  text-decoration: none;
}

input.qta {
  background: #FFFFFF;
  color: #000000;
  width: 30px;
}

input.tot {
  background: #E4E4E4;
  color: #000000;
  width: 60px;
}

input.sub {
  background: #C6FFC6;
  color: #000000;
}

minuscolo {
  text-transform: lowercase;
}

input.ref {
  background: #FFFFFF;
  color: #000;
  width: 200px;
}
