.drag-block.BRANDS .maxwidth-theme {
  padding-bottom: 69px;
}
.drag-block.BRANDS .maxwidth-theme.no-title {
  padding-top: 69px;
}

.item-views.brands .item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--light, none) var(--dark, #fff);
  border-radius: 3px;
  padding: 0px 10px;
}
.item-views.brands .item.bordered {
  line-height: 150px;
  height: 150px;
}

.item-views.brands .item.bordered {
  border-left: none;
}

.item-views.brands.with_border {
  border-left: 1px solid #ececec;
}

@media (min-width: 992px) {
  .wrapper1:not(.with_left_block) #content .wrapper_inner.front .drag-block.container.BRANDS .maxwidth-theme {
    padding-bottom: 79px;
  }
  .wrapper1:not(.with_left_block) #content .wrapper_inner.front .drag-block.container.BRANDS .maxwidth-theme.no-title {
    padding-top: 79px;
  }
}

@media (max-width: 600px) {
  .drag-block.container.BRANDS .maxwidth-theme.no-title {
    padding-top: 40px;
  }
  body#main .wrapper1 .wrapper_inner.front .drag-block.container.BRANDS .content_wrapper_block > .maxwidth-theme {
    padding-bottom: 40px;
  }
  .content_wrapper_block.front_brands_slider .top_block {
    margin-bottom: 28px;
  }
  .item-views.brands {
    margin-right: -16px;
    width: calc(100% + 16px);
  }
  .item-views.brands .item {
    width: 120px !important;
    flex-shrink: 0;
  }
  body .item-views.brands .item img {
    max-width: 100%;
  }
  .item-views.brands.with_border .item {
    width: 140px !important;
  }
}
@media (max-width: 485px) {
  .item-views.brands .item {
    width: 140px !important;
  }
}
@media (max-width: 430px) {
  .item-views.brands .item {
    width: 120px !important;
  }
}
@media (max-width: 350px) {
  .item-views.brands .item {
    width: 110px !important;
  }
}
