

.details {
    line-height: initial;
    font-family: monospace;
    padding: 8px 8px;
    margin: 0;
    background: #eee;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: pre-wrap;
    border-left: solid 1px var(--border-color);
    border-radius: 0;
    position: relative;
    flex-shrink: 0;
    width: 25%;
    padding-top: 0;
    transition: background 0.3s linear;
    box-shadow: 0 0 4px;
}

.details > span {
    user-select: text;
    cursor: text;
}

.details .dcont {
    overflow-y: auto;
    flex-grow: 1;
}

.details .title {
    line-height: 57px;
    position: relative;
    font-family: sans-serif;
    background: rgba(0, 0, 0, 0.2);
    margin-left: -10px;
    margin-right: -10px;
    box-shadow: 0 0 4px black;
    padding: 0 10px;
}

.details .title span {
    width: 56px;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 56px;
    font-size: 24px;
    text-align: center;
    padding: 0;
    margin: 0;
}

.title h2 {
    margin: 0;
    text-align: left;
}

.tainted .details .fab {
    opacity: 0.4;
    pointer-events: none;
}

.dcont > span {
    user-select: text;
}

.dcont h5 {
    margin: 10px 0 0 0;
}

.dcont > a {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dcont > a > i {
    padding-right: 10px;
}
.listitemcontainer {
    padding: 0 0.5rem;
    list-style-type: none;
    overflow-y: auto;
    flex-grow: 1;
    height: 100px;
    margin: 0;
    box-sizing: border-box;
}

.listitemcontainer i {
    min-width: 56px;
    text-align: center;
}

.listitemcontainer.empty {
    position: relative;
}

.listitemcontainer.loading {
    color: gray;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
}


.listitemcontainer.empty .emptymsg,
.listitemcontainer.error .emptymsg {
    color: #aaa;
    -webkit-text-stroke: 1px #666;
    text-align: center;
    font-weight: lighter;
}

.listitemcontainer .emptymsg:after {
    content: attr(data-empty);
    display: block;
    font-size: 1.5rem;
    font-family: sans-serif;
    -webkit-text-stroke: 0;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-weight: lighter;
}

.listitemcontainer > li {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: white;
    margin-bottom: 4px;
    border-radius: 8px;
    box-shadow: 0 0 1px;
    user-select: none;
    -webkit-user-drag: none;
    position: relative;
    overflow: hidden;
}

.listitemcontainer.flt > li {
    display:none;
}

.listitemcontainer .listrow {
    line-height: 56px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    user-select: none;
    -webkit-user-drag: none;
}

.listitemcontainer .listrow > * {
    user-select: none;
    -webkit-user-drag: none;
}

.listitemcontainer .listrow.hidden {
    display: none;
}


.listitemcontainer .listrow .numsmall {
    width: 120px;
    text-align: right;
    font-size: 0.7rem;
}

.listitemcontainer .listrow.current {
    background-color: var(--accent-light);
}

.listitemcontainer > li.st_hdr {
    border-radius: 0 !important;
    border: 0 !important;
    user-select: none !important;
    cursor: ns-resize !important;
    margin: 0 -0.5rem 0.25rem -0.5rem !important;
    background: lightgray !important;
    height: 28px;
    font-size: 0.7rem;
    display:flex !important;
}

div.tophdr {
    background: var(--window-background-hi);
    margin-bottom: 0;
    box-shadow: 0 0 4px black;
    z-index: 100;
    height: 56px;
    padding: 0 10px;
    line-height: 56px;
    flex-shrink: 0;
}

.tophdr h2 {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    text-align: left;
}

.tophdr > a {
    color: inherit;
    text-decoration: none;
}

.tophdr > a.selected {
    text-decoration: underline;
    color: var(--accent);
}

/*
.tophdr button.fa.fa-recycle:after {
    content: attr(data-updated);
    font-family: sans-serif;
    font-size: 14px;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    text-align: right;
}
*/

.profselect {
    border-bottom: solid;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 0.5rem;
}

.profselect > span {
    padding: 0.25rem 2rem;
    margin: 0.25rem;
    margin-top: 0;
    border-radius: 8px;
    cursor: pointer;
}

.profselect span.sel {
    background: var(--accent);
    color: white;
}
.dialog {
    background: var(--window-background)
}

.dialog .formitem {
    display: inline-block;
}

.dialog .formitem:before {
    content: attr(data-caption);
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    padding-bottom: 6px;
}

.dialog .formitem:after {
    content: attr(data-help);
    font-size: 0.6em;
    text-align: right;
    display: block;
    margin-top: 8px;
    font-style: italic;
    font-weight: normal;
}

.dialog .paramtable {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.dialog .formitem {
    width: calc(50% - 2rem);
    display: inline-block;
    vertical-align: top;
    margin: 0 1rem;
}

.dialog .formitem.isfull {
    width: calc(100% - 2rem);
    margin-bottom: 1rem;
}

.dialog .formitem.ishalf {
    width: calc(25% - 2rem);
    margin: 10px 1rem;
}

.dialog .formitem_text > input,
.dialog .formitem_static > div {
    height: 56px;
    width: 100%;
}

.formitem_static > div {
    height: 56px;
    width: 100%;
    line-height: 56px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0 0.25rem;
}

.dialog textarea {
    width: 100%;
    background: black;
    font-family: courier;
    font-size: 16px;
    height: 140px;
    color: green;
    font-weight: bold;
}

.dialog button:not(.fab) {
    height: 56px;
    font-variant: small-caps;
    padding: 0 30px;
    width: 100%;
    background: none !important;
    color: var(--accent);
    box-shadow: none !important;
    border: none !Important;
    outline: none !important;
    text-align: right;
    font-size: 1.2rem;
    position: relative;
}

.dialog button:active {
    color: var(--accent-controls-shadow)
}


.dialog .container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.dialog .container > button {
    width: auto;
}

.dialog select.form-control {
    height: 56px;
    width: 100%;
    font-size: 1.2rem;
}

.dialog select.form-control.nocontext {
    opacity: 0.4;
    pointer-events: none;
}

.mcontent .modal-content {
    width: 70% !important;
    transform: translate(15%, -50%) !important;
    height: auto;
    top: 50%;
}

.modal-content button {
    background: none;
    font-variant: all-small-caps;
    border: 0;
    box-shadow: none;
    float:right;
}

.modal-content  button.red {
    display: none;
}


.screenwidget.empty .emptymsg,
.screenwidget.error .emptymsg {
    color: #aaa;
    -webkit-text-stroke: 1px #666;
    text-align: center;
    font-weight: lighter;
}

.screenwidget .emptymsg:after {
    content: attr(data-empty);
    display: block;
    font-size: 1.5rem;
    font-family: sans-serif;
    -webkit-text-stroke: 0;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-weight: lighter;
}

.screenwidget iframe {
    height: 100%;
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
}
.topheader {
    background: var(--primary-color);
    color: white;
    text-align: center;
    animation: grow-40 0.25s linear 1;
    line-height: 40px;
    border-bottom: solid 1px var(--accent);
    position: relative;
}

.topheader .currentitem {
    cursor: pointer;
}

.topheader .currentitem:hover {
    color: white;
}

.topheader .currentitem:before {
    position: absolute;
    left: 20px;
    font-family: "Font Awesome 5 Free";
    transition: all 0.25s linear;
}


.withpanel .currentitem:before {
    color: var(--accent);
}

.withpanel .grows.spacerlast {
    width: 0;
}

.topheader .panel {
    background: #111;
    animation: grow-250 0.15s ease-in 1;
    height: 250px;
    border-top: solid 1px #444;
    margin: 0;
    padding: 0 0.5rem;
    list-style-type: none;
    position: relative;
    overflow-y: auto;
}

.topheader .panel li {
    width: 100%;
    margin: 0.5rem 0 0 0;
    background: black;
    border: solid 1px #222;
    border-radius: 4px;
    color: gray;
    cursor: pointer;
    position: relative;
}

.topheader .panel li:before {
    font-family: "Font Awesome 5 Free";
    position: absolute;
    left: 10px;
}

.topheader .panel li.selected {
    color: var(--accent);
}

.flexrow > .topheader {
    width: 20%;
    box-shadow: 0 0 5px var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.flexrow > .growsheight {
    height: 100%;
}

.flexrow > .topheader .currentitem {
    line-height: 90px;
    border-bottom: solid 5px var(--accent);
    box-sizing: border-box;
    height: 96px;
}

@keyframes grow-40 {
    0% {
        height: 0;
    }
    100% {
        height: 40px;
        min-height: 40px;
    }
}

@keyframes grow-250 {
    0% {
        height: 0;
    }
    100% {
        height: 250px;
    }
}


.mainwrapper {
    overflow: hidden;
}
