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

.rdb_box_main {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    direction: ltr;
    width: calc( 25% - 10px );
    border: 1px solid #d4d4d4;
    margin: 5px;
    border-radius: 5px;
}

#manufacturer_menu {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background: #eaeaea;
    border-radius: 5px 5px 0 0;
}

.rdb_title_brand {
    text-align: center;
    margin: 10px 0;
}

.rdb_brand_link {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    flex-direction: column;
    padding: 0;
    width: 100%;
}
.rdb_brand_link:hover {
    background-color: #e7e7e7;
    color: #23262b;
}
.rdb_item_li{
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 25px;
    margin: 5px;
    font-weight: bold;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rdb_item_li:hover {
    background: #fff;
    color: #363a42;
    border-radius: 5px;
}

.rdb_item_li.active {
    background: #fff;
    border-radius: 5px;
    color: #363a42;
}

.box-alpha {
    margin: 20px 0;
    border-top: 1px solid #e0e0e0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.rdb_ul_box {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    direction: ltr;
    margin-top: 0px;
    margin-bottom: 0px;
    justify-content: center;
}
.rdb_first_char {
    text-align: left;
    height: 30px;
    line-height: 30px;
    font-size: 30px;
    font-weight: 800;
    margin: 15px;
    width: 100%;
}

@media only screen and (max-width:768px)
{
    .rdb_each_cat_brand
    {
        padding-top: 0;
    }
    .rdb_box_main{
        width: calc(50% - 10px);
    }

}

.rdb_brand_link  img {
    max-height: 130px;
    padding: 10px;
    margin: auto;
    width: -webkit-fill-available;
}
.rdb_brand_name {
    border-top: 1px solid #d6d6d6;
    width: 100%;
    line-height: normal;
    text-align: center;
    white-space: normal;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.rdb_brand_img_box {
    width: 100%;
    min-height: 130px;
    max-height: 130px;
    text-align: center;
    background: #fff;
    border-radius: 5px;
}

/*** search Page **/

#search_result_brand {
    margin: 20px 0;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#brandSearch {
    width: 240px;
    box-sizing: border-box;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    background-position: 10px 12px;
    background-repeat: no-repeat;
    padding: 10px 40px 10px 10px;
    -webkit-transition: width .4s ease-in-out;
    transition: width .4s ease-in-out;
    margin-top: 20px;
}

#brandSearch:focus {
    width: 100%;
}


/*** brand search front **/

.box_brand_front {
    margin: 20px 0;
    border-top: 1px solid #e0e0e0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.brandSearchFront {
    width: 240px;
    box-sizing: border-box;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    background-image: url(../img/searchicon.png);
    background-position: 5px 10px;
    background-repeat: no-repeat;
    padding: 10px 20px 10px 10px;
    -webkit-transition: width .4s ease-in-out;
    transition: width .4s ease-in-out;
    margin-top: 20px;
}
.brandSearchFront:focus {
    width: 100%;
}

/*** brand search front **/

/*** Theme 4 ***/
.box_brand_front_Theme4 {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-radius: 10px;
    background: #f9f9f9;
}

.box_image_Theme4 {
    border-radius: 15px;
}

.rdb_brand_btn_link_Theme4 {
    height: auto;
    display: flex;
    align-items: center;
    font-size: 18px;
    padding: 0;
    width: 100%;
}

.rdb_brand_name_Theme4 {
    color: #607d8b;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.btn_Brand_Detail {
    color: #fff;
    background-color: #607d8b;
    border-color: transparent;
    box-shadow: -2px 2px 4px 0 rgb(0 0 0 / 20%);
    text-transform: uppercase;
    font-weight: 600;
    padding: .5rem 1.25rem;
    border-radius: 5px;
}

.btn_Brand_Detail:hover,
.btn_Brand_Detail:focus{
    background: #009688;
    color: white;
}

.search_brand_front {
    display: flex;
    flex-wrap: wrap;
}


        .brand_box {
            display: none;
        }

        .show_brand {
            display: -webkit-box;
            display: -moz-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
        }

        .rdb_box_E .btn:active,
        .rdb_box_E .btn.active,
        .rdb_box_E .btn:focus {
            background: #40444d;
            color:#fff;
            border-color:#40444d;
        }

        .rdb_box_main_E {
            display: -webkit-box;
            display: -moz-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
            border: 1px solid #d4d4d4;
            margin: 5px;
            border-radius: 5px;
            padding: 0;
            background: #fff;
        }
        
