/* general grid containers */
.grid-container {
    height: 70vh;
}

/* virtual license grid */
.virtual-license-grid {
    height: 100%;
    overflow-y: auto;
}

    .virtual-license-grid table {
        min-width: 100%;
    }

    /* Sticky header while scrolling */
    .virtual-license-grid thead {
        position: sticky;
        top: 0;
        background-color: #d8d8d8;
        z-index: 1;
    }

    /* For virtualized grids, it's essential that all rows have the same known height */
    .virtual-license-grid tr {
        height: 30px;
        border-bottom: 0.5px solid silver;
    }

    /* tr even odd backup css */
    .virtual-license-grid tbody tr:nth-child(even) {
        background-color: rgb(255, 255, 255, 1);
    }

    .virtual-license-grid tbody tr:nth-child(odd) {
        background-color: rgb(235, 235, 235, 1);
    }

    /* tr color definitions for detailed classes */
    .virtual-license-grid tbody tr.default:nth-child(even) {
        background-color: rgb(255, 255, 255, 1);
    }

    .virtual-license-grid tbody tr.default:nth-child(odd) {
        background-color: rgb(235, 235, 235, 1);
    }

    .virtual-license-grid tbody tr.empty:nth-child(even) {
        background-color: rgba(195, 195, 195, 1);
    }

    .virtual-license-grid tbody tr.empty:nth-child(odd) {
        background-color: rgba(175, 175, 175, 1);
    }

    .virtual-license-grid tbody tr.selected2 {
        background-color: rgba(242, 214, 25, 0.50);
    }

    .virtual-license-grid tbody tr.selected1 {
        background-color: rgba(242, 214, 0, 0.25);
    }

    .virtual-license-grid tbody td {
        white-space: nowrap;
        overflow: hidden;
        max-width: 0;
        text-overflow: ellipsis;
    }

    .virtual-license-grid .col-header-content {
        font-size: 14px;
    }

    .virtual-license-grid th {
        background-color: #f2d600;
        font-size: 14px;
        font-weight: bold;
        padding: 0;
        margin: 0;
    }

.virtual-assignment-grid {
    height: 50%;
    overflow-y: auto;
}

    .virtual-assignment-grid table {
        margin-top: 5px;
        min-width: 100%;
        border: 0.5px solid silver;
    }

    /* Sticky header while scrolling */
    .virtual-assignment-grid thead {
        position: sticky;
        top: 0;
        background-color: #e9ecef;
        z-index: 1;
    }

    /* For virtualized grids, it's essential that all rows have the same known height */
    .virtual-assignment-grid tr {
        height: 30px;
        border-bottom: 0.5px solid silver;
    }

    .virtual-assignment-grid tbody td {
        white-space: nowrap;
        overflow: hidden;
        max-width: 0;
        text-overflow: ellipsis;
    }

    .virtual-assignment-grid .col-header-content {
        font-size: 14px;
    }

    .virtual-assignment-grid .col-title-text {
        font-size: 12px;
    }

    .virtual-assignment-grid th {
        background-color: #e9ecef;
        font-size: 14px;
        font-weight: bold;
        padding: 0px;
        margin: 0px;
        padding-left: 5px;
    }

    .virtual-assignment-grid td {
        padding-left: 5px;
    }

    .virtual-assignment-grid button {
        border-width: 0px;
        margin: 0px;
        padding: 0px;
    }

/* general atvise grid */
.atvise-grid-header {
    margin: 0px;
    padding: 0px;
}

    .atvise-grid-header.border-right {
        border-right: 1px solid darkgray !important;
        -moz-border-end: 1px solid darkgray !important;
    }

.atvise-grid-header-title {
    height: 25px;
    padding-left: 7px;
    cursor: default;
}

    .atvise-grid-header-title .cell {
        width: 100%;
        height: 100%;
        padding: 3px;
        white-space: nowrap;
    }

    .atvise-grid-header-title .no-break {
        white-space: nowrap;
    }

.atvise-grid-header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .atvise-grid-header-title .cell {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

.atvise-grid-header-title-text {
    flex: 1;
    display: block;
    align-items: center;
    overflow: hidden;
}

.atvise-grid-header-title-resize {
    display: block;
}

.atvise-grid-header-icon {
    width: 100%;
    text-align: center;
    vertical-align: baseline;
    font-size: 15px;
}

    .atvise-grid-header-icon.dark {
        color: silver;
        background: black;
        width: 100%;
        height: 25px;
        text-align: center;
    }

    .atvise-grid-header-icon .header-icon {
        display: inline-block;
        min-width: 14px;
        max-width: 14px;
        min-height: 14px;
        max-height: 14px;
        margin-top: 2px;
        font-size: 14px;
    }

    .atvise-grid-header-icon .smaller {
        font-size: 13px;
    }

.atvise-grid-header-search {
    position: relative;
    min-width: 100px;
    height: 25px;
    background-color: #374151;
}

    .atvise-grid-header-search .cell {
        width: 100%;
        height: 100%;
        padding: 3px;
        color: honeydew;
    }

    .atvise-grid-header-search input[type="search"] {
        width: calc(100% - 0px);
        height: 21px;
        border: none;
        outline: none;
        color: dimgray;
        padding: 0 5px;
        box-sizing: border-box;
        background-color: honeydew;
        font-size: smaller;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

        .atvise-grid-header-search input[type="search"]:focus {
            background-color: honeydew;
            border: 1px solid dimgray;
        }

.atvise-grid-header-menu {
    height: 25px;
    background-color: #374151;
}

    .atvise-grid-header-menu .cell {
        width: 100%;
        height: 100%;
        padding: 3px;
        color: honeydew;
    }

.atvise-grid-content {
    white-space: nowrap;
    margin-left: 10px;
    margin-right: 10px;
    cursor: default;
}

.atvise-grid-checkbox {
    white-space: nowrap;
    cursor: default;
    margin-left: 5px;
}

.atvise-grid-column-functions {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
}

    .atvise-grid-column-functions .cell {
        width: 100%;
        height: 25px;
    }

.atvise-grid-column-edit {
}

    .atvise-grid-column-edit .icon {
        font-size: 12px;
    }


.atvise-grid-auto {
    width: 100%;
    min-width: 100px;
    max-width: 500px;
}

.atvise-grid-30 {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
}

.atvise-grid-max-75 {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
}

.atvise-grid-max-100 {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.atvise-grid-max-150 {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

.atvise-grid-default-100 {
    width: 100px;
}

.atvise-grid-default-150 {
    width: 150px;
}

.atvise-grid-key {
    display: inline-block;
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: monospace;
}

.atvise-grid-uuid {
    display: inline-block;
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atvise-grid-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

.atvise-grid-results {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

/* sort icon css */
.sort-icon {
    width: 10px;
    height: 10px;
    display: none;
    margin-right: 5px;
    visibility: hidden;
}

[aria-sort="ascending"] .sort-icon.up {
    display: inline-block;
    visibility: visible;
}

[aria-sort="descending"] .sort-icon.down {
    display: inline-block;
    visibility: visible;
}

.quickgrid th.resizeable {
    scroll-padding: 10px;
    overflow: hidden;
}

/* firefox fix */
.resizer {
    right: 0;
    top: 0;
    width: 18px;
    height: 100%;
    font-size: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: right;
    cursor: ew-resize;
    z-index: 1;
    margin-right: 0px;
    color: dimgray;
}

.quickgrid th.fixed {
    scroll-padding: 10px;
    resize: none;
    overflow: hidden;
}
