table.table {
    margin-bottom: 0;
}

table.table thead {
    height: 50px;
}

table.table thead th {
    vertical-align: middle;
}

.table thead input {
    width: 100%;
    background-color: var(--input-bg);
    color: var(--input-text);
    border: 1px solid var(--input-border);
    border-radius: 4px !important;
    padding: 6px 8px;
    height: 34px;
    box-shadow: none;
}

.table thead input:focus {
    background-color: var(--surface);
    border-color: var(--input-focus);
    outline: none;
    box-shadow: 0 0 0 2px rgba(31, 111, 229, .15);
}

.table thead input:disabled {
    background-color: var(--input-bg-disabled);
    color: var(--text-color);
    cursor: not-allowed;
}

.table thead select {
    width: 100%;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    height: 34px;
    background-color: var(--input-bg);
    color: var(--input-text);
    box-shadow: none;
}

.table thead select:focus {
    border-color: var(--input-focus);
    outline: none;
    box-shadow: 0 0 0 2px rgba(31, 111, 229, .15);
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: var(--background);
}

.table tbody tr {
    cursor: pointer;
    transition: all .1s ease;
}

.table tbody td {
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr td {
    background-color: transparent !important;
    height: 36px;
}

.table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.table tbody tr:hover td {
    color: var(--text-active);
    background: var(--surface-hover);
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: none;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50, 50, 50, .5);
}

.st-sort-ascent:before {
    content: '\25B2';
}

.st-sort-descent:before {
    content: '\25BC';
}

.table-geos {
    padding: 10px;
}

.table-geos>thead {
    height: 45px;
}

.table-geos>thead>tr>th {
    vertical-align: middle;
}

.equals-columns {
    table-layout: fixed;
    width: 100%;
}

.equals-columns th,
.equals-columns td {
    width: 20%;
}

/* =======================
   COLONNA AZIONI TABELLE
   ======================= */

.table .table-actions-header,
.table .table-actions {
    width: 1%;
    white-space: nowrap;
    text-align: left;
    vertical-align: middle;
}

.table .table-actions .btn {
    min-width: 0;
    margin-left: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.table .table-actions .btn:first-child {
    margin-left: 0;
}

.table .table-actions .btn i {
    margin-right: 5px;
}

.table tbody tr.has-actions {
    cursor: default;
}

@media (max-width: 767px) {
    .table .table-actions .btn {
        width: 34px;
        padding-left: 0;
        padding-right: 0;
    }

    .table .table-actions .btn i {
        margin-right: 0;
    }
}