/**
 * Solwins Infotech
 * Solwins Best Product Extension
 * 
 * @category   Solwins
 * @package    Solwins_BestPro
 * @copyright  Copyright © 2006-2016 Solwins (https://www.solwininfotech.com)
 * @license    https://www.solwininfotech.com/magento-extension-license/
 */

.bestproduct .owl-wrapper{
    padding-bottom: 32px;
}
.sidebar .bestproduct .owl-wrapper{
    padding-bottom: 0;
}

.bestproduct li.product-item {
    width: 100% !important;
    background: whitesmoke !important;
    padding: 10px;
    box-sizing: border-box;
    padding-bottom: 35px;
    border: 1px solid #dddddd;
}
.bestproduct-index-index .products-grid .product-item:nth-child(2n + 1) {
    margin-left: calc((100% - 4 * 23.439%) / 3);
}
.bestproduct-index-index .products-grid .product-item:nth-child(4n+1) {
    margin-left: 0;
}
.bestproduct-index-index .products-grid .product-item {
    margin-left: calc((100% - 4 * 23.439%) / 3);
    padding: 0;
    width: 23.439%;
}
.bestproduct-index-index .product-item-info {
    width: 240px;
}
.bestproduct-index-index .products-grid .product-items {
    margin: 0;
}
.bestproduct.product-items {
    margin: 0 !important;
}
.bestproduct .product-item-info {
    width: 100%;
}
.fpro-sidebar {
    margin: 20px 0 0 !important;
}
.fpro-sidebar .product-items .product-item {
    margin: 0 0 15px !important;
}
.fpro-sidebar .product-items .product-item:last-child {
    margin: 0 0 5px !important;
}
.block-sidebar .block-title strong{
    font-size: 18px;
    font-weight: 300;
}
.sidebar .product-items .product-item-info .product-item-photo{
    position: relative !important;
}
.sidebar .products-grid .product-item-info:hover, .products-grid .product-item-info.active{
    margin: 0;
}

.bestproduct .product-item .product-item-actions {
    bottom: -70px;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}
.bestproduct-index-index .products-grid .product-item .product-item-actions {
    bottom: -70px;
    -webkit-transition: all 0.3s ease 0s;
}
@media only screen and (max-width: 1023px) {
    .bestproduct-index-index .products-grid .product-item:nth-child(4n+1) {
        margin-left: calc((100% - 3 * 32%) / 2);
    }
    .bestproduct-index-index .products-grid .product-item:nth-child(3n+1) {
        margin-left: 0;
    }
    .bestproduct-index-index .products-grid .product-item {
        margin-left: calc((100% - 3 * 32%) / 2);
        padding: 0;
        width: 31.9%;
    }
}
@media only screen and (max-width: 639px) {
    .bestproduct li.product-item {
        width: 100% !important;
        background: transparent !important;
        box-sizing: border-box;
    }
    .bestproduct-index-index .products-grid .product-item:nth-child(3n+1) {
        margin-left: calc((100% - 2 * 49%) / 1);
    }
    .bestproduct-index-index .products-grid .product-item:nth-child(2n+1) {
        margin-left: 0;
    }
    .bestproduct-index-index .products-grid .product-item {
        margin-left: calc((100% - 2 * 49%) / 1);
        padding: 0;
        width: 49%;
    }
}
.bestproduct li.product-item:hover{
         border: 2px solid #0083c1;
         border-radius: 5px;
}
.bestproduct .product-item-details{
    text-align:center;
    margin-top:15px;
}
.bestproduct .owl-controls .owl-nav>div{
    display:block !important;
}
.bestproduct .owl-controls .owl-nav .owl-next{
    margin-top: -49px;
    margin-left: 28px;
}
.bestproduct .owl-controls .owl-dots{
    display:none !important;
}