#mainContent .products .product .displayPrice,
#mainContent .products .product .displayPriceGreen {
    display: block;
    height: 25px;
    text-align: center;
    font-weight: bold;
    padding: 0;
    position: relative;
    line-height: 18px;
    margin: 3px 0;
}

#mainContent .products .product .displayPrice {
    color: #8e1003;
    font-size: 16px;
    line-height: 30px;
}

#mainContent .products .product .displayPriceGreen {
    color: #008600;
    font-size: 16px;
    height: 28px;
}

.displayPriceGreen {
    color: #008600;
    font-weight: bold;
}

#mainContent .products .product .productPrice .PriceText {
    text-decoration: line-through;
    color: #808080;
}

#mainContent .products .product .productPrice .SalePriceText {
    color: #8e1003;
}

#mainContent .products .product .productPrice .customerLevelPrice {
    display: none;
}

#featuredProducts small, #featuredProducts .productCompareControl label {
    font-size: 11px;
    color: #0163B1;
    font-weight: bold;
}

@media screen and (max-width: 800px) {
    .comparisonTD .productCompareControl label {
        padding: 3px;
    }
}

#featuredProducts .productAction input[type=text] {
    margin: 0;
}

#featuredProducts .productAction select {
    width: 35px;
    min-width: 35px !important;
    margin-left: 2px;
}

#featuredProducts .productAction .selector {
    width: 35px;
    min-width: 35px !important;
}

    #featuredProducts .productAction .selector span {
        width: 10px;
    }

#featuredProducts .productAction select option {
    padding: 0 5px;
}

#featuredProducts .AddToWishButton, .featuredProductCell .AddToWishButton {
    display: none;
}

.featuredProductCell {
    background: transparent url(/images/CustomImages/bgGridViewRow.png) 0 0 repeat-x;
}

.products .product .productAction {
    margin-top: 0;
    text-align: center;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products .product .AddToCartButton {
    border: 0;
    cursor: pointer;
    vertical-align: top;
}

    .products .product .AddToCartButton i {
        font-style: normal;
    }

.products .product .productAction input[type=button], .products .product .productAction button,
.products .product .productAction button {
    /*
        EM: why we need this?        
        margin: 0 auto;*/
    white-space: nowrap;
}

.products .product .AddToWishButton {
    display: none !important;
}

#mainContent .products .product .productAction input[type=text] {
    width: 28px !important;
    padding-left: 0;
    padding-right: 0;
    margin-right: 1px;
}

.products .product .productAction select {
    width: 35px;
    min-width: 35px !important;
    margin-left: 2px;
}

.products .product .productAction .selector {
    width: 35px;
    min-width: 35px !important;
}

    .products .product .productAction .selector span {
        width: 10px;
    }

.products .product .productAction select option {
    padding: 0 5px;
}

.StockHint_OutOfStock {
    color: #A92A2E;
    font-weight: 900;
}

ul.products .StockHint_OutOfStock {
    display: block;
    margin: .3em 0;
    text-align: center;
    max-height: 28px;
    line-height: 14px;
    font-size: 13px;
}

.StockHint_Indented_OutOfStock {
    color: #A92A2E;
}

body #mainContent ul.products li {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: .5vw;
}

    body #mainContent ul.products li.more {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }

    @media screen and (min-width: 800px) {
        body #mainContent ul.products li {
        border: solid 1px #eee;
        border-radius: 2px;
    }
}

#mainContent ul.products {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

    #mainContent ul.products li {
        max-width: 200px;
    }

@supports (display: grid) {
    body #mainContent ul.products {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        grid-gap: var(--half-margin);
        grid-auto-rows: minmax(200px, 1fr);
    }

        body #mainContent ul.products li {
            max-width: none;
        }
}

ul.products li {
    position: relative;
    border: solid 1px white;
    flex: 0 1 230px;
}

#mainContent ul.products li.with-rebates {
    border-color: #FCE475;
    border-radius: 2px;
}

#mainContent ul.products li:first-child.with-rebates {
    margin-left: 2px;
    margin-right: 1px;
}

.wide-layout ul.products li {
    width: 160px;
}

ul.products li .decor {
    /*background: -webkit-gradient(linear, left top, left bottom, from(#e5f1f5), to(#fefefe));
        background: -moz-linear-gradient(top, #e5f1f5, #fefefe);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5f1f5', endColorstr='#fefefe');
        background-image: -ms-linear-gradient(top, #e5f1f5, #fefefe);
        height: 20px;*/
    display: none;
}

ul.products li:nth-child(1) .decor,
ul.products li:nth-child(2) .decor,
ul.products li:nth-child(3) .decor,
ul.products li:nth-child(4) .decor {
    display: none;
}

.wide-layout ul.products li:nth-child(5) .decor,
.wide-layout ul.products li:nth-child(6) .decor {
    display: none;
}

ul.products li .thumbnail {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100px;
    height: 100px;
    border-radius: 2px;
}

ul.products li a:visited, .featuredProductCell .featuredNameWrap a:visited,
#featuredProducts .productTitle a:visited {
    color: #7B308D;
}

ul.products li a.details {
    text-align: center;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 130%;
    margin: 1% auto 0 auto;
    font-weight: 500;
    font-size: inherit;
    max-width: 100%;
}

ul.products li .displayPrice {
    margin: .4em 0;
    position: relative;
    overflow: visible;
}

ul.products .sku {
    text-align: center;
    font-size: 11px;
    opacity: .8;
    font-family: var(--compact-font-family);
}

ul.products .log-in-to-view-price {
    text-align: center;
    margin: 10px 0;
}

.productCell .log-in-to-view-price {
    top: 10px;
}

    ul.products .log-in-to-view-price a, ul.products .log-in-to-view-price a:hover, .productCell .log-in-to-view-price a {
        color: green;
        font-weight: bold;
        font-size: 90%;
    }

#mainContent ul.products .your-price {
    text-align: center;
    position: relative;
    top: -10px;
    white-space: nowrap;
    font-size: 85%;
    display: none;
}

#mainContent ul.products .bulk-advantage {
    font-size: 12px;
    text-align: center;
    position: relative;
    top: -10px;
    white-space: nowrap;
}

    #mainContent ul.products .bulk-advantage strong {
        color: #8e1003;
        font-size: 100%;
    }

.products .addToCartWrap {
    text-align: center;
    padding-bottom: 7px;
    position: relative;
}

    .products .addToCartWrap.wait.loading {
        background-position: 5% 35%;
    }

    .products .addToCartWrap.icon-ok:before {
        color: green;
        position: absolute;
        top: calc(50% - 10px);
        left: -20px;
    }

.product .displayPrice {
    color: #8e1003;
    font-size: 16px;
}

.products-wrap .productPrice span.displayPrice {
    display: block;
    font-weight: bold;
    text-align: center;
    color: #8e1003;
    font-size: 18px;
}

span.displayPrice {
    margin: auto;
    float: none;
}

.displayPrice .uom {
    color: #8e1003;
    font-weight: normal;
    font-size: 80%;
}

#mainContent .featuredPriceWrap .your-price {
    display: none;
}

.displayPriceGreen .uom {
    font-weight: normal;
    font-size: 80%;
    color: #008600;
}

.oldPrice {
    color: #8e1003;
    text-decoration: line-through;
    font-size: 18px;
    padding-left: 5px;
    position: relative;
    top: -2px;
    display: block;
}

.displayPriceGreen .oldPrice {
    font-size: 80%;
    display: block;
    line-height: 110%;
}

.product-detail-page .displayPrice .uom, .product-detail-page .displayPriceGreen .uom {
    font-size: 50%;
}

.products-wrap .productPrice .PriceText {
    text-decoration: line-through;
    color: #808080;
}

.products-wrap .productPrice .SalePriceText {
    color: #8e1003;
}

.products-wrap .productPrice .MSRP {
    font-size: 11px;
    color: #000;
    font-weight: normal;
}

    .products-wrap .productPrice .MSRP span.retailPrice {
        font-size: 11px;
        color: #666;
        text-decoration: line-through;
        font-weight: normal;
    }

.products-wrap .productPrice .customerLevelPrice {
    display: none;
}

.products-wrap small, .products-wrap .price,
.products-wrap .productCompareControl label, .product .price,
.featuredProductCell .price {
    font-size: 11px;
    /*color: #0163B1;*/
    font-weight: bold;
}

@media screen and (max-width: 395px) {
    body #mainContent ul.products li.product {
    }

        body #mainContent ul.products li.product:nth-child(even), body #mainContent ul.products li.product:nth-child(even) {
            margin-right: 0px;
        }
}

input.cartQtyBox, input.MiniCartQuantity, input.cartQtyBox.uniform-input, input.MiniCartQuantity.uniform-input {
    width: 28px;
    background-color: #fff !important;
    text-align: center;
    font-weight: bold;
}

#mainContent .products .product .rating_star {
    position: absolute;
    top: 89px;
    background-color: #fff;
    opacity: .5;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

#mainContent #featuredZone #featuredProducts.products .product .rating_star {
    top: 150px;
}

li.product .discount-container {
    text-align: center;
    font-weight: bold;
    line-height: 100%;
    position: relative;
    top: 2px;
    font-size: 90%;
}

.lead-time-container {
    border-radius: 2px;
    color: var(--app-color-2);
    padding-top: 5px;
    font-weight: 500;
    display: block;
}

#mainContent .addToCartWrap .cartMessage,
.qty-and-add .cartMessage {
    position: absolute;
    left: 0;
    top: 29px;
    box-shadow: 0 1px 1px #ccc;
    white-space: nowrap;
    display: block;
    background: #F2FF00;
    padding: 4px 9px 4px 7px;
    border-radius: 2px;
    font-size: 12px;
    z-index: 10;
}

#mainContent #compareProductsTable .addToCartWrap .cartMessage {
    top: 40px;
}

#addToCartWrap a.manage,
.cartMessage a.manage {
    margin-left: 8px;
    margin-left: 8px;
    font-weight: bold;
    color: #000 !important;
    text-decoration: underline !important;
}