﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500&display=swap');

html, body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #003C71;
    border-color: #1861ac;
}

#app {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height:100vh;
}

.sidebar {
    background-color: white;
    font-weight: 500;
    display: grid;
    grid-template-rows: auto 1fr;
}

    .sidebar .nav-item {
        font-size: 0.75rem;
        /*padding-bottom: 0.5rem;*/
    }

        .sidebar .nav-item a {
            color: #003C71;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: #E5EBF1;
                color: #003C71;
            }

            .sidebar .nav-item a:hover {
                background-color: #f8f9Ff;
                color: #003C71;
            }

.warnred {
    background-color: #b01212;
    color: white;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 0.75rem;
}

.warngreen {
    background-color: #b7bf10;
    color: white;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 0.75rem;
}

.impact-number {
    font-family: monospace !important;
    margin-right: 3rem;
    font-size: 0.75rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.btn-cancel {
    text-decoration: underline;
    color: #003C71;
}

#blazor-error-ui {
    background: lightyellow;
    top: 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 (max-width: 767.98px) {
    .navbar-top {
        padding-top: 0.25rem
    }

    .login-toggler {
        display: none;
    }
}

@media (min-width: 768px) {
    #app {
        grid-template-rows: minmax(0, 1fr);
        grid-template-columns: 210px 1fr auto;
    }

    .navbar-top {
        padding-bottom: 0.25rem;
        padding-top: 1.25rem
    }

    .navbar-toggler {
        display: none;
    }

    .logout-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .sidebar .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .sidebar .nav-item:last-of-type {
        padding-bottom: 1rem;
    }
}
