.design.design-div {
    border: 1px dashed rgba(0, 0, 0, 0.137);
    min-height: 10px;
}

*[disabled] {
    pointer-events: none;
    opacity: 0.8;
    cursor: not-allowed;
}


/* center svg image in buttons and others */
svg {
    margin-top: -0.125em;
}

/* center dialog messages */
.dialog {
    position: fixed;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    margin: 0;
    max-height: 100vh;
    overflow: auto;
    z-index: 1055;
    /* same botstrap */
    border-width: 2px;
    border-color: #615f5f94;
    box-shadow: 0 4px 5px 2px rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(8, 8, 8, 0.4);
    border-radius: .5rem;
}

.dialog > div[data-nv-modal-body="1"] {
    overflow: auto;
}

@media (max-width: 576px) {
    .dialog[data-nv-modal-kind="form"] {
        left: 0;
        top: 58px;
        transform: none;
        width: 100vw;
        max-width: 100vw;
        height: calc(100dvh - 58px);
        max-height: calc(100dvh - 58px);
        border-width: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .dialog[data-nv-modal-kind="form"] > header {
        flex: 0 0 auto;
    }

    .dialog[data-nv-modal-kind="form"] > div[data-nv-modal-body="1"] {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .dialog[data-nv-modal-kind="form"] > div[data-nv-modal-body="1"] > * {
        max-width: 100% !important;
        max-height: 100% !important;
    }
}


header.dialog-header {
    background: #8888882b;
}

.dialog-title {
    font-size: 2rem;
    text-align: center;
}

.dialog-footer {
    text-align: center;
    padding-top: 1rem;
}

.dialog-button {
    border-radius: .3rem;
    border-width: 1px;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .14), 0px 5px 8px -5px rgb(8 8 8 / 40%);
    margin: 3px;
    border-color: #88888869;
}



.status-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #f5f5f5;
}

/* TIFrame â€” Iframe fullscreen dentro de containers */
iframe {
    border: none;
    display: block;
    overflow: hidden;
}

/* Para w-100 e h-100 do Bootstrap */
iframe.w-100 {
    width: 100% !important;
}

iframe.h-100 {
    height: 100% !important;
}

/* Container parent para iframe flexÃ­vel */
div[d-name*="IFrame"],
.iframe-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
}

div[d-name*="IFrame"] iframe,
.iframe-container iframe {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}

.nv-image-control {
    display: block;
    overflow: hidden;
    box-sizing: border-box;
}

.nv-image-element {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}
