/* Product Tile related classes */

.homeTile-Price {
    color: var(--border-color1);
    font-size: 0.875rem;
    /* margin-bottom: 5px; */
    display: block;
    /* min-height: 26px; */
    font-weight: 600;
    /* overflow: hidden; */
    position: relative;
    min-height: 29px;
    /* visibility: visible;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis; */
}

.rupee-txt {
    font-size: 16px;
    font-weight: 500;
    color: black;
}

.slash {
    font-size: 17px;
    font-weight: normal;
    margin-left: -3px;
}

.uom-text {
    font-size: 13px;
    font-weight: normal;
    margin-left: -3px;
}

.deci-text {
    font-size: 13px;
    font-weight: normal;
    margin-left: -3px;
    margin-right: 0;
}

.small-deci {
    font-size: 11px;
}

.homeTile-inr {
    color: black;
    font-weight: 700;
    font-size: 18px;
}

.discounted-price {
    color: var(--primary-color);

}

.discount-txt {
    color: var(--primary-color);

}

.homeTileTitle {
    font: 13px/22px Roboto;
    font-weight: 600;
    text-align: left;
}

.homeTileImg {
    margin: auto;
}

.homeTileDiv:hover {
    cursor: pointer;
    -webkit-box-shadow: 0px 10px 16px var(--header-shadow-color);
    -moz-box-shadow: 0px 10px 16px var(--header-shadow-color);
    box-shadow: 0px 10px 16px var(--header-shadow-color);
}


.homeTileDiv:hover .homeTile-title {
    color: var(--primary-color)
}

.homeTileDiv:hover ::ng-deep .commonBtn,
.homeTileDiv:hover ::ng-deep .homeTileCarousel .slick-prev,
.productsDiv:hover ::ng-deep .homeTileCarousel .slick-next {

    /* .homeTileDiv:hover .commonBtn,
.homeTileDiv:hover .homeTileCarousel .slick-prev,
.productsDiv:hover .homeTileCarousel .slick-next { */
    transform: scale(1) !important;
}

.homeTileCarousel ::ng-deep .slick-next:before,
.homeTileCarousel ::ng-deep .slick-prev:before {

    /* .homeTileCarousel .slick-next:before,
.homeTileCarousel .slick-prev:before { */
    position: relative;
    font: normal normal normal 14px/1 FontAwesome;
    color: var(--tile-title-color);
}

.homeTileCarousel ::ng-deep .slick-next:before {

    /* .homeTileCarousel .slick-next:before { */
    content: "\f054";
}

.homeTileCarousel ::ng-deep .slick-prev:before {

    /* .homeTileCarousel .slick-prev:before { */
    content: "\f053";
}

.homeTileCarousel ::ng-deep .slick-next {

    /* .homeTileCarousel .slick-next { */
    right: 0;
}

.homeTileCarousel ::ng-deep .slick-prev {

    /* .homeTileCarousel .slick-prev { */
    left: 0;
}


.homeTileDiv .col-12 {
    padding-left: 8px;
    padding-right: 8px;
}

/*.homepage_tiles ::ng-deep .slick-prev,
.featured_tiles ::ng-deep .slick-prev,
.prodTransactions ::ng-deep .slick-prev {*/
.homepage_tiles .slick-prev,
.featured_tiles .slick-prev,
.prodTransactions .slick-prev { 
    height: 45px;
    width: 45px;
    left: -35px;
    background: white!important;
    color: var(--tile-title-color) !important;
    padding: 0;
    z-index: 9;
    border-radius: 360px;
    border: 1px solid var(--divider-color)!important
}

/* .featured_tiles ::ng-deep.slick-prev{ */
.featured_tiles .slick-prev {
        left: -18px !important;
}

/* .homepage_tiles ::ng-deep .slick-next,
.featured_tiles ::ng-deep .slick-next,
.prodTransactions ::ng-deep .slick-next { */

.homepage_tiles .slick-next,
.featured_tiles .slick-next,
.prodTransactions .slick-next {
    height: 45px;
    width: 45px;
    right: -15px;
    background: white!important;
    color: var(--tile-title-color) !important;
    padding: 0;
    border-radius: 360px;
    z-index: 9;
    border: 1px solid var(--divider-color)!important
}

/* .featured_tiles ::ng-deep.slick-next { */
.featured_tiles .slick-next{
        right: -31px;
}

/* .homepage_tiles ::ng-deep .slick-next:before,
.homepage_tiles ::ng-deep .slick-prev:before,
.featured_tiles ::ng-deep .slick-next:before,
.featured_tiles ::ng-deep .slick-prev:before,
.prodTransactions ::ng-deep .slick-prev:before,
.prodTransactions ::ng-deep .slick-next:before { */

    .homepage_tiles .slick-next:before,
.homepage_tiles .slick-prev:before,
.featured_tiles .slick-next:before,
.featured_tiles .slick-prev:before,
.prodTransactions .slick-prev:before,
.prodTransactions .slick-next:before {
    position: relative;
    font: normal normal normal 18px/1 FontAwesome;
    color: var(--tile-title-color);
}

/* .homepage_tiles ::ng-deep .slick-next:before,
.featured_tiles ::ng-deep .slick-next:before,
.prodTransactions ::ng-deep .slick-next:before,
.slick-slider ::ng-deep .slick-next:before { */

.homepage_tiles .slick-next:before,
.featured_tiles .slick-next:before,
.prodTransactions .slick-next:before,
.slick-slider .slick-next:before {
    left: 0;
    content: "\f054";
    font: 16px/1 FontAwesome;
}

/* .homepage_tiles ::ng-deep .slick-prev:before,
.featured_tiles ::ng-deep .slick-prev:before,
.prodTransactions ::ng-deep .slick-prev:before,
.slick-slider ::ng-deep .slick-prev:before { */

.homepage_tiles .slick-prev:before,
.featured_tiles .slick-prev:before,
.prodTransactions .slick-prev:before,
.slick-slider .slick-prev:before {
    right: 1px;
    content: "\f053";
    font: 16px/1 FontAwesome;
}

/* .homepage_tiles ::ng-deep .slick-arrow.slick-disabled,
.featured_tiles ::ng-deep .slick-arrow.slick-disabled,
.prodTransactions ::ng-deep .slick-arrow.slick-disabled { */

    .homepage_tiles .slick-arrow.slick-disabled,
    .featured_tiles .slick-arrow.slick-disabled,
.prodTransactions .slick-arrow.slick-disabled {
    display: none !important;
}

.homeTileDiv {
    background: white 0 0 no-repeat;
    opacity: 1;
    text-align: center;
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    transition: 0.6s;
    padding: 0 1rem 1rem;
    border: 0;
    position: relative;
    border-radius: 4px;
    /* min-height: 386px; */
}

.homeTileListingWrap {
    padding: 0.5rem 0.8rem;
}

.homeTile-img-wrap {
    height: 193px;
    margin-bottom: 2px;
    position: relative;
    /* aspect-ratio: 1/1; */
}

.homeTile-img-wrap img.img-fluid {
    max-height: 100%;
    z-index: 0;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.homeTile-title {
    font-size: 13px;
    color: var(--tile-title-color);
    font-weight: 600;
    /* margin-bottom: 1rem; */
    text-align: left;
    line-height: 20px;
    height: 38px;
    word-break: break-word;
    display:block;
}

.homeTile-detail {
    font-size: 0.75rem;
    color: var(--mat-txtbox-border);
    line-height: 18px;
    text-align: left;
    padding-bottom: 0.5rem;
    height: 54px;
}

.homeTile-label {
    display: inline-block;
    font-size: 11px;
    color: var(--tile-title-color);
    font-weight: 400;
    line-height: 20px;
    vertical-align: top;
    max-width: 55%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    float: left;
}

.homeTile-qty {
    font-size: 12px;
    line-height: 25px;
    color: var(--tile-content-color);
    max-width: 100%;
    font-weight: 400;
}

.rfqTile-qty {
    color: var(--tile-title-color);
    font-size: 0.875rem;
    font-weight: normal;
    display: inline-block;
    margin-left: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100% - 88px);
}


.price-amnt span {
    font-size: 16px;
    font-weight: 600;
}

.productListingWrap {
    margin: 0 15px;
    position: relative;
    /* max-width:207px; */
    padding-bottom:10px;
}

.relationship_rfq_homeTile_Products .productListingWrap {
    height: inherit;
}

/* .homepage_tiles ::ng-deep .slick-track,
.prodTransactions ::ng-deep .slick-track { */

.homepage_tiles .slick-track,
.featured_tiles .slick-track,
.prodTransactions .slick-track {
    margin: 0;
}

.relationship_rfq_homeTile_Products .slick-track {
    display: flex;
}

.number-font {
    color: var(--primary-color);
    font-size: 27px;
    font-weight: bold;
}

.strike-amnt {
    text-decoration: line-through;
    font-size: 14px;
    display: inline-block;
    font-weight: 400;
    line-height: 16px;
    color: var(--step-text-color);
    margin-right:4px;
}

.percnt-off {
    position: relative;
    background: var(--percent-off-color);
    color: white;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.01em;
    font-weight: 700;
    padding: 3px 9px;
    z-index: 999;
    border-radius: 4px;
    
}

.percnt-off:after {
    display: none;
}

.percent-font {
    font-size: 13px;
}

.disable-overlay {
    background: white;
    opacity: 0.5;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1010;
    pointer-events: none;
    left: 0;
    top: 0;
}

.prod-uavailable {
    border: 1px solid var(--prodtile-border);
    position: absolute;
    background: white;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 13px;
    font-weight: bold;
    color: var(--tile-title-color);
    min-width: 140px;
    max-width: 140px;
}

.req-quote {
    color: black;
    font-size: 14px;
    text-align: left;
    margin-top: 0px;
    font-weight: 500;
    line-height: 14px;
}

/* .req-quote-not-in-stock {
    min-height: 38px;
    line-height: 38px;
} */



/* radio btn on tile requirement related to rfq pages */
.product-check {
    /* min-height: 400px; */
    min-width: 235px;
    display: block;
    padding-bottom: 15px;
}



.product-check input:checked+.homeTileDiv {
    border: 1px solid var(--primary-color);
    transition: 0.2s !important;
}

.product-check .homeTileDiv {
    cursor: pointer;
}

.relationship_rfq_homeTile_Products .product-check .homeTileDiv {
    height: 100%;
}

.product-check .homeTileDiv .product-check-sq {
    width: 20px;
    height: 20px;
    position: absolute;
    background: white;
    padding: 2px;
    left: 10px;
    top: 10px;
    color: var(--white);
    z-index: 1;
}

.product-check input:checked+.homeTileDiv .product-check-sq {
    color: var(--white);
    background: var(--primary-color);
}

.secondary-amt {
    min-height: 26px;
}

.qty-block {
    min-height: 25px
}


.venSku-qty {
    color: var(--tile-title-color);
    font-size: 0.875rem;
    font-weight: normal;
    display: inline-block;
    margin-left: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100% - 121px);
}

.font-14 {
    font-size: 14px !important;
}

.text-ellipsis-1line {
    max-height: 30px !important;
}

.compare-div {
    position: absolute;
    width: 100%;
    background: transparent;
}

.compare-div .input-group-text {
    padding-right: 8px;
    margin-top: 8px;
}

.wishlist {
    border: 0;
    background: none;
    padding: 0;
    top: 16px;
    /* display: block !important; */
    z-index: 9;
    /* position: absolute; */
    right: 8px;
    height: 28px;
    width: 28px;
    background: var(--wishlist-bg);
    border-radius: 90px;
    padding: 5px;
    line-height: 18px;

}

.wishlist img {
    width: 14px;
}

/*added for wishlist tooltip*/
::ng-deep.wishlist-tooltip::ng-deep.bs-tooltip-left ::ng-deep.arrow::before {
    bottom: 0;
    border-width: .4rem 0 .4rem .4rem;
    border-left-color: var(--green-text) !important;
}

::ng-deep.wishlist-tooltip::ng-deep.bs-tooltip-bottom ::ng-deep.arrow::before {
    bottom: 0;
    border-width: 0 0.4rem 0.4rem;
    border-bottom-color: var(--green-text) !important;
}

::ng-deep.wishlist-tooltip::ng-deep.tooltip {
    margin-left: -40px;
}

::ng-deep.wishlist-tooltip ::ng-deep.tooltip-inner {
    max-width: 200px;
    padding: 0.25rem 0.5rem 0.25rem 0.2rem;
    color: white;
    text-align: center;
    background-color: var(--green-text) !important;
    /* margin-right: 20px; */
    border-radius: 0.25rem;
    font-size: 12px;
    display: flex;
    flex-direction: row;
}

::ng-deep.wishlist-tooltip ::ng-deep img {
    width: 18px;
    height: 18px;
}

/* need to be moved-- For Buyer home page*/
.category-tile {
    border: 1px solid var(--divider-color);
    text-align: center;
    height: 100%
}

.category-tile-text {
    text-align: center;
    margin-bottom: 5px;
    margin-top: 9px;
    color: var(--tile-title-color);
    font-size: 11px;
    padding: 0px 5px;
}

.category-tile-img {
    height: 59px;
    align-items: end;
    display: flex;
    flex-wrap: wrap;
}

.display-table>div {
    display: table-cell;
}

.sufin-choice-badge {
    position: absolute;
    top: 0 !important;
    left: 0;
    height: 24px;
    z-index: 9;
}

.sponsored-txt {
    width: auto;
    display: block;
    text-align: left;
    color: var(--compare-checkbox-border);
    min-height: 18px;
    position: absolute;
    left: 15px;
    bottom: 0;
    z-index: 9;
}

.seller-name {
    font-size: 12px;
    text-align: left;
    color: black;
    display: block;
    word-break: break-word;
    font-weight: normal;
    margin-top: 8px;
    margin-bottom: 6px;
    text-transform: lowercase;

}

.seller-name::first-letter {
    text-transform: capitalize;
}

.seller-name::first-line {
    text-transform: capitalize;
}

.homepage_tiles .rating-bg {
    background: white;
    font-size: 10px;
    line-height: 10px;
    border-radius: 4px;
    padding: 2px 5px;
    color: var(--seller-primary-color);
    border: 1px solid var(--seller-primary-color);
    min-width: 35px;
    display: inline-flex;
    font-weight: normal;
    vertical-align: middle;
    height: 15px;
    font-weight: 700;
}

.homepage_tiles .img-badge-section {
    min-height: 30px;
    text-align: left;
    padding-left: 0;
    vertical-align: top;
}

.homepage_tiles .verified_img_text,
.homepage_tiles .trusted_img_text {
    height: 15px !important;
    width: 65px !important;
    max-width: 65px !important;
    display: inline-block !important;
    margin-top: 0;
}

.seller-location {
    color: var(--compare-checkbox-border);
    font-size: 11px;
    font-weight: 400;
    display: block;
    line-height: 13px;

}

.more-sellers {
    color: var(--tile-content-color);
    font-size: 11px;
    font-weight: 400;
    display: block;
    line-height: 13px;

}

.star-value {
    display: inline;
    margin-left: 2px;
}

.star-value img {
    vertical-align: top;
}

.pair-text {
    font-size: 13px;
    font-weight: 400;
    color: var(--step-text-color);
}

.price-prefix {
    font-size: 13px;
    font-weight: normal;
}

.contentWrap{
    text-align: left;
    padding: 0 15px;
    min-height:83px;
}

/* classes related to featured brands */
.featured_tiles{
    width:100% !important;
}
.featured_tiles .slick-track{
   display: flex;
   align-items: center;
}

.company-logo img{
    margin:auto;
    vertical-align: center;
}
.company-logo{
    vertical-align: center;
}

@media only screen and (min-width: 767px) and (max-width:1280px) {
    .product-check {
        min-width: 150px;
        /*  min-height: auto;*/
    }

    /* .homepage_tiles ::ng-deep .slick-prev,
    .prodTransactions ::ng-deep .slick-prev { */

        .homepage_tiles .slick-prev,
    .prodTransactions .slick-prev {
        left: -20px;
    }

    .featured_tiles .slick-prev{
        left:-2px;
    }

    /* .homepage_tiles ::ng-deep .slick-next,
    .prodTransactions ::ng-deep .slick-next { */

        .homepage_tiles .slick-next,
.prodTransactions .slick-next {
        right: -5px;
    }
    .featured_tiles .slick-next{
        right:-33px;
    }

}

@media only screen and (max-width: 991px) {
    .featured_tiles .slick-next{
        right: -7px !important;;
    }
    .featured_tiles .slick-prev{
        left:-24px!important;
    }
    .homepage_tiles .slick-next,
    .prodTransactions .slick-next {
        right:-7px;
    }
}

@media only screen and (max-width: 767px) {

    .featured_tiles .slick-prev{
        left:-9px;
    }

    .pair-text {
        font-size: 10px;
        font-weight: 400;
    }

    .seller-name {
        max-width: 100%;
        margin-bottom: 8px;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 40px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .sufin-choice-badge {
        margin-top: -1px;
        margin-left: -1px;
    }

    .homeTile-qty img {
        margin-right: 1px;
        margin-left: 0px;
    }

    .price-prefix {
        font-size: 11px;
    }

    .homepage_tiles {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .productListingWrap {
        width: 33.33%;
        padding-bottom:0;
        margin-top:-1px;
    }

    .contentWrap{
        min-height:48px;
    }
    /* .homeTile-img-wrap {
        height: 205px;
    } */

    .product-check {
        min-width: auto;
        min-height: auto;
        padding-bottom: 0;
    }

    .homeTileDiv {
        border-radius: 0;
        margin-top: -1px;
        margin-left: 0;
        border-right: 0px;
        border: 1px solid var(--prodtile-border);
        /* min-height:335px; */
    }

    .productListingWrap:nth-child(2n) .homeTileDiv {
        border-left: 0 !important;
    }

    .homeTileDiv:hover {
        box-shadow: none;
        padding-bottom: 0 !important;
    }

    .uom-text {
        font-size: 10px;
        font-weight: normal;
        margin-left: 2px;
    }

    .compare-div {
        padding: 2px 8px 0 32px;
    }

    /* .wishlist {
        padding: 0 !important;
        margin-top: -2px;

    } */

    .wishlist img {
        /* width:20px; */
        padding: 0 !important;
        vertical-align: top;
    }

    .homeTileDiv .col-12 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .homeTile-title {
        font-size: 13px !important;
        margin-top: 5px;
        margin-bottom: 2px;
        height:35px;
        line-height:18px;
    }

    .homeTile-inr {
        font-size: 15px;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 100%;
        overflow: hidden;
        display: block;
    }

    .rupee-txt {
        font-size: 13px;
    }

    .percnt-off {
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0.01em;
        font-weight: normal;
        padding: 4px 6px;
    }
    .homeTile-Price {
        margin-top: 5px;
        min-height: 20px;
        max-height: 20px;
        margin-bottom: 8px;
    }

    .req-quote {
        min-height: 20px;
        max-height: 20px;
        margin-bottom: 5px;
        font-size: 15px;
        line-height: 21px;
    }

    .homeTile-img-wrap{
        height:140px;
    }

    /* .homeTile-img-wrap img {
        padding: 0 4px;
    } */

    /* .seller-name {
        max-width: 100%;
        margin-bottom: 8px;
    } */

    .mobile-swift .homeTile-qty {
        float: none;
        /* margin-left: -46%; */
        max-width: 100%;
        width: 100%;
        order: 1;

    }

    .mobile-swift .more-sellers {
        margin-top: 6px;
        max-width: 100%;
        width: 100%;
        order: 2;
        float: none
    }

    .qty-block {
        display: flex;
        flex-wrap: wrap;
    }

    .mobile-bg-white {
        background-color: white;
    }

    .homeTile-label {
        max-width: 50%;
        margin-right: 6px;
    }
}

/* @media (max-width:375px){
    .homeTileDiv {
        
        min-height:300px;
        
    }
} */

@media only screen and (max-width: 576px) {

    .productListingWrap {
        width: 50%;

    }

    /* .homeTile-img-wrap {
        height: 139px;
    } */

    .product-check {
        min-width: auto;
        min-height: auto;
    }

}

@media only screen and (min-width: 1024px) {
    .view-all-tiles .col-lg {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* @media only screen and (min-width: 1200px)  {

    .homeTileDiv{
        min-height:386px;
    }
}
@media only screen and (min-width:1440px){
    
    .homeTileDiv{
        min-height:422px;
    }
} 
@media only screen and (min-width: 1600px) {

    .homeTileDiv{
        min-height:436px;
    }
}
@media only screen and (min-width: 1920px) {

    .homeTileDiv{
        min-height:500px;
    }
} */

@media(max-width: 767px) {
    .productListingWrap:nth-child(n+7) {
        display: none;
    }
}