/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
#sale_alertWrapper .popup_template {
    background-color: #e0e0e0; 
    bottom: 20px;
    border-radius: 0;
}

#sale_alertWrapper  .popup_position {
    position: fixed; 
    z-index: 99999;
}

#sale_alertWrapper  .popup_position.bottomRight {
    bottom: 20px;
    right: 10px;
}

#sale_alertWrapper .popup_position.bottomLeft {
    bottom: 20px;
    left: 10px;
}
#sale_alertWrapper  .popup_position.topRight {
    top: 20px;
    right: 10px;
}

#sale_alertWrapper .popup_position.topLeft {
    top: 20px;
    left: 10px;
}

#sale_alertWrapper figure.circle{
    max-height: 75px;
    border-radius: 50%;
    border: 1px solid #eee;
}

#sale_alertWrapper .popup-item {
    padding: 10px;
    width: 100%; 
    float: left;
}

#sale_alertWrapper figure{
    margin: 0; 
    width: 75px; 
    max-height: 65px; 
    overflow: hidden;
    float: left;
}

#sale_alertWrapper .imageOnRight figure{
    float: right;
}

#sale_alertWrapper .textOnly  figure{
   display: none;
}


#sale_alertWrapper figure img{
    width: 100%;
}

#sale_alertWrapper .sale_alert-content-wrap{
    width: calc(100% - 85px);    
    float: right;
    margin-top: 0px;
    font-size: 14px;
    color: #1e1e1e;
}

#sale_alertWrapper .imageOnRight .sale_alert-content-wrap{
    float: left;
}

#sale_alertWrapper .textOnly .sale_alert-content-wrap{
   width: 100%;
}

#sale_alertWrapper .sale_alert-content-wrap .t-product{
    display: block; 
    font-size: 120%;
    font-weight: bold;
    line-height: 1.2;
}

#sale_alertWrapper .sale_alert-content-wrap small{
    font-size: 70%;
    font-style: italic;
}
 
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Close Button */
.popup_template .popup-item .close{
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    color: #000;
    height: 15px;
    width: 15px;
    text-align: center;
    line-height: 12px;
    font-size: 22px;
    opacity: 1;
    z-index: 999999;
}
.popup_template .popup-item .close img{
    max-width: 100%;
    height: auto;
}

@media screen and ( max-width: 767px){
    #sale_alertWrapper .popup-item{
        padding: 10px !important;
    }

    #sale_alertWrapper .popup_position.bottomRight {
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        left: 0 !important;
    }  

    #sale_alertWrapper .popup_position .sale_alert-content-wrap {
        font-size: 13px !important;
        line-height: 1.5 !important;
    } 
}

@media screen and ( max-width: 480px){
    #sale_alertWrapper .popup_position{
        width: 300px !important;
    }
}


 