﻿.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.rz-col-icon,
th.rz-col-icon {
    padding: 0 !important;
    text-align: center;
    max-inline-size: 3rem !important;
    width: 3rem !important;
}

th:has(.tooltipIcon),
.rz-column-title:has(.tooltipIcon),
.rz-column-title-content:has(.tooltipIcon) {
    overflow: visible !important;
}

.rz-grid-table td:has(.indicator) {
    padding-right: 1rem !important;
}

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

.rz-grid-table td:has(.indicator) {
    overflow: visible !important;
    padding: 0 !important;
}

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

.rz-grid-table th:has(.rz-chkbox-box),
.rz-grid-table th:has(.rz-chkbox-box) .rz-column-title,
.rz-grid-table td:has(.rz-chkbox-box) {
    padding: 0 !important;
    margin: 0 !important;
}

    .rz-grid-table th:has(.rz-chkbox-box) .rz-column-title-content,
    .rz-grid-table td:has(.rz-chkbox-box) .rz-chkbox {
        margin: auto !important;
        display: block;
    }

.rz-grid-table td.rz-frozen-cell:has(button) {
    padding: 0 !important;
    margin: 0 !important;
}

th:has(.rz-cell-filter) {
    padding: 0 !important;
}


.rz-column-title:has(.tooltipIcon) {
    justify-content: center !important;
    padding-inline: 0 !important;
}

th.displayNone {
    display: none;
}


.dense .rz-grid-table tbody tr,
.dense .rz-grid-table tbody tr td,
.dense .rz-grid-table tbody tr td * {
    max-height: 1.2rem !important;
    font-size: 12px !important;
}

.dense .rz-grid-table thead tr,
.dense .rz-grid-table thead tr th,
.dense .rz-grid-table thead tr th * {
    font-size: 12px !important;
}

.dense .rz-data-grid * {
    font-size: 12px !important;
}

.dense .rz-data-grid .rz-pager-icon {
    font-size: 18px !important;
}

.datagrid-no-scroll .rz-data-grid-data {
    overflow: hidden;
}

.rz-data-row td:has(.columnSmallPadding) {
    padding: 0.5rem;
}
