.brands-block{
    margin-bottom: 60px;
}
.brands-block-title{
    color: #332A7C;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}
.brands-block-brands{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 14px 10px;
}
.brands_block_brands_brand_link {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: -webkit-calc((100% / 6) - ((10px * 5) / 6));
    width: -moz-calc((100% / 6) - ((10px * 5) / 6));
    width: calc((100% / 6) - ((10px * 5) / 6));
    height: 55px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: #FFF;
    -webkit-box-shadow: 2px 4px 6px 0px rgba(51, 42, 124, 0.15);
    box-shadow: 2px 4px 6px 0px rgba(51, 42, 124, 0.15);
    overflow: hidden;
    position: relative;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.brands_block_brands_brand_link:hover {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    z-index: 2;
}

.brands_block_brands_brand_link picture{
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.brands_block_brands_brand_image{
    max-width: -webkit-calc(100% - 20px);
    max-width: -moz-calc(100% - 20px);
    max-width: calc(100% - 20px);
    max-height: -webkit-calc(100% - 8px);
    max-height: -moz-calc(100% - 8px);
    max-height: calc(100% - 8px);
    -o-object-position: center center;
    object-position: center center;
}

@media (min-width: 768px) and (max-width: 991px) {
    .brands_block_brands_brand_link {
        width: -webkit-calc((100% / 3) - ((10px * 2) / 3));
        width: -moz-calc((100% / 3) - ((10px * 2) / 3));
        width: calc((100% / 3) - ((10px * 2) / 3));
    }
    .brands-block{
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .brands_block_brands_brand_link {
        width: -webkit-calc((100% / 2) - (10px / 2));
        width: -moz-calc((100% / 2) - (10px / 2));
        width: calc((100% / 2) - (10px / 2));
    }
    .brands-block{
        margin-bottom: 30px;
    }
    #consultation .wpcf7-response-output{
        margin-top: -20px;
    }
}
