﻿#block #base {
  position: fixed;
  background-color: gray;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 99;
}
#block #wait {
  position: fixed;
  width: 300px;
  height: 80px;
  line-height: 80px;
  padding: 10px;
  padding-left: 80px;
  top: 50%;
  left: 50%;
  margin-top: -80px;
  margin-left: -180px;
  border: 1px solid #0e6929;
  z-index: 100;
  background: no-repeat left 20px center;
  background-image: url(/immagini/loader.gif);
  background-color: white;
  font-size: 13px;
}
body {
  padding: 0px;
  margin: 0px;
  background: white;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: 0.8em;
  min-height: 100%;
}
.Intestazione {
  position: relative;
  top: 0px;
  height: 100px;
  width: 100%;
  background: white;
  border-bottom: 1px solid black;
}
.Intestazione #imgLogo {
  position: absolute;
  left: 10px;
  top: 10px;
  height: 80px;
}
.Intestazione #testoLogo {
  position: absolute;
  right: 20px;
  top: 20px;
  height: 80px;
  text-align: right;
  color: black;
  font-size: 12px;
}
.Corpo {
  position: relative;
  width: 100%;
  min-height: 100%;
  margin-top: 40px;
  border-top: 1px solid black;
}
input[type="submit"] {
  cursor: pointer;
}
.lbElement,
.lbTElement,
.txtElement,
.txtTElement,
.cmbElement,
.lbErrore,
.opElement,
.clsValidators,
.btElement,
.lbTotaleElement {
  display: block;
  background-color: white;
  color: black;
  border: 1px solid black;
  float: left;
  padding: 5px;
  margin: 2px;
  text-decoration: none;
  width: 85px;
  font-size: 1em;
}
.clsValidators {
  margin-top: 6px;
  height: 12px;
  line-height: 12px;
  font-size: 0.7em;
  background-color: #74002a;
  color: white;
  border: none;
}
.btElement {
  width: 200px;
  height: 40px;
  line-height: 30px;
}
.opElement {
  width: 200px;
  height: 20px;
  line-height: 20px;
  border: none;
}
.lbElement {
  width: 130px;
  height: 20px;
  line-height: 20px;
  border: none;
}
.lbElementrText {
  text-align: end;
  font-size: 1.2em;
  font-weight: bold;
}
.lbTElement {
  width: 220px;
  height: 20px;
  line-height: 20px;
  border: none;
}
.lbTotaleElement {
  width: 220px;
  height: 20px;
  line-height: 20px;
  border: none;
  text-align: right;
}
.cmbElement {
  height: 32px;
}
.txtElement {
  height: 20px;
  line-height: 20px;
}
.txtElement:disabled {
  background-color: gray;
}
.mMenu {
  display: block;
  width: 100px;
  height: 50px;
  float: left;
  margin: 20px;
  padding: 5px;
  text-align: center;
  border: 1px solid black;
  text-decoration: none;
  color: black;
}
.mMenu:hover {
  background-color: #0e6929;
  color: white;
}
.myViewer {
  padding: 5px;
  display: block;
  width: 980px;
  margin: 0 auto;
}
.myViewer .myTitolo {
  text-align: left;
  font-size: 1.4em;
  padding: 5px;
  float: left;
}
.myViewer .myPage {
  text-align: right;
  font-size: 1em;
  padding: 5px;
  float: right;
}
.myViewer .myContent {
  position: relative;
  width: 970px;
  padding: 5px;
}
.myViewer .myContent .myPreText {
  clear: both;
  margin: 20px;
  border: solid 1px black;
  margin-top: 60px;
  padding: 5px;
  font-size: 12px;
}
.myViewer .myContent .myPreText .lbIntestazione {
  margin-top: 5px;
  margin-right: 5px;
  width: 200px;
  height: 10px;
  background-color: #0e6929;
  color: white;
  padding: 5px;
}
.myViewer .myContent .myPreText .lbValore {
  margin-right: 5px;
  width: 200px;
  height: 20px;
  background-color: white;
  padding: 5px;
  text-align: right;
}
.myViewer .myContent .myPreText .lbValoreTotale {
  font-weight: bold;
  font-size: 14px;
}
.myViewer .myContent .myButton {
  float: left;
  border: none;
  display: block;
  background-color: #0e6929;
  border: solid 1px black;
  color: white;
  width: 120px;
  padding: 12px;
  text-decoration: none;
  font-size: 0.7em;
  margin: 5px;
  text-align: center;
  height: 16px;
}
.myViewer .myContent .mRow {
  display: block;
  background-color: white;
  color: black;
  border: none;
  padding: 0px;
  margin: 0px;
  text-decoration: none;
  width: auto;
  height: 35px;
  clear: both;
}
.myViewer .myContent .mRowSpace {
  display: block;
  background-color: white;
  color: black;
  border: none;
  border-bottom: solid 1px black;
  padding: 0px;
  margin: 0px;
  margin-bottom: 5px;
  text-decoration: none;
  width: auto;
  height: 20px;
  clear: both;
}
.myViewer .myContent .mRowBig {
  height: 70px;
}
.myViewer .myContent .mSectionLoghi {
  clear: both;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 2px solid #0e6929;
}
.myViewer .myContent .mSectionLoghiTitle {
  font-size: 1.2em;
  font-weight: bold;
  color: #0e6929;
  margin-bottom: 10px;
}
.myViewer .myContent .mLogoBox {
  float: left;
  box-sizing: border-box;
  width: 460px;
  min-height: 190px;
  margin-right: 20px;
  padding: 10px;
  border: 1px solid #ccc;
}
.myViewer .myContent .mLogoBoxTitle {
  font-weight: bold;
  margin-bottom: 8px;
}
.myViewer .myContent .mLogoPreviewWrap {
  display: block;
  height: 90px;
  margin-bottom: 10px;
  text-align: center;
  line-height: 90px;
  background-color: #fafafa;
  border: 1px dashed #ccc;
}
.myViewer .myContent .mClearFloat {
  clear: both;
}
.myViewer .myContent .logoPreview {
  display: inline-block;
  position: static;
  vertical-align: middle;
  height: 80px;
}
.myViewer .myContent .logoPreviewPiccolo {
  display: inline-block;
  position: static;
  vertical-align: middle;
  height: 40px;
}
.myViewer .myContent .mLogoMissing {
  color: #999;
  font-style: italic;
  line-height: 90px;
}
.ordLink {
  display: block;
  text-align: center;
  text-decoration: none;
  color: black;
  line-height: 14px;
  font-size: 12px;
}
.ordLink:hover {
  color: #0e6929;
}
.myViewer .myErrors {
  position: absolute;
  display: block;
  width: auto;
  height: 30px;
  padding: 5px;
  background: red;
  top: -40px;
}
.myViewer .myErrors .lbErrore {
  width: auto;
  height: auto;
  font-size: 0.9em;
  text-align: left;
  padding: 5px;
  color: white;
  background-color: transparent;
  border: none;
  float: none;
  margin: 0;
}
.myViewer .myButtons {
  position: absolute;
  display: block;
  width: 960px;
  height: 40px;
  padding: 0px;
  top: -41px;
}
.myViewer .myButtons .myBackButton {
  float: left;
  border: none;
  display: block;
  background-color: #74002a;
  border-right: solid 1px black;
  border-left: solid 1px black;
  color: white;
  width: 120px;
  padding: 12px;
  text-decoration: none;
  font-size: 0.7em;
  margin-left: 5px;
  margin-right: 5px;
  text-align: center;
  height: 16px;
}
.myViewer .myButtons .myButton {
  float: right;
  border: none;
  display: block;
  background-color: #0e6929;
  border-right: solid 1px black;
  border-left: solid 1px black;
  color: white;
  width: 120px;
  padding: 12px;
  text-decoration: none;
  font-size: 0.7em;
  margin-left: 5px;
  margin-right: 5px;
  text-align: center;
  height: 16px;
}
.myViewer .myButtons input.myButton,
.myViewer .myButtons input.myBackButton {
  height: 40px;
}
.myViewer .myButtons .myLabel {
  float: left;
  display: block;
  background-color: black;
  color: white;
  width: 230px;
  padding: 5px;
  text-decoration: none;
  font-size: 0.9em;
  border: none;
  margin: 5px;
}
.myButtonRubrica {
  border: solid 1px black;
  display: block;
  background-color: #0e6929;
  color: white;
  width: 120px;
  padding: 5px;
  text-decoration: none;
  font-size: 0.7em;
  text-align: center;
  height: 30px;
  margin-bottom: 20px;
}
.myViewer .myContent .myButton,
.myViewer .myButtons .myButton,
.myViewer .myButtons .myBackButton,
.myButtonRubrica {
  font-size: 0.85em;
}
.tableStyle {
  background-color: #fff;
  margin: 5px 0 10px 0;
  border: solid 1px #525252;
  border-collapse: collapse;
  font-family: Calibri;
  font-size: 1em;
  color: #474747;
  clear: both;
  margin: 20px;
}
.tableStyle td {
  padding: 5px;
  border: solid 1px #c1c1c1;
}
.tableStyle th {
  padding: 4px 2px;
  color: #fff;
  background: #0e6929;
  border-left: solid 1px #525252;
  font-size: 0.9em;
}
.tableStyle .alt {
  background-color: #cae2d5;
}
.tableStyle .pgr {
  background: #0e6929;
}
.tableStyle .pgr table {
  margin: 3px 0;
}
.tableStyle .pgr td {
  border-width: 0;
  padding: 0 6px;
  border-left: solid 1px #666;
  font-weight: bold;
  color: #fff;
  line-height: 12px;
}
.tableStyle .pgr a {
  color: Gray;
  text-decoration: none;
}
.tableStyle .pgr a:hover {
  color: #000;
  text-decoration: none;
}
/* Riordino righe: contorno sulla riga sotto il mouse */
.tableStyle tr[data-rid]:hover > td {
  background-color: #eef8ee !important;
  box-shadow: inset 0 2px 0 0 #0e6929, inset 0 -2px 0 0 #0e6929;
}
.tableStyle tr[data-rid]:hover > td:first-child {
  box-shadow: inset 2px 2px 0 0 #0e6929, inset 0 -2px 0 0 #0e6929;
}
.tableStyle tr[data-rid]:hover > td:last-child {
  box-shadow: inset -2px 2px 0 0 #0e6929, inset 0 -2px 0 0 #0e6929;
}
/* Lampeggio della riga appena spostata */
@keyframes lampeggiaRiga {
  0%, 30%, 60%, 100% { background-color: #fff7d6; }
  15%, 45%, 75% { background-color: #ffcf33; }
}
.tableStyle tr.rigaSpostata > td {
  animation: lampeggiaRiga 1.5s ease-in-out;
}
.ordLink {
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
  color: #0e6929;
}
.hover {
  background-color: #defcbd;
}
.tableWhite {
  background-color: #fff;
  margin: 5px 0 10px 0;
  border: solid 1px #525252;
  border-collapse: collapse;
  font-family: Calibri;
  font-size: 1em;
  color: #474747;
  clear: both;
  margin: 20px;
}
.tableWhite td {
  padding: 5px;
  border: solid 1px #c1c1c1;
}
.tableWhite th {
  padding: 4px 2px;
  color: #fff;
  background: #0e6929;
  border-left: solid 1px #525252;
  font-size: 0.9em;
}