.dialog-standard {
    position: absolute;
    display: inline-flex;
    flex-direction: column;
    margin: 0;
    left: 0;
    padding: .5em;
    border: thin solid black;
    background-color: #CCDDFF;
    border-radius: .5em;
    box-sizing: border-box;
    opacity: 1;
    user-select: none;
    z-index: 1;
}
.dialog-pane {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .25;
    padding: 0;
    background-color: gray;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}
.dialog-title {
    display: inline-block;
    margin: .25em 0;
    flex: 0 0 auto;
    text-align: left;
    font-weight: bold;
    padding-right: 4.5em;   /* position away from close button */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dialog-close {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    right: .5em;
    height: 1.25em;
    width: 3em;
    background-color: lightcoral;
    border-radius: 0 0 .25em .25em;
    border: thin solid black;
    border-top: 0 none;
}
.dialog-close:before {
    font: var(--font-fa-solid);
    color: white;
    content: "\f00d";
    -webkit-text-fill-color: white;
    -webkit-text-stroke: 1px black;
}
.dialog-close:hover {
    background-color: red;
}
.dialog-content {
    padding: .5em;
    background-color: #eef0ff;
    box-sizing: border-box;
    overflow: auto;
    border: thin solid #777;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.dialog-inner {
    overflow: auto;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.dialog-button {
    flex: 0 0 auto;
    display: inline-block;
    width: 6em;
    height: 2em;
    margin: .25em .5em;
    align-self: baseline;
}
/*
.dialog-list {
    flex: 1 1 auto;
    margin: .25em .25em;
    border: thin inset lightgray;
    padding: .25em .25em;
    background-color: white;
    overflow: auto;
    cursor: default;
    min-width: 1em;
}
 */
.dialog-list {
    margin: .25em .25em;
}
.dialog-list-item {
    padding-left: .25em;
    white-space: nowrap;
}
.dialog-list-item.dialog-list-item-selected {
    background-color: gray;
    color: white;
}
.dialog-list:focus >.dialog-list-item.dialog-list-item-selected {
    background-color: blue;
}
.dialog-rowflexwrapper {
    height: 16em;
}
.dialog-column, .dialog-row {
    flex: 1 1 auto;
    display: flex;
    min-width: 0;
}
.dialog-column {
    flex-direction: column;
}
.dialog-row {
    flex-direction: row;
}
.dialog-slide, dialog-slide-inner {
    position: relative;
    flex: 1 1 auto;
    display: flex;
}
.dialog-slide {
    flex-direction: row;
}
.dialog-slide-inner {
    flex-direction: column;
}
.dialog-spacer {
    flex: 1 1 auto;
}
.dialog-text {
    flex: 0 0 auto;
    margin: .25em .5em;
    white-space: nowrap;
    align-self: baseline;
}
.dialog-text:before {
    content: "\200B";
}
.dialog-textbox, .dialog-select {
    flex: 1 1 auto;
    margin: .25em .5em;
    min-width: 1em;
    width: 16em;
}
.dialog-label {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
}
.dialog-label-text {
    flex: 0 0 auto;
    margin: .25em .5em;
    white-space: nowrap;
    font-weight: bold;
}
.dialog-radio {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dialog-radio-button {
    vertical-align: middle;
}
.dialog-radio-button:focus {
    outline: none;
}
.dialog-radio > .dialog-label:focus-within > .dialog-label-text {
    outline: thin dotted gray;
}
.dialog-checkbox {
    margin: .25em .25em;
}
.dialog-checkbox-button {
    margin: .25em .25em;
    vertical-align: middle;
}
.dialog-checkbox-label {
    margin: .25em .25em;
    vertical-align: middle;
}
.dialog-recorder {
}
.dialog-recorder-on::before {
    font: var(--font-fa-solid);
    color: red;
    content: "\f111";
    font-size: 1em;
    animation: dialog-recorder-on .5s cubic-bezier(.75, 0, .25, 1) infinite alternate;
}
@keyframes dialog-recorder-on {
    from {
        opacity: 1;
    }
    to {
        opacity: .5;
    }
}
/* Add class to <label> to make it appear disabled */
.dialog-label-disabled {
    color: #aaa;
}
audio {
    padding: 2px;
    height: 2em;
    flex: 1 1 auto;
}
.fixed-dialog-content {
    background-color: #eef0ff;
    box-sizing: border-box;
    overflow: auto;
    border: thin solid #777;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.dialog-fixed {
    display: inline-flex;
    flex-direction: column;
    margin: 0;
    left: 0;
    box-sizing: border-box;
    opacity: 1;
    user-select: none;
}

.images-toolbar {
    --size: 1.6em;
    align-items: flex-end;
    background-color: #eef0ff;
    flex-wrap: wrap;
}
.images-toolbar-widget {
    --xsize: 1.6em;
    --font-family: "Lucida Console", Monaco, monospace;
    --border-color: #c0c0c0;
    --background: #f0f0f0;
    box-sizing: border-box;
    xheight: var(--size);
    margin: .25em .5em;
    flex: 0 0 auto;
    align-items: center;
    font-weight: bold;
    background: none;
}
.images-font-proportional {
    --font-family: Arial,  Verdana, Helvetica, sans-serif;
}
.images-toolbar-label {
    flex: 0 0 auto;
    margin: .25em .5em;
    white-space: nowrap;
    font-weight: bold;
}
.images-toolbar-control {
    height: var(--size);
    flex: 1 1 auto;
    align-items: center;
}
.images-toolbar-input {
    height: 100%;
    box-sizing: border-box;
    border: thin solid var(--border-color);
    border-left: none;
    border-right: none;
    outline: none;
    padding: 0;
    font-family: var(--font-family);
    align-self: unset;
    flex: 0 0 auto;
    min-width: 1em;
    width: 6em;
    text-align: center;
}
.images-toolbar-input[data-unmapped] {
    color: red;
}
.images-toolbar-button {
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 100%;
    width: var(--size);
    font-size: 1em;
    background: var(--background);
    box-shadow: none;
    outline: none;
    text-align: center;
    margin: 0;
    padding: 0;
    border: thin solid var(--border-color);
    font-family: var(--font-family);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: unset;
}
.images-toolbar-button:hover {
    background:#e0e0e0;
}
.images-toolbar-button[data-id="previous"]:before {
    font: var(--font-fa-solid);
    content: "\f04b";
    transform: scale(-.5, 1);
    font-size: 1em;
}
.images-toolbar-button[data-id="next"]:before {
    font: var(--font-fa-solid);
    content: "\f04b";
    transform: scale(.5, 1);
    font-size: 1em;
}
.images-toolbar-button[data-id="decrease"]:before {
    content: "-";
}
.images-toolbar-button[data-id="increase"]:before {
    content: "+";
}
.images-toolbar-button[data-id="previousUnmapped"]:before {
    font: var(--font-fa-solid);
    content: "\f048";
    font-size: 1em;
}
.images-toolbar-button[data-id="nextUnmapped"]:before {
    font: var(--font-fa-solid);
    content: "\f051";
    font-size: 1em;
}

.button-previous-unmapped {
    border-right: none;
}
.images-toolbar-edit .button-previous-zone {
    border-left: none;
}
.images-toolbar-edit .button-next-zone {
    border-right: none;
}
.button-next-unmapped {
    border-left: none;
}
.xbutton-previous:before, .xbutton-previous-zone:before {
    font: var(--font-fa-solid);
    content: "\f04b";
    transform: scale(-.5, 1);
}
.xbutton-next:before, .xbutton-next-zone:before {
    font: var(--font-fa-solid);
    content: "\f04b";
    transform: scale(.5, 1);
}
.button-previous-unmapped:before {
    font: var(--font-fa-solid);
    content: "\f048";
}
.button-next-unmapped:before {
    font: var(--font-fa-solid);
    content: "\f051";
}
.button-up:before {
    font: var(--font-fa-solid);
    content: "\f0d8";
}
.button-down:before {
    font: var(--font-fa-solid);
    content: "\f0d7";
}
.zoom-button-minus:before {
    content: "-";
}
.zoom-button-plus:before {
    content: "+";
}
.image-text-edit, .zoom-text, .selected-text {
    box-sizing: border-box;
    height: 100%;
    border: thin solid var(--border-color);
    border-left: none;
    border-right: none;
    outline: none;
    margin: 0;
    padding: 0 .25em;
    font-family: var(--font-family);
    align-self: unset;
}
.image-text-edit {
    width: 3em;
    background: white;
    text-align: left;
}
.zoom-text, .selected-text {
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: normal;
}
.selected-text {
    width: 4em;
    justify-content: flex-start;
    overflow: hidden;
}
.images-toolbar-button-shape {
    height: var(--size);
    width: unset;
    min-width: 3em;
    align-self: unset;
}
.images-toolbar-updown {
    height: var(--size);
}

.dialog-progress {
    flex: 1 1 auto;
    margin: .25em .5em;
    xwidth: 100%;
    background-color: lightgray;
}
.dialog-progress > div {
    width: 0%;
    height: 2rem;
    background-color: blue;
}

.dialog-test {
    border: thin solid black;
    background-color: pink;
}
