﻿
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: #0055;
    xxbackground-color: #fff;
    color: #006;
    z-index: 999999;
    /*pointer-events: none;*/
}

.dropzone {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0055;
    z-index: 999999;
    /*pointer-events: none;*/
}

.full-page {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
}

.hidden {
    display: none;
}

.tabs-header {
    background-color: #6668;
    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;
}



.action-vbar:first-child {
    display: none;
}

.action-text {
    cursor: pointer;
    color: blue;
}

    .action-text:hover {
        text-decoration: underline;
    }












.nav-icon {
    display: inline-block;
    font-size: 24px;
    margin: 0;
    padding: 0;
    margin-top: -24px;
    margin-left: -4px;
    padding-right: 14px;
}



.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;
}



.form-group {
    --label-width: 8em;
    container-type: inline-size;
}

    .form-group .form-label {
        display: block;
        text-align: left;
        width: 100%;
    }


    .form-group .form-control {
        display: block;
        width: 100%;
    }

    .form-group .form-select {
        display: block;
        width: 100%;
    }

    .form-group .validation-message {
        display: block;
    }

@container (width > 24em) {
    .form-group {
    }

        .form-group .validation-message {
            padding-left: var(--label-width);
        }

        .form-group .form-label {
            display: inline-block;
            width: var(--label-width);
            text-align: right;
            vertical-align: top;
            padding-top: 8px;
        }


            .form-group .form-label.checkbox {
                display: block;
                text-align: left;
                padding-left: var(--label-width);
                width: calc(100% - 1em - var(--label-width));
            }

        .form-group .form-control {
            display: inline-block;
            width: calc(100% - 1em - var(--label-width));
        }

        .form-group .form-select {
            display: inline-block;
            width: calc(100% - 1em - var(--label-width));
        }
}

div.plain-page {
    padding: 0.5em;
}





fieldset {
    border: 1px solid #333333;
    border-radius: 0.25em;
    margin-top: 12pt;
    padding: 4px;
    background-color: var(--trans-bg-color);
}

legend {
    font-size: 12pt;
    margin-top: -19pt;
    margin-bottom: -19pt;
    background-color: none;
}

.float-right {
    float: right;
}

.btn.btn-smaller {
    font-size: 80%;
    padding: 0 4px 0 4px;
}



.btn-action {
    padding: 0;
}

html {
    --trans-bg-color: #ffffff88;
}
