table {
    width: 100%;
    table-layout: fixed;
}

.table-container {
    position: relative;
    table-layout: fixed;
    height: calc(100vh - 235px);
    /* min-height: 100px; */
    width: 100%;
}

.scroll-table {
    overflow-x: auto;
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.scroll-table>thead,
.scroll-table>tbody {
    display: block;
    width: 100%;
}

.scroll-table>tbody {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

.scroll-table>tbody>tr>td {
    padding: 5px;
    width: 100%;
    word-break: break-all;
}

.scroll-table>tbody>tr {
    display: table;
    width: 100%;
}

.scroll-table>thead>tr {
    display: table !important;
    width: 100%;
}

.scroll-table>tbody>tr>td:nth-child(1),
.scroll-table>thead>tr>th:nth-child(1) {
    width: 5%;
    text-align: center;
}

.scroll-table>tbody>tr>td:nth-child(2),
.scroll-table>thead>tr>th:nth-child(2) {
    width: 7%;
    text-align: center;
}

.scroll-table>tbody>tr>td:nth-child(3),
.scroll-table>thead>tr>th:nth-child(3) {
    width: 15%;
    text-align: center;
}

.scroll-table>tbody>tr>td:nth-child(4),
.scroll-table>thead>tr>th:nth-child(4) {
    width: 7%;
    text-align: center;
}
.scroll-table>tbody>tr>td:nth-child(5),
.scroll-table>thead>tr>th:nth-child(5) {
    width: 10%;
    text-align: center;
}
.scroll-table>tbody>tr>td:nth-child(6),
.scroll-table>thead>tr>th:nth-child(6) {
    width: 24%;
    text-align: center;
}
.scroll-table>tbody>tr>td:nth-child(7),
.scroll-table>thead>tr>th:nth-child(7) {
    width: 7%;
    text-align: center;
}


.scroll-table>thead>tr>th {
    text-align: center;
    background: #399cb4;
    color: white;
    height: 2em;
    font-size: 16px;
    width: 100%;
    padding: 5px;
    word-break: break-all;
}

/* .scroll-table tbody>tr.odd {
    background: gainsboro;
}

.scroll-table li:nth-child(2n) {
    background: gainsboro;
} */

.visuallyhidden {
    display: none !important;
}

.lastcol {
    padding-right: 15px;
}

select {
    width: 100%;
    padding-left: 0.1rem !important;
}

.scroll-table>tbody>tr:hover {
    background-color: #c4effa;
}


.Edit_btn, .Edit_btn:visited, .Edit_btn:hover, .Edit_btn:active, .Edit_btn:focus {
    background: #3CD602;
    color: #fff;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;  
    border: none;  
    display: inline-block;  
    outline: none;  
}


.custom-menu:hover,
.custom-menu:active {
    color: black;
}
a.d-flex span {
    font-size: 18px; 
}
.table-bordered {
    border: 1px solid #dee2e6;
}

input[readonly] {
    background-color: white !important;
}
.item-list {
    list-style: none; 
    padding-left: 10px;
    margin: 0; 
}

.item-detail {
    display: flex; 
    align-items: center;
    margin-right: 5px; 
}

.scroll-table tbody tr:nth-child(odd) {
    background-color: white;
}

.scroll-table tbody tr:nth-child(even) {
    background-color: gainsboro; 
}

input[type="checkbox"].no-click {
    pointer-events: none;
}
