/* Wide tables (table-scroll.js): scroll sideways inside their box, never widen the page. */
/* clear: overflow makes the box avoid floats, so after a full-width floated column (col-md-12) it was
   squeezed to 0 px beside it and the table disappeared (LoA edit: CAS list not visible) */
.ts-wrap { clear: both; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ts-wide { scrollbar-width: auto; }

/* copy of the table's scrollbar, kept at the bottom of the window while the real one is out of view */
/* negative margin: it takes no room of its own, so the page does not jump when it appears */
.ts-bar { display: none; position: sticky; bottom: 0; z-index: 20; height: 16px; margin-top: -16px; overflow-x: auto; overflow-y: hidden;
    background: rgba(246, 248, 250, .96); border-top: 1px solid #e3e8ee; }
.ts-bar.ts-bar-on { display: block; }
.ts-bar > div { height: 1px; }

/* bootstrap's .table-responsive only scrolls on phones: let it scroll on every screen size */
.content-wrapper .table-responsive { overflow-x: auto; }

/* scrollbar above the table (only while the table is wider than its box) */
.ts-top { clear: both; display: none; height: 14px; overflow-x: auto; overflow-y: hidden; margin-bottom: 4px; }
.ts-top.ts-top-on { display: block; }
.ts-top > div { height: 1px; }
