
@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-Regular.ttf') format('truetype'), url('../fonts/Tajawal-ExtraLight.ttf') format('truetype'), url('../fonts/Tajawal-Light.ttf') format('truetype'), url('../fonts/Tajawal-Medium.ttf') format('truetype'), url('../fonts/Tajawal-Bold.ttf') format('truetype'), url('../fonts/Tajawal-ExtraBold.ttf') format('truetype'), url('../fonts/Tajawal-Black.ttf') format('truetype');
}

@font-face {
    font-family: CCode39;
    src: url("../fonts/ConnectCode39.woff") format('woff')
}

html, body {
    font-family: Tajawal, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #efefef;
}

body, .page {
    min-height: 100vh;
}

a, .btn-link {
    color: #0366d6;
    text-decoration: unset;
}

    a:hover, .btn-link:hover {
        font-weight: bold;
    }


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

/*.invalid {
    outline: 1px solid red;
}
*/
.validation-message {
    color: red;
    font-size: 0.8em;
}

#blazor-error-ui {
    /*    background: lightyellow;*/
    background: #c00000;
    color: white;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: .4rem 2.25rem 0.4rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        color: white;
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui a.reload {
        color: white;
    }

/*.modal {
    display: block;
    background-color: rgba(0,0,0,0.5);
}
*/
.ltr {
    direction: ltr !important;
}

.shadow-sm {
    box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, .4) !important;
}

.btn-check:focus + .btn, .btn:focus {
    box-shadow: unset;
}

.table-pagesize {
    text-align: left;
}

    .table-pagesize select {
        max-width: 70px;
    }

.table-search {
    max-width: 300px;
}

@media (max-width: 768px) {
    body, .form-select, .form-control, .btn {
        font-size: 0.75rem !important;
    }

    h5 {
        font-size: 1rem !important;
    }

    .machines-list .card p {
        font-size: 12px !important;
    }

    .table-search {
        max-width: unset;
    }

    /*    .table-pagesize {
        margin-top: 0.5rem;
        text-align: center;
    }
*/
    .update-order {
        display: block !important;
    }

        .update-order .order-header {
            font-size: 18px;
            text-align: center;
        }

        .update-order .order-details {
            font-size: 12px;
            text-align: center;
        }

    .order-buttons {
        text-align: center;
        float: unset !important;
    }

    .update-order .order-image, .section-image {
        display: block !important;
        text-align: center;
    }

    .navbar-brand {
        font-size: 14px;
    }


    .mobile-menu {
        display: flex;
        font-size: 12px;
    }

        .mobile-menu .dropdown-toggle::after {
            display: none;
        }

        .mobile-menu .nav-link {
            display: unset;
            padding: .25rem;
        }

        .mobile-menu .dropdown-menu.show {
            margin: 0.5rem;
            width: calc(100% - 1rem);
        }

        .mobile-menu h6 {
            font-size: 12px;
        }

        .mobile-menu .mobile-col1, .mobile-menu .mobile-col2 {
            width: 50%;
        }

        .mobile-menu .mobile-col1 {
            float: right;
        }

        .mobile-menu .mobile-col2 {
            float: left;
        }

    .big-image > button.btn {
        font-size: 30px !important;
    }

    .order-image > .div-user-img-hover:hover + .user-img-larg,
    .section-image > .div-user-img-hover:hover + .user-img-larg {
        display: none !important;
    }

    .dropArea {
        margin-bottom: 20px;
    }
}

.update-order {
    display: inline-flex;
    margin-top: 1rem;
}

.order-buttons {
    float: left;
}

.update-order .order-image {
    display: inline;
}


.blazored-typeahead:focus-within {
    box-shadow: none;
}

.blazored-typeahead.valid.modified {
    outline: none !important;
    border: 1px solid #ccc;
}

.valid.modified:not([type=checkbox]) {
    outline: none;
}

.form-check-input:focus {
    box-shadow: none;
}

.form-check-input:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.form-control:focus,
.form-select:focus {
    box-shadow: unset;
    border-color: unset;
    outline-color: unset;
}

.tr-notactive {
    background-color: rgba(255, 0, 0, 0.1);
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
    margin-right: unset;
}

/*.blazored-typeahead__input {
    text-align: center;
}*/

/*.blazored-typeahead__input-mask {
    justify-content: center;
    margin-right: 40px;
}
*/
input[type=date] {
    padding-right: 60px;
}

.btn-text {
    display: inline-block;
    font-weight: 400;
    user-select: none;
    -moz-user-select: none;
    padding: .375rem .75rem;
}

.user-img {
    height: 50px;
    width: 50px;
    margin-left: 10px;
}

.navbar-toggler:focus {
    text-decoration: inherit;
    outline: inherit;
    box-shadow: unset;
}

table td {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}

table th {
    font-weight: unset;
}

table td, table th {
    vertical-align: middle !important;
}

table .btn-link {
    padding-left: 0;
    padding-right: 0;
}

.dropArea {
    /*padding: 10px;*/
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    min-height: 50px;
    width: 100Px;
    /*z-index: 99;*/
    /*width: 100px;*/
    /*margin: 0 auto;*/
}

    .dropArea:hover {
        /*background-color: antiquewhite;*/
        color: #333;
        cursor: pointer;
    }

    .dropArea img {
        /*box-shadow: 0 0 10px #333;*/
        /*border-radius: 50%;*/
        border: 1px solid #ccc;
    }

    .dropArea input[type=file] {
        position: absolute;
        /*width: 100px;*/
        /*height: 100px;*/
        opacity: 0;
        cursor: pointer;
        left: 0;
        top: 0px;
    }

    .dropArea button {
        position: absolute;
        /*left: calc(50% - 50px);*/
        /*bottom: calc(50% - 50px);*/
        border-radius: 50%;
        padding: 0px;
        width: 25px;
        height: 25px;
        font-size: 25px;
        line-height: 25px;
    }

.dropAreaDrug {
    background-color: darkgray;
}

.blazored-modal {
    width: 100%;
}

.blazored-modal,
.blazored-modal-header {
    padding: 0;
}

.blazored-modal-close {
    margin: -1rem auto -1rem -1rem;
}

.blazored-modal-content .modal-content {
    border: none;
}

.btn-close:focus {
    outline: 0;
    box-shadow: unset;
    opacity: 1;
}

.page-link:focus {
    box-shadow: unset;
}

@media (min-width: 576px) {
    .blazored-modal {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.form-check-label,
input[type=checkbox] {
    cursor: pointer;
}

.opacity-100 {
    opacity: 1 !important;
}

.opacity-75 {
    opacity: 0.75 !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.opacity-25 {
    opacity: 0.25 !important;
}

.big-image {
    z-index: 1200;
    position: fixed;
    background-color: white;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
}

    .big-image .user-img-larg {
        max-width: calc(100% - 20px);
        max-height: calc(100% - 20px);
        bottom: 10px;
        left: 10px;
        margin: auto;
        overflow: auto;
        position: fixed;
        width: auto;
        height: auto;
        right: 10px;
        top: 10px;
        -o-object-fit: contain;
        object-fit: contain;
    }

    .big-image button {
        position: fixed;
        left: 25px;
        top: 25px;
        font-size: 35px;
        z-index: 1500;
    }

tr.bg-primary > td > button {
    color: #eee !important;
}

    tr.bg-primary > td > button:hover {
        font-weight: bold !important;
        color: #fff !important;
    }

.input-colors {
    direction: ltr;
    text-align: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    position: relative;
}

    .input-colors .input-color {
        display: inline-flex;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 2px 5px;
        margin-left: 0.25rem;
        background-color: #f3f3f3;
    }

        .input-colors .input-color .input-color-close {
            cursor: pointer;
            padding: 0 10px 0 5px;
        }

        .input-colors .input-color .input-color-color {
            min-width: 24px;
            height: 24px;
            border-radius: 5px;
        }

        .input-colors .input-color .input-color-text {
            padding: 0 5px;
        }

.input-show-color .input-color {
    display: inline-block;
}

    .input-show-color .input-color .input-color-color {
        padding-right: 5px;
        padding-left: 5px;
    }

.machines-list .card:hover {
    box-shadow: 0 0 5px #555;
}

.machines-list .card .card-title {
    font-size: 18px;
    text-align: center;
}

.machines-list .card p {
    font-size: 14px;
    text-align: center;
    margin-bottom: 0;
}

.machines-list .card .card-body {
    padding: 5px;
}

.machines-list .card .card-title {
    margin-bottom: 0;
}

.busy-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 15000;
}

    .busy-bg .busy-imgs {
        position: fixed;
        left: calc(50% - 50px);
        top: calc(50% - 92px);
        width: 100px;
        height: 185px;
        background-color: white;
        border-radius: 10px;
        overflow: hidden;
    }

        .busy-bg .busy-imgs img {
            width: 100%;
        }

        .busy-bg .busy-imgs span {
            width: 400px;
            color: white;
            position: fixed;
            text-align: center;
            left: calc(50% - 200px);
            top: calc(50% + 95px);
            font-size: 20px;
        }

tr {
    position: relative;
}

    tr .deleting-bg {
        background-color: rgba(255, 255, 0, 0.8);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        color: darkred;
        font-size: 20px;
        font-weight: bold;
    }

.form-select {
    padding: .375rem .5rem .375rem 1.5rem;
    background-position: left .5rem center;
}

.input-group .blazored-typeahead {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.validation-summary-errors ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #eee !important;
    opacity: 1 !important;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #eee !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #eee !important;
}

tr.tr-done {
    border-right: 10px solid green;
}

tr.tr-no-done {
    border-right: 10px solid rgba(0, 0, 0, .4);
}

tr.tr-not-done {
    border-right: 10px solid red;
}

.work-list-offset {
    position: relative;
    padding: 0;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0!important;
}

    .work-list-offset .color-container {
        display: flex;
        width: 100%;
        height: 100%;
    }
        .work-list-offset .color-container .color-block {
            width: 100%;
        }

    .work-list-offset .color-count {
        position: absolute;
        left: 10px;
        top: 10px;
        background-color: white;
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }

        .work-list-offset .color-count span {
            line-height: 40px;
            width: 30px;
            height: 30px;
            margin-top: -5px;
            font-size: 30px;
            font-weight: bold;
            color: darkred;
        }

.work-list-name,
#workListModal .form-control,
#workListModal label,
#workListModal button {
    font-size: 20px;
}

.content {
    margin-top: 3rem;
}


@media (max-width: 801px) {
    .work-list-offset .color-count span {
        margin-top: unset;
    }

    #workListModal .modal-dialog {
        max-width: 750px;
    }

    #workListModal .modal {
        padding-top: 0;
    }

    .card-body {
        overflow: auto;
        padding: 0.5rem;
    }

    .title {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 601px) {
    .work-list-name {
        font-size: 16px;
    }
}

.work-image {
    text-align: center;
    padding: 10px;
}

    .work-image img {
        max-height: 500px;
    }

#workListModal label {
    min-width: 100px;
}

#components-reconnect-modal {
    transition: visibility 0s linear 1000ms;
}

.mobile-show {
    display: none;
}

.mobile-hide {
    display: inherit;
}

@media (max-width: 575.98px) {
    .mobile-show {
        display: inherit;
    }

    .mobile-hide {
        display: none;
    }

    .modal {
        padding-top: 70PX !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .modal-fullscreen-sm-down {
        width: unset;
        height: unset;
    }

        .modal-fullscreen-sm-down .modal-content {
            border-radius: 5px !important;
        }
}

.vh-center {
    position: fixed;
    width: 90%;
    left: 5%;
    top: 50%;
}

.exchange-prices {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 14px;
    position: absolute;
    left: 10px;
    top: 37px;
}

.print-zone {
    display: none;
}

.svg-inline--fa {
    vertical-align: -.175em;
}

@media print {
    body {
        background-color: unset;
    }

    .notprint-zone {
        display: none;
    }

    .print-zone {
        display: unset;
    }
}

@media (min-width: 768px) {
    .index-main .main-div {
        min-height: 400px;
        flex-direction: row;
        display: flex;
    }
}

@media (min-width: 768px) {
    .index-main .main-div {
        min-height: 400px;
    }
}

.dropdown-notification {
    padding: 0;
    min-width: 20rem;
}

/*.dropdown-notification:after {
        content: "";
        position: absolute;
        z-index: -1;
        width: 1rem;
        height: 1rem;
        background: #000;
        top: -0.375rem;
        left: 1.8rem;
        -webkit-transform: rotate( 45deg );
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        background: inherit;
        border-radius: .125rem;
        border-width: 1px 0 0 1px;
        border-style: solid;
        border-color: var(--falcon-dropdown-border-color);
        -webkit-box-shadow: var(--falcon-box-shadow-sm);
        box-shadow: var(--falcon-box-shadow-sm);
    }*/

.nav-item-notification .dropdown-toggle::after {
    display: unset;
    margin-right: unset;
    vertical-align: unset;
    content: unset;
    border-top: unset;
    border-left: unset;
    border-bottom: unset;
    border-right: unset;
}

.nav-item-notification .dropdown-menu-end[data-bs-popper] {
    left: -22px;
    right: auto;
}

.notification-count {
    position: absolute;
    font-size: 14px;
    left: 20px;
    top: 0px;
    color: white;
    background-color: #dc3545;
    width: auto;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
}

span.note:hover {
    cursor: help;
    position: relative
}

span.note span {
    display: none
}

span.note:hover span {
    border: #c0c0c0 1px dotted;
    padding: 5px 20px 5px 5px;
    display: block;
    z-index: 100;
    background: url(../images/status-info.png) #f0f0f0 no-repeat 100% 5%;
    left: 0px;
    margin: 10px;
    width: 250px;
    position: absolute;
    top: 10px;
    text-decoration: none
}

.order-image .user-img-larg,
.section-image .user-img-larg {
    display: none;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    bottom: 10px;
    left: 10px;
    margin: auto;
    overflow: auto;
    position: fixed;
    width: auto;
    height: auto;
    right: 10px;
    top: 10px;
    -o-object-fit: contain;
    object-fit: contain;
    z-index: 1500;
}

.order-image > .div-user-img-hover:hover + .user-img-larg {
    display: block;
}

select[readonly] {
    background: #eee;
    pointer-events: none;
    touch-action: none;
}

.swal2-title {
    font-size: 1.25rem;
}

.rz-datepicker-trigger {
    left: 0.625rem;
    right: unset;
}

.customer-deliveries .modal-dialog {
    max-width: 90%;
}

.w-33 {
    width: 33% !important;
}

.cursor-default {
    cursor: default !important;
}

table tbody tr:last-child {
    border-bottom: hidden;
}


.rz-calendar .rz-inputtext {
    min-width: 115px;
    padding-right: 10px;
    padding-left: 1.125rem;
}

.rz-spinner-button {
    left: 2px;
    right: unset;
}

.rz-clear .rz-multiselect-label-container, .rz-clear .rz-dropdown-label {
    padding-left: 2.375rem;
    padding-right: unset;
}

.rz-multiselect-trigger, .rz-dropdown-trigger {
    left: 0px;
    right: unset;
}

.rz-dropdown-clear-icon {
    left: 1.6875rem;
    right: unset;
}

.rz-multiselect-label-container, .rz-dropdown-label {
    padding-right: unset;
    padding-left: 1.1875rem;
}

.rz-spinner {
    height: 26px;
}

    .rz-spinner input[type='number'],
    .rz-spinner input[type='text'] {
        padding: 1px 5px 1px 5px;
        font-size: 16px;
    }

.pagination .form-select {
    border-radius: 0;
}

.blazored-modal {
    max-width: 450px;
}

.table > :not(caption) > * > * {
    background-color: inherit;
}
