﻿
div.dialog-outer {
    position: fixed;
    width: 480px;
    padding: 0;
    border: solid 1px black;
    border-radius: 0.5em;
    background-color: white;
    opacity: 0.95;
    margin: 0;
    z-index: 999999;
    max-height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
}

    div.dialog-outer.dialog-page {
        position: relative;
        width: 100% !important;
        height: 100%;
        padding: 0;
        border: solid 1px black;
        background-color: white;
        opacity: 0.95;
        margin: 0;
        z-index: 999999;
        max-height: calc(100vh - 50px);
        display: flex;
        flex-direction: column;
        left: 0 !important;
        top: 0 !important;
    }

div.dialog-title-bar {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 8px;
    color: white;
    background-color: #666;
    flex-shrink: 0;
}

    div.dialog-title-bar.dialog-page {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        padding: 8px;
        color: #333;
        background-color: white;
        flex-shrink: 0;
        font-size: 125%;
    }

div.dialog-body {
    padding: 8px;
    overflow-y: auto;
    flex-shrink: 1;
}

    div.dialog-body .container {
        width: 100% !important;
    }

    div.dialog-body > .row {
        width: 100% !important;
        margin: 0 !important;
    }

.dialog-title {
    display: inline-block;
    user-select: none;
    pointer-events: none;
    margin-bottom: 0;
}

.dialog-header-handle {
    cursor: move !important;
    margin-right: 3px;
}


div.dialog-after-title {
    display: inline-block;
    float: right;
    width: auto;
}

    div.dialog-after-title button {
        margin-left: 8px;
    }

div.dialog-footer {
    padding: 8px;
    border-top: 1px solid silver;
    text-align: right;
    flex-shrink: 0;
    child-spacing: 8px;
}

    div.dialog-footer > *:not(:last-child) {
        margin-right: 0.3em;;
    }

    div.dialog-footer:empty {
        display: none;
    }

div.dialog-header {
    padding: 8px;
    border-bottom: 1px solid silver;
    overflow-y: auto;
    flex-shrink: 1;
}

    div.dialog-header:empty {
        display: none;
    }

div.dialog-header-skinny {
    padding: 0;
    border: none;
}


div.context-menu {
    position: absolute;
    width: auto;
    height: auto;
    border: solid 1px black;
    border-radius: 5px;
    background-color: #FFFFFFaa;
}

div.context-menu-title {
    border: solid 1px black;
    border-radius: 5px 5px 0 0;
    background-color: #000066;
    padding: 0 4px 0 4px;
    color: white;
}

div.context-menu-item {
    padding: 0 4px 0 4px;
    cursor: pointer;
}


@keyframes animation-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}

.spin {
    animation: animation-spin 6s linear infinite;
}

.frosty {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0004;
    color: #006;
    z-index: 999999;
}

.dropzone {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0051;
    z-index: 999999;
}

.full-page {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
}

.hidden {
    display: none;
}

.tabs-header {
    background-color: azure;
    border-bottom: solid 1px silver;
    padding-top: 8px;
    margin-top: -8px;
    margin-left: -8px;
    margin-right: -8px;
}

.tabs-header-tab {
    display: inline-block;
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-bottom: -1px;
}

    .tabs-header-tab.tab-selected {
        background-color: white;
        border: solid 1px silver;
        border-bottom: solid 1px white;
        border-radius: 4px 4px 0 0;
    }

    .tabs-header-tab.tab-not-selected {
        color: blue;
        cursor: pointer;
    }


/*    tr.draggable-row td:not(:last-child) {
        pointer-events: none;
    }*/

td.draggable-row-handle {
    width: 1.5em !important;
}

tr.row-drag-over {
    background-color: pink !important;
}