/* Tabelle accessibili */
table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

table caption {
    padding: .5rem;
    caption-side: top;
    text-align: left;
    font-weight: 600;
    color: #455b71;
}

table th,
table td {
    padding: .75rem 1rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: left;
}

table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #17324d;
}

table tbody + tbody {
    border-top: 2px solid #dee2e6;
}

table .table {
    background-color: #fff;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e7eaed;
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    table.stack-table thead,
    table.stack-table th {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    table.stack-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
    }
    table.stack-table td {
        display: block;
        text-align: right;
        border-top: 1px solid #f0f0f0;
        position: relative;
        padding-left: 50%;
    }
    table.stack-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 1rem;
        text-align: left;
        font-weight: 600;
        color: #17324d;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
