@media (min-width: 800px) {
    table.dataTable {
        table-layout: fixed;
        width: 100% !important;
    }
}

@media (max-width: 799px) {
    table.dataTable col,
    table.dataTable th {
        width: auto !important;
        min-width: auto !important;
    }
}

div.dt-container,
div.dataTables_wrapper {
    max-width: 100%;
}

div.dt-scroll-body,
div.dataTables_scrollBody {
    overflow-x: auto;
}

table.dataTable {
    width: 100% !important;
}

th.dt-colresize-th {
    position: relative;
}

.dt-colresize-handle {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 8px;
    cursor: col-resize;
    user-select: none;
    touch-action: none;
    z-index: 5;
}

.dt-colresize-handle::before {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: currentColor;
    opacity: 0;
}

th.dt-colresize-th:hover .dt-colresize-handle::before {
    opacity: 0.25;
}

body.dt-colresize-resizing {
    cursor: col-resize !important;
    user-select: none !important;
}
