/**
 * Sticky / fixed horizontal scrollbar for Admin & Agency data tables.
 * Paired with public/assets/js/datatables-sticky-hscroll.js
 */
.dt-sticky-hscroll {
    position: fixed;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 2147483000;
    display: none;
    height: 16px;
    max-width: 100vw;
    margin: 0;
    background: #f3f3f3;
    border-top: 1px solid #d6d6d6;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
    -webkit-overflow-scrolling: touch;
}

.dt-sticky-hscroll.is-active {
    display: block;
}

.dt-sticky-hscroll__track {
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
}

.dt-sticky-hscroll__spacer {
    height: 1px;
    pointer-events: none;
}

/* Promoted horizontal scroll hosts */
.dt-sticky-hscroll-host,
.users-table-freeze-scroll,
.properties-table-freeze-scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
    max-width: 100%;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Keep freeze-scroll wrappers as the single horizontal scroller */
.users-table-freeze-scroll .dataTables_wrapper,
.properties-table-freeze-scroll .dataTables_wrapper,
.users-table-freeze-scroll .dataTables_wrapper > .row,
.properties-table-freeze-scroll .dataTables_wrapper > .row,
.dt-sticky-hscroll-host .dataTables_wrapper > .row {
    overflow-x: visible !important;
    max-width: none;
}
