/*recent products*/
.mg-recently-viewed-plugin{position: relative;margin: 2px 0;}
.mg-recently-viewed-plugin h2{font-weight: bold;font-size: 22px;margin: 0 0 20px 0;position: relative;padding: 0 20px 0 0;color: #CC0000;display: inline-block;}
/*.mg-recently-viewed-plugin h2 .custom-arrow{position: absolute;width: 15px;height: 20px;right: 0;top: 15px;background: url("../images/arrow.png") no-repeat;}*/
.mg-recently-viewed-plugin .product-wrapper .product-image{width: auto;}
.mg-recently-viewed-plugin .product-wrapper .product-name{height: 28px;line-height: 14px;}
.mg-recently-viewed-plugin .product-wrapper:hover .product-price{visibility: visible;}
.mg-recently-viewed-plugin .product-wrapper{margin: 0;
    border: 1px solid #eee;
    padding-bottom: 10px;
    border-radius: 5px;}
.mg-recently-viewed-plugin .bx-next,
.mg-recently-viewed-plugin .bx-prev{top: 50%;}
.mg-recently-viewed-plugin .bx-prev{left: 0;}
.mg-recently-viewed-plugin .bx-next{right: 0;}
.mg-recently-viewed-plugin .bx-prev:hover{background-position:0 -30px;}
.mg-recently-viewed-plugin .bx-next{background-position:-30px 0!important}
.mg-recently-viewed-plugin .bx-next:hover{background-position:-30px -30px!important;}
.mg-recently-viewed-plugin .m-p-products-slider .bx-prev{left:215px;}
.mg-recently-viewed-plugin .m-p-products-slider .bx-next{left:250px;}
.mg-recently-viewed-plugin .bx-prev,
.mg-recently-viewed-plugin .bx-next{position:absolute;top:50%;width:30px;height:30px;display:block;background:url('../images/second-controls2.png') 0 0 no-repeat;text-indent:-999999px;}

.mg-recently-viewed .mg-recently-product-price {
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #157ed2;
    font-size: 20px;
    font-weight: bold;
    display: block;
    text-align: center;
    height: 26px;
}

.mg-recently-viewed .mg-recently-product-image a {
    display: block!important;
    height: 180px;
    text-align: center;
    position: relative;
}

.mg-recently-viewed .mg-recently-product-image a img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.mg-recently-viewed .mg-recently-product-name a {
    color: #444;
    font-size: 12px;
    text-decoration: none;
}

.mg-recently-viewed .mg-recently-product-name {
    text-align: center;
    margin: 10px 0;
    height: 30px;
    overflow: hidden;
    line-height: 14px;
}

.mg-recently-viewed .mg-recently-product-name a:hover {
    text-decoration: underline;
}
.mg-recently-viewed .mg-recently-product-wrapper .product-price {
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #D21919;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    text-align: center;
    height: 26px;
}

.mg-recently-viewed .addToCart,
.mg-recently-viewed .product-info{
    border-radius: 5px;
    padding: 0;
}

