/*-----SIMULAZIONI----*/
#boxtotale {
  border: 2px solid #aaa;
  font-size: 1.1em;
  text-align: center;
  background: #fff;
  top: 0;
  left: 50%;
  padding: 5px;
  font-size: 1.1em;
}
#boxtotale p {
  text-align: left;
}
#boxtotale span {
  font-weight: bold;
}
tr.selezionata {
  background-color: rgba(33, 150, 243, 0.8);
}
tr.selezionata:hover {
  background-color: rgba(33, 150, 243, 0.6) !important;
}
.totalisim {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 10px;
}
tr.trpcc.rap {
  background: #ff00004a !important;
}

/*-----ANALISI----*/
.tabledettaglio,
.tablereport {
  margin: 10px auto;
}
.tabledettaglio td,
.tabledettaglio th,
.tablereport td,
.tablereport th {
  text-align: center !important;
}
button.disattivato {
  background-color: #ccc;
}
.controlli {
  margin-top: 15px;
}
.controlli button {
  margin: 0px 5px;
}
i.chiuso {
  transform: rotate(180deg);
}
.buttonstampa {
  background-color: #ccc;
  color: #000;
  margin-right: 50px;
  text-shadow: none;
}
.graphcontainer {
  flex-grow: 1;
  padding: 5px !important;
  border: 1px solid #b7b7b7;
  margin-right: 5px;
}
.graphcontainer canvas {
  max-width: 100%;
}
.graphcontainer p {
  margin-bottom: 10px;
}
.torta {
  width: 40%;
  max-width: 40%;
}
.bar {
  width: 59%;
}
.graph {
  margin-top: 10px;
}

#tablegraph td,
#tablegraph th {
  text-align: center !important;
}
#box3 #titolo {
  margin-top: 25px;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
}

button.buttontip {
  float: right;
  background-color: #000;
}
button.buttontip.disattivato {
  background-color: #ccc;
}

#containertbl {
  overflow-x: auto;
}

#creautenzaadmin {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 10px;
  padding-bottom: 50px;
}

th.ruolo_utenza {
  width: 30%;
}
i.info {
  font-size: 1.15em;
  vertical-align: middle;
  margin-bottom: 2px;
}
.headertot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.9em;
  flex-wrap: wrap;
  margin-right: 180px;
}
.headertot div {
  margin: 0px 5px;
}

.headertot .tit {
  font-weight: bold;
}
.box {
  margin-top: 6px;
  border: 1px solid #c4bb96;
  background:#e4e0d4;
}
#header_fix {
  position: fixed;
  z-index: 100000;
  padding: 10px;
  top: 0;
  width: calc(100vw - 296px);
  background: #e4e0d4;
  margin: 0px 20px;
  border-left: 1px solid #c4bb96;
  border-right: 1px solid #c4bb96;
  border-bottom: 1px solid #c4bb96;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  font-size: 1.2em;
  display: none;
}

.box-header {
    border-bottom: 1px solid #c4bb96;
  }
@media print {
  body {
    display: block;
    font-size: 8px !important;
  }
  .controlli {
    display: none;
  }
  #menubar {
    display: none;
  }
  #footerpage {
    display: none;
  }
  .box-header div {
    display: none;
  }
  .box-header {
    width: 100% !important;
  }
  .titstampa {
    text-align: center;
    width: 100%;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .tablereport {
    page-break-after: always;
  }
  .box {
    border: 0;
  }
  .trheadpcc th.thpcc,
  .trpcc td.tdpcc {
    padding: 5px;
  }
  .torta,
  .bar {
    text-align: center;
    border: 0;
    width: 100% !important;
  }
  .torta p,
  .bar p {
    page-break-after: avoid;
  }
  .torta canvas {
    margin: 0px auto;
    text-align: center;
    width: 100% !important;
    height: auto !important;
  }
  .bar canvas {
    margin: 0px auto;
    text-align: center;
    width: 100% !important;
    height: auto !important;
  }
  .graph canvas {
    margin: 0px auto;
    text-align: center;
    width: 100% !important;
    height: auto !important;
  }
  #divgraphs1 {
    display: block !important;
  }
}
