html, body {
    /*background-color: #999;*/
    overflow: hidden;
    font-size: 14px;
}

#login-overlay, #action-overlay {
    position: fixed;
    display: flex;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    justify-content: space-around;
    background-color: #f7f7f7;
    overflow: hidden;
}
#login-overlay {
    z-index: 3000;
}
#action-overlay {
    z-index: 2990;
}
#login-overlay > div {
    align-self: center;
    width: 300px;
}
#action-overlay > div {
    align-self: center;
}
#empty-modal {
    z-index:3020;
}
#node-tree, #element-list {
    min-height: calc(100vh - 158px);
    max-height: calc(100vh - 158px);
    overflow-y: auto;
    box-shadow: inset -3px 0px 6px -3px rgba(0,0,0,0.75);
}
#select-info {
    min-height: calc(100vh - 158px);
    max-height: calc(100vh - 158px);
    overflow-y: auto;
    overflow-x: hidden;
}
#settings-choice-panel, #settings-panel {
    min-height: calc(100vh - 58px);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
}

#node-panel-header, #element-panel-header, #details-panel-header {
    min-height: 70px;
    box-shadow: 0px 3px 9px -3px rgba(0,0,0,0.75);
}
#node-panel-footer, #element-panel-footer, #details-panel-footer {
    min-height: 38px;
    box-shadow: 0px -3px 9px -3px rgba(0,0,0,0.75);
    border-bottom: 1px solid #aaa;
}
#settings-panel-footer {
    /*width: 100%;
    min-height: 46px;
    background-color: #eaeaea;
    border-top: 1px solid #f7f7f7;*/
}
#node-tree > div { padding-left: 0.5rem }
#node-tree > ul.list-unstyled { padding-left: 0.5rem }
#node-tree ul {
    padding-left: 1.5rem;
    -webkit-padding-start: 1.5rem;
}

/*#qri-select-instruction {
    overflow-y: auto;
    overflow-x: hidden;
}*/

/*#node-user-panel > div {
    height: calc(50vh - 40px);
}*/
.detail-list-table {
    max-height: calc(40vh - 100px);
    min-height: calc(20vh - 100px);
}
.detail-list-table > div > div.qri-dTableBody {
    overflow: auto;
}
.qri-detail-info-title {
    font-size: 1.6rem;
    color: #025aa5;
}
.qri-detail-info-title-row {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    /*border-top: 1px solid #eee;*/
}
.qri-fi {
    width: 12rem;
    height: 27px;
}
.qri-fi > label, .qri-fi > label > input, .qri-fi > label > small { height: inherit; }
.qri-fi > label > small { line-height: 0.75rem; }
.custom-file-input { min-width: 10rem; }
#qri-instruction-span {
    color: #ddd;
    font-size: 2rem;
    font-weight: 300;
}
.nailthumb-container {
    /*position: relative;*/
    width: 100px;
    height: 100px;
    top: 0;
    left: 0;
    display: inline-block;
    margin: 0.33rem;
    overflow: hidden;
    /*padding: 0.2rem;*/
    border: 1px solid #ddd;
    border-radius: 0.2rem;
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    html, body {
        /*background-color: #999;*/
        overflow: auto;
    }
    #node-tree, #element-list {
        min-height: calc(50vh - 92px);
        max-height: calc(50vh - 92px);
        overflow-y: auto;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    html, body {
        /*background-color: #999;*/
        overflow: auto;
    }
    #node-tree, #element-list {
        min-height: calc(50vh - 120px);
        max-height: calc(50vh - 120px);
        overflow-y: auto;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}
