/* OmniVenta V63.28.03 R16 — universal horizontal table rail for wide/dynamic tables. */
body.ov-responsive .table-responsive,
body.ov-responsive .ov-auto-table-responsive,
body.ov-responsive .ov-table-scroll,
body.ov-responsive .table-scroll,
body.ov-responsive .table_holder,
body.ov-responsive .dataTables_scrollBody,
body.ov-responsive .ov-register-table-scroll,
body.ov-responsive .omni-table-scroll-host {
	max-width: 100%;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-inline: contain;
	scrollbar-gutter: stable;
}

/* Keep an actual mouse-draggable horizontal bar visible on desktop browsers. */
body.ov-responsive .table-responsive::-webkit-scrollbar,
body.ov-responsive .ov-auto-table-responsive::-webkit-scrollbar,
body.ov-responsive .ov-table-scroll::-webkit-scrollbar,
body.ov-responsive .table-scroll::-webkit-scrollbar,
body.ov-responsive .table_holder::-webkit-scrollbar,
body.ov-responsive .dataTables_scrollBody::-webkit-scrollbar,
body.ov-responsive .ov-register-table-scroll::-webkit-scrollbar,
body.ov-responsive .omni-table-scroll-host::-webkit-scrollbar {
	height: 12px;
}
body.ov-responsive .table-responsive::-webkit-scrollbar-track,
body.ov-responsive .ov-auto-table-responsive::-webkit-scrollbar-track,
body.ov-responsive .ov-table-scroll::-webkit-scrollbar-track,
body.ov-responsive .table-scroll::-webkit-scrollbar-track,
body.ov-responsive .table_holder::-webkit-scrollbar-track,
body.ov-responsive .dataTables_scrollBody::-webkit-scrollbar-track,
body.ov-responsive .ov-register-table-scroll::-webkit-scrollbar-track,
body.ov-responsive .omni-table-scroll-host::-webkit-scrollbar-track {
	background: rgba(90, 90, 105, .10);
	border-radius: 8px;
}
body.ov-responsive .table-responsive::-webkit-scrollbar-thumb,
body.ov-responsive .ov-auto-table-responsive::-webkit-scrollbar-thumb,
body.ov-responsive .ov-table-scroll::-webkit-scrollbar-thumb,
body.ov-responsive .table-scroll::-webkit-scrollbar-thumb,
body.ov-responsive .table_holder::-webkit-scrollbar-thumb,
body.ov-responsive .dataTables_scrollBody::-webkit-scrollbar-thumb,
body.ov-responsive .ov-register-table-scroll::-webkit-scrollbar-thumb,
body.ov-responsive .omni-table-scroll-host::-webkit-scrollbar-thumb {
	background: rgba(89, 67, 145, .58);
	border-radius: 8px;
	border: 2px solid transparent;
	background-clip: padding-box;
}
body.ov-responsive .table-responsive,
body.ov-responsive .ov-auto-table-responsive,
body.ov-responsive .ov-table-scroll,
body.ov-responsive .table-scroll,
body.ov-responsive .table_holder,
body.ov-responsive .dataTables_scrollBody,
body.ov-responsive .ov-register-table-scroll,
body.ov-responsive .omni-table-scroll-host {
	scrollbar-color: rgba(89, 67, 145, .65) rgba(90, 90, 105, .10);
	scrollbar-width: auto;
}

/* Floating mirror rail: when the bottom of a long table is off screen, this stays reachable with the mouse. */
#omni-horizontal-table-rail {
	position: fixed;
	display: none;
	height: 19px;
	overflow-x: scroll;
	overflow-y: hidden;
	left: 12px;
	bottom: 8px;
	z-index: 1062;
	box-sizing: border-box;
	background: rgba(247, 247, 250, .97);
	border: 1px solid rgba(70, 60, 95, .20);
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(25, 20, 40, .16);
	scrollbar-color: rgba(89, 67, 145, .78) rgba(90, 90, 105, .12);
	scrollbar-width: auto;
}
#omni-horizontal-table-rail.omni-hscroll-visible { display: block; }
#omni-horizontal-table-rail::-webkit-scrollbar { height: 14px; }
#omni-horizontal-table-rail::-webkit-scrollbar-track {
	background: rgba(90, 90, 105, .12);
	border-radius: 8px;
}
#omni-horizontal-table-rail::-webkit-scrollbar-thumb {
	background: rgba(89, 67, 145, .78);
	border-radius: 8px;
	border: 2px solid transparent;
	background-clip: padding-box;
}
#omni-horizontal-table-rail .omni-horizontal-table-rail-spacer {
	height: 1px;
	min-width: 1px;
	pointer-events: none;
}

@media (max-width: 767px) {
	#omni-horizontal-table-rail { bottom: 4px; height: 16px; border-radius: 6px; }
	#omni-horizontal-table-rail::-webkit-scrollbar { height: 11px; }
}
@media print {
	#omni-horizontal-table-rail { display: none !important; }
	body.ov-responsive .omni-table-scroll-host { overflow: visible !important; }
}
