/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
#mega_martfsWrapper .popup_template {
    background-color: #ffffff; 
    bottom: 20px;
    border-radius: 0;
    overflow: hidden;
	box-shadow: 0 12px 20px rgb(0 0 0 / 20%);
}

#mega_martfsWrapper  .popup_position {
    position: fixed; 
    z-index: 99999;
    width: 350px;
}

#mega_martfsWrapper  .popup_position.bottomRight {
    bottom: 20px;
    right: 10px;
}

#mega_martfsWrapper .popup_position.bottomLeft {
    bottom: 20px;
    left: 10px;
}
#mega_martfsWrapper  .popup_position.topRight {
    top: 20px;
    right: 10px;
}

#mega_martfsWrapper .popup_position.topLeft {
    top: 20px;
    left: 10px;
}


#mega_martfsWrapper .popup-item {
    padding-bottom: 5px;
    /* padding-right: 50px !important; */
    width: 100%; 
    float: left;
}

#mega_martfsWrapper .popup-item .popup-title.yes {
    background: #eaeff3;
    padding: 8px;
	font-size: 14px;
}

#mega_martfsWrapper .popup-item .popup-title.no {
    padding: 5px;
}

#mega_martfsWrapper .popup-item a {
    display: block;
    padding: 10px;
}

#mega_martfsWrapper figure{
    margin: 0; 
    width: 60px; 
    max-height: 65px; 
    overflow: hidden;
    float: left;
	border-radius: 4px;
}

#mega_martfsWrapper .imageOnRight figure{
    float: right;
}

#mega_martfsWrapper .textOnly  figure{
   display: none;
}


#mega_martfsWrapper figure img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#mega_martfsWrapper .mega_martfs-content-wrap{
    width: calc(100% - 85px);    
    float: right;
    font-size: 14px;
    color: #1e1e1e;
}

#mega_martfsWrapper .imageOnRight .mega_martfs-content-wrap{
    float: left;
}

#mega_martfsWrapper .textOnly .mega_martfs-content-wrap{
   width: 100%;
}

#mega_martfsWrapper .mega_martfs-content-wrap .t-product{
    display: block; 
    font-size: 120%;
    font-weight: bold;
    line-height: 1.2;
}

#mega_martfsWrapper .mega_martfs-content-wrap small{
    font-size: 70%;
    font-style: italic;
}
 
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Close Button */
.popup_template .popup-item .btn-close{
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 15px;
    color: #000;
    font-size: 0;
    height: 15px;
    width: 15px;
    text-align: center;
    line-height: 12px;
    z-index: 999999;
}
.popup_template .popup-item .close img{
    max-width: 100%;
}


#mega_martfsWrapper .popup-item:after {
    content: "";
    width: 40px;
    height: 40px;
    background: url(../leaf.png) no-repeat;
    bottom: -17px;
    right: -9px;
    position: absolute;
    display: inline-block;
}


@media screen and ( max-width: 767px){
    #mega_martfsWrapper .popup-item{
        padding: 10px !important;
    }

    #mega_martfsWrapper .popup_position.bottomRight {
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        left: 0 !important;
    }  

    #mega_martfsWrapper .popup_position .mega_martfs-content-wrap {
        font-size: 13px !important;
        line-height: 1.5 !important;
    } 
	.popup_template .popup-item .btn-close {
		top: 20px;
	}
}
@media screen and ( max-width: 480px){
    #sale_alertWrapper .popup_position{
        width: 300px !important;
    }
}
 