﻿.sticky-top {
    position: sticky;
    position: -webkit-sticky;
    z-index: 100;
    background-color: #f7f7f7;
    padding-top: -1px;
}


.table-gutterless {
    /*margin-right: -24px !important; -- this line seems to cause scrollbars on mobile*/
    margin-left: -24px !important;
    width: auto !important;
}

    .table-gutterless .btn-group {
        margin-right: 10px;
        margin-left: 10px;
    }

@media (min-width: 1200px) {
    .table-responsive {
        overflow-x: visible !important;
    }
}

@media (max-width: 1199.98px) {
    .sticky-top {
        top: -1px;
    }


    .grid-table .btn-group {
        display: inline-block;
    }
}

@media (min-width: 1200px) {
    .table-responsive {
        overflow-x: inherit !important;
    }
}

@media print {
    .sticky-top {
        position:relative;
        top: 0 !important;
    }
    /*a.btn,input.btn{
        display:none;
    }*/

    table tr > td, table tr > th{
        border: 1px solid black !important;
        outline: 1px solid black !important;
        background-color: unset !important;
        color: black !important;
    }

        table tr > td a{
            color:black !important;
        }

        table tr > th > button {
            background-color: unset !important;
            color: black !important;
        }

    .table-striped > tbody > tr:nth-of-type(odd),
    .table-striped > tbody > tr:nth-of-type(odd):hover {
        --bs-table-accent-bg: unset !important;
    }
}