/* 726 TECH CSS 2017 - 2022 */


/* DIALOG BOX CSS */

.DialogWindow {
    display: none;
    position: fixed;
    z-index: 1;
    padding: 0 15vw;
    left: 0;
    top: 0;
    width: 100%;
    /* height: 100%; */
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.DialogWindow.wide {
    padding-left: 10vw;
    padding-right: 10vw;
}

.DialogBox {
    background-color: #eee;
    border-radius: 6px;
    margin: auto;
    padding: 0 0 1vh 0;
    border: 1px solid #888;
    width: 50%;
    min-height: 20vh;
}

.DialogBox.double,
.DialogBox.triple {
    width: 100%;
}

.DialogTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-size: 2.5vh;
    font-weight: bold;
    padding: 0 1vw;
    border-radius: 6px 6px 0 0;
    background-color: #bfbfbf;
    margin-bottom: 2vh;
}

.DialogProgress {
    font-size: 3vh;
    text-align: center;
}

.DialogProgress span {
    margin: 0 1vh;
    color: #aaa;
}

.DialogProgress span.completed {
    color: lightskyblue;
}

.DialogBoxClose {
    color: #aaa;
    float: right;
    font-size: 6vh;
    font-weight: bold;
}

.DialogBoxClose:hover,
.DialogBoxClose:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.DialogContent {
    font-size: 1.75vh;
}

.DialogContent.compact {
    font-size: 1.5vh;
}

.DialogMessage {
    padding: 0 1vw;
}

.DialogButtonBar {
    display: flex;
    align-items: center;
    margin: 2vh 0;
    justify-content: space-around;
}

.DialogButton {
    width: 10vw;
    border-radius: 6px;
    background-color: #bfbfbf;
    text-align: center;
}

.DialogButton.mini {
    width: 5vw;
}

.DialogButton.selected {
    background-color: lightskyblue;
}

.DialogButton:not(.disabled):hover {
    background-color: lightskyblue;
    cursor: pointer;
}

.DialogButtonSVG {
    width: 4vw;
    height: 4vh;
    margin-top: 0.25vh;
    filter: invert(49%) sepia(4%) saturate(0%) hue-rotate(221deg) brightness(93%) contrast(95%);
}

.DialogButton:not(.disabled):hover .DialogButtonSVG {
    filter: invert(0%) sepia(1%) saturate(7461%) hue-rotate(6deg) brightness(113%) contrast(60%);
}

.DialogButton:not(.disabled):hover .DialogButtonSVG.delete {
    filter: invert(7%) sepia(76%) saturate(7493%) hue-rotate(10deg) brightness(300%) contrast(111%);
}

.DialogButton:not(.disabled):hover .DialogButtonSVG.save {
    filter: invert(32%) sepia(89%) saturate(2046%) hue-rotate(98deg) brightness(97%) contrast(104%);
}

.DialogForm {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}

.DialogForm.around {
    justify-content: space-around;
}

.DialogPanel {
    width: 47%;
}

.DialogPanel.medium {
    width: 37%;
}

.DialogPanel.mini {
    width: 20vw;
}

.DialogPanel.margined {
    margin-right: 2vw;
}

.DialogPanel.margined-left {
    margin-left: 2vw;
}

.DialogPanel.margined-top {
    margin-top: 8vh;
}

.DialogPanelButton {
    margin: 2vh 3vw;
    padding: 2vh 0;
}

.DialogPanelButton:hover {
    background-color: #efffef;
    cursor: pointer;
}

.DialogDataBox {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.DialogDataBox.margined {
    margin-top: 1vh;
}

.DialogDataBox.mini {
    font-size: 1.5vh;
    padding-top: 1vh;
}

.DialogDataBox.spaced {
    padding-top: 2vh;
}

.DialogDataBox.start {
    justify-content: flex-start;
}

.DialogDataBox.selectable:hover {
    background-color: azure;
    border-radius: 6px;
    cursor: pointer;
}

.DialogDataLabel {
    width: 8vw;
    min-width: 8vw;
    text-align: right;
}

.DialogDataLabel.xl {
    width: 10vw;
    min-width: 10vw;
}

.DialogDataValue {
    text-align: left;
    width: 20vw;
    min-width: 20vw;
}

.DialogDataValue.l-pad {
    padding-left: 2vw;
}

.DialogDataValue.medium {
    width: 16vw;
    min-width: 16vw;
}

.DialogDataValue.mini {
    width: 12vw;
    min-width: 12vw;
}

.DialogFieldBox {
    width: 100%;
}

.DialogFieldBox.half {
    width: 44%;
}

.DialogFieldText {
    width: 100%;
    padding: 1vh 1vw;
    text-align: left;
}

.DialogField {
    border-radius: 6px;
    font-size: 1.75vh;
    margin: 1vh 1vw;
    padding: 0.5vh 1vw;
    box-sizing: border-box;
    width: 27.5vw;
    outline: none !important;
    border: 1px solid #bfbfbf;
    height: 4vh;
}

.DialogField.clickable:hover {
    cursor: pointer;
    background-color: #ddd;
}

.DialogField.half {
    width: 12vw;
}

.DialogField.medium {
    width: 16vw;
}

.DialogField.right {
    text-align: right;
}

.DialogField.small {
    width: 8vw;
}

.DialogField:invalid {
    border-color: darkred;
}

select.DialogField {
    background-color: #fff;
}

select.DialogField.invalid {
    border-color: darkred;
}

input[type="checkbox"].DialogField {
    height: 3vh;
    filter: grayscale(1);
}

.DialogInstructionBox {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2vh;
}


/* DIALOG TABLE BOX */

.DialogTableBox {
    width: 100%;
    overflow-x: scroll;
    overflow-y: scroll;
    max-height: 60vh;
    margin-top: 1vh;
}

.DialogTableBox.medium {
    max-height: 42vh;
}

.DialogTableBox.mini {
    max-height: 30vh;
}

.DialogTableBox.mini.expanded {
    height: 30vh;
    background-color: #fff;
}


/* DIALOG TABLE */

.DialogTable {
    width: 100%;
    border-spacing: 0;
}

.DialogTable thead {
    background-color: #bfbfbf;
}

.DialogTable thead th {
    background-color: #bfbfbf;
    position: sticky;
    top: 0;
    border: 1px solid #999;
    font-size: 1.75vh;
}

.DialogTable tbody td {
    background-color: #fff;
    border: 1px solid #bfbfbf;
    color: #333;
    font-size: 1.75vh;
}

.DialogTable tfoot td {
    position: sticky;
    bottom: 0;
    background-color: #eee;
    padding: 0.2vh 0.1vw 0 0.1vw;
    color: #333;
    font-size: 2.0vh;
    border-top: 1px solid #999;
}

.DialogTable td.center {
    text-align: center;
}

.DialogTable tr:not(.selected) td.clickable {
    display: none;
}

.DialogTable tr.selected td.clickable:hover {
    cursor: pointer;
}

.DialogTable tr.selected td.hot {
    background-color: gold;
}

.DialogTable tr.bg-red td {
    background-color: #ffefef;
}

.DialogTable tr.bg-blue td {
    background-color: #efefff;
}

.DialogTable tr.bg-green td {
    background-color: #efffef;
}

.DialogTable tr.bg-purple td {
    background-color: #ffefff;
}

.DialogTable tr.changed {
    font-style: italic;
}

.DialogTable tr.selected td {
    background-color: lightskyblue;
}

.DialogTable tr input {
    border: none;
}

.DialogTable tr input.small {
    width: 5vw;
}


/* DIALOG IMAGE BOX */

.DialogImageBox {
    width: 100%;
    max-height: 60vh;
    height: 30vh;
    padding: 1vh 1vw;
}

.DialogImageBox.mini {
    max-height: 30vh;
}

.DialogImageBox img {
    width: 100%;
    height: auto;
}


/* DIALOG CONSOLE BOX */

.DialogConsoleBox {
    width: 100%;
    overflow-y: scroll;
    background-color: #3f3f3f;
    max-height: 60vh;
    margin-top: 1vh;
    height: 30vh;
    padding: 0.25vh;
}

.DialogConsoleBox.mini {
    max-height: 30vh;
}


/* DIALOG CONSOLE */

.DialogConsoleLine {
    display: block;
    color: antiquewhite;
    font-size: 2vh;
    font-family: monospace;
    text-align: left;
}

.DialogConsoleLine .green {
    color: #8ad838;
}

.DialogConsoleLine .blue {
    color: #726ccc;
}