:root {
  --button-color: #4b78ab;
  --font-color: #333;
  /*--maxwpage: 2000px;*/
  font-size: 12px;
}

/*---------- INPUT VARI------------*/
* {
  margin: 0;
  padding: 0;
  border-spacing: 0;
  outline: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  font-family: "Comfortaa", cursive;
  font-weight: 400;
  line-height: 1.5385;
}

ul {
  list-style-type: none;
}
img {
  transition: all 0.3s;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  border: 1px solid #ccc;
  padding: 4px;
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  -o-user-select: text;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background: #fff;
  cursor: pointer;
  margin-right: 4px;
  transition: all 0.3s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--button-color);
  box-shadow: 0 0 2px var(--button-color);
  -moz-box-shadow: 0 0 2px var(--button-color);
  -webkit-box-shadow: 0 0 2px var(--button-color);
}

select {
  font-size: 0.9em !important;
}

label {
  margin-right: 7px;
  white-space: pre;
  color: var(--font-color);
}

label.error {
  position: absolute;
  color: red;
  margin-top: 20px;
}

button {
  color: var(--font-color);
  background-color: var(--button-color);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: all 0.3s;
  padding: 5px 10px;
}
button.piccolo {
  padding: 3px 5px;
}

i {
  font-size: 1.1em;
  cursor: pointer;
  margin: 0px 5px;
  transition: all 0.3s;
}
p {
  color: var(--font-color);
}
#tit_mese {
  font-size: 1.5em;
  margin: 10px auto;
  font-weight: bold;
  text-align: center;
}
#pulsantiera {
  flex-grow: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
span.interrogativo {
  background: #fff;
  color: #4b78ab;
  border-radius: 60%;
  font-weight: bold;
  margin-left: 5px;
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 19px;
}

#totali table {
  margin: 0px auto;
  font-size: 1.1em;
  display: inline-block;
  vertical-align: top;
}
#totali td {
  padding: 5px;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}
#totali td div {
  font-weight: bold;
}
#totali table:first-child td {
}
.aperta {
  font-size: 0.9em;
}
.aperta td {
  background: #c4e2ff !important;
}

.canc td {
  background-color: #ff000080 !important;
}

.jsgrid-table {
  cursor: pointer;
}
#grida .jsgrid-grid-header,
#grida .jsgrid-grid-body {
  overflow: hidden;
}
#grida tr:last-child {
  position: fixed;
  bottom: 0;
  background: #ddd;
  font-size: 1.1em;
}

#popup,
#popup2 {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1;
  border: 1px solid #000;
  border-radius: 5px;
  background: #fff;
  margin-left: -100px;
  margin-top: 100px;
  padding: 20px;
  display: none;
  max-height: calc(100vh - 110px);
  overflow: auto;
}

#popup td,
#popup2 td {
  display: block;
  width: 100% !important;
  background: #fff;
}
#popup .jsgrid-insert-row > .jsgrid-cell:last-child,
#popup .jsgrid-insert-row > .jsgrid-cell:first-child {
  border: 0;
}

.cerchio {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0px auto;
}
#popup #ore {
  min-width: 240px;
}
.jsgrid-cell {
  white-space: normal;
  word-break: break-all;
}
.jsgrid-row.nascosta,
.jsgrid-alt-row.nascosta {
  display: none;
}
#pulsanti_eu {
  text-align: center;
}
#pulsanti_eu button {
  color: #f39200;
  background: #fff;
  margin: 10px auto;
}
#pulsanti_eu button.cliccato {
  background: #f39200;
  color: #fff;
}
#popup2 .jsgrid-insert-button {
  background-position: 0 -335px;
}
tr.blu td {
  background: #0070ff69 !important;
}

p,
div,
td {
  color: #333;
}
.w2ui-tb-button {
  cursor: pointer;
}
.w2ui-grid-data div {
  text-transform: uppercase;
}
#pulsantiera button {
  margin: 0px 10px;
  color: #fff;
}
#grid_myTable_summary .w2ui-info.w2ui-icon-info {
  display: none;
}
.w2ui-reset table tr td,
.w2ui-reset table tr th {
  font-size: 14px !important;
}
.w2ui-menu table tr td,
.w2ui-menu table tr th {
  font-size: 11px !important;
}
.w2ui-popup .w2ui-popup-title {
  font-size: 15px !important;
}
.w2ui-grid .w2ui-grid-body table td.w2ui-grid-data > div {
  padding: 4px !important;
}
.w2ui-grid .w2ui-grid-body table td.w2ui-grid-data > div {
  max-height: none !important;
  height: auto !important;
  line-height: 17px;
}
.w2ui-grid .w2ui-grid-body table td.w2ui-grid-data .w2ui-info {
  top: -2px !important;
}
.w2ui-popup,
.w2ui-popup * {
  font-size: 1.01rem !important;
}
#loading {
  width: 100%;
  height: 100%;
  background: #000;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  z-index: 999;
}
#spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--button-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: auto;
}
.boxinfo {
  margin-bottom: 5px;
}
.boxinfo table {
  font-size: 1.2em;
  text-align: center;
  margin: 0px auto;
  border-radius: 5px;
  border: 1px solid var(--button-color);
}
.boxinfo table td {
  padding: 5px;
  border: 1px solid var(--button-color);
}
#w2overlay-myTable_toolbar-tooltip .w2ui-overlay-body {
  max-width: 300px !important;
  white-space: normal !important;
  text-align: justify;
}

.w2ui-grid-summary div {
  font-weight: 900;
  color: #000;
}
#myTable,#myTableVenduto {
  width: 95vw;
  margin: 0px auto;
  height: calc(100vh - 230px);
  max-width: 1600px;
}


#tb_myTable_toolbar_item_search-ordine {
  border: 1px solid #eaeaed;
}
.boxino {
  font-size: 12px;
  font-weight: bold;
  background: #4b78ab;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  padding-top: 6px !important;
}
#resop {
  font-size: 1.1em;
  text-align: center;
  max-width: 1300px;
  margin: 0px auto;
}
.w2ui-col-select {
  cursor: pointer !important;
}
.nota {
  width: 20px;
  margin-right: 5px;
  fill: #4b78ab;
  vertical-align: top;
  cursor: pointer;
}
#w2overlay-grid_myTable_field_4_date,#w2overlay-grid_myTable_field2_4_date,#w2overlay-grid_myTableVenduto_field_4_date,#w2overlay-grid_myTableVenduto_field2_4_date,#w2overlay-grid_myTable_field2_2_date,#w2overlay-grid_myTable_field_2_date{
z-index: 999999999999;
}
#sommatoria div{
    display: flex;
    align-items:center;
    justify-content:center;
     font-size: 1.3em;
}

#sommatoria p{
    margin:0px 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media print {
  #header {
    display: none !important;
  }
}
