﻿div.flex.grid-container{
    position:relative;
    /*height:calc(100% - 1em);
    max-height:calc(100% - 1em);
        */
}
div.virtual-grid
{
    height:calc(100% - 3em);
    max-height:calc(100% - 3em);
    
    position:relative;
}
div#entList {
    position:relative;
    margin-bottom:3em;
    height:calc(100vh - 4.3em);
 }
input.one-feature, input.one-feature + label:hover{
    cursor:pointer;
    background:#ddd;
}
input.one-feature:checked, input.one-feature:checked + label:hover{
    background:#eee;
    cursor:default;
}


div#entList div.virtual-grid {
    margin-top:1.2em;
}
div#entList div.virtual-grid.has-filter {
    margin-top:0;
}
    
    div#entList div.flex div.cell {
        height:auto!important;
        
    }


div.index {
    left:calc(50% - 2em);
    position: absolute;
    bottom:1px;
}
div#entityMap div.flex div.cell, 
div#entList div.flex div.cell{
        min-height: 20em!important;
        height: 20em!important;
    }

div.flex div.cell.max {
    max-height: 100vh;
}

li * {
    vertical-align: middle;
}

li.dynamic-list span.dynamic-images, li.dynamic-list span.dynamic-images img,
li.dynamic-list .dynamic-text {
    position: relative;
}

div.list li input {
    display: inline-block;
    width: calc(100% - 5em - 4px) !important;
}

div.cell div.name.list {
    text-align: left;
    height: 1em;
}

div.list ul, div.list ol {
    margin-top: 0.2em;
}

div.list li {
    position: relative;
}

    div.list li span:first-child {
        position: relative;
        min-width: calc(100% - 2em);
    }

    div.list li span {
        display: inline-block;
        max-width: 4em;
        position: absolute;
        right: 0;
        top: 0;
    }

    div.list li a {
        width: 1em;
        margin: 0 1px;
    }

div.list {
    margin: 0.5em 0;
}

    div.list span {
        padding: 0;
    }

.edit-mode {
    z-index:9;
}

div.list span.edit-mode, div.list span input[type=text] {
    width: 100% !important;
    margin: 0;
}

    div.list span.edit-mode ~ span a {
        display: inline-block;
    }


