﻿.rz-grid-table td:first-child {
    padding-left: 2rem !important;
}

.rz-grid-table td:last-child {
    padding-right: 2rem !important;
}

.rz-grid-table th {
    padding-top: 0.5rem !important;
}

    .rz-grid-table th:first-child {
        padding-left: 1rem !important;
    }

tr.rz-data-row td.expanderColumn {
    padding: 0 !important;
    text-align: center;
}

.rz-cell-data:has(.dragButton) {
    overflow: visible !important;
}

td:has(.dragButton) {
    overflow: visible !important;
}

.rz-grid-table td.small-left-padding {
    padding-left: 1rem !important;
}

.rz-grid-table td.small-left-padding-drag-and-drop {
    padding: 0 !important;
}

/* remove padding from table */
td:has(.rz-cell-data .drop-cell) {
    padding: 0 !important;
    height: 100%;
}

table.rz-grid-table {
    height: 1px;
}

.rz-cell-data:has(.drop-cell) {
    display: flex !important;
    height: 100%
}

.drop-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 2.5rem;
    padding: var(--rz-grid-cell-padding);
}

:is(th,td) {
    max-inline-size: initial !important;
}

@media only screen and (max-width: 992px) {
    .dataGridTemplateGrid {
        width: calc(100vw - 4rem);
    }
}

.rz-grid-table td.rz-col-icon {
    padding-left: 0 !important;
}

.rz-grid-table :is(th,td) {
    max-inline-size: initial;
}

.rz-expanded-row-content > td{
    background-color: inherit;
}

.datagrid-collapse-header thead{
    visibility: collapse;
}

.rz-data-row.re-order-row {
    border-block: 2px solid black;
}

.rz-grid-table-border-collapse table {
    border-collapse: collapse;
}
