/**
 * @author Evince Team
 * @copyright Copyright (c) 2018 Evince (http://evincemage.com/)
 */

 .search-products ul:not(:empty) {
    background: #ffffff;
    border-top: 0;
}

.search-products ul {
    margin: 0;
    padding: 0;
    list-style: none none;
}

#quickorder-form table td {
    vertical-align: middle;
    padding: 7px 6px;
}

#quickorder-form table td.qty {
    padding-left: 45px;
}

.search-products ul li:first-child {
    border-top: none;
}

.search-products ul li {
    border-top: 1px solid #e5e5e5;
    cursor: pointer;
    margin: 0;
    padding: 5px 40px 5px 10px;
    position: relative;
    text-align: left;
    white-space: normal;
}

#quickorder-form .search-products {
    position: absolute;
    background-color: #fff;
    width: 100%;
    z-index: 1;
    border-radius: 15px;
    box-shadow: 0px 4px 12px 0px #4D4D4D40;
    margin-top: 8px;
    overflow: hidden;
    max-height: 350px;
}

#quickorder-form .search-products ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    max-height: 320px;
    overflow: auto;
    padding: 8px;
}

#quickorder-form .search-products ul li {
    cursor: pointer;
    padding: 10px;
    margin-bottom: 0;
}

#quickorder-form .search-products ul li:hover{
    background: aliceblue;
    border-radius: 10px;
}

.searchproduct {
    max-width: 250px;
}

table th {
    text-align: center;
}

table th.search {
    width: 330px;
}

table th.qty {
    width: 54px;
}

.name_sku .search-col {
    position: relative;
}

/*----------------*/
/* NEW CSS
 /*----------------*/

.quickorder-items td,
.quickorder-items th {
    border-right: 1px #d5d5d5 solid;
    border-bottom: 1px solid #d5d5d5;
}

.quick-order-form .search-loader {
    background: url(../images/ajax-loading.gif) no-repeat 98% center;
    padding-right: 32px;
}

.quick-order-form .searchproduct:focus {
    outline: none !important;
    box-shadow: none;
}

.quick-order-form button {
    vertical-align: top
}

.quickorder-items td:last-child,
.quickorder-items th:last-child {
    border-right: 0;
}

.quickorder-items th:last-child {
    border-top-right-radius: 5px;
}

.quickorder-items th:first-child {
    border-top-left-radius: 5px;
}

#quickorder-form .search-products .product-image {
    display: inline-block;
    width: 50px;
    margin-right: 10px;
    vertical-align: top;
}

#quickorder-form .search-products .info {
    width: calc(100% - 66px);
    display: inline-block;
    color: #233;
    vertical-align: top;
}

#quickorder-form .search-products .product-sku {
    color: #1979c3;
}

#product-option-popup .product-image {
    float: left;
    width: 265px;
    margin-right: 30px;
}

#product-option-popup .product-name,
#product-option-popup .product-add-form {
    float: left;
    width: calc(100% - 300px);
    clear: right;
    padding-left: 3px;
}

#product-option-popup .product-add-form {
    max-height: 380px;
    overflow-y: auto;
}

#product-option-popup .product-name .product.name {
    font-size: 20px;
    text-transform: uppercase;
}

#product-option-popup .nested.options-list .product-name {
    float: none;
    width: 100%;
    clear: none;
}

#product-option-popup .product-add-form .qty.qty-holder {
    margin-top: 10px;
}

#product-option-popup .product-add-form .qty.qty-holder .control {
    width: 60px;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

#product-option-popup .product-add-form .qty.qty-holder .label {
    font-weight: bold;
}

#product-option-popup .product-add-form .field.option {
    border-bottom: 1px #ddd solid;
    padding-bottom: 15px;
    margin-bottom: 15px;
    width: 95%;
}

#quickorder-form .options ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

#quickorder-form .options ul li {
    padding-left: 0;
    margin-bottom: 2px;
}

#quickorder-form table td.product-data .name a {
    font-weight: bold;
}

#quickorder-form .options ul li .label {
    font-weight: bold;
}

#quickorder-form table td.sub-total,
#quickorder-form .price .price,
#quickorder-form .price {
    font-weight: bold;
    color: #1979c3;
    font-size: 16px;
}

#product-option-popup .price-container .price {
    font-size: 19px;
    font-weight: bold;
    color: #1979c3;
}

#product-option-popup .price-notice .price-container .price {
    font-size: 14px;
}

#product-option-popup .fieldset {
    margin-bottom: 0px;
}

#product-option-popup .table.grouped .col {
    border: 1px #ddd solid;
    padding: 10px 20px;
}

#product-option-popup .table.grouped .col.item {
    text-align: left;
}

#product-option-popup .table.grouped th.col {
    border-bottom: 0;
}

.quickorder-index-view .modal-popup._inner-scroll .modal-inner-wrap {
    max-width: 950px;
}

#product-option-popup .table-wrapper.grouped {
    width: auto;
    max-height: 280px;
    overflow-y: auto;
}

._keyfocus *:focus {
    box-shadow: none;
}

.quickorder-items th {
    background-color: #1979c3;
    color: #fff;
}

#product-option-popup .product-options-bottom {
    margin-top: 15px;
}

#product-option-popup .product-options-wrapper .field.choice {
    width: 100%;
    margin-bottom: 5px;
}


#product-option-popup .product-options-wrapper .field.textarea,
#product-option-popup .product-options-wrapper .field.file,
#product-option-popup .product-options-wrapper .field.date {
    width: 100%;
}

#product-option-popup .product-options-wrapper .field {
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

#product-option-popup .product-options-wrapper .field .field {
    width: 100%;
}

._keyfocus *:focus,
input:not([disabled]):focus,
textarea:not([disabled]):focus,
select:not([disabled]):focus {
    box-shadow: none
}

div#validation-message-box {
    margin-bottom: 10px;
}

input.input-text.qty {
    text-align: center;
}


.quickorder-form .upload-csv {
    position: relative;
    border-radius: 3px;
}

.quickorder-form .upload-csv .csv-upload {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    cursor: pointer;
    height: 100%;
    opacity: 0;
}

.quickorder-form table {
    table-layout: fixed;
    white-space: normal;
    word-break: break-all;
    border: 1px solid #d5d5d5;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 5px;
}

.quickorder-form table .col.product {
    min-width: 360px;
    box-sizing: border-box;
    width: 300px;
}

.quickorder-form table .col.sub-total {
    width: 90px;
}

.quickorder-form table .edit,
.quickorder-form table .clear {
    text-align: center;
}

.quickorder-form table tfoot td:not(:first-child) {
    text-align: center;
}

.quickorder-form table .image {
    text-align: center;
    width: 120px;
    box-sizing: border-box;
}



/*Quick Order*/
.quickorder-index-view .quick-order-form div#global-search-section {
    margin-bottom: 20px;
}

.quickorder-index-view .quickorder-form .actions-primary {
    margin-top: 15px;
    border-top: 0;
    text-align: right;
    padding: 6px 8px;
    border-radius: 5px;
    display: flex;
    gap: 10px;
    justify-content: end;
}

.quickorder-index-view .upload-section {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* width: 80%; */
    margin: 18px auto 30px auto;
}

.quickorder-index-view .upload-section .title {
    color: #bf2f2e;
    font-size: 16px;
    flex: 50%;
    max-width: 50%;
}

.quickorder-index-view .upload-section .sample-note {
    flex: 50%;
    text-align: right;
    font-size: 16px;
    color: #bf2f2e;
}

.quickorder-index-view .upload-section .sample-note a {
    color: #019ce0;
    font-weight: bold;
}

.quickorder-index-view .upload-section .action.primary.button.upload-csv {
    max-width: 100%;
    flex: 100%;
    background: #1c9bd4;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
    margin-top: 8px;
    margin-bottom: 30px;
}

.quickorder-index-view .quick-order-form div#global-search-section label {
    color: #bf2f2e;
    font-size: 17px !important;
    padding-bottom: 7px;
    display: block;
}

.quickorder-index-view .quickorder-form table .col.sub-total {
    width: 123px;
}

.quickorder-index-view .quickorder-items th {
    background-color: #1c9bd4;
    font-weight: 500 !important;
}

.quickorder-index-view table th.qty {
    width: 95px;
}

.quickorder-index-view .input-increment {
    text-align: center;
    position: relative;
    width: 140px;
    margin: auto;
}

.quickorder-index-view input.input-text.qty[type="number"] {
    text-align: center;
    width: 40px;
    margin: 0 17px;
}

.quickorder-index-view .add-to-cart-quantity-button.quantity-up {
    position: absolute;
    right: 0;
    top: 1px;
    font-size: 21px;
    width: 40px;
    background: rgb(28 155 212);
    color: #ffffff;
    cursor: pointer;
    height: 36px;
    line-height: 36px;
}

.add-to-cart-quantity-button.quantity-down {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 30px;
    width: 40px;
    background: rgb(28 155 212);
    color: #ffffff;
    cursor: pointer;
    height: 36px;
    line-height: 36px;
}

/* .quickorder-index-view .quickorder-items+.actions-primary .action.primary.add-to-cart:before {content: "\f07a"; font: normal normal normal 17px/1 FontAwesome; margin-right: 3px; } */
/* .quickorder-index-view .quickorder-items+.actions-primary #addNewRow::before {content: "+"; font-size: 22px; vertical-align: top; margin-top: -1px; display: inline-block; } */
.quickorder-index-view main#maincontent {
    max-width: 900px;
    margin: auto;
}

.quickorder-index-view table th.search {
    width: 60%;
}

.quickorder-index-view table th.qty {
    width: 20%;
}

.quickorder-index-view table .col.clear {
    width: 10%;
}

.search-col input {
    width: 100% !important;
    max-width: 100%;
}

.quickorder-index-view #quickorder-form table td.clear button.button {
    border: 0 !important;
    background: 0 0;
    font-weight: 500;
    font-size: 22px !important;
    color: #707070 !important;
    text-transform: uppercase;
    min-width: 14px;
    position: relative;
    line-height: .5;
    height: 40px;
    padding: 0 !important;
}


.header-middle .middle-content .row .header-middle-right .header-quickorder .fa.fa-bolt {
    color: #707070 !important;
    text-transform: uppercase;
    border-radius: 31px;
    min-width: 14px;
    position: relative;
    line-height: 36px;
    height: 36px;
    width: 36px;
    border: 1px solid #cdcdcd !important;
    display: inline-block;
    text-align: center;
    font-size: 20px;
    vertical-align: middle;
    top: -8px;
    position: relative;
}

.header-middle .middle-content .row .header-middle-right .header-quickorder .link-quick {
    width: 44px;
    word-break: break-all;
    display: inline-block;
    line-height: 1.2;
    font-weight: 600;
    color: #ed3338;
}

.header-middle .middle-content .row .header-middle-right .header-box-wrapper {
    float: right;
    position: relative;
    padding-left: 90px;
}

.header-middle .middle-content .row .header-middle-right .header-quickorder {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 9px;
}

@media only screen and (max-width:1023px) {
    #quickorder-form table td.qty {
        padding-left: 0px;
    }
}
@media only screen and (max-width:767px) {

    .quickorder-index-view table th.search {
        width: 42%;
    }

    .quickorder-index-view .add-to-cart-quantity-button.quantity-up,
    .add-to-cart-quantity-button.quantity-down {
        width: 22px;
    }

    .quickorder-index-view .input-increment {
        width: 95px;
    }

    .quickorder-form table .clear .button {
        padding: 0 !important;
        background: transparent;
        color: black !important;
    }

    .quickorder-index-view table th.qty {
        width: 25%;
    }

    .quickorder-index-view #quickorder-form table td.clear button.button {
        height: 28px;
        width: 28px;
        border: 0 !important;
    }
    .quickorder-index-view .upload-section{
        flex-direction: column;
    }
    .quickorder-index-view .upload-section .title{
        margin: 0 auto;
    }
    .quickorder-index-view .upload-section .sample-note{
        text-align: center;
    }
    .quickorder-index-view .quickorder-form .actions-primary{
        flex-wrap: wrap;
    }
    #quickorder-form .search-products{
        width: 171%;
    }
}

/***
 SCAN POPUP
 **/

body #popup_box {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 999;
    margin: auto;
    display: flex;
    align-items: top;
    background: rgb(0 0 0 / 50%);
    box-shadow: none;
    border: 0;
}

.popup--inner--RMA {
    max-width: 700px;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.popup--inner--Main {
    width: 100%;
    margin-top: 5%
}

.popup--inner--RMA>h2 {
    color: #1d9cd6 !important;
    font-weight: bold !important;
    text-transform: uppercase;
    border-bottom: 1px solid gainsboro;
    margin-bottom: 15px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 8px;
    font: 400 16.66666667px 'Open Sans', sans-serif;
}

#popup_box #popupBoxClose {
    font-size: 34px;
    line-height: 15px;
    right: 13px;
    top: 14px;
    position: absolute;
    color: #000;
    font-weight: 300 !important;
    transform: rotate(45deg);
    text-decoration: none;
    cursor: pointer;
}

.popup--inner--RMA h2+p {
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
}

.popup--inner--RMA .input-scaner input::placeholder {
    color: #000 !important;
    font-size: 13px;
    opacity: 0.5;
}

.popup--inner--RMA .input-scaner input {
    width: 100%;
    border: 0 !important;
    background: rgb(81 179 223 / 20%) !important;
    color: #000 !important;
    border-radius: 4px !important;
    padding: 6px;
}

.popup--inner--RMA #productmsg {
    font-size: 12px;
    color: #000;
    padding: 8px;
    margin: 5px 0 0 0;
    border-radius: 4px;
}

/*tabs modal*/

/* Style the tab */
.popup--inner--RMA .tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;

}

/* Style the buttons inside the tab */
.popup--inner--RMA .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 20px;
    transition: 0.3s;
    font-size: 13px;
    color: #000;
    border-bottom: 2px solid transparent;
}


.popup--inner--RMA .tab button.tablinks.active {
    border-bottom: 2px solid #1d9cd6;
    color: #1d9cd6;
}

/* Style the tab content */
.popup--inner--RMA .tabcontent {
    display: none;
    padding: 25px 0;
    border: 0;
    border-top: none;
}

/*.nav
 {
     display: block !important;
     background: none !important;
     border-top: none !important;
 }*/

.nav-tabs {
    border-bottom: 1px solid #DDDDDD;
}

.nav-tabs>li {
    float: left;
    margin-bottom: -1px;
}

.nav-tabs>li>a {
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px 4px 0 0;
    line-height: 1.42857;
    margin-right: 2px;
}

.nav-tabs>li>a:hover {
    border-color: #EEEEEE #EEEEEE #DDDDDD;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: #DDDDDD #DDDDDD rgba(0, 0, 0, 0);
    border-image: none;
    border-style: solid;
    border-width: 1px;
    color: #555555;
    cursor: default;
}

.nav-tabs.nav-justified {
    border-bottom: 0 none;
    width: 100%;
}

.nav-tabs.nav-justified>li {
    float: none;
}

.nav-tabs.nav-justified>li>a {
    margin-bottom: 5px;
    text-align: center;
}

.nav-tabs.nav-justified>.dropdown .dropdown-menu {
    left: auto;
    top: auto;
}

/* 16-08-2021 */
.quickorder-index-view #popup_box .popup--inner--RMA .nav-tabs {
    border-bottom: 1px solid #DDDDDD;
    padding: 0;
    background: none !important;
    border-top: none !important;
}

.quickorder-index-view #popup_box .popup--inner--RMA .nav-tabs>li {
    float: left;
    margin-bottom: -1px;
    margin: 0;
    padding: 7px 18px 10px 18px;
    cursor: pointer;
}

.quickorder-index-view #popup_box .popup--inner--RMA .nav-tabs>li.active a {
    color: #1d9cd6;
}

.quickorder-index-view #popup_box .popup--inner--RMA .nav-tabs>li>a,
.popup--inner--RMA .nav-tabs>li.active>a:hover,
.popup--inner--RMA .nav-tabs>li.active>a:focus {
    color: #000;
    cursor: pointer;
    background-color: transparent !important;
    border: 0;
    border-bottom-color: transparent;
    font-size: 15px;
}

.quickorder-index-view #popup_box .popup--inner--RMA #my-tab-content {
    margin-top: 18px;
}

.quickorder-index-view #popup_box .popup--inner--RMA .nav-tabs>li.active {
    border-bottom: 2px solid #1d9cd6;
}

.quickorder-index-view #popup_box #my-tab-content p {
    font-size: 15px;
    color: #41362f;
    font-weight: 400;
    line-height: 1.36;
    margin: 0 0 0.5em;
}

.quickorder-index-view #popup_box .popup--inner--RMA #productmsg {
    font-size: 12px;
    color: #000;
    padding: 8px;
    margin: 5px 0 0 0;
    border-radius: 4px;
}

/* .quickorder-index-view .custom-scan-quick-order::before{
     content: '';
     background-image: url('../images/Q59LRmI.png');
     position: absolute;
     width: 16px;
     height: 16px;
     background-repeat: no-repeat;
     left: 3px;
     top: 8px;
 } */
.quickorder-index-view #custom_productlist {
    width: 660px !important;
    background: #fff !important;
    margin-top: 2px !important;
    max-height: 265px !important;
    border-radius: 4px;
    padding-top: 0 !important;
}

.quickorder-index-view #custom_productlist ul li {
    border: 0;
}

.quickorder-index-view #custom_productlist ul li:hover,
.quickorder-index-view #custom_productlist ul li.selected {
    background: rgb(81 179 223 / 20%);
}

.quickorder-index-view #custom_productlist .product-info {
    border-bottom: 1px solid #d5d5d5;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 0;
}

.quickorder-index-view #custom_productlist .product-info .product-image {
    display: inline-block;
    width: 50px;
    margin-right: 10px;
    vertical-align: top;
}

.quickorder-index-view #custom_productlist .product-info .info {
    width: calc(100% - 66px);
    display: inline-block;
    color: #233;
    vertical-align: top;
    padding-left: 15px;
}

.quickorder-index-view #custom_productlist .product-info .product-image img {
    width: 75%;
}

.quickorder-index-view #custom_productlist .product-info .info .product-sku,
.quickorder-index-view #custom_productlist .product-info .info .product-price {
    color: #1979c3;
}

.quickorder-index-view #custom_productlist .product-info .info .product-sku .type {
    font-weight: 500;
    margin-right: 5px;
}

.quickorder-index-view .quick-order-form .search-col input,
.quickorder-index-view .quick-order-form input.input-text.qty[type="number"],
.quickorder-index-view .quick-order-form .add-to-cart-quantity-button.quantity-down,
.quickorder-index-view .quick-order-form .add-to-cart-quantity-button.quantity-up,
.quickorder-index-view .quick-order-form .actions-primary button {
    /* border-radius: 5px; */
}

@media only screen and (max-width:767px) {
    .quickorder-index-view #popup_box .popup--inner--Main {
        margin: 12% auto;
    }

    .quickorder-index-view #popup_box .popup--inner--Main .popup--inner--RMA {
        max-width: 500px;
    }

    .quickorder-index-view #custom_productlist {
        width: 460px !important;
    }
}

@media only screen and (max-width: 639px) {
    .quickorder-index-view .upload-section .title{
        max-width: 100%;
    }
    .quickorder-index-view .upload-section .sample-note{
        font-size: 14px;
    }
    .quickorder-index-view table th.qty{
        width: 20%;
        padding: 0px;
    }
    .quickorder-index-view table .col.clear{
        width: 8%;
    }
    .quickorder-index-view #quickorder-form table td.clear button.button{
        width: 20px;
        height: 20px;
    }
    .quickorder-index-view #maincontent{
        background-size: auto;
        padding-top: 30px;
    }
}
@media only screen and (max-width: 575px) {
    .quickorder-index-view #popup_box .popup--inner--Main .popup--inner--RMA {
        max-width: 390px;
    }

    .quickorder-index-view #custom_productlist {
        width: 350px !important;
    }
}

@media only screen and (max-width: 400px) {
    .quickorder-index-view #popup_box .popup--inner--Main .popup--inner--RMA {
        max-width: 310px;
    }

    .quickorder-index-view #popup_box .popup--inner--RMA>h2 {
        font: 400 12.66666667px 'Open Sans', sans-serif;
    }

    .quickorder-index-view #popup_box .popup--inner--RMA .nav-tabs>li>a,
    .popup--inner--RMA .nav-tabs>li.active>a:hover,
    .popup--inner--RMA .nav-tabs>li.active>a:focus {
        font-size: 12px;
    }

    .quickorder-index-view #popup_box #my-tab-content p {
        font-size: 12px;
    }

    .quickorder-index-view #popup_box .popup--inner--RMA .input-scaner input {
        font-size: 12px;
    }

    .quickorder-index-view #custom_productlist {
        width: 270px !important;
    }

    .quickorder-index-view #custom_productlist .product-info .info {
        width: calc(100% - 58px);
        padding-left: 0;
        font-size: 12px;
    }

    .quickorder-index-view #custom_productlist .product-info .product-image {
        margin-right: 0;
    }
}

/* 09-11-2021  popup issue*/
.quickorder-index-view .header-container.header-style-9 {
    z-index: 2;
}

.quickorder-index-view .footer.footer-wrapper {
    z-index: 0;
}

.quickorder-index-view .footer-newsletter {
    z-index: 1;
}

.quickorder-index-view .page-main {
    position: static;
}
#manual_search_products{
    max-height: 236px;
    overflow: hidden;
    display: block;
    background: #FFFFFF;
    border-radius: 12px;
    margin-top: 5px
}
#manual_search_products .modal-maula-list{    
    width: 100%;
    overflow: auto;
    max-height: 236px;
    border: 1px solid #4D4D4D40;
    border-radius: 13px;
}
#manual_search_products .modal-maula-list li:hover{
    background-color: aliceblue;
}
#manual_search_products .modal-maula-list li .product-info{
    display: flex;
    gap: 20px;
}   
#manual_search_products .modal-maula-list li .product-info .product-image{
    width: 95px;
}
#manual_search_products .modal-maula-list li .product-info .product-image img{
    height: 100%;
}
#manual_search_products .modal-maula-list li .product-info .content strong{
    font-size: 13px;
}