.filter {
  display: -ms-flexbox;
  display: flex;
  height: 84px;
  padding-top: 15px;
  -ms-flex-align: start;
      align-items: flex-start;
  -ms-flex-pack: end;
      justify-content: flex-end;
  box-sizing: border-box;
  border-top: 1px #979797 solid;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.filter select {
  display: none;
}
.filter__wrapper {
  position: relative;
}
.filter__wrapper:nth-child(n + 2) {
  margin-left: 45px;
}
.filter__container .form--inline > * {
  display: none;
}
.filter__container .form--inline .filter {
  display: -ms-flexbox;
  display: flex;
}
.filter__param {
  font-size: 1.4rem;
  display: inline-block;
}
.filter__select {
  position: relative;
  display: inline-block;
  background-color: inherit;
  border-radius: 0;
  -moz-appearance: none;
       appearance: none;
  border: none;
  font-size: 1.4rem;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  z-index: 1;
  line-height: normal;
  padding-right: 16px;
}
.filter__select:not(.initialized):not(.select-wrapper) {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='7' viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6.333l.167.167L11.5 1.167 10.833.5 6 5.333 1.167.5.5 1.167 5.833 6.5 6 6.333z' stroke='%239B9B9B' fill='%239B9B9B' fill-rule='evenodd'/%3E%3C/svg%3E") right center no-repeat;
  background-size: 12px 7px;
}
.filter__select::before {
  display: inline-block;
  content: attr(select-value);
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
}
.filter__select input.select-dropdown {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-appearance: none;
       appearance: none;
  z-index: 10;
}
.filter__select span.caret {
  position: absolute;
  right: 0;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='7' viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6.333l.167.167L11.5 1.167 10.833.5 6 5.333 1.167.5.5 1.167 5.833 6.5 6 6.333z' stroke='%239B9B9B' fill='%239B9B9B' fill-rule='evenodd'/%3E%3C/svg%3E") center no-repeat;
  background-size: cover;
  width: 12px;
  height: 7px;
  top: 5px;
  z-index: 0;
  font: 0/0 a;
  pointer-events: none;
}
.filter__select .dropdown-content {
  list-style-type: none;
  background-color: #fff;
  margin: 0;
  padding: 7px 0 7px 0;
  display: none;
  min-width: 100px;
  width: 156px !important;
  top: 22px !important;
  right: 0 !important;
  left: auto !important;
  max-height: none;
  overflow-y: visible;
  opacity: 0;
  position: absolute;
  z-index: 20;
  will-change: width, height;
  box-sizing: border-box;
  border: 1px solid #D8D8D8;
  font-weight: 400;
}
.filter__select .dropdown-content li {
  list-style-type: none;
  cursor: pointer;
  text-align: left;
  text-transform: none;
  margin-bottom: 3px;
  padding-left: 10px;
}
.filter__select .dropdown-content li:hover {
  background-color: #000;
  color: #fff;
}
.filter__select .dropdown-content li.selected,
.filter__select .dropdown-content li.active {
  font-weight: bold;
}
.filter__select .dropdown-content li.divider {
  min-height: 0;
  height: 1px;
}
.filter__select .dropdown-content li > a,
.filter__select .dropdown-content li > span {
  display: block;
  line-height: 17px;
}
.filter__select .dropdown-content li > a > i {
  height: inherit;
  line-height: inherit;
}
.filter__select .dropdown-content li:last-child {
  margin-bottom: 0;
}
.block-msh-gallery-block .filter {
  max-width: 800px;
  margin: 0 auto;
}
.product-table .filter__select {
  position: relative;
}
.product-table .filter__select:not(.initialized):not(.select-wrapper) {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='6' viewBox='0 0 9 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.947 1.366L7.634.053a.197.197 0 0 0-.268 0L4.502 2.917 1.637.053a.197.197 0 0 0-.268 0L.056 1.366a.188.188 0 0 0 0 .268l4.31 4.314c.074.07.197.07.272 0l4.31-4.314c.03-.04.052-.079.052-.132a.219.219 0 0 0-.053-.136z' fill='%23ED0F00' fill-rule='evenodd'/%3E%3C/svg%3E") right center no-repeat;
  background-size: 9px 6px;
}
.product-table .filter__select span.caret {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='6' viewBox='0 0 9 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.947 1.366L7.634.053a.197.197 0 0 0-.268 0L4.502 2.917 1.637.053a.197.197 0 0 0-.268 0L.056 1.366a.188.188 0 0 0 0 .268l4.31 4.314c.074.07.197.07.272 0l4.31-4.314c.03-.04.052-.079.052-.132a.219.219 0 0 0-.053-.136z' fill='%23ED0F00' fill-rule='evenodd'/%3E%3C/svg%3E") center no-repeat;
  width: 9px;
  height: 6px;
}
@media (max-width: 1024px) {
  .product-table .filter__select {
    line-height: 20px;
    height: 60px;
    padding: 0 40px 0 15px;
    font-size: 1.6rem;
    transform: scale(0.74);
    transform-origin: left center;
    width: auto !important;
  }
  .product-table .filter__select:not(.initialized):not(.select-wrapper) {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' viewBox='0 0 12 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-rule='evenodd'%3E%3Cpath d='M11.908 6.236l-.41.41a.345.345 0 0 1-.47 0L6.003 1.62 4.299 3.325.978 6.645a.345.345 0 0 1-.47 0l-.41-.409a.33.33 0 0 1 0-.47L5.764.092a.355.355 0 0 1 .478 0l5.666 5.674c.053.07.092.139.092.231 0 .093-.039.17-.092.239zM11.908 13.502l-.41-.41a.345.345 0 0 0-.47 0l-5.025 5.025-1.704-1.703-3.321-3.322a.345.345 0 0 0-.47 0l-.41.41a.33.33 0 0 0 0 .47l5.666 5.674a.355.355 0 0 0 .478 0l5.666-5.674a.363.363 0 0 0 .092-.231.384.384 0 0 0-.092-.239z'/%3E%3C/g%3E%3C/svg%3E") 92% center no-repeat;
    background-size: 16px 26px;
  }
}
@media (max-width: 374px) {
  .product-table .filter__select {
    transform: scale(0.6);
  }
}
.blog-page-content .filter {
  padding-top: 37px;
  margin-bottom: 35px;
}
@media (max-width: 768px) {
  .blog-page-content .filter {
    -ms-flex-pack: center;
        justify-content: center;
    margin-bottom: 0;
    padding-top: 16px;
    height: 65px;
  }
}
