.section-brands {
    margin-bottom: 78px;
}

.section-brands-title{
    width: 100%;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 26px;
}

.section-brands-title .h2{
    width: Calc(100% - 173px);
    padding-left: 8px;
    margin: 0 16px 0 0;
    font-weight: normal;
    font-size: 28px;
    line-height: 32px;
    color: #182B48;
}

.show-all-btn{
    width: 157px;
    height: 32px;
    background: #EFF3FE;
    border-radius: 80px;
}

.show-all-btn a{
    width: 100%;
    height: 100%;
    display: block;
}

.show-all-btn a span{
    width: 100%;
    height: 100%;
    position: relative;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
    color: #276EF1;
}

.show-all-btn a span:before{
    margin-right: 4px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.section-brands-row{
    width: 100%;
    padding: 0 7px;
    flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    -webkit-flex-wrap: wrap !important;
}

.main__brand {
    width: Calc((100% - 90px)/6);
    max-width: 180px;
    max-height: 180px;
    margin-bottom: 10px;
    margin-right: 18px;
}

.main__brand:nth-child(6n + 6){
    margin-right: 0;
}

.main__brand a{
    width: 100%;
    height: 100%;
    display: block;
}

.brands__one-block{
    padding: 10px 10px 18px 10px;
    flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    -webkit-flex-wrap: wrap !important;
}

.main__brand-logo{
    width: 100%;
    height: 120px;
    margin-bottom: 8px;
}

.main__brand-logo img{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.main__brand-name{
    width: 100%;
    height: 24px;
    overflow: hidden;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #7F8F98;
}

@media (max-width: 991px){

    .section-brands{
        margin-bottom: 48px;
    }

    .main__brand{
        width: Calc((100% - 72px)/5);
        margin-bottom: 8px;
    }

    .main__brand:nth-child(6n + 6){
        margin-right: 18px;
    }

    .main__brand:nth-child(5n + 5){
        margin-right: 0;
    }

    .main__brand:nth-child(n + 11){
        display: none;
    }
}

@media (max-width: 870px){

    .main__brand{
        width: Calc((100% - 54px)/4);
    }

    .main__brand:nth-child(5n + 5){
        margin-right: 18px;
    }

    .main__brand:nth-child(4n + 4){
        margin-right: 0;
    }

    .main__brand:nth-child(n + 9){
        display: none;
    }

    .section-brands-row{
        padding: 0;
        justify-content: space-between !important;
    }
}

@media (max-width: 768px){

    .section-brands-title{
        margin-bottom: 6px;
    }

    .main__brand{
        width: Calc((100% - 36px)/3);
    }

    .main__brand:nth-child(4n + 4){
        margin-right: 18px;
    }

    .main__brand:nth-child(3n + 3){
        margin-right: 0;
    }

    .main__brand:nth-child(n + 7){
        display: none;
    }
}

@media (max-width: 596px){

    .section-brands-title{
        margin-bottom: 16px;
    }

    .section-brands-title .h2{
        margin: 0;
        padding-left: 0;
        width: 100%;
    }

    .section-brands-row{
        margin-bottom: 24px;
        justify-content: space-around !important;
    }

    .main__brand{
        width: Calc((100% - 18px)/2);
    }

    .main__brand:nth-child(3n + 3){
        margin-right: 18px;
    }

    .main__brand:nth-child(2n + 2){
        margin-right: 0;
    }

    .show-all-btn{
        display: none;
    }

    .show-all-btn.mob{
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 394px){

    .section-brands-row{
        justify-content: space-between !important;
    }

    .main__brand{
        width: 50%;
    }

    .main__brand,
    .main__brand:nth-child(6n + 6),
    .main__brand:nth-child(5n + 5),
    .main__brand:nth-child(4n + 4),
    .main__brand:nth-child(3n + 3)
    {
        margin-right: 0;
    }
}




