/**
* 2007-2021 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-2021 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.
*/

div#subcategories {
    display: grid !important;
    gap: 1em !important;
    align-items: stretch !important;
    grid-auto-rows: 1fr !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 1023px) {
    div#subcategories img {
        max-width: 100%;
        height: auto
    }

    div#subcategories {
        border: 0;
        background: transparent
    }
}


div#subcategories {
    display: grid !important;
    gap: 1em !important;
    align-items: stretch !important;
    grid-auto-rows: 1fr !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important
}

@media (min-width: 576px) {
    div#subcategories {
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important
    }
}

@media (min-width: 1024px) {
    div#subcategories {
        grid-template-columns:repeat(5, minmax(0, 1fr)) !important
    }
}

.categoryblock {
    background-color: #fff !important;
    border: 1px solid #DDE0E3 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important
}

.categoryblock:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, .2)
}

.categoryblock a {
    height: 100%;
    width: 100%;
    padding: 1em !important;
    margin: 0 !important;
    word-break: break-word
}

.categoryblock .subcatimg {
    height: 180px;
    display: flex;
    margin-bottom: 1em
}

.categoryblock .subcatimg img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.categoryblock ul li a {
    color: #4F5B65;
    font-size: 13px;
    line-height: 22px;
    padding-left: 20px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225.71%22%20height%3D%229.091%22%20viewBox%3D%220%200%205.71%209.091%22%3E%3Cg%20id%3D%22Group_2091%22%20data-name%3D%22Group%202091%22%20transform%3D%22translate(-141.439%20328.752)%20rotate(-90)%22%3E%3Cline%20id%3D%22Line_173%22%20data-name%3D%22Line%20173%22%20x1%3D%223.584%22%20y2%3D%223.584%22%20transform%3D%22translate(324.107%20142.5)%22%20fill%3D%22none%22%20stroke%3D%22%23f7931e%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20id%3D%22Path_112%22%20data-name%3D%22Path%20112%22%20d%3D%22M-.778%2C1.049%2C2.537%2C4.595%22%20transform%3D%22translate(321.5%20141.495)%22%20fill%3D%22none%22%20stroke%3D%22%23f7931e%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-position: left center;
    background-repeat: no-repeat
}

.categorybigtitle {
    font-weight: 700;
    font-size: 23px;
    text-align: center;
    color: #223a50;
    margin: 0 0 25px
}

.categoryblock ul li {
    list-style: none;
    position: Relative;
    margin: 0 0 10px
}

.categoryblock ul {
    padding: 0;
    margin: 0;
    display: inline-block
}

.subcategorytitle {
    color: #223A50;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px;
    display: inline-block;
    display: block;
    text-align: center
}