﻿@import url(https://winsource.oss-cn-shenzhen.aliyuncs.com/fontawesome/css/all.css);

.col-md-9.customer-autocomplete span.k-widget.k-autocomplete.k-header.k-autocomplete-clearable.k-state-default {
    width: 50%;
    margin-left: 10px;
    border: 1px solid #ccc;
}

.navbar.navbar-inverse.navbar-fixed-top {
    background-color: rgb(255, 255, 255)
}

    .navbar.navbar-inverse.navbar-fixed-top .container-fluid.logo-user .navbar-header.logo a.navbar-brand.logo-image {
        background: url(../Content/Images/win-source_logo.png) no-repeat;
        background-size: contain;
        display: block;
        width: 90%;
        text-indent: +85px;
        margin-top: 20px;
        margin-left: 7px;
    }

    .navbar.navbar-inverse.navbar-fixed-top .container-fluid.logo-user .navbar-collapse.collapse.user {
        float: right;
        margin-right: 5px;
    }

.container-fluid.logo-user {
    /*    margin-bottom: 20px;*/
    padding-right: 3px;
    padding-left: 3px;
}

span.logout {
    float: right;
}

ul.nav.navbar-nav li {
    border: 1px solid;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
    color: rgb(0, 0, 0);
    background-color: transparent;
}

.navbar-inverse .navbar-nav > li > a {
    color: rgb(0, 0, 0);
}

.navbar-inverse .navbar-brand {
    color: rgb(0, 0, 0);
}

.navbar-inverse {
    background-color: #222;
    border: none;
}

    .navbar-inverse .navbar-nav > li > a:hover,
    .navbar-inverse .navbar-nav > li > a:focus {
        color: rgb(0, 0, 0);
        background-color: transparent;
        text-decoration: underline;
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 18px;
    /*125px;*/
    /*65px;*/
}

input#Customers {
    border: 0.5px solid rgb(128, 122, 122);
}

textarea#DelimiterBasedModel_RawQuotation {
    width: 100%;
    max-width: 100%;
}

/*input#Customers {
    width: 160%;
}*/

span.k-widget.k-autocomplete.k-header.k-autocomplete-clearable.k-state-default {
    /*width: 23%;*/
    width: 80%;
}

label.k-checkbox-label {
    top: 9px;
}

.error-header {
    text-align: center;
    color: rgb(255, 0, 0);
    margin: 0 0 15px;
}

table.quotation.table {
    margin: 15px 0px 0px;
}

.change-background {
    background-color: #f1f1f1 !important;
    /*#fc3030 !important;*/
}

.stock-preparation-status-preparation-pending,
.stock-preparation-status-备货待审,
.stock-preparation-status-reservation-pending,
.stock-preparation-status-留货待审,
.order-preparation-status-opportunity,
.order-preparation-status-有成单机会 {
    white-space: nowrap;
    background-color: green;
    border: 1px solid green;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.stock-preparation-status-preparation-approved,
.stock-preparation-status-reservation-approved,
.stock-preparation-status-备货已审,
.stock-preparation-status-留货已审 {
    white-space: nowrap;
    background-color: blue;
    border: 1px solid blue;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.stock-preparation-status-order-cancelled,
.stock-preparation-status-订单已取消,
.order-preparation-status-order-cancelled,
.order-preparation-status-订单已取消 {
    white-space: nowrap;
    background-color: red;
    border: 1px solid red;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.stock-preparation-status-store-preparing,
.stock-preparation-status-备货处理中 {
    white-space: nowrap;
    background-color: #ffbb00;
    border: 1px solid #ffbb00;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.stock-preparation-status-reservation-in,
.stock-preparation-status-留货处理中 {
    white-space: nowrap;
    background-color: #d02552;
    border: 1px solid #d02552;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.stock-preparation-status-reservation-confirmed,
.stock-preparation-status-已留货 {
    white-space: nowrap;
    background-color: #CB8C1D;
    border: 1px solid #CB8C1D;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.stock-preparation-status-order-ready,
.stock-preparation-status-完成备货 {
    white-space: nowrap;
    background-color: #D05A00;
    border: 1px solid #D05A00;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.stock-preparation-status-pending-store,
.stock-preparation-status-备货待处理 {
    white-space: nowrap;
    background-color: #70AB8F;
    border: 1px solid #70AB8F;
    border-radius: 23px;
    width: 86%;
    text-align: center;
    color: white;
    padding: 10px;
}

.k-button {
    margin: 2px;
}

.fixed-buttons {
    position: fixed;
    width: 100%;
    z-index: 888;
    background-color: white;
    display: inline-block;
}

.fill-space {
    width: 100%;
    position: fixed;
    background-color: rgb(255, 255, 255);
    z-index: 111;
}

.space-position-super {
    height: 51px;
}

.space-position {
    height: 53px;
}

.fixed-table {
    position: relative;
}

#logoutForm {
    margin-right: 10px;
}

.module-icons img {
    margin: 2px;
}

.k-widget.k-window.k-dialog.k-confirm {
    width: 17% !important;
}

/*increase size color-profile check box*/
.k-grid input[type=checkbox],
.k-grid #master-checkbox {
    width: 15px;
    height: 15px;
}

/*increase size of the arrow*/
.k-icon.k-i-expand,
.k-icon.k-i-collapse {
    font-size: 30px !important;
}

.buttonsArea > h2 {
    margin: 5px;
    font-size: 25px;
    width: max-content;
}

.actionButtons > button {
    font-size: 12px;
}

.buttonsArea.fixed-buttons {
    display: flex;
    padding: 5px 0px 5px 0;
    left: 0px;
    padding-left: 15px
}

.filterArea {
    margin-left: 0px;
    padding-right: 35px;
    padding-bottom: 15px;
    position: fixed;
    background-color: #fff;
    width: 100%;
    z-index: 1;
    left: 0px;
    padding-left: 15px
}

hr {
    margin: 5px 0 5px 0;
}

/*==================================*/
.customer-name {
    display:block;
    width: 20ch;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.ws-nowrap {
    white-space: nowrap;
}

.label-value {
    background-color: aliceblue;
    color: black;
    padding: 0 4px;
    border-radius: 5px;
}

.urgent {
    color: #db4b12;
    /* red;*/
    font-size: 15px;
}

    .urgent .k-checkbox-label:before {
        border-color: #db4b12;
    }

    .urgent .k-checkbox:checked + .k-checkbox-label:before {
        border-color: #db4b12;
        background-color: #db4b12;
    }

.pr-0 {
    padding-right: 0;
}

.pl-0 {
    padding-left: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.mr-0 {
    margin-right: 0;
}

.ml-0 {
    margin-left: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/**Dashboard**/
.dashboard {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.btn-dashboard {
    min-width: 260px;
    padding: 3rem 2rem;
}

/**Kendo Buttons**/
.k-danger {
    background-color: #d91111;
    border-color: #ca4545;
}

    .k-danger:hover,
    .k-danger:active {
        background-color: #ca4545;
        border-color: #ca4545;
    }

.k-success {
    background-color: #1cc730;
    border-color: #48ca57;
}

    .k-success:hover,
    .k-success:active {
        background-color: #48ca57;
        border-color: #48ca57;
    }

.k-info {
    background-color: #2ba3c4;
    border-color: #54bad6;
}

    .k-info:hover,
    .k-info:active {
        background-color: #54bad6;
        border-color: #54bad6;
    }

/**Quotation Table Buttons**/
button#urgent-quotations {
    background-color: #db4b12;
    border-color: #d67650;
}

    button#urgent-quotations:hover,
    button#urgent-quotations:active {
        background-color: #d67650;
        border-color: #d67650;
    }

button#order-quotations {
    background-color: #91c71c;
    border-color: #a4ce4a;
}

    button#order-quotations:hover,
    button#order-quotations:active {
        background-color: #a4ce4a;
        border-color: #a4ce4a;
    }

button#addto-Opportunities {
    background-color: #416cd1;
    border-color: #5b7fd2;
}

    button#addto-Opportunities:hover,
    button#addto-Opportunities:active {
        background-color: #5b7fd2;
        border-color: #5b7fd2;
    }

/*color for different batch*/
.batch-one {
    background-color: #e7e9ff !important;
    /*#94edff !important;*/
}

.batch-two {
    background-color: #fff !important;
    /*#ebbcc7 !important;*/
}

.batch-three {
    background-color: #e7e9ff !important;
    /*#e4ff94 !important;*/
}

.batch-four {
    background-color: #fff !important;
    /*#ffd494 !important;*/
}

.batch-five {
    background-color: #e7e9ff !important;
    /*#d494ff !important;*/
}

.Preparation-Pending {
    background-color: #f79a23 !important;
}


.Preparation-Approved {
    background-color: #bae8f8 !important;
}

.Pending-Store-Ack-Pre-has-preparing {
    background-color: #f7e3c8 !important;
}

.Store-Preparing {
    background-color: #d1d1f5 !important;
}

.Order-Ready {
    background-color: #e7ffc1 !important;
}

.Order-Ready-notallready {
    background-color: rgb(217 83 79) !important;
    color: #fff;
}

.Cancelled {
    background-color: #ff0303 !important;
    color: #fff;
}

#purchase-order-grid > table {
    border-collapse: collapse;
}

.selected {
    background-color: #fff7ca !important;
    color: black;
}

.purchase-order-color-index-wrapper {
    display: flex;
    flex-direction: row;
    position: relative;
    bottom: -110px;
}

.color-index-item {
    display: flex;
}

    .color-index-item > .index {
        width: 50px;
        height: 20px;
        margin-right: 10px;
    }

.notallorder-ready > .index {
    background-color: rgb(217 83 79);
}

.allorder-ready > .index {
    background-color: #e7ffc1;
    margin-left: 10px;
}

.supplier-price-tab {
    font-weight: bold;
    font-stretch: expanded;
    color: aquamarine;
}

.sales-remark {
    padding: 10px;
    margin-left: 20px;
    background-color: #fff;
    color: red;
    border-radius: 5px;
}

/*Task #5083*/
:root {
    --star-size: 30px;
    --star-color: #ccc;
    --star-background: #fc0;
}

.Stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
    text-align: center;
}

.rating-value {
    font-size: 14px;
    font-weight: bold;
    font-family: Helvetica Neue;
}

.Stars::before {
    content: "★★★★★";
    letter-spacing: 0px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-value {
    text-align: center;
    width: 100%;
}

.rating {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}

    .rating > input {
        display: none;
    }

    .rating > label {
        cursor: pointer;
        width: 30px;
        height: 30px;
        margin-top: auto;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 76%;
    }

    .rating > input:checked ~ label,
    .rating > input:checked ~ label ~ label {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
    }


    .rating > input:not(:checked) ~ label:hover,
    .rating > input:not(:checked) ~ label:hover ~ label {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
    }


.rate {
    display: inline-block;
    border: 0;
}

    .rate > input {
        display: none;
    }

    .rate > label {
        float: right;
        color: #e3e3e3;
    }

        .rate > label:before {
            display: inline-block;
            font-size: 22px;
            margin: 0;
            cursor: pointer;
            font-family: 'Font Awesome 5 Free';
            content: "\f005 ";
            margin: 0 5px;
        }


    .rate .half:before {
        content: "\f089 ";
        position: absolute;
        padding-right: 0;
        overflow:hidden;
        width:12px;
    }

    .rate label:nth-child(18):hover ~ label,
    .rate label:nth-child(18):hover,
    .rate label:nth-child(20):hover,
    .rate input:nth-child(19):checked ~ label {
        color: #FF3722
    }

    .rate input:nth-child(17):checked ~ label {
        color: #FF3722
    }

    .rate label:nth-child(16):hover ~ label,
    .rate label:nth-child(14):hover ~ label,
    .rate label:nth-child(16):hover,
    .rate label:nth-child(14):hover,
    .rate input:nth-child(15):checked ~ label,
    .rate input:nth-child(13):checked ~ label {
        color: #FF8622
    }

    .rate label:nth-child(12):hover ~ label,
    .rate label:nth-child(10):hover ~ label,
    .rate label:nth-child(12):hover,
    .rate label:nth-child(10):hover,
    .rate input:nth-child(11):checked ~ label,
    .rate input:nth-child(9):checked ~ label {
        color: #FFCE00
    }

    .rate label:nth-child(8):hover ~ label,
    .rate label:nth-child(6):hover ~ label,
    .rate label:nth-child(8):hover,
    .rate label:nth-child(6):hover,
    .rate input:nth-child(7):checked ~ label,
    .rate input:nth-child(5):checked ~ label {
        color: #73CF11
    }

    .rate label:nth-child(4):hover ~ label,
    .rate label:nth-child(2):hover ~ label,
    .rate label:nth-child(4):hover,
    .rate label:nth-child(2):hover,
    .rate input:nth-child(3):checked ~ label,
    .rate input:nth-child(1):checked ~ label {
        color: #00B67A
    }



a.reviewr-link {
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    background-color: aliceblue;
}

    a.reviewr-link:hover {
        background-color: azure;
    }

#SupplierGrid th {
    text-align: center;
}

.suplierBtn {
    font-size: 12px;
}

.svg-rating-wrapper {
    text-align: center;
}

.unseenrecords {
    background-color: #db4b12;
    padding: 0 4px;
    border-radius: 50%;
    font-weight: 700;
    color: white;
    margin-left: 2px;
}

.k-content.k-state-active input#MarketRequirement {
    width: 100px;
}
.k-content.k-state-active input#Encapsulation {
    width: 150px;
}
.k-content.k-state-active input#Quantity {
    width: 110px;
}
.k-content.k-state-active input#Year {
    width: 70px;
}
.k-content.k-state-active input#Delivery {
    width: 70px;
}

.loader {
    width: 40px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(circle closest-side,#000 90%,#0000);
    background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
    background-size: calc(100%/3) 100%;
    animation: l7 1s infinite linear;
}

@keyframes l7 {
    33% {
        background-size: calc(100%/3) 0%,calc(100%/3) 100%,calc(100%/3) 100%
    }

    50% {
        background-size: calc(100%/3) 100%,calc(100%/3) 0%,calc(100%/3) 100%
    }

    66% {
        background-size: calc(100%/3) 100%,calc(100%/3) 100%,calc(100%/3) 0%
    }
}

.k-filter-row > th:first-child, .k-grid tbody td:first-child, .k-grid tfoot td:first-child, .k-grid-header th.k-header:first-child {
    padding: 5px;
    text-align: center;
}

/* 移除点击聚焦默认黑框（弹窗等未加载 Modern 主题时） */
:focus,
:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
}

a:focus,
a:active,
button:focus,
button:active,
.btn:focus,
.btn:active:focus {
    outline: none !important;
    -webkit-focus-ring-color: transparent !important;
}
    /*text-align: center;*/
}