ul.brands_dict {
    list-style-type: none;
    margin: 25px 0 40px 0;
    padding: 0;
    overflow: hidden;
    background-color: #042848;
    text-align: center;
    border-radius: 7px;
}

ul.brands_dict li {
    display: inline-block;
}

ul.brands_dict li a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
}

ul.brands_dict li a:hover {
    background-color: #003c71;
}

ul.brands_dict li {
    display: inline-block;
}

.brand_group {
    display: flex;
    flex-wrap: wrap;
}

.list-brands li.brand > div {
    width: auto;
    display: block;
}

.brand_group h3 {
    width: 100%;
    padding: .5rem;
    margin: 1rem 1rem .5rem;
    border-bottom: 3px solid #eee;
}

ul.list-brands li.brand {
    max-width: 33.33%;
    width: 100%;
    padding: 1rem;
    align-items: center;
    display: flex;
    border: none;
    flex-direction: row;
}

.brand-infos p {
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1.05;
}

.brand-infos p a {
    color: #000;
}

.brand-infos .brand-info-products {
    font-size: 10px;
}

.brand-infos p a:hover {
    color: var(--main-color);
}

div.brand-img {
    max-width: 150px;
    padding: 0 .8rem;
}

ul.list-brands {
    padding-left: 0;
    margin: 20px 0 10px;
}

.brand-img img {
    max-width: 100%;
}

.h1-brands {
    text-align: center;
    color: #222;
    font-size: 2.2em;
}

.brand_group h3 {
    font-size: 2.2rem;
}

@media (max-width: 480px) {
    ul.list-brands li.brand {
        margin: 0;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    ul.list-brands li.brand {
        max-width: calc(100%/6);
    }
}