/* using component selector because of ViewEncapsulation.None */
eg-holdings-maintenance {
    /* foo-selected colors determined using HSL to keep the same approximate saturation and lightness as normal background colors, but change hue blue */
    --holdings-org-row-bg: #c8efe4;
    --holdings-org-row-bg-selected: hsl(216, 90%, 84%);

    --holdings-call-num-bg:  #adf0cb;
    --holdings-call-num-bg-selected: hsl(210, 70%, 78%);

    --item-row-bg-selected: hsl(217, 100%, 91%);

    --row-color-selected: var(--bs-blue-900)
}
[data-bs-theme="dark"] :host eg-holdings-maintenance {
    --holdings-org-row-bg: var(--bs-gray-900);
    --holdings-org-row-bg-selected:  hsl(216, 60%, 15%);

    --holdings-call-num-bg: var(--bs-gray-950);
    --holdings-call-num-bg-selected: hsl(216, 60%, 8%);

    --item-row-bg-selected:  hsl(216, 75%, 10%);

    --row-color-selected: var(--bs-blue-100);
}

.table.eg-grid > :not(caption) > * > * {
    background-color: unset;
}

/* colors are based on "Evergreen Green", tinted and desaturated */

.eg-grid-body-row.holdings-callNum-row {
    background-color: var(--holdings-call-num-bg);
}

.eg-grid-body-row.holdings-callNum-row.selected{
    background-color: var(--holdings-call-num-bg-selected);
}

.eg-grid-body-row.holdings-org-row {
    background-color: var(--holdings-org-row-bg);
}

.eg-grid-body-row.holdings-org-row.selected {
    background-color: var(--holdings-org-row-bg-selected);
}

.eg-grid-body-row:not(.holdings-org-row, .holdings-callNum-row).selected{
    background-color: var(--item-row-bg-selected);
}

.eg-copies .eg-grid-body-row.selected .eg-grid-cell,
.eg-copies .eg-grid-body-row.selected .btn:not(:hover) {
    color: var(--row-color-selected);
}

.eg-grid-idlfield-owner_label .btn-link {
    padding: 0;
    text-align: left;
}

/* hide it, but let it take up space so the text stays even with the parent node */
.leaf .material-icons {
    visibility: hidden;
}

.eg-grid-idlfield-owner_label .btn-link {
    padding: 0;
    text-align: left;
}

/* hide it, but let it take up space so the text stays even with the parent node */
.leaf .material-icons {
    visibility: hidden;
}



