@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Exo', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

    .btn-primary:disabled {
        color: white;
        background-color: lightgray;
        border-color: lightslategray;
    }

.general-settings-heading {
    color: black;
    font-weight: bold;
    margin-top: 6px;
}

.inputBox {
    border-radius: 0px !important;
    border: 2px solid #01a5fe !important;
    font-size: 20px;
    height: 50px;
    text-align: center;
    margin-top: -15px !important;
}

.viewDeliveryLabel {
    border-radius: 0px !important;
    border: 2px solid #01a5fe !important;
    font-size: 20px;
    height: 50px;
    margin-top: -2px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inputBoxNotes {
    border-radius: 0px !important;
    border: 2px solid #01a5fe !important;
    font-size: 20px;
    height: 120px;
    text-align: center;
    vertical-align: top;
    margin-top: -15px !important;
}

.viewDeliveryLabelNotes {
    border-radius: 0px !important;
    border: 2px solid #01a5fe !important;
    font-size: 20px;
    height: 120px;
    text-align: center;
    vertical-align: top;
    margin-top: -2px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sectionHeaders {
    border-radius: 0px !important;
    border: 2px solid #01a5fe !important;
    font-size: 23px;
    height: 50px;
    text-align: center;
    color: white;
    background-color: #032c61;
    vertical-align: central;
    font-size: 24px !important;
    line-height: 50px !important;
    font-weight: 900 !important;
    margin-bottom: 20px !important;
}

/*td {
    display: inline-flex !important;
}*/

.col-2 {
    max-width: 16.5%;
}

.col-4 {
    max-width: 33.2% !important;
}

hr {
    margin-bottom: 40px !important;
}

button.col-8.btn.btn-primary {
    background: #01a5fe !important;
    border-radius: 0px !important;
    border: none !important;
    height: 50px !important;
    font-size: 22px !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
}

label.col-8.sectionHeaders {
    border: none !important;
}

button.col-8.btn.btn-primary:hover {
    background: #032c61 !important;
}

.bold-label {
    font-weight: bold;
    padding-top: 5px;
}

.label-disabled {
    background-color: #E9E9E9;
}

.btn-warning:disabled {
    color: white;
    background-color: lightgray;
    border-color: lightslategray;
}

.recordswidth {
    width: 60px;
}

.lbl-warning {
    color: red;
}

.grid-header {
    background-color: #01a5fe;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #deeffa;
}

.gridfieldrightjustified {
    text-align: right;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a {
            margin-left: 1.5rem;
        }

.sidebar-box ul {
    margin: 0px;
    padding: 0px;
}

.sidebar-box {
    background: #032c61;
    color: #fff;
}

    .sidebar-box h3 {
        margin-bottom: 20px;
    }

sidebar-box-h4 {
    width: 10rem;
    color: #01a5fe;
    font-size: 1rem;
    margin-top: 5px;
    cursor: pointer;
}

    sidebar-box-h4:hover {
        font-weight: bold;
    }

.sidebar-padding {
    padding-bottom: 200px;
}

.sidebar {
    background-image: linear-gradient(9deg,#032c61, #032c61, #032c61);
}

    .sidebar .top-row {
        background-color: #032c61;
        padding-left: 30px
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
        color: white;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

.editform-prompt {
    width: 120px;
}

.editform-textbox {
    width: 300px;
}

.select-quantity-info {
    width: 400px;
}

.viewer-labels {
    border-style: solid;
    border-width: 1px;
    padding-right: 5px;
    padding-left: 5px;
    width: 300px;
}

.order-header {
    padding-right: 3px;
    padding-left: 3px;
}

.order-comments {
    padding-right: 3px;
    padding-left: 3px;
    border-style: solid;
    border-width: 1px;
    height: 370px;
    width: 390px;
    resize: none;
}

.noresultmessage {
    color: red;
    font-size: large;
    font-weight: bold;
}

.changepassword-warning {
    color: red;
}

.changepassword-message-title {
    color: black;
}

.changepassword-message {
    color: blueviolet;
}

.headermessage {
    color: red;
    font-weight: bold;
    font-style: italic;
}

.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;
        border-radius: 4px;
        height: 1.6rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: yellow;
        }

        .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.content {
    padding-top: 1.1rem;
}

.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 (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        position: sticky;
        top: 0px;
        bottom: 0px;
    }

    .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;
    }
}

.my-custom-scrollbar {
    position: relative;
    height: 400px;
    overflow: auto;
}

.table-wrapper-scroll-y {
    display: block;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    margin-left: 15px;
    margin-bottom: -1px
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-left: 7px;
    margin-bottom: 5px
}
