﻿table.table {
    width: 100%;
    display: table;
}

    table.table > thead > tr > th {
        padding: 15px 10px;
        font-weight: bold;
        top: 140px;
        background: #eee;
        z-index: 10;
        position: sticky;
        text-align: left;
    }

    table.table > thead {
        position: sticky;
        background: #eee;
        text-align: left;
        top: 0px;
    }

    table.table > tbody > tr > td > .col-value {
        padding: 10px;
    }

    table.table > tbody > tr > td > a.col-value {
        cursor: pointer;
    }

.table-container {
    position: relative;
}

table.table > tbody > tr:nth-child(2n) {
    background: #fafafa;
}

table.table > tbody > tr > td > .col-value > a {
    text-decoration: none;
}

table.table > tbody > tr:hover {
    background: #eee;
}

.table-container.table-loading:before {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.75;
    position: absolute;
    z-index: 10;
}



.table-loader {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 11;
    background: #9FA8DA;
    visibility: hidden;
}

.table-container.table-loading .table-loader {
    visibility: visible;
}

.table-loader:before {
    content: " ";
    display: block;
    width: 20%;
    background: #1A237E;
    height: 100%;
    animation: table-loader 2s infinite linear;
    position: relative;
}

@keyframes table-loader {
    0% {
        width: 10%;
        left: 0%;
    }

    25% {
        width: 100%;
        left: 0%;
    }

    50% {
        width: 10%;
        left: 90%;
    }

    75% {
        width: 100%;
        left: 0%;
    }

    100% {
        width: 10%;
        left: 0%;
    }
}

.table-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    z-index: 11;
    position: relative;
}

.table-filter-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .table-filter-right > *:not(:last-child) {
        margin-right: 1em;
    }

.form-element.order-by-wrapper {
    min-width: 190px;
}

.table-container.disabled {
    user-select: none;
    cursor: not-allowed;
}

    .table-container.disabled:before {
        content: " ";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.75);
        z-index: 100;
    }



.table-inline-input {
    display: block;
    padding: 5px 10px;
    border: none;
    background: #eee;
    border-radius: 2px;
}

tr:hover .table-inline-input {
    background: #fff;
}

table.table.modal-table > thead {
    position: relative;
}
    body.subnavigation table.table > thead > tr > th,
    table.table.modal-table > thead > tr > th {
        position: relative;
        top: 0;
    }

tr.divider-row > td {
    height: 25px;
    background: #eee;
}

table.table tfoot > tr > td:first-child > .col-value {
    padding-top: 15px;
}