/* ======================================= My Dialogs ======================================== */
#fullpage {
    display: none;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: black;
}

.my-dialog[open] {
    animation: my-dialog-appear .005s cubic-bezier(0, 1.8, 1, 1.8);
}

.my-dialog::backdrop {
    background: linear-gradient(45deg, rgba(104, 104, 104, .5), rgba(200, 204, 206, .5));
}

@keyframes my-dialog-appear {
    from {
        opacity: 0;
        transform: translateX(-3rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.my-dialog {
    border: none;
    padding: 0px;
    border-radius: 3px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 0, 0, 0.25);
    max-width: calc(100dvw - 2em);
    max-height: calc(100% - 1em - 1px);
    min-width: 300px;
    scroll-behavior: contain;
}

.my-dialog-header {
    background-color: lightgoldenrodyellow;
    border-radius: 3px 3px 0px 0px;
    padding: 3px 6px;
    /* margin: 3px; */
    border: grey 1px solid;
    border-left-width: 0px;
    border-right-width: 0px;

    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-dialog-header-right {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    padding: 0em 0.2rem;
}

.my-dialog-header-right:hover {
    background-color: rgb(218, 73, 73);
    color: black;
}

.my-dialog-footer {
    border-radius: 0px 0px 3px 3px;
    display: flex;
    padding: .5rem;
    margin: 5px;
    border-top: #aaa 1px solid;
    justify-content: flex-end;
}

.my-dialog-footer button {
    margin-left: 1.0rem;
    font-size: 1rem;
    font-weight: 500;
}

.my-dialog-main {
    padding: .5rem;
}

/* =============================================================================== */
/* Busy indicator */
/* =============================================================================== */
.my-dialog-busy-wrapper {
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    justify-items: center;
    align-items: center;
    padding: 0px 30px;
}

.my-dialog-busy-icon {
    position: fixed;
    left: 0px;
    right: 0px;
    margin: auto;
}

.my-dialog-busy-text {
    line-height: 1.5rem;
    width: 100%;
}

.my-dialog-busy-cancel-btn {
    text-align: center;
    display: "inline";
    justify-self: center;
    margin-bottom: 2px;
}

.my-dialog-busy-counter {
    position: fixed;
    left: 0px;
    right: 0px;
    text-align: center;
    color: red;
}

.dialogx-button-pane {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 5px 1px 5px;
    padding: 8px 0px 0px 0px;
    border: 1px solid #aaa;
    border-width: 1px 0 0 0;
}

/* =============================================================================== #popover */
.more-detailed-info {
    border: none;
    cursor: pointer;
    font-size: larger;
    opacity: 0.7;
}

.appx_body [popover] {
    inset: unset;
    top: 100px;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 5px 10px;
}

.appx_body [popover]::backdrop {
    background-color: lightgray;
    opacity: 0.2;
}