/* Tablas responsive para móviles */
@media only screen and (max-width: 992px), (min-device-width: 992px) and (max-device-width: 1023px) {
    .responsive-table {
        margin: 1em 0;
        /*min-width: 300px;*/
    }
    .responsive-table tr {
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }
    .responsive-table thead {
        display: none;
    }
    .responsive-table td {
        display: block;
    }
    .responsive-table tr:nth-child(odd) {
        background: #f9f9f9;
    }
    .responsive-table td:first-child {
        padding-top: 0.5em;
    }
    .responsive-table td:last-child {
        padding-bottom: 0.5em;
    }
    .responsive-table td:before {
        content: attr(data-th) ' ';
        font-weight: bold;
        width: 6.5em;
        display: inline-block;
    }
    /* Centrar los elementos */
    .responsive-table td.center {
        text-align: center !important;
    }
    .responsive-table td.center:before {
        content: attr(data-th) ' ';
        font-weight: bold;
        height: 100%;
        width: 100%;
        display: flex;
    }

    @media (min-width: 992px) {
        .responsive-table td:before {
            display: none;
        }
    }
    .responsive-table th,
    .responsive-table td {
        text-align: left !important;
        display: block;
    }
    @media (min-width: 992px) {
        .responsive-table th,
        .responsive-table td {
            display: table-cell;
            padding: 0.25em 0.5em;
        }
        .responsive-table th:first-child,
        .responsive-table td:first-child {
            padding-left: 0;
        }
        .responsive-table th:last-child,
        .responsive-table td:last-child {
            padding-right: 0;
        }
    }

    @media (min-width: 992px) {
        .responsive-table th,
        .responsive-table td {
            padding: 1em !important;
        }
    }
}
