.data-grid {
    background-color: none;
    margin-bottom: 20px;
    margin-top: 20px;
}

.bootgrid-table tr {
    margin-top: 0px;
    margin-bottom: 0px;
}

.bootgrid-table td {
    padding: 10px 12px;
    vertical-align: middle;
}

.bootgrid-table td.select-cell {
    text-overflow: unset !important;
    white-space: normal !important;
}

/* Fix link alignment in table cells */
.bootgrid-table td a {
    display: inline-block;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
    line-height: inherit;
}

/* Mobile view adjustments */
@media (max-width: 767.98px) {

    .bootgrid-table td:not(:last-child),
    .bootgrid-table th:not(:last-child) {
        display: none;
    }

    .bootgrid-table td:last-child {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
    }

    .bootgrid-header {
        padding: 0;
    }
    .bootgrid-table thead th {
        border-bottom: none !important;
    }
    
    .bootgrid-table thead {
        display: none;
    }
    
    .bootgrid-table tbody {
        border-top: none;
    }
    
    .bootgrid-table tbody tr {
        border: none;
    }

    .bootgrid-table td a{
        text-decoration: underline;
    }

}
