
/* ***********************************
 * Override Boostrap configuration
 * ******************************** */

label {
    margin-bottom: 0.1rem !important;
}

.callout {
    padding: 0.5rem !important;
}

.form-group {
    margin-bottom: 0.5rem !important;
}

.col-form-label-sm {
    margin-bottom: 0.1rem !important;
    padding: 0 !important;
}

.form-control-sm {
    padding: 0.2rem 2rem 0.25rem 0.5rem !important; /* Top Right Bottom Left */
    font-size: 1rem !important;
}

/* DataTables compattazione delle righe */
table.dataTable td {
    padding-top: 0.2rem !important; 
    padding-bottom: 0.2rem !important; 
}

/* DataTables colorazione delle righe pari e dispari a bianco e giallo chiaro è superata dalla colorazione   */
.stripe1  { background-color: white; }
.stripe2 { background-color: rgba(255, 255, 204, 0.3); }

/* Table colorazione riga pari come nelle DataTables (giallo chiaro)) */
tbody tr:nth-child(even){
  background-color: rgba(255, 255, 204, 0.3);
}


/* Nasconde le frecce dai campi di input tipo Number
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/* AdmniLTE sidebar menu cambio tonalità di grigio all'item che viene evidenziato a livello 0 */
.sidebar-light-gray .nav-sidebar > .nav-item > .nav-link.active {
  background-color: rgba(0, 0, 0, 0.1);
  color: rgb(33, 37, 41);
}
.sidebar-dark-gray .nav-sidebar > .nav-item > .nav-link.active {
  background-color: rgba(255, 255, 255, 0.7);
  color: rgb(33, 37, 41);
}
  
.btn-app-sm {
    padding: 0.2rem 0.2rem;
    margin-bottom: 0.3rem;
    margin-left: 0.4rem;
    height: 3rem;    
    min-width: 4rem;
}

.dropdown-item {
    color: rgb(108, 117, 125) !important;
}

.dropdown-item.disabled {
    color: rgb(211, 211, 211) !important;
}

.dropdown-item:active {
    background-color: #3c8dbc !important;   /*lightblue*/
    color: white !important;   
}

.datatable_row_red {
  background-color: red !important;
}

.datatable_row_yellow {
  background-color: yellow !important;
}
