.block-gallery {
  padding-top: 80px;
  padding-bottom: 80px;
}

.block-gallery-article {
  text-align: center;
}

.block-gallery-heading {
  justify-content: center;
  margin-bottom: 30px;
}

.block-gallery-filters {
  padding: 60px 20px;
  margin-top: 40px;
  color: #fff;
  text-align: center;
  .gradienty(@color-accent2, @color-accent3);

  > span {
    font-size: 15px;
    font-weight: 800;
  }
}
.block-gallery-filter {
  position: relative;
  display: inline-block;
  width: 220px;
  margin-left: 30px;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    right: 7px;
    width: 35px;
    height: 100%;
    background-color: #fff;
    border-left: 1px solid #1177bd;
  }
  &:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 0;
    height: 0;
    margin-top: -3px;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: @color-accent3 transparent transparent transparent;
    pointer-events: none;
  }
  > select {
    display: block;
    width: 100%;
    appearance: none;
    box-sizing: border-box;
    padding: 11px 43px 11px 30px;
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #1177bd;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 7px;
    outline: 0;
  }
}

.block-gallery-group {
  padding-top: 80px;
  overflow: hidden;
}

.block-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -30px;
  margin-right: -30px;
}

.block-gallery-item {
  width: 30px + 220px + 30px;
  padding: 40px 30px 0;
}

.block-gallery-caption {
  display: block;
  padding-top: 20px;
  font-style: normal;
}

// responsive

@media (max-width: @screen-lg) {
  .block-gallery-title {
    text-align: center;
  }
  .block-gallery-grid {
    justify-content: center;
  }
}

@media (max-width: @screen-md) {
  .block-gallery-filters > span {
    display: block;
    padding-bottom: 20px;
  }
}

@media (max-width: @screen-sm) {
  .block-gallery-filter {
    display: block;
    width: 100%;
    max-width: 220px;
    .mxauto;
  }
  .block-gallery-filter + .block-gallery-filter  {
    margin-top: 15px;
  }

  .block-gallery-grid {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .block-gallery-item {
    width: 220px;
    padding-left: 0;
    padding-right: 0;
    .mxauto;
  }
}
