﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: Montserrat !important, Arial, sans-serif;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

    .main .top-row {
        top: 0;
        position: sticky;
        display: flex;
        flex-flow: row nowrap;
        background-color: var(--primary-color);
        border-bottom: 1px solid var(--base-color);
        color: var(--base-color-inverted);
        height: 2.5rem;
    }

    .main .top-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .main .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .main .top-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }


.content {
    padding-top: 3rem;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #006341;
}

.invalid {
    outline: 1px solid #8B4720;
}

.validation-message {
    color: #8B4720;
}

#blazor-error-ui {
    background: red;
    display: none;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

