#table_id {
  overflow-x: scroll;
  width: auto;
}

.dataTables_wrapper {
  background-color: white;
  /*font-family: 'Open Sans';*/
  color: rgba(0,0,0,0.6);
  font-family: 'Open Sans';
  font-size: 12px;
  line-height: 16px;
  text-align: right;
  /*width: 1200px;*/
}

table.dataTable tr {
  height: 40px;
  text-align: left;
  white-space: nowrap;
}

table.dataTable tr td a {
  color: #FF6D70;
}

table.dataTable th {
  height: 56px;
  font-weight: 400 !important;
}

.even td {
  background-color: #fafcff !important;
}

.odd td {
  background-color: white !important;
}

table.dataTable thead th, table.dataTable .riga-filtri {
  /*border: none;*/
  border-bottom: none;
  border-left: none;
}

table.dataTable .riga-filtri td, table.dataTable .riga-filtri th, table.dataTable .riga-filtri {
  /*border: none;*/
  /*border-bottom: none;*/
  border-left: none;
  border-top: 0px;
  height: 32px;
  text-align: center;
}

.dataTable table, .dataTable th, .dataTable td {
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 12px;
  border-left: none;
}

.dataTable tr.selected td {
  background-color: rgba(255,109,112,0.1) !important;
}

table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
  border-top: none;
}

table.dataTable, table.datatable th, table.dataTable td {
  border: 1px solid #eaeeaea;
}

table.dataTable.hover tbody > tr.selected:hover, table.dataTable.hover tbody > tr > .selected:hover, table.dataTable.display tbody > tr.selected:hover, table.dataTable.display tbody > tr > .selected:hover, table.dataTable tbody tr.selected {
  background-color: white !important;
}

table.dataTable.no-footer {
  border-bottom: none !important;
}

.dataTable thead tr.riga-intestazione {
  white-space: nowrap;
}

/* CHECKBOX */

.dt-checkboxes-cell input {
  font-size: 18px;
  -webkit-appearance: none;
  background-color: #ffffff;
  border: 2px solid #dadcdf;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
  padding: 9px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  background-image: none;
}

.dt-checkboxes-cell input:checked, .dt-checkboxes-cell input:indeterminate {
  background-color: #FF6D70;
  border-color: #FF6D70;
}

.dt-checkboxes-cell input:checked:after {
  content: '\f00c';
  font-size: 16px;
  position: absolute;
  top: 1px;
  left: 1px;
  color: white;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.dt-checkboxes-cell input:indeterminate:after {
  content: '\f068';
  font-size: 15px;
  position: absolute;
  top: 2px;
  left: 3px;
  color: white;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

table.dataTable tbody td.select-checkbox:after, table.dataTable tbody thz.select-checkbox:after, table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before {
  font-size: 18px;
  -webkit-appearance: none;
  background-color: #ffffff;
  border: 2px solid #dadcdf;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
  padding: 9px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  background-image: none;
  font-size: 18px;
  -webkit-appearance: none;
  border: 2px solid #dadcdf;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
  display: inline-block;
  position: absolute;
  background-image: none;
}

table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
  content: "Mlml";
  font-size: inherit;
  -webkit-appearance: none;
  background-color: #FF6D70;
  border: inherit;
  /*box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);*/
  padding: inherit;
  border-radius: inherit;
  /*display: inherit;*/
  position: inherit;
  /*background-image: none;*/
  /*font-size: 18px;*/
  /*-webkit-appearance: none;*/
  border: inherit;
  /*box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);*/
  display: inline-block;
  /*position: absolute;*/
  /*background-image: none;*/
}

#table_id_info .select-info {
  display: none;
}

/* INFO */

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
  font-size: 12px;
  font-family: 'Open Sans';
  color: rgba(0,0,0,0.38);
  line-height: 16px;
}

.dataTables_wrapper .dataTables_length {
  float: none;
  display: inline-block;
}

.dataTables_wrapper .dataTables_paginate {
  float: none;
  display: inline-block;
}

.dataTables_wrapper .dataTables_info {
  float: none;
  display: inline-block;
  margin-left: 8px;
  margin-right: 40px;
  line-height: 56px;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
  border-bottom: none;
}

.paginate_input {
  text-align: center;
  width: 40px;
  min-width: 10px;
  border: none;
  outline: none;
  color: rgba(0,0,0,0.6);
}

#table_id_first, #table_id_last {
  display: none;
}

.paginate_input_select_box {
  min-width: 50px;
}

#table_id_length {
  margin-left: 50px;
}

#table_id .riga-filtri {
  /*display: table-header-group !important;*/
  height: 32px;
  border: none;
}

table.dataTable .riga-filtri th, table.dataTable .riga-filtri td {
  padding: 0px;
  margin: 0px;
  width: 0px;
  right: 0px;
  background-color: #f9fcff;
}

table.dataTable tr.riga-filtri {
  border: 0px;
  background-color: rgba(0,111,255,0.02);
  max-height: 32px !important;
}

table.dataTable .riga-filtri input {
  width: 100%;
  height: 32px;
  padding: 8px 12px;
  margin: 0px;
  background-color: transparent;
  border: none;
  outline: none;
}

.colonna-sticky {
  background-color: white;
}

.cella-sticky {
  display: block;
  color: rgba(0,0,0,0.38);
}

.td-sticky {
  border-left: 1px solid rgba(0,0,0,0.06) !important;
}

/* ICONE ORDINAMENTO */

table.dataTable thead th {
  position: relative;
  background-image: none !important;
  background-color: white;
}

table.dataTable thead th.sorting:after, table.dataTable thead th.sorting_asc:after, table.dataTable thead th.sorting_desc:after {
  position: absolute;
  top: 28px;
  right: 8px;
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

table.dataTable thead th.sorting:after {
  content: "\f0dc";
  color: white;
  font-size: 0.8em;
}

table.dataTable thead th.sorting_asc:after {
  content: "\f063";
  color: #4D9AFF;
}

table.dataTable thead th.sorting_desc:after {
  content: "\f062";
  color: #4D9AFF;
}

table.dataTable thead:first-child tr {
  height: 56px;
  white-space: initial;
}

#datatable-pulsanti-footer {
  display: none;
}

#datatable-pulsanti-footer-div {
  float: left;
  position: absolute;
  left: 24px;
  margin-top: -10px;
}

tr.nuova_riga_datatable, .nuova_riga_datatable td {
  background-color: #d0fbeb !important;
}

.datatable-icona-info {
  float: right;
  position: relative;
  margin-right: -5px;
  margin-top: -5px;
  cursor: pointer;
}

