.listing-new-badge {
    /* position: absolute;
    top: 0;
    z-index: 4;
    left: auto;
    right: auto;
    text-align: center; */
    position: absolute;
    top: 0;
    z-index: 3;
    left: 0;
    right: auto;
    /* text-align: center; */
    display: flex;
    /* float: left; */
    justify-content: space-between;
    /* width: 65px; */
    /* height: 65px; */
    width: 65%;
}
.carousel .listing-new-badge {
    width: 68%;
}
.page-products .products-list .listing-new-badge{
    width: auto;
}
.carousel a.product-comp {
    height: auto;
}
.carousel img.media-list-new {
    width: 50px;
}
.magento-tabs .listing-new-badge {
    width: 60%;
}
img.media-list-new {
    /* float: left; */
    width: 65px;
    height: 65px;
    /* left: auto; */
}
a.product-comp {
    /* position: static !important;
    top: 0;
    left: 0;
    width: 65px;
    height: 65px; */
}
.new-freegift-badge {
    left: 0;
    right: 0;
    width: 66%;
    float: left;
    z-index: 99;
    top: 0;
    display: flex;
    justify-content: space-between;
    position: absolute;
}
.newlabels-wrapper {
    height: 100%;
    text-align: center;
    max-width: 250px;
    /* max-height: 250px; */
    margin: 0 auto;
    width: 100%;
}
.page-products .products-list .newlabels-wrapper {
    display: table-cell;
    width: 1%;
}
.catalog-product-view .pdp-new-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: left;
    padding: 5px 0px;
}
.badge-info-icon {
    margin-left: 4px;
    color: #1379bc;
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 1.7em;
}
/* @media screen and (min-width:768px) {
.page-products a.product-comp {
    float: left;
    position: static !important;
    padding-left: 6px;
}
img.media-list-new {
    float: left;
    width: 62px;
}
.page-products a.product-comp:first-child {
    padding-left: 0px;
}
}
@media screen and (max-width:639px){
img.media-list-new {
    width: 50px;
    padding: 5px;
}
.page-products a.product-comp {
    padding-left: 5px;
}
.listing-new-badge {
    left: auto;
    right: auto;
}
} */

@media screen and (max-width:768px){
img.media-list-new {
    /* float: left; */
    width: 50px;
    /* left: auto; */
    height:50px;
}
.listing-new-badge {
    width: 63%;
}
.carousel .listing-new-badge {
    width: 64%;
}
.magento-tabs .listing-new-badge {
    width: 65%;
}
.products-list img.media-list-new {
    /* float: left; */
    width: 40px;
    /* left: auto; */
    height: 40px;
}
.catalog-product-view .productbage .child .handler .badge-text {
    width: 250px;
}
.catalog-product-view .productbage .child:nth-child(1) .badge-top
{
    left: 0;
}
.catalog-product-view .productbage .child:nth-child(1) .badge-top::after {
    left: 8%;
}
.catalog-product-view .productbage .child:nth-child(2) .handler .badge-text {
    left: -45px;
}
.catalog-product-view .productbage .child:nth-child(2) .badge-top::after {
    left: 37%;
}
.catalog-product-view .productbage .child:nth-child(3) .badge-top::after {
    left: 54%;
}
.catalog-product-view .productbage .child:nth-child(4) .badge-top::after {
    left: 54%;
}
.catalog-product-view .productbage .child:nth-child(5) .handler .badge-text {
    left: -185px;
}
.catalog-product-view .productbage .child:nth-child(5) .badge-top::after {
    left: 76%;
}
.catalog-product-view .productbage .child:nth-child(6) .handler .badge-text {
    left: -230px;
}
.catalog-product-view .productbage .child:nth-child(6) .badge-top::after {
    left: 92%;
}
.fa-2x {
    font-size: 1.3em;
}
}
@media screen and (min-width:480px) and (max-width:767px){
    /* .listing-new-badge {
        width: 60%;
    } */
    .products-grid img.media-list-new {
        /* float: left; */
        width: 60px;
        /* left: auto; */
        height:60px;
    }
    .magento-tabs .listing-new-badge {
        width: 60%;
    }
}
/* @media screen and (min-width:480px) and (max-width:767px){

} */
@media screen and (min-width:640px) and (max-width:767px){
    .listing-new-badge {
        width: 60%;
    }
}
@media screen and (min-width:768px) and (max-width:1024px){
img.media-list-new {
    width: 47px;
    height: 47px;
}
.magento-tabs .listing-new-badge {
    width: 68%;
}
.catalog-product-view .productbage .child:nth-child(4) .handler .badge-text {
    left: -180px;
}
.catalog-product-view .productbage .child:nth-child(4) .badge-top::after {
    left: 65%;
}
.catalog-product-view .productbage .child:nth-child(5) .handler .badge-text {
    left: -240px;
}
.catalog-product-view .productbage .child:nth-child(5) .badge-top::after {
    left: 84%;
}
.catalog-product-view .productbage .child:nth-child(6) .handler .badge-text {
    left: -270px;
}
.catalog-product-view .productbage .child:nth-child(6) .badge-top::after {
    left: 93%;
}
.fa-2x {
    font-size: 1.5em;
}
}
@media screen and (min-width:768px) and (max-width:800px){
.listing-new-badge {
    left: 0;
    width: 73%;
}
}
@media screen and (min-width:1150px) and (max-width:1300px){
    img.media-list-new {
        width: 60px;
        height: 60px;
    }
    .listing-new-badge {
        left: 0;
        width: 70%;
    }
    .magento-tabs img.media-list-new {
        width: 65px;
        height: 65px;
    }
}
@media screen and (min-width:900px) and (max-width:1024px){
    .listing-new-badge {
        width: 70%;
    }
}
@media screen and (max-width:359px){
    img.media-list-new {
        width: 45px;
        height:45px;
    }
    .carousel img.media-list-new {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 768px){
    .catalog-product-view .carousel img.media-list-new {
        width: 30px!important;
        height: 30px!important;
    }
    .catalog-product-view .carousel a.product-comp{
        width: 30px!important;
        height: 30px!important;
    }
    .catalog-product-view .carousel .promo_badge .child{
        width: 30px!important;
    }
    .catalog-product-view .carousel img.free-gift {
        padding-left: 0px;
        height: 100%!important;
        width: 100%!important;
    }
    .catalog-product-view .carousel .listing-new-badge {
        width: 58%;
    }
    }
    @media screen and (min-width: 786px) and (max-width: 1024px){
        .catalog-product-view .carousel img.media-list-new {
            width: 26px!important;
            height: 26px!important;
        }
        .catalog-product-view .carousel a.product-comp{
            width: 26px!important;
            height: 26px!important;
        }
        .catalog-product-view .carousel .promo_badge .child{
            width: 26px!important;
        }
        .catalog-product-view .carousel img.free-gift {
            padding-left: 0px;
            height: 100%!important;
            width: 100%!important;
        }
        .catalog-product-view .carousel .listing-new-badge {
            width: 58%;
        }
        }
        @media screen and (min-width: 1025px) and (max-width: 1279px){
            .catalog-product-view .carousel img.media-list-new {
                width: 30px!important;
                height: 30px!important;
            }
            .catalog-product-view .carousel a.product-comp{
                width: 30px!important;
                height: 30px!important;
            }
            .catalog-product-view .carousel .promo_badge .child{
                width: 30px!important;
            }
            .catalog-product-view .carousel img.free-gift {
                padding-left: 0px;
                height: 100%!important;
                width: 100%!important;
            }
            .catalog-product-view .carousel .listing-new-badge {
                width: 58%;
            }
        }
 @media screen and (max-width:639px){
        .page-products .products-list .newlabels-wrapper {
            display: table-cell;
            width: 30%;
            padding: 0 10px 10px 0;
        }
        .products-list .product-item-photo {
            padding: 0;
            width: auto;
            display: block;
        }
}
/* P65 message PDP */
.p65_warning_message {
    float: left;
}
p.config_warning {
    padding: 10px 0px 0px 10px;
}
.handler {
    position: relative;
    display: inline-block;
}
.handler:hover .badge-text {
    visibility: visible;
}
.badge-top::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      margin-left: -10px;
      border-width: 10px;
      border-style: solid;
      border-color: #000 transparent transparent transparent;
}
.badge-top {
    bottom: 75px;
    left: -127px;
}
.handler .badge-text {
    visibility: hidden;
    position: absolute;
    width: 300px;
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
    text-align: center;
    padding: 10px 10px;
    border-radius: 6px;
    z-index: 1;
}
.handler .badge-text .badge-title {
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    float: left;
    text-align: left;
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px;
}
.handler .badge-text .badge-info {
    float: left;
    width: 100%;
}
.handler .badge-text .badge-info .content {
    float: left;
    width: 80%;
    text-align: left;
    text-align: left;
    font-size: 14px;
}
.catalog-product-view .handler .badge-img {
    float: left;
    width: 20%;
}
.handler .badge-text .badge-info img {
    float: left;
    width: 100%;
}