@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

a, .btn-link {
    color: #0366d6;
}

.page {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.bottom-row, .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 3.5em;
    display: flex;
    align-items: center;
    position: sticky;
    z-index: 200;
}

.top-row {
    justify-content: flex-start;
    top: 0;
}

.bottom-row {
    justify-content: flex-end;
    bottom: 0;
}

@media (max-width: 640.98px) {

    .top-row, .bottom-row {
        justify-content: space-between;
    }

        .top-row a, .top-row .btn-link, .bottom-row a, .bottom-row .btn-link, {
            margin-left: 0;
        }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.loading-container {
    display: flex;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6em 1.25em 0.7em 1.25em;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75em;
        top: 0.5em;
    }
