/**
* 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.
*/

.rlhomecategories {
    /*margin-bottom: 3rem;*/
    padding: 20px;
    background-color: #FFF;
    display:flex;
}
.rlhomecategories .row{
    margin: 0 auto;
}
.rlhomecategories img {
    height: auto;
}
.rlhomecategories .title {
    margin: 50px 0px 60px 0px;
    font-size:40px;
    line-height:33px;
}
.rlhomecategories .home_cat {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.rlhomecategories .home_cat {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
.rlhomecategories .home_cat .name {
    margin-top: 10px;
    font-size: 23px;
    line-height: 23px;
    font-weight: 500;
    overflow: hidden;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 46px;
    width: 215px;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
}
.rlhomecategories .home_cat .name span.fa-solid{
    font-size:38px;
    line-height:38px;
    color:#c771d6;
}
span.c-name {
    padding: 0px 0px 0px 8px;
    text-align: left;
    font-size: 35px;
    line-height: 40px;
}
.rlhomecategories .home_cat:hover .name {
    color: #000;
}
.rlhomecategories_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: unset;
    margin: 0;
    margin-top: 20px;
}
.rlhomecategories_list .home_cat {
    width: 20%;
}
.rlhomecategories_list .home_cat img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    padding: 0 10px;
}

@media(max-width:768px){
    .rlhomecategories .home_cat .name{
        width:180px;
    }
    .rlhomecategories .home_cat .name span.fa-solid{
        font-size:19px;
        line-height:19px;
    }
    span.c-name{
        font-size:23px;
        line-height:25px;
    }
}
@media (max-width: 991px) {
    .rlhomecategories {
        padding: 15px;
    }
    .rlhomecategories_list .home_cat {
        width: 50%;
        margin-bottom: 20px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .rlhomecategories_list .home_cat {
        width: 33.33%;
        margin-bottom: 32px;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .rlhomecategories_list .home_cat {
        width: 24%;
        margin-bottom: 32px;
    }
}