@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

body, html {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif
}

.page {
    position: relative;
    display: flex;
    flex-direction: column
}

.main {
    flex: 1
}

.sidebar {
    background-color: #000
}

.top-row {
    background-color: #343a40 !important;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center
}

    .top-row.auth {
        border-bottom: 1px solid #495057
    }

    .top-row.navbar-dark {
        background-color: #000 !important
    }

    .top-row .btn-link, .top-row a {
        white-space: nowrap;
        margin-left: 1.5rem;
        color: #ffffff !important
    }

        .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis
        }

.navbar-toggler {
    background-color: rgba(255,255,255,0.1)
}

.navbar-brand {
    font-size: 1.1rem
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem
}

    .nav-item:first-of-type {
        padding-top: 1rem
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem
    }

    .nav-item a {
        color: #d7d7d7;
        color: #ffffff;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem
    }

        .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white
        }

        .nav-item a:hover {
            background-color: rgba(255,255,255,0.15);
            color: white
        }

.pagination .page-item .page-link.sort-link {
    color: #e9ecef !important
}

@media (max-width:640.98px) {
    .top-row:not(.auth) {
        display: none
    }

    .top-row.auth {
        justify-content: space-between
    }

    .top-row .btn-link, .top-row a {
        margin-left: 0
    }
}

@media (min-width:641px) {
    .page {
        flex-direction: row
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important
    }

    .navbar-toggler {
        display: none
    }

    .collapse {
        display: block !important
    }
}

.blazored-modal-container .blazored-modal-overlay {
    background-color: rgba(0,0,0,0.8)
}

.blazored-modal-container .blazored-modal {
    background-color: #212529;
    box-shadow: none;
    border: 1px solid #495057
}

    .blazored-modal-container .blazored-modal .blazored-modal-close {
        color: #adb5bd
    }

.content {
    padding-top: 1.1rem
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050
}

.invalid {
    outline: 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
    }

.processing {
    position: fixed;
    top: 40%;
    left: 48%;
    text-align: center;
    flex-direction: column
}

    .processing .spinner-border {
        width: 5rem;
        height: 5rem;
        color: #adb5bd !important
    }

    .processing p {
        font-size: 1.5rem;
        margin-top: 0.5rem;
        margin-left: -1.9rem;
        color: #6c757d !important
    }

D1-form-group {
    margin-bottom: 0 !important;
}

.d1-tbl-row1 td, .d1-tbl-row1 th {
    padding-bottom: 0 !important;
}

.d1-tbl-row2 td, .d1-tbl-row2 th {
    padding-top: 0 !important;
}

