﻿html, body {
    margin: 0;
    height: 100%;
}

html, body, app, .k-drawer-container, .k-drawer-content, .main {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

div.logos {
    display: flex;
    justify-items: center;
    flex-grow: 1;
}

    div.logos img {
        /* padding: 0 69px 0 0; */
        padding: 0 15px 0 0;
    }

        div.logos img:last-of-type {
            padding-right: 0;
        }

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

#app, .stretch {
    height: 100vh;
}

.top-row {
    height: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .top-row .user {
        display: flex;
        align-items: center;
    }

.breadcrumb {
    background-color: #daecf4;
    padding: 10px 20px 10px 20px;
}

.breadcrumb-item {
    color: #003f59;
}

    .breadcrumb-item a {
        color: #003f59;
    }

    .breadcrumb-item.active {
        color: #17a2b8;
    }

        .breadcrumb-item.active a {
            color: #17a2b8;
        }

.drawer-hamburger {
    color: #003f59;
    background-color: #daecf4;
    border-radius: 0px;
}

    .drawer-hamburger:hover {
        color: #003f59;
        background-color: #7bd2f6
    }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .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:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .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;
}

.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;
    }

@media (min-width: 576px) {
    .modal-dialog.large {
        max-width: 960px;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.form-control:read-only {
    background: RGBA(248,249,250,var(--bs-bg-opacity,1));
}

.form-control {
    font-size: 14px;
}

.dropdown-menu-item-sm {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 16px;
    padding-right: 16px;
}

.f-sm {
    font-size: 0.875rem;
}

.bc-transparent {
    background-color: transparent !important;
}

.bi-none {
    background-image: none !important;
}

.bg-disabled {
    background-color: #fafafa !important;
}
