/**
 * Tables
 */
table {
    width: 100%;
    height: auto;
    display: table;
    background-color: var(--white);
    margin: 0.5rem 0;
    border: solid 1px var(--border-color);
    border-radius: 0.5rem;
    line-height: 1.5625;
    border-spacing: 0;
}
table tbody {
    margin: 0;
    padding: 0;
}
table tbody tr:last-child,
table tbody tr:last-child td
{
    border-bottom: none;
}
table thead tr,
table tbody tr,
table tr
{
    background-color: transparent;
    border: none;
}
table tr td,
table thead tr th {
    text-align: left;
    padding: 12px 10px;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    border-right: 0;
    border-left: 0;
    border-top: 0;
}
table thead tr th {
    font-weight: 300;
    color: #a9a9a9;
    font-size: 12px;
}
table tbody tr td {
    color: var(--dark);
    font-weight: 300;
}


/* Responsive settings */

@media (max-width: 768px) {
    table,
    table thead,
    table tbody,
    table tr,
    table th {
        display: inline-block;
        width: 100%;
    }
    table tr td,
    table thead tr th {
        display: inline-block;
        width: 100%;
        padding: 8px;
        border-bottom: solid 1px var(--border-color)
    }
    table thead {
        display: none;
    }
    table td[data-title]:before {
        content: attr(data-title);
        display: inline-block;
        width: 35%;
        color: var(--secondary);
        font-size: 0.9em;
    }
    table tbody tr {
        border-bottom: solid 1px var(--border-color);
        margin-bottom: 20px;
    }
    table thead tr {
        border-bottom: solid 1px var(--bg-input);
    }
    table tr th:last-child,
    table tr td:last-child {
        border-bottom: none;
    }
}