/**
 * Copyright © 2010-2018 Epicor Software Corporation: All Rights Reserved
 */

.block-masquerade-hide {
    display: none;
}

.page-products .product-items .product-item .product-item-info .product-item-details .price-box .old-price .ecc-uom-grouped{
    display:none;
    visibility: hidden;
    width: 0px;
    height: 0px;
    opacity: 0;
}

.page-products .product-items .product-item .product-item-info .product-item-details .ecc-uom{
    font-weight: 600;
    position: relative;
    bottom: 0px;
    display: inline-block;
}
.page-products .product-items .product-item .product-item-info .product-item-details .ecc-uom.ecc-uom-grouped{
    position: relative;
    bottom: 3px;
    display: inline-block;
}
.page-products .product-items .product-item .product-item-info .product-item-details .ecc-uom .child_uom{
    width: auto;
    display: inline-block;
    font-weight: 600;
    min-width: 50px;
    padding: 0px 20px 0px 5px;
    height: 25px;
}
.product-info-main .product-info-price .price-box .price-container > span.price-wrapper {
    display: inline-block !important;
}
.catalog-product-view .product-info-main .product-info-price .price-box .ecc-uom{
    font-weight: 600;
    display: inline-block;
    position: relative;
    bottom: 1px;
}
.catalog-product-view .product-info-main .product-info-price .price-box .old-price .ecc-uom{

    font-weight: 600;
    display: inline-block;
    position: relative;
    bottom: 0px;
}


/* Table View Start */
.page-products .bulk-all-add {
    margin:0px 0px 25px 10px;
    width: auto;
    float: right;
}

.page-products .bulk-add-to-wrapper{
    margin-bottom: 55px;
    height: 15px;
}
.page-products .box-addtolists.box-addtolists-tbl{
    float: right;
    width: auto;
    margin-top: 0px;
    border: 0px;
}
.page-products .box-addtolists.box-addtolists-tbl .fieldset{
    margin: 0 0 10px;
}
.page-products .product-list-container .modes .mode-table{
    padding: 3.6px 7px;
}
.page-products .product-list-container .modes .mode-table:before{
    content: "\f0ce";
    font: normal normal normal 23px/1 FontAwesome;
}
.page-products .product-list-container-tbl .toolbar.toolbar-products:last-child{
    margin-top: 30px;
}

.page-products .bulk-all-add .bulk-tocart-form{
    text-align: right;
}
.page-products .products-table .product-item.table .product-item .stock-level-table .related-branch-inventory-popup .locations_add_to_cart a{
    background: none;
}
.page-products .products-table .product-item.table .product-item .product-item-inner .hassubscription .subscription-lbl .downspan{
    display: none;
}
.page-products .products-table .product-item.table .product-item .product-item-inner .hassubscription .subscription-lbl {
    background: #e34daf;
    color: #025064;
    position: static;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 5px;
    float: none;
    display: block;
    width: 100px;
    margin: 5px auto;
}
.page-products .products-table .product-item.table .product-item .product_skus{
    width:auto;
    margin-bottom: 5px;
    line-height: 12px;
}
.page-products .products-table .product-item.table .product-item .product-item-inner .field.qty{
    text-align: left !important;
    margin: 0 !important;
}
.page-products .products-table .product-item.table .product-item .product-item-inner .field.qty .qty-box-plus-minus .qty-ctl .btn-qty.plus:after{
    content: "+";
    font-size: 18px;
}
.page-products .products-table .product-item.table .product-item .product-item-inner .field.qty .qty-box-plus-minus .qty-ctl .btn-qty.minus:after{
    content: "-";
    font-size: 18px;
}
.page-products .products-table .product-item.table .product-item .product-item-inner .field.qty .qty-box-plus-minus .qty-ctl .btn-qty{
    padding: 5px 10px 5px;
    width: 30px;
}

.page-products .products-table .product-item.table .product-item .product-item-inner .field.qty .qty{
    width: 60px;
    text-align: center;
    display: inline-block;
    height: 30px;
    position: relative;
    top: 2px;
}
.page-products .products-table .product-item.table .product-item .product-item-inner .field.qty .qty-ctl{
    display: inline-block;
}
.page-products .products-table .product-item.table .product-item .ecc-uom.ecc-uom-grouped .child_uom{
    font-size: 12px;
    padding: 2px 25px 1px 5px;
    height: 24px;
    width: auto !important;
}
.page-products .products-table .product-item.table thead tr th{
    background: #514943;
    border-right: 1px solid #8a837f;
    color:#ffffff;
}
.page-products .products-table .product-item.table thead tr th:last-child{
    border-right: 0px;
}
.page-products .products-table .product-item.table thead tr th.thumbnail, .page-products .products-table .product-item.table tbody tr td.thumbnail{
    border-right: 0px !important;
}
.page-products .products-table .product-item.table tbody tr td{
    border-right: 1px solid #d6d6d6;
    padding: 5px 10px !important;
    min-width: 50px;
    max-width: 180px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    text-align: left;
    vertical-align: top !important;
}
.page-products .products-table .product-item.table tbody tr td.product-item-inner{
    min-width: 135px !important;
}
.page-products .products-table .product-item.table tbody tr td .product-item-name{
    text-align: left;
}
.page-products .products-table .product-item.table tbody tr td .loader{
    position: relative;
}
.page-products .products-table .product-item.table tbody tr td.stock-level-table .product_stock_display{
    display: inline-block;
    vertical-align: top;
}
.page-products .products-table .product-item.table tbody tr td.stock-level-table .locations_add_to_cart,
.page-products .products-table .product-item.table tbody tr td.stock-level-table .related-branch,
.page-products .products-table .product-item.table tbody tr td.stock-level-table .related-branch-inventory-popup{
    margin-left: 5px;
    display: inline-block;
}
.page-products .products-table .product-item.table tbody tr td.stock-level-table .related-branch .locations_add_to_cart,
.page-products .products-table .product-item.table tbody tr td.stock-level-table .related-branch-inventory-popup .locations_add_to_cart{
    margin-left: 0px;
}
.page-products .products-table .product-item.table tbody tr td.stock-level-table .locations_add_to_cart .action-img-link{
    width: 20px;
}
.page-products .products-table .product-item.table tbody tr td.stock-level-table .locations_add_to_cart a.inventory-link,
.page-products .products-table .product-item.table tbody tr td.stock-level-table .locations_add_to_cart a,
.page-products .products-table .product-item.table tbody tr td.stock-level-table .locations_add_to_cart a.inventory-link:hover,
.page-products .products-table .product-item.table tbody tr td.stock-level-table .locations_add_to_cart a:hover{
    background: none !important;


}
.page-products .products-table .product-item.table tbody tr td:last-child{
    border-right: 0px;
}
.page-products .products-table .product-item.table tbody tr td strong, .page-products .products-table .product-item.table tbody tr td .product-item-name{
    padding: 0px;
    margin: 0px;
}
.page-products .products-table .product-item.table tbody tr td strong .product-item-link{
    font-weight: 600;
}
.page-products .products-table .product-item.table tbody tr td  .price-box{
    margin: 0px 0 10px;
}

.page-products .products-table .product-item.table{
    border: 1px solid #d6d6d6;
}
.page-products .products-table .product-item.table tbody tr:nth-child(even) td{
    background: #ffffff;
}
.page-products .products-table .product-item.table tbody tr:nth-child(odd) td{
    background: #f5f5f5;
}
.page-products .products-table .product-item.table tbody tr td.product-item-inner .product-item-actions .action.tocart.primary {
    padding: 5px 7px;
    border-radius: 3px;
}
.page-products .products-table .product-item.table tbody tr:hover td{
    background: #efefef;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.page-products .products-table .product-item.table tbody tr td .price-box .special-price,
.page-products .products-table .product-item.table tbody tr td .price-box .old-price,
.page-products .products-table .product-item.table tbody tr td .price-box .regular-price{
    display: block;
    margin-left: 0px !important;
}
.page-products .products-table .product-item.table tbody tr td .price-box .special-price .price-label{
    display: none !important;
 }
.page-products .products-table .product-item.table tbody tr td .price-box .price-wrapper,
.page-products .products-table .product-item.table tbody tr td .price-box .price-label,
.page-products .products-table .product-item.table tbody tr td .price-box .ecc-uom{
    display: inline-block !important;
}
.page-products .product-list-container-tbl .products-table .location-select{
    display: block;
    max-width: 100px;
    padding: 4px 2px;
}
@media only screen and (max-width: 767px){
    .page-products .products-table .product-item.table thead{
        display: none;
    }
    .page-products .products-table .product-item.table tbody tr{
        border-bottom: 1px solid #d6d6d6;
    }
    .page-products .products-table .product-item.table tbody tr td {
        display: block;
        width: auto;
        border: 0px;
        max-width: 98%;

    }
    .page-products .products-table .product-item.table tbody tr:last-child td{
        border: 0px;
    }
    .page-products .products-table .product-item.table tbody tr td:before{
        content: attr(data-th) ':';
        display: inline-block;
        font-weight: 700;
        margin-right: 8px;
        width: auto;
        vertical-align: top;
    }
    .page-products .products-table .product-item.table tbody tr td > div{
        margin-bottom: 0px !important;
        line-height: normal !important;
        display: inline-block;

    }
    .page-products .products-table .product-item.table tbody tr td .product-item-name {
        margin-bottom: 0px !important;
        line-height: normal !important;
        display: inline-block;
    }
}
/* tally product popup changes */
.tally-form-popup .tally-items .field-qty{
    text-align: left;
}
.tally-form-popup .tally-items .field-qty .control{
    min-width: 130px;
}
.tally-form-popup .tally-items .field-qty .control div{
    display: inline-block;
    width: 20px;
    text-align: center;
    font-size: 20px;
}
.tally-form-popup .tally-items .field-qty .control div .btn-qty{
    cursor: pointer;
}
.tally-form-popup .tally-items .field-qty .control .tally_qty{
    max-width: 60px;
    text-align: center;
}

.tally-form-popup .tally-items td {
    text-align:left;
}
.modal-popup.tally-modal-popup .modal-inner-wrap{
    max-width: 500px;
    width: 100%;
}
.modal-popup.tally-modal-popup .buttons-set.actions .tally-cancel{
    padding: 10px 15px 10px;
    font-size: 14px;
}
.modal-popup.tally-modal-popup .tally-items .field-qty,
.modal-popup.tally-modal-popup .tally-items .hd-field-qty{
    width:35%;
}
.modal-popup.tally-modal-popup .tally-items .field-length,
.modal-popup.tally-modal-popup .tally-items .hd-field-length,
.modal-popup.tally-modal-popup .tally-items .field-sign,
.modal-popup.tally-modal-popup .tally-items .hd-field-sign,
.modal-popup.tally-modal-popup .tally-items .field-total,
.modal-popup.tally-modal-popup .tally-items .hd-field-total{
    width: 20%;
}
.modal-popup.tally-modal-popup .tally-items{
    margin: 0 auto;
    width: 100%;
}
.modal-popup.tally-modal-popup .tally-items thead th{
    border-bottom: 1px solid #d5d5d5;
}
.modal-popup.tally-modal-popup .tally-items tfoot td {
    border-top: 1px solid #d5d5d5;
}
.tally-modal-popup .tally-form-popup p.error-msg{
    color: #ff0000 !important;
}
.modal-popup.tally-modal-popup .tally-form-popup .tally-items .item-tally .field.qty .qty-box-plus-minus{
    position: relative;
}
.modal-popup.tally-modal-popup .tally-form-popup .tally-items .item-tally .field.qty .qty-box-plus-minus div.mage-error{
    font-size: 12px;
    position: absolute;
    left: 0px;
    right: 0px;
    margin: auto;
    line-height: 15px;
    top: 32px;
    width: 250px;
    text-align: left;
}
