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

.search-products ul:not(:empty) {background: #ffffff;border: 1px solid #c2c2c2;border-top: 0;}
.search-products ul {margin: 0;padding: 0;list-style: none none;}
#quickorder-form table td {vertical-align: middle;}
#quickorder-form table td.image .product-image{
    text-align: center;
}
.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: 250px;z-index: 1;margin-left:0px;margin-top: -3px;max-height:350px;overflow-y: auto;}
#quickorder-form .search-products ul {list-style: none;padding-left: 0;border: 1px solid #C2C2C2;margin-bottom: 0;}
#quickorder-form .search-products ul li {cursor: pointer;padding: 10px;margin-bottom: 0;}
.searchproduct {max-width: 250px;max-width: inherit; margin-bottom: 5px;}
table th {text-align: center;}
table th.search {width: 330px;}
table th.qty {width: 54px;}

/*----------------*/
/* NEW CSS
/*----------------*/
.quickorder-index-view .page-title-wrapper .page-title {
    font-family: 'Lato', sans-serif;
    color: #A2C11C;
    font-size: 36px;
}
.quickorder-items td, .quickorder-items th {border: 1px #d5d5d5 solid;}
.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-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: #a2c11c;color: #fff; text-transform: uppercase}

#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;}
#addNewRow,
.button.show-result,
button.button,
.action.primary.add-to-cart {
    white-space: nowrap;
    text-transform: uppercase;
}

.quickorder-row td.search-item .search-wrapper{
    position: relative;
    min-width: 100px;
}

.quickorder-row td.search-item #search_products{
    top: 34px;
}
@media all and (max-width: 767px) {
    #quickorder-form {
        overflow-x: auto;
    }
    #quickorder-form::-webkit-scrollbar-track {
        background-color: #c9c8c8;
        border-radius: 3px;
    }
    #quickorder-form::-webkit-scrollbar {
        height: 5px;
        background-color: #c9c8c8;
        border-radius: 3px;
    }
    #quickorder-form::-webkit-scrollbar-thumb {
        background-color: #7f7f7f;
        border-radius: 3px;
    }
    #addNewRow,
    .action.primary.add-to-cart {
        white-space: nowrap;
    }
}
