html, body {
    height: 100%;
    width: 100%;
    cursor: default;
    -ms-high-contrast-adjust: none;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: var(--plugin-font-family, "Segoe Script"), Arial, sans-serif;
    font-size: var(--plugin-font-size, 12px);
    color: var(--plugin-color, rgb(0, 0, 0));
    /* This will set the toolbar as the top row and the grid using the remaining space */
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr;
}

#plugin-contextmenu-container {
    /**
     * This puts the plugin context menu element behind all of our view
     * so that it does not intercept any events. This element is only used
     * to generate HTML passed to the context menu ScriptedSandbox instance
     * and is never shown on this DOM.
     */
    z-index: -1;
}

.mainArea {
    grid-row: 2;
    grid-column: 1;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
}

.container {
    position: relative;
    overflow: hidden;
}

.treeGridContainer {
    flex: 1;
    width: 100%;
    height: 100%;
}

.treeGridContainer .name {
    text-align: left;
}

.treeGridContainer .name > span {
    text-overflow: ellipsis;
}

.toolbar-container {
    grid-row: 1;
}

.toolbar-container > * {
    margin: auto 3px;
}

.toolbar-container > *:first-child {
    margin-left: auto;
}

#message-overlay {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    overflow: hidden;
    z-index: 10000;
    transition: opacity .25s, height 0s;
    background-color: var(--plugin-background-color, rgba(200, 200, 200, 0.50));
}

#message-overlay.hide {
    height: 0;
    opacity: 0;
    transition: opacity .25s, height 0 .25s;
}

#message-overlay > div {
    width: 100%;
    display: block;
    position: absolute;
    top: 30%;
    text-align: center;
}

#message-overlay span {
    display: block;
    background-color: var(--plugin-background-color, rgba(200, 200, 200, 0.50));
}

#message-overlay progress {
    display: block;
    margin: 5px auto;
    color: var(--ProgressBar-IndicatorFill-Background, fuchsia);
    background-color: var(--ProgressBar-Background-Background, red);
}

td > .typeIcon {
    display: none;
    width: 0px;
    height: 0px;
}

    td > .typeIcon.decrease {
        display: inline-block;
        width: 1.4em;
        height: 1.4em;
        vertical-align: middle;
        background: var(--Images\\HeapDecrease, url("../Images/HeapDecrease.svg")) no-repeat 0px 0px;
        background-size: 100%;
    }

    td > .typeIcon.increase {
        display: inline-block;
        width: 1.4em;
        height: 1.4em;
        vertical-align: middle;
        margin-top: -4px;
        background: var(--Images\\HeapIncrease, url("../Images/HeapIncrease.svg")) no-repeat 0px 0px;
        background-size: 100%;
    }
