@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import 'azframework-core.css';
@import 'generics.css';

html, body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

a,
.btn-link {
    color: var(--link-color);
}

    a:hover,
    .btn-link:hover {
        color: var(--hover-link-color) !important;
    }

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.invalid {
    border: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }
}



body app {
    position: relative;
    display: flex;
    align-items: stretch;
}

#blazor-error-ui {
    position: fixed;
    left: 0px;
    top: 0px;
    background: #eee;
    z-index: 100;
    padding: 2em 5em;
    border-radius: 5px;
    border: 2px solid black;
    box-shadow: 5px 5px 5px darkgray;
    margin-left: 25%;
    width: 50%;
    text-align: center;
    margin-top: 15em;
    height: auto;
    display: none;
}


/* BOX MESSAGGIO PER ATTESA CARICAMENTO */
.centered-box {
    font-family: Verdana;
    font-size: 28px;
    color: dimgray;
    margin: auto;
    text-align: center;
    padding-top: 250px;
    letter-spacing: 1px;
}
