/**
* 2007-2019 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2019 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

#homeproductscatabTabContent .products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

#homeproductscatabTabContent .product-miniature {
    margin: 0 .625rem;
}

#homeproductscatabTabContent .thumbnail-container {
    position: relative;
    margin-bottom: 1.563rem;
    height: 318px;
    width: 257px;
    background: #fff;
    box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
}

#homeproductscatabTabContent .product-description {
    position: absolute;
    z-index: 1;
    background: #fff;
    width: 257px;
    bottom: 0;
    height: 70px;
}

#homeproductscatabTabContent .product-title {
    text-align: center;
    text-transform: capitalize;
    margin-top: 1rem;
}

#homeproductscatabTabContent .discount-percentage, #homeproductscatabTabContent .discount-amount {    
    display: block;
    position: absolute;
    padding: .3125rem .4375rem;
    color: #fff;
    background: #2fb5d2;
    text-transform: uppercase;
    min-width: 3.125rem;
    min-height: 1.875rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
}

#homeproductscatabTabContent .discount-percentage {
    background: #f39d72;
    display: none;
}

.tab-content {
    padding-top: 25px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background:#fff;
}

@media (max-width: 980px) {
    #homeproductscatabTabContent .product-miniature {
        margin: 0 auto;
    }
}