﻿.pointer-cursor {
    cursor: pointer;
}

.table-fixed {
    overflow-y: auto;
    height: 550px;
}

    .table-fixed table {
        border-collapse: collapse;
        width: 100%;
    }

    .table-fixed th,
    .table-fixed th {
        position: sticky;
        top: 0;
    }

.table-fixed-lg {
    overflow-y: auto;
    max-height: 70vh;
}

.table-fixed-xl {
    overflow-y: auto;
    max-height: 78vh;
}

.table-fixed-lg table {
    border-collapse: collapse;
    width: 100%;
}

.table-fixed-lg th,
.table-fixed-lg th {
    position: sticky;
    top: 0;
}


.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: 350px;
}

    .table-scroll table {
        width: 100%;
        min-width: 1280px;
        margin: auto;
        border-collapse: separate;
        border-spacing: 0;
    }

.table-wrap {
    position: relative;
}

.table-scroll th,
.table-scroll td {
    padding: 5px 10px;
    border: 1px solid #000;
    background: #fff;
    vertical-align: top;
}

.table-scroll thead th {
    background: #333;
    color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    background: #666;
    color: #fff;
    z-index: 4;
}


.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}



table.table-bordered-strong {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    margin-top: 20px;
}

    table.table-bordered-strong > thead > tr > th {
        border-bottom: 1px solid black;
        border-top: 1px solid black;
    }

    table.table-bordered-strong > tbody > tr > td {
        border-bottom: 1px solid black;
        border-top: 1px solid black;
    }

thead th:first-child,
tfoot th:first-child {
    z-index: 5;
}


@media screen and (max-width: 600px) {
    .table-mobil {
        border: 0;
    }

        .table-mobil caption {
            font-size: 1.3em;
        }

        .table-mobil thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
            text-align: center;
        }

        .table-mobil tr {
            border-bottom: 3px solid #ddd;
            display: block;
            margin-bottom: .625em;
            text-align: center;
        }

        .table-mobil td {
            border-bottom: 1px solid #ddd;
            display: block;
            font-size: .8em;
            text-align: center;
        }

            .table-mobil td::before {
                content: attr(data-label);
                float: initial;
                text-align: center;
                font-weight: bold;
                font-family: "Ubuntu",sans-serif;
                font-size: 12px;
            }

            .table-mobil td:last-child {
                border-bottom: 0;
            }
}
