﻿.cmn-waiting-container {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #00000044;
    z-index: 10000;
}

.cmn-waiting-spinnerdiv {
    top: calc(50% - 100px);
    position: relative;
    width: 200px;
    margin: auto;
    /*backdrop-filter: blur(4px);
      background: #ffffffbb;
    */
    background: #ffffff;
    height: auto;
    padding: 25px;
    border-radius: 10px;
    /*border: 2px solid #00000011;*/
    color: #2d4b5b;
    font-weight: bold;
    font-size: 13px;
}



.table-wrapper {
    overflow: auto;
    margin: 10px;
    border-radius: 8px;
    flex: 1;
    background: #f2f2f2;
}

        .table-wrapper tbody input[type=text], .table-wrapper tbody input[type=date] {
            width: 100%;
            background-color: #98b8cb;
            border: 0px solid transparent;
            color: #243a51;
            box-sizing: border-box;
            padding: 5px;
            /*position: absolute;
        top: 5px;
        bottom: 5px;
        left: 5px;*/
        }

        .table-wrapper tbody select {
            width: 100%;
            background-color: #98b8cb;
            border: 0px solid transparent;
            color: #243a51;            
            box-sizing: border-box;
            padding: 5px;
        }

    .table-wrapper thead tr.batch-edit-row input[type=text], .table-wrapper thead tr.batch-edit-row input[type=date] {
        width: 100%;
        background-color: #98b8cb44;
        color: #2d4b5b;
        border: 0px solid transparent;
        box-sizing: border-box;
        padding: 5px;
    }

    .table-wrapper thead tr.batch-edit-row select {
        width: 100%;
        background-color: #98b8cb44;
        color: #2d4b5b;
        border: 0px solid transparent;            
        box-sizing: border-box;
        padding: 5px;
    }

    /* rows */
    .table-wrapper tbody tr {
        height: 35px;
    }

        .table-wrapper tbody tr td {
            /*position: relative;*/
            text-overflow: ellipsis;
            overflow: hidden;
        }

    .table-wrapper tbody tr:nth-child(even) {
        background-color: #f5f5f5;
    }    

    .table-wrapper tbody tr:nth-child(odd) {
            
    }   

    .editmenu
    {
        display: flex;        
        margin: 10px;
        height: 30px;
    }

.grid-container {
    /*width: 1800px;*/
    /*width: 100%;*/
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
    margin: 0px;
    display: table;
    table-layout: fixed;
    /*grid-template-columns: repeat(3, 1fr);*/ /* 3 columns of equal width */
    /*gap: 10px;*/ /* Space between rows and columns */
    /*margin: 20px;*/
    /*padding: 10px;*/
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

    .grid-container thead {
        position: sticky;
        top: 0px;
        background-color: #f1f1f1;
        box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.4);    
    }

    .grid-container thead tr {
        outline: 1px solid #f1f1f1;
    }

    .grid-container th, .grid-container td {
        border: 1px solid #ddd;
        padding: 4px 6px 4px 6px;
        text-align: left;
    }

    .grid-container th {
        cursor: pointer;
        position: relative;
        text-overflow: ellipsis;
        overflow: hidden;
        box-sizing: border-box;
    }

    .grid-container th .resizer {
        width: 5px;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        cursor: ew-resize;
        user-select: none;
        /*background-color: red;*/
    }

    .grid-container .resizing-column {
        background-color: #f0f0f0;
    }

    .grid-container th .sort-arrow {
        position: absolute;
        right: 8px;
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

    .grid-container th .sort-arrow.asc {
        border-bottom: 5px solid #000;
        top: 50%;
        transform: translateY(-50%);
    }

    .grid-container th .sort-arrow.desc {
        border-top: 5px solid #000;
        top: 50%;
        transform: translateY(-50%);
    }

    .filter-row input {
        width: 100%;
        box-sizing: border-box;
    }

    /*.selected {
        background-color: #82a3b9;
        color: white;
    }   */

    .editing {
        background-color: #82a3b9 !important;
    }

    .batch-edit-row {
        background-color: #f0f0f0;
        border-top: 2px solid #333;
    }

    .selected {
        background-color: #82a3b9;
        color: white;
    }

    .table-wrapper tbody tr:nth-child(odd).selected {
        background-color: #82a3b9bb;
        color: #243a51;
    }

    .table-wrapper tbody tr:nth-child(even).selected {
        background-color: #82a3b9aa;
        color: #243a51;
    }
