@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import "../open-sans/open-sans.css";
@import "styles/root.min.css";

html, body, app {
    height: 100%;
    font-family: 'OpenSans Light'
}

body {
    overflow-x: hidden;
}



a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}


.sidebar {
    position: sticky;
    top: 0;
}

    .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;
            }

.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;
    }

.fill-remaining-space {
    flex: 1 1 auto;
}

.modal-xl {
    width: 70vw !important;
}

.blazored-modal-wrapper {
    max-height: 100%;
    overflow: auto;
}

.bm-content {
    overflow-x: auto;
}

.page-wrapper {
    padding: var(--main-padding);
}

.full-height-page {
    height: calc(100vh - var(--navbar-height));
}

.order-table {
    width:100%;
}
.order-table th {
    padding: 0 15px;
    text-align: center;
}

.order-table td {
    text-align: center;
}