:root,
[data-bs-theme=light] {
    --ecology-grid-cell-backcolour: #aac8ab;
    --heritage-grid-cell-backcolour: #decfbe;
    --grid-cell-grey-out-colour: lightgray;
    --grid-cell-edited-bc: #e9c2bc;
}

[data-bs-theme=dark] {
    --ecology-grid-cell-backcolour: #444e44;
    --heritage-grid-cell-backcolour: #514c46;
    --grid-cell-grey-out-colour: #3c3b3b;
    --grid-cell-edited-bc: #013b51;
    /*#2f4f4f*/
}



.grid-in-accordion {
    margin: 20px;
}





.grid-container {
    /*padding:10px;*/
    overflow-y: auto;
}





.ecology-cell {
    background-color: var(--ecology-grid-cell-backcolour);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.heritage-cell {
    background-color: var(--heritage-grid-cell-backcolour);
}

.grid-cell-text-greyed {
    color: var(--grid-cell-grey-out-colour);
}

.grid-cell-text-colour-change-cancel {
    color: var(--bs-body-color) !important;
}

.grid-cell-custom-editor {
    z-index: 1000;
}


.grid-cell-custom-editor-wrapper-v-narrow {
    min-width: 100px;
    position: relative;
    overflow: visible;
}

.grid-cell-custom-editor-wrapper-narrow {
    min-width: 150px;
    position: relative;
    overflow: visible;
}

.grid-cell-custom-editor-wrapper-wide {
    min-width: 240px;
    position: relative;
    overflow: visible;
}



.grid-row-menu-container {
    width: 48px;
    height: 40px;
}

.dxbl-grid-command-cell {
    padding: 0px !important;
}


.row-menu-flyout .dxbl-flyout-body {
    padding: 0px !important;
}




.edited-row {
    background-color: var(--grid-cell-edited-bc);
}

.edited-cell {
    background-color: var(--grid-cell-edited-bc);
    font-weight: bold;
}

.display-template-div-centred {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.display-template-div {
    /*display: flex;*/
    align-items: center;
    /*width: 100%;*/
    height: 100%;
    min-height: inherit;
}
