
.btn-success {
    color: #fff;
    background-color: #363636 !important;
    border-color: #1A1D21 !important;
    width: 75%;
}

.main{
    width: 100%;
}
.sidebar {
    background-image: linear-gradient(180deg, #1A1D21 0%, #363636 70%) !important;
}
.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand {
    font-size: 1.1rem;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.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 ::deep a {
        color: #d7d7d7;
        border-radius: 9px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item ::deep a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item ::deep a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.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;
    }

.blazored-toast-container {
    z-index: 105 !important;
}

.page-content {
    padding-right: 2.5%;
    padding-top: 5px;
    width: 100%;
}

@media (min-width: 768px) {

    input[type="date"]::-webkit-inner-spin-button,
    input[type="date"]::-webkit-calendar-picker-indicator {
        display: none;
        -webkit-appearance: none;
    }

    .btn-success {
        color: #fff;
        background-color: #363636 !important;
        border-color: #1A1D21 !important;
        width: 75%;
    }

    .sidebar {
        background-image: linear-gradient(180deg, #1A1D21 0%, #363636 70%) !important;
    }

        .sidebar .top-row {
            background-color: #1A1D21;
        }

    .page-content {
        padding-right: 2.5%;
        padding-top: 5px;
        width: 100%;
    }

    .content {
        padding-left: 20px !important;
    }

    #MainContent {
        padding-right: 0px !important;
    }

    @media print {
        div {
            break-after: avoid;
        }
    }



    /* Chrome, Safari, Edge, Opera */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }


    a {
        cursor: pointer;
    }

    html, body {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    app {
        position: relative;
        display: flex;
        flex-direction: column;
        font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif !important;
        width: 100%;
    }

    .top-row {
        height: 65px;
        display: flex;
        align-items: center;
        z-index: 1;
    }

    .sidebar {
        background-image: linear-gradient(180deg, #1A1D21 0%, #363636 70%) !important;
    }

    .sidebar .navbar-brand {
        margin-top: -20px;
        font-size: 22px;
    }

    .sidebar .navbar i {
        color: white;
        position: absolute;
        top: 35px;
        left: 165px;
        font-style: normal;
        opacity: .5;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item.login {
            font-size: 24px;
            font-weight: 400;
            font-variant-caps: all-small-caps;
            letter-spacing: 5px;
            width: 100%;
        }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            display: flex;
            align-items: center;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.1);
    }
    /*
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}*/

    .login {
        text-align: center !important;
        font-size: 27px !important;
        font-weight: 400 !important;
    }

        .login input {
            text-align: center !important;
            font-size: 27px !important;
            font-weight: 400 !important;
        }

        .login button {
            font-size: 27px;
            width: 50%;
            margin: 30px auto 0 auto;
        }


        .login .col {
            max-width: 400px !important;
        }

    /* Responsive Rules */

    /* col-sm & col-md */
    @media (max-width: 767.98px) {

        .main .top-row a, .main .top-row{
            margin-left: 0;
        }

        .login .col {
            max-width: unset !important;
        }

        .sidebar {
            background-image: linear-gradient(180deg, #1A1D21 0%, #363636 70%) !important;
        }

            .sidebar .top-row {
                background-color: #1A1D21;
            }
    }


    /* col-lg */
    @media (min-width: 768px) {
        app {
            flex-direction: row;
            width: 100%;
        }

        .sidebar {
            background-image: linear-gradient(180deg, #1A1D21 0%, #363636 70%) !important;
        }

            .sidebar .top-row {
                background-color: #1A1D21;
            }

        .main .top-row {
            position: sticky;
            top: 0;
        }

        .main > div {
            padding-left: 2rem !important;
            padding-right: 1.5rem !important;
        }

        .navbar-toggler {
            display: none;
        }

        .sidebar .collapse {
            /* Never collapse the sidebar for wide screens */
            display: block;
        }
    }

    /* Loading Spinner */
    .loading {
        position: fixed;
        z-index: 999;
        overflow: visible;
        margin: auto;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: white;
        text-align: center;
        padding-top: 3%;
        margin-left: 250px;
        padding-right: 300px;
    }

        .loading img {
            width: 20%;
        }

        .loading h1 {
            color: #385b88;
            font-weight: lighter;
            font-size: 59px;
            font-variant-caps: all-small-caps;
            letter-spacing: 13px;
        }

    /* Overrides */
    .blazored-modal {
        padding: 25px 50px !important;
        width: 800px !important;
        margin-top: 150px !important;
        max-height: 92% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .blazored-modal-title {
        width: 100%;
        text-align: center;
        font-weight: 400;
        font-size: 50px;
        padding-bottom: 10px;
        border-bottom: 1px solid #bdbdbd;
    }

    .blazored-modal-close {
        margin-top: -30px;
        margin-right: -40px;
    }

    .blazored-modal-container {
        top: -8% !important;
        height: 100hv !important;
    }


    input[dvalue="N/A"] {
        color: transparent;
    }

    input[dvalue="DATE"] {
        color: unset;
    }


    @media (max-width: 640.98px) {

        .top-row a, .top-row {
            margin-left: 0;
        }
    }

    @media (min-width: 641px) {

        .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 {
            /* Never collapse the sidebar for wide screens */
            display: block;
        }
    }