/*
#Popover
Wahouse Selector is a bit more complex than other popovers but it fully illustrates the ability to have events on a popover. The same principle is applied when using simplier Popovers.
```
                <div class="warehouse-selection btn-group">
                    
                    <a href="#" data-toggle="dropdown"
                            class="select-warehouse-link dropdown-toggle">
                        <span class="warehouse-name"></span>
                        <span class="select-warehouse-text">Select Warehouse</span>
                        <span class="caret"></span>
                    </a>
                    <ul class="warehouse-selector-dropdown medium-text dropdown-menu">
                        <li class="header">Stock Information</li>
                        <li class="text-center title col-xs-12">
                          <span class="col-xs-3">Warehouse</span>
                          <span class="col-xs-2 text-center">Stock</span>
                          <span class="col-xs-3 text-center">On-Order</span>
                          <span class="col-xs-4">Lead Time/ETA*</span>
                        </li>
                        <li>
                          <a href="javascript:;" class="row">
                            <span class="col-xs-3 text-center warehouse-name">Mira Loma, CA</span>
                            <span class="col-xs-2 text-right">20</span>
                            <span class="col-xs-3 text-right">95</span>
                            <span class="col-xs-4 text-center">03/30/2015</span>
                          </a>
                        </li>
                        <li>
                          <a href="javascript:;" class="row">
                            <span class="col-xs-3 text-center warehouse-name">Carol Stream, IL</span>
                            <span class="col-xs-2 text-right">5</span>
                            <span class="col-xs-3 text-right">30</span>
                            <span class="col-xs-4 text-center">03/30/2015</span>
                          </a>
                        </li>
                        <li>
                          <a href="javascript:;" class="row">
                            <span class="col-xs-3 text-center warehouse-name">Jonestown, PA</span>
                            <span class="col-xs-2 text-right">0</span>
                            <span class="col-xs-3 text-right">120</span>
                            <span class="col-xs-4 text-center">04/10/2015</span>
                          </a>
                        </li>
                        <li>
                          <a href="javascript:;" class="row">
                            <span class="col-xs-3 text-center warehouse-name">Millington, TN</span>
                            <span class="col-xs-2 text-right">0</span>
                            <span class="col-xs-3 text-right">54</span>
                            <span class="col-xs-4 text-center">03/30/2015</span>
                          </a>
                        </li>
                    </ul>
                </div>

```
*/
.basket-items-section .radio {
    margin-top: 0;
    margin-bottom: 0;
}

.basket-items-section-header {
    padding-top: 5px;
    margin-top: 5px;
    background-color: #ECECEC;
}

.basket-items-special-price-section-header {
    padding-top: 5px;
    margin-top: 5px;
    background-color: #ECECEC;
}

.qty-limit {
    min-width: 80px;
}

.basket-items-section .list-group-item.active {
    color: inherit;
    background-color: inherit;
}

/* Start: CSS Classes for product flags */
.product-flags-section {
    margin-bottom: 5px;
    margin-top: 7px;
}
.product-promo-section .product-flag {
    padding: 2px 5px;
    background: #F9D982;
    border: none;
    margin-right:10px;
}

.product-flag {
    margin: 2px 0;
    display: inline-block;
    border: 1px solid #D0CEC5;
}

    .product-flag span {
        border-left: 12px solid;
        padding: 1px 4px;
        display: inline-block;
        font-weight: bold;
    }

    .product-flag a {
        color: #333;
    }

    .product-flag label {
        margin-bottom: 0;
    }

.product-flag-grey span {
    border-left-color: #7F7F7F;
}

.product-flag-blue span {
    border-left-color: #709EEB;
}

.product-flag-red span {
    border-left-color: #E14237;
}

.product-flag-darkblue span {
    border-left-color: #404D6A;
}

.product-flag-orange span {
    border-left-color: #E27242;
}

.product-flag-bright-yellow span {
    border-left-color: #FFFF00;
}

.product-flag-yellow span {
    border-left-color: #FFCC33;
}

.product-flag-faded-yellow span {
    border-left-color: #F5D77A;
}

.product-flag-light-green span {
    border-left-color: #549c61;
}

.product-flag-backorder span {
    border-left-color: #336600;
}

.product-flag-quantity-discount span {
    border-left-color: #B11526;
}

.product-flag-coupon-code span {
    border-left-color: #00a2e8;
}

.product-flag-MpdoBem span {
    border-left-color: #1d9e5e;
}
/* End: CSS Classes for product flags */

/* Start: Special Pricing CSS */
.special-pricing-popover-content .table {
    margin-bottom: 0;
}

.special-pricing-popover-content .table {
    margin-bottom: 0;
}

    .special-pricing-popover-content .table th {
        border: 1px solid #fff;
    }

.special-pricing-popover-content .header {
    font-weight: bold;
    margin: 6px 10px;
}
/* End: Special Pricing CSS */

/* Start: CSS for Warehouse selection */
.warehouse-selection.btn-group .select-warehouse-link.dropdown-toggle {
    box-shadow: none;
}

.warehouse-selection .stock-label {
    display: block;
}

.warehouse-selector-dropdown {
    min-width: 400px;
    left: -140px;
}

    .warehouse-selector-dropdown .header {
        background-color: #ccc;
        font-weight: bold;
        padding: 3px 5px;
    }

    .warehouse-selector-dropdown .title {
        background-color: #428CCB;
        color: #fff;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .warehouse-selector-dropdown.dropdown-menu > li:not(:last-child) {
        border-bottom: 1px solid #ccc;
    }

    .warehouse-selector-dropdown.dropdown-menu > li > a {
        padding-left: 0;
        padding-right: 0;
    }

     .warehouse-selector-dropdown.dropdown-menu > li > a > span,
     .warehouse-selector-dropdown.dropdown-menu > li > span {
        white-space: normal;
    }


/* End: CSS for Warehouse selection  */

/* Start: CSS for Warehouse section at line level */
.line-warehouse-details-section {
    padding-right: 35px;
}

    .line-warehouse-details-section table tr:first-child td {
        border-top: none;
    }

    .line-warehouse-details-section table tr td {
        padding: 3px 4px;
        display: inline-block;
    }

        .line-warehouse-details-section table tr td:first-child {
            width: 30px;
        }
/* End: CSS for Warehouse section at line level*/

.notes-text-wrapper {
    background-color: #ededed;
}

    .notes-text-wrapper .form-control {
        font-size: 12px;
    }

.end-user-text-wrapper {
    padding-bottom: 6px;
}

.notes-text-wrapper {
    width: 237px;
}

.end-user-text-wrapper .glyphicon-pencil {
    font-size: 14px;
    color: #2F75BB;
    margin-left: 7px;
}

.end-user-text-wrapper .glyphicon-pencil,
.end-user-delete-wrapper .delete-icon,
.special-bid-info .glyphicon-pencil,
.special-bid-info .delete-icon {
    cursor: pointer;
}

.end-user-row.has-error .end-user-text-wrapper .form-control-feedback,
.end-user-row.has-error .end-user-delete-wrapper .form-control-feedback {
    z-index: 1;
}

.end-user-delete-wrapper {
    margin-left: 1px;
    font-size: 13px;
    padding-top: 6px;
    padding-left: 3px;
}

.basket-items-section .end-user-input {
    color: #339933;
}
    /* Following CSS class is required to solve placeholder color issue on IE 11 */
    .basket-items-section .end-user-input.form-control:-ms-input-placeholder {
        color: #999;
    }

.stock-info-popover .table > tbody > tr > td {
    border-top: none;
}

.basket-items-section .gsa-input-section.has-error .form-control-feedback {
    line-height: 18px;
    top: 0;
}

.basket-items-section .out-of-stock-text,
#crossSellProductModalBody .out-of-stock-text {
    color: #C79420;
}

.basket-items-section .out-of-stock-text.backorderable,
#crossSellProductModalBody .out-of-stock-text.backorderable {
    color: #000;
}

.basket-items-section .out-of-stock-text .fa-warning,
#crossSellProductModalBody .out-of-stock-text .fa-warning{
    font-size: 14px;
}

.basket-items-section .contract-number-input {
    width: 70px;
}

.basket-items-section .basket-items-section-header .items-column {
    border-right: 1px solid #fff;
    min-height: 58px;
}

.basket-items-section .unit-price,
basket-items-section .line-weight,
.basket-items-section .line-price {
    display: block;
}

.basket-items-section .unit-price,
basket-items-section .line-weight,
.basket-items-section .line-price {
    display: block;
}

.basket-items-section .basket-item {
    border-bottom: 1px solid #ccc;
    margin-top: 10px;
    padding-bottom: 10px;
}

.basket-items-section .direct-ship-section-header,
.basket-items-section .endless-section-header,
.basket-items-section .pts-section-header,
.basket-items-section .stype-section-header {
    margin-top: 5px;
    background-color: #ECECEC;
}

    .basket-items-section .direct-ship-section-header .items-column,
    .basket-items-section .endless-section-header .items-column,
    .basket-items-section .pts-section-header .items-column,
    .basket-items-section .stype-section-header .items-column {
        padding-top: 8px;
        padding-bottom: 8px;
    }

.basket-items-section .questionnaire-section .completed-icon {
    font-size: 9px;
    border-radius: 12px;
    background-color: #009900;
    padding: 4px;
    color: white;
}

.basket-items-section .edit-icon,
.basket-items-section .questionnaire-incomplete-icon {
    font-size: 14px;
}

.questionnaire-section.alert {
    margin-bottom: 0;
}

.questionnaire-section .status-text {
    display: none;
}

.questionnaire-section.start .status-text.start,
.questionnaire-section.incomplete .status-text.incomplete,
.questionnaire-section.completed .status-text.completed {
    display: inline-block;
}

.special-bid-info {
    background-color: #e0efd8;
    padding: 5px;
}

.special-bid-wrapper .glyphicon-pencil,
.special-bid-wrapper .glyphicon-trash {
    font-size: 13px;
    padding-top: 6px;
}

.js-bid-search-popup-quantity.amount {
    width: 45px;
}

.ellipsis {
    overflow: hidden;
    height: 35px;
    border: 0px solid #AAA;
    line-height: 16px;
}

    .ellipsis:before {
        content: "";
        float: left;
        width: 5px;
        height: 41px;
    }

    .ellipsis > *:first-child {
        float: right;
        width: 100%;
        margin-left: -5px;
        border: 0px solid red;
    }

    .ellipsis:after {
        content: "\02026";
        box-sizing: content-box;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        float: right;
        position: relative;
        top: -25px;
        left: 100%;
        width: 2em;
        margin-left: -2em;
        padding-right: 5px;
        text-align: right;
        background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(white), color-stop(50%, white));
        background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
        background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
        background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
        background: linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
    }

.user-selects-warehouse-form {
    text-align: left;
}

    .user-selects-warehouse-form label {
        margin-left: 10px;
    }

.vendorQuestionnairePopupForm input[name="vmf"] {
    margin-top: 2px;
}
/*Start: Voucher CSS*/
.voucher-container {
    width: 55%;
}

    .voucher-container .form-group {
        margin: 0;
    }
/*End: Voucher CSS*/
/* Start: Promo Points CSS */
.promo-icon {
    vertical-align: middle;
    display: inline-block;
}

.promo-points {
    display: inline-block;
    /*font-size: 11px;*/
    font-weight: bold;
    color: #015494;
    margin: 0 10px 0 3px;
}

#addressBookModalBody #imOnlineAddressBookTable_paginate .previous.disabled,
#addressBookModalBody #imOnlineAddressBookTable_paginate .next.disabled {
    display: none;
}
#endUseraddressBookModalBody #imOnlineAddressBookTable_paginate .previous.disabled,
#endUseraddressBookModalBody #imOnlineAddressBookTable_paginate .next.disabled {
    display: none;
}
/* End: Promo Points CSS */

/*Browsing Mode CSS*/
#browsingModeSelector .mode {
    background: #e3e1de;
    min-height: 45px;
    border: 2px solid #fff;
}

#browsingModeSelector .mode-active {
    background: #d0cfce;
}

#browsingModeSelector .mode-selected.mode.mode-active,
#browsingModeSelector .mode-selected.mode {
    background: #feda78;
}

#browsingModeSelector .mode .editBtn {
    display: none;
}

#browsingModeSelector .mode-selected.mode .editBtn {
    display: block;
}
/*End of Browing Mode CSS*/

/*Bundle Popup*/
.bundleProducts .basket-items-section-header {
    padding:10px; 
    background: #ECECEC;   
    border-bottom: 2px solid #999999;
}

/*End of Bundle Popup*/
/*Country Specific Font Size */
.CountryCode-hu .js-basket-line-item .js-line-line-weight, .CountryCode-hu .js-basket-line-item .js-line-unit-price, 
.CountryCode-hu .js-basket-line-item .js-line-line-price  {
    font-size:11px;
}
.CountryCode-br .js-basket-line-item .js-line-line-weight, .CountryCode-br .js-basket-line-item .js-line-unit-price, 
.CountryCode-br .js-basket-line-item .js-line-line-price  {
    /*font-size:10px;*/
}

.CountryCode-br.enduserlabel {
    font-size:9px;
}

/*End of Browing Mode CSS*/
/**SBO Default End User*/
.media-list .success-note .fa-check-circle {
    font-size:20px;
}
/*Disable Delete Icon Anchor*/
a.js-delete-line.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable Delete Icon Anchor*/
a.js-delete-vmf-group.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable Delete Icon Anchor*/
a.js-add-end-user-to-line.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable Delete Icon Anchor*/
a.js-remove-end-user-from-line.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable Delete Icon Anchor*/
a.edit-basket-icon.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable shipping Address Anchor*/
a.checkoutSelectShippingAddressAnchordisabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable billing Address Anchor*/
a.checkoutSelectBillingAddressAnchordisabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable billing Address Anchor*/
a.OrderFromReviewPageBtn.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable PO Textbox*/
.po-disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable Quantity Box*/
.js-line-quantity.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}
/*Disable comments Box*/
.js-line-notes.disabled {
    pointer-events: none;
    cursor: default;
    color: #aaaaaa;
}

.basket-items-section .stock-status {
    display:inline-block;
}

.basket-items-section .stock-status .boh-vendor {
    font-weight:bold;
    color:#686868;
}

.question-minHeight {
    min-height:52px;
}
.special-price-summary-container {
    width : 450px;
}

.endUserPriceTextBoxError {
    border-color: #a94442;
}