
:root {
    --bs-primary-rgb: 79, 116,183;
    --bs-body-font-family: Arial, helvetica, sans-serif, Verdana, Geneva;
    --bs-body-font-size: 14px;
    --vo-btn-font-size: 14px;
    --vo-btn-warning-background-color: yellow;
    --vo-header-font-size: 16px;
    --vo-grid-font-size: 12px;
}

.btn {
    font-size: var(--vo-btn-font-size);
}

.btn-warning {
    background-color: var(--vo-btn-warning-background-color);
    border-color: var(--vo-btn-warning-background-color);
}

body {
    background: #f3f3f3;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

.readonly {
    background-color: #e9ecef;
    opacity: 1;
}

.col-count-2 {
    column-count: 2;
}

.question {
    background: blue;
    color: #fff;
    border-radius: 50%;
    padding: 0px 5px;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
}

#alertBox {
    background: #000;
    border-radius: 10px;
    color: #fff;
    font: 16px bold Arial, Helvetica, sans-serif;
    position: fixed;
    padding: 40px;
    text-align: center;
    width: 250px;
    left: 50%;
    top: 50%;
    margin-top: -50px;
    margin-left: -125px;
    transition: all .2s ease-in-out;
    z-index: 9999;
}

.popup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    text-align: center;
}

    .popup .popup-content {
        padding: 10px;
        background: #fff;
        margin: 10% auto;
        color: #000;
        text-align: left;
        display: inline-block;
    }

table.dataTable .circle-wrapper {
    position: relative;
    overflow: inherit;
    text-overflow: unset;
}

.table-header {
    font-weight: bold;
}

span.circle {
    position: relative;
    display: block;
    border-radius: 10px;
    margin: 4px auto;
    height: 15px;
    width: 15px;
    height: 15px\9 !important;
    width: 15px\9 !important;
    line-height: 10px\9 !important;
    top: 0px;
    border: solid 1px #333333;
}

    span.circle.red {
        background-color: red;
    }

    span.circle.green {
        background-color: green;
    }

    span.circle.yellow {
        background-color: yellow;
    }

    span.circle span.alert-text:before {
        content: "";
        border: solid black;
        border-width: 0 1px 1px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(140deg);
        -webkit-transform: rotate(140deg);
        top: 0px;
        left: -10px;
        position: relative;
        background: #fff;
    }

    span.circle span.alert-text {
        position: absolute;
        background: #fff;
        display: none;
        left: 20px;
        white-space: nowrap;
        padding: 5px;
        border: 1px solid #000;
        top: -10px;
        color: #000;
        z-index: 100;
    }

    span.circle:hover span.alert-text {
        display: block;
    }

.text-link {
    text-decoration: underline;
    color: blue;
    cursor: pointer
}

.header,
.header h1,
.header h2,
.header h3,
.header h4,
.header h5,
h1.header,
h2.header,
h3.header,
h4.header,
h5.header {
    font-size: var(--vo-header-font-size);
    background: #4F74B7;
    color: #fff;
    padding: 5px 0px 5px 5px;
    margin: 0px;
    font-weight: bold;
    vertical-align: middle
}

    .header .back-link {
        float: right;
        margin-right: 10px;
        color: #fff;
    }

.secondary-header,
.secondary-header h1,
.secondary-header h2,
.secondary-header h3,
.secondary-header h4,
.secondary-header h5,
h1.secondary-header,
h2.secondary-header,
h3.secondary-header,
h4.secondary-header,
h5.secondary-header {
    font-size: var(--vo-header-font-size);
    background: #E2C5E3;
    color: #000;
    padding: 5px 0px 5px 5px;
    margin: 0px;
    font-weight: bold;
    vertical-align: middle;
}

.validation-summary-errors ul {
    font-weight: bold;
    color: #ff0000;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

    .validation-summary-errors ul li {
        margin: 5px 0px;
    }

.field-validation-error {
    display: inline-block;
    width: 100%;
    color: red;
}

input.checkBoxHidden {
    display: none;
}

.label.checkBox {
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    background: #fff;
    position: relative;
}

.label-btn-float {
    margin-top: 21px;
}

input.checkBoxHidden:checked + .label.checkBox:before {
    content: "\2713";
    line-height: 20px;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: green;
    margin: -5px 0px 0px 0px;
    position: absolute;
    left: 0px;
}

.deleteIcon,
.delete-text {
    font-size: 14px;
    color: #ff0000;
    font-weight: bold;
    cursor: pointer;
}

.desktop {
    position: relative;
    min-width: 400px; /* Helps keep header content from wrapping */
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    cursor: default; /* Fix for issue in IE7. IE7 wants to use the I-bar text cursor */
    background: #777;
}

    .desktop .desktopHeader {
        background: #f2f2f2;
    }

    .desktop .desktopTitlebar {
        position: relative;
        overflow: hidden;
        background: #643494;
    }

    .desktop h1.applicationTitle {
        display: none;
        margin: 0;
        padding: 0 5px 0 0;
        font-size: 20px;
        line-height: 25px;
        font-weight: bold;
        color: #fff;
    }

    .desktop h2.tagline {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        color: #d4dce4;
        font-weight: bold;
        text-align: center;
        text-transform: uppercase;
        padding: 10px 0px;
    }

        .desktop h2.tagline .taglineEm {
            color: #fff;
            font-weight: bold;
        }


.static-window {
    max-width: 400px;
    width: 100%;
    margin: 5% auto;
    background: #fff;
    border-radius: 5px;
}

    .static-window img {
        max-width: 100%;
        text-align: center;
        margin: 10px auto;
        display: block;
    }

    .static-window .content {
        display: inline-block;
        width: 100%;
        padding: 10px;
    }

.window-header {
    background: #422446 !important;
    padding: 10px;
    font-size: 12px;
    border-radius: 5px 5px 0px 0px;
    color: #fff
}

.window-footer {
    padding: 15px;
    background-color: #dedede;
    border-radius: 0px 0px 5px 5px;
}

.form-group {
    position: relative
}

    .form-group .select2-container .select2-selection--single,
    .form-group .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 34px;
    }

        .form-group .select2-container .select2-selection--single .select2-selection__rendered {
            line-height: 34px;
        }


    .form-group .search-sm,
    .form-group .input-sm {
        max-width: 100px;
    }

    .form-group .search-md {
        max-width: 200px;
    }

.select2-container--default .select2-selection--multiple {
}

    .select2-container--default .select2-selection--multiple li.select2-selection__choice {
        background-color: #ffff;
    }

        .select2-container--default .select2-selection--multiple li.select2-selection__choice .select2-selection__choice__remove {
            background-color: #f1f1f1;
            color: red;
            font-weight: bold;
            font-size: 16px;
        }

.select2-container .smalldrop {
    min-width: 250px !important;
    max-width: 236px !important;
}

.form-group .form-label {
    display: block;
    width: 100%;
    font-weight: bold;
    margin: 0px;
}

    .form-group .form-label.form-label-required {
        display: inline;
    }

        .form-group .form-label.form-label-required::after {
            content: "*";
            color: #ff0000;
            font-size: 18px;
            margin-left: 5px;
            vertical-align: middle;
            display: inline;
            position: absolute;
        }

.form-group .form-label-with-question {
    font-weight: bold;
}

.form-group .label-info {
    display: inline;
    width: auto;
}

    .form-group .label-info + .label-info-text {
        position: absolute;
        background: #fff;
        border: 1px solid #000;
        border-radius: 5px;
        padding: 2px;
        display: none;
        z-index: 10;
    }

    .form-group .label-info:hover {
        cursor: help;
    }

        .form-group .label-info:hover + .label-info-text {
            display: block;
        }

    .form-group .label-info:active + .label-info-text {
        display: none;
    }

.form-group .form-info {
    display: block;
    width: 100%;
    background: #dedede;
    border: inherit;
    border-radius: 5px;
    padding: .470rem .75rem;
    min-height: 35px;
}

.form-control {
    font-size: var(--bs-body-font-size);
}

.form-control-small {
    padding: 0.125rem 0.75rem;
}

.white-link,
.white-link:hover {
    color: #fff;
}

.low_inventory td {
    background: #efcfd0;
}

label.fileBtn {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    border-image: initial;
    padding: 5px 10px;
    transition: all 0.5s ease-in-out 0s;
    border-radius: 5px;
    background: #4F74B7;
    color: #fff;
}

label.file-uploader input[type=file] {
    display: none;
}

span.required {
    color: red;
    font-weight: bold;
    margin: 0px 2px;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.display-grey-box {
    padding: 5px 0px;
    background: #eee;
    border: 2px solid #c8c8c8;
    display: block;
    width: 100%;
    text-indent: 5px;
    font-weight: normal;
    min-height: 38px;
    font-size: 16px;
}



.nav-tabs .nav-item {
    background: #eaeaea;
    margin-right: 2px;
}

    .nav-tabs .nav-item .nav-link {
        background: #eaeaea;
        font-weight: bold;
        text-transform: uppercase
    }

        .nav-tabs .nav-item .nav-link.active {
            background: #fff;
        }

.nav-sticky-menu {
    background: white;
    width: 100%;
    padding: 5px;
    position: sticky;
    top: 0px;
    z-index: 1000;
    border-bottom: 1px solid #5b5d64;
    margin-bottom: 10px;
}

.nav-sticky-content {
}

.tabs {
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #4F74B7;
    margin: 0px;
    padding: 0px
}

    .tabs .tab {
        position: relative;
        display: inline-block;
        border-radius: 5px 5px 0px 0px;
        border: 1px solid #4F74B7;
        border-bottom: none;
        background: #ffffff;
        cursor: pointer;
        transition: all .2s ease-in-out;
    }

        .tabs .tab a {
            color: #8e8e8e;
            text-decoration: none;
            padding: 8px 20px;
            display: inline-block;
        }

        .tabs .tab:first-child {
            margin-left: 10px;
        }

    .tabs .ui-tabs-active {
        transform: scale(1.1);
        margin: 0px 5px;
        color: #4F74B7;
        font-weight: bold;
    }

span.move-handle {
    display: inline-block;
    vertical-align: middle;
    cursor: move;
    line-height: 1;
    height: 45px;
}

    span.move-handle span {
        display: inline-block;
        width: 100%;
        margin: 0px 2px;
        border-radius: 5px;
        padding: 4px 5px;
        border: 1px solid #8e8e8e;
        background: #8e8e8e;
    }

.modal-header-movable .modal-title {
    cursor: move;
}

.textarea-notes {
    width: 100%;
    min-height: 50px;
    padding: 0px
}


.vendor-pricing-up {
    color: #fff;
    background: red;
}

.vendor-pricing-steady {
    color: #000;
    background: yellow;
}

.vendor-pricing-down {
    color: #fff;
    background: green;
}

@media (min-width: 1200px) {
    .modal-full {
        max-width: 97%;
    }
}

@media (max-width:900px) {
    .nav-tabs .nav-item {
        width: 100%;
        margin-bottom: 10px;
    }

        .nav-tabs .nav-item .nav-link {
            width: 100%;
        }
}
