/* ================================================================
   BLAZOR WEBASSEMBLY SPECIFIC STYLES
   ================================================================ */

/* Form validation styling */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Blazor error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
}

.sample-data-container strong {
    margin-left: 20px;
}

.user-menu-name {
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-username {
    padding-left: .9rem !important;
}

/* Keep Bootstrap dialogs clear of the fixed browser/app header area. */
.modal.show .modal-dialog {
    margin-top: 9rem;
}

@media (max-height: 520px) {
    .modal.show .modal-dialog {
        margin-top: 7.5rem;
    }
}
