/* all table related */
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}


thead {
    position: sticky;
    top: 0px;
    background: white;
    z-index: 2;
    /*border: 2px solid #261B23;*/
}


tr {
    background-color: white;
    height: 33px;
}

tr:hover {
    background-color: var(--color-background-light);
}
/* When new-row-added class is present */
tr.new-row-added {
    background-color: var(--color-background-light);
}



td {
    border: 1px solid var(--color-gray);
}



td input, th div input {
    vertical-align: sub;
}


tr th {
    padding: 0;
    border-right: 1px solid  var(--color-gray);
}

th, td {
    width: auto;
    padding: 4px 8px;
    text-align: left;
}

th {
    height: 30px;
}

th div {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 8px;
    border-bottom: solid 1px var(--color-gray);
    background: white;
}

th div a {
    color: var(--color-font);
}

table tr td:first-child,
table tr th:first-child  {
    border-left: none;
    /*border-right: none;*/
}

table tr td:nth-child(2) {
    /*border-left: none;*/
    width: fit-content;
}


table tr td:last-child {
    border-right: none;
}

/* All Except the last one */
th:not(:last-child), td:not(:last-child) {
    /* min-width: 10px;  Minimum width */
    /* max-width: 200px;  Maximum width limit */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make the last column take up remaining space */
td:last-child, th:last-child {
    width: 100%;
}

.width-32{
    min-width: 32px;
    max-width: 32px;
}
.width-50{
    min-width: 50px;
    max-width: 50px;
}
.width-75{
    min-width: 75px;
    max-width: 75px;
}
.width-100{
    min-width: 100px;
    max-width: 100px;
}
.width-125{
    min-width: 125px;
    max-width: 125px;
}
.width-175{
    min-width: 175px;
    max-width: 175px;
}
.width-150{
    min-width: 150px;
    max-width: 150px;
}
.width-175{
    min-width: 175px;
    max-width: 175px;
}
.width-200{
    min-width: 200px;
    max-width: 200px;
}
.width-225{
    min-width: 225px;
    max-width: 225px;
}
.width-250{
    min-width: 250px;
    max-width: 250px;
}
.width-275{
    min-width: 275px;
    max-width: 275px;
}
.width-300{
    min-width: 300px;
    max-width: 300px;
}
.width-350{
    min-width: 350px;
    max-width: 350px;
}
.width-375{
    min-width: 375px;
    max-width: 375px;
}
.width-400{
    min-width: 450px;
    max-width: 450px;
}
.width-450{
    min-width: 400px;
    max-width: 400px;
}
.width-500{
    min-width: 500px;
    max-width: 500px;
}

.align-left{
    text-align: start;
}

.align-right{
    text-align: end;
}

.align-center{
    text-align: center;
}

.align-center img {
    display: block;
    margin: 0 auto;
}


.actions {
    visibility: hidden;
}

tr:hover td .actions {
    visibility: visible;
}
