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

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

.callout {
    padding: 0.5rem !important;
}

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

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

.form-control-sm {
    padding: 0.1rem 2rem 0.1rem 0.5rem !important; /* Top Right Bottom Left */
    font-size: 0.875rem !important;
    height: calc(1.65rem + 2px);
}

/* Tables compattazione delle righe */
table td{
    padding-top: 0.2rem !important; 
    padding-bottom: 0.2rem !important; 
    font-size: 0.875rem !important;
}

table th{
    padding-top: 0.2rem !important; 
    padding-bottom: 0.2rem !important; 
    font-size: 0.875rem !important;
}



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

table.dataTable th{
    padding-top: 0.2rem !important; 
    padding-bottom: 0.2rem !important; 
    font-size: 0.875rem !important;
}

.dataTables_filter {
    font-size: 0.875rem !important;
}

.dataTables_info {
    font-size: 0.875rem !important;
}

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


/* 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;
}

.input-group-text {
    font-size: 0.875rem !important;    
}



.custom-file-label {
    padding: 0.1rem 2rem 0.1rem 0.5rem !important; /* Top Right Bottom Left */
    font-size: 0.875rem !important;
    height: calc(1.65rem + 2px);
}

.custom-file {
    padding: 0.1rem 2rem 0.1rem 0.5rem !important; /* Top Right Bottom Left */
    font-size: 0.875rem !important;
    height: calc(1.65rem + 2px);
}

/* 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;   
}

.dropdown-menu {
    font-size: 0.875rem !important;
    padding-top: 0.2rem !important; 
    padding-bottom: 0.2rem !important; 
}

.nav-link {
    font-size: 0.875rem !important;
    padding: 0.25rem 1rem;
}

.card-header {
    padding: 0.3rem 1rem;
    border-bottom: 0;
}

.card-title {
    font-size: 1rem !important;
}

.card-title-small {
    font-size: 1rem !important;
}


/* Summernote */
.note-editable, .note-code{
    height: 150px; /* custom size */
    min-height: 150px; /* custom size */
    max-height: 150px !important; /* custom size */
}

table.dataTable tr.dtrg-group td {
  background-color: #3c8dbc; 
  color: white;
}

.page-link {
    font-size: 0.875rem !important;
    padding: 0.25rem 0.5rem;
}

.dataTables_info {
    padding-top: 0.25rem !important;
}

.dataTable_cell_nowrap {
    white-space: nowrap;
}

