/* Kun tabeller der ER inde i en .table-wrapper påvirkes */

/* Standard tabel-margin fjernes kun her */
.table-wrapper .table {
    margin-bottom: 0;
}

/* Wrapperen får scroll */
.table-wrapper {
   overflow-x: auto;
  overflow-y: auto;
}

/* Sticky header kun i table-wrapper-tabeller */
.table-wrapper thead th {
    white-space: nowrap;
    position: sticky !important;
    top: -1px;
    background: white;
    cursor: pointer;
    padding-right: 18px !important;
    border: 1px solid #dddddd;
}

/* Ingen wrap kun for celler i disse tabeller */
.table-wrapper td {
    white-space: nowrap;
}

/* Highlight visuelt kun i disse tabeller */
.table-wrapper .table tbody tr.highlight td {
    background-color: #1ea2b1;
    border-top: 2px solid #1ea2b1;
    border-bottom: 2px solid #1ea2b1;
    color: #fff;
    cursor: pointer;
}

.table-wrapper .table tbody tr.highlight a {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

/* Bruges kun, hvor du selv sætter klassen på et element */
.scrollbarRightMargin {
    width: calc(100% - 1.3em);
}

/* Sorterings-ikon justering – stadig scoped til table-wrapper */
.table-wrapper table thead tr th.sortable i {
    top: 9px !important;
}

/* Din miniField-padding – den er kun brugt på th med den class */
th.miniField,
td.miniField {
    padding-right: 6px !important;
}

/* De gamle eksperimenter lader vi forblive kommenteret
tbody {
    display:block;
    overflow:auto;
}
thead, tbody tr {
    display:table;
    width:100%;
    table-layout:fixed;
}
*/
