@media (max-width: 768px) {
    .custom-table table, .custom-table thead, .custom-table tbody, .custom-table th, .custom-table td, .custom-table tr {
        display: block;
        float: left;
        width: 100%;
    }

    .custom-table thead tr {
        top: -9999px;
        left: -9999px;
    }

    .custom-table thead:first-child {
        display: none;
    }

    .custom-table-row-td-img {
        margin: 0 auto !important;
        margin-bottom: 5px !important;
    }

    .custom-table td {
        border: none;
        position: relative;
        font-size: 13px;
    }

    .custom-table td:before {
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        display:block;
    }

    .custom-table tbody {
        margin-bottom: 5px;
    }

    .context table {
        display: auto !important;
    }

    .custom-table-row-td {
        padding: 0px 7px 7px;
    }

    .custom-table-row-td-actions {
        text-align:left;
    }

    /* if it has a label, use it. */
    .custom-table-row-td[data-label]:before {
        content: attr(data-label);
    }

    /* empty cells do not need to be displayed */
    .custom-table-row-td[data-label]:empty {
        display:none;
    }

  .context td:before { content: "" }
}
