.nae-filter-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media all and (max-width: 575px) {
  .nae-filter-buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media all and (max-width: 575px) {
  .nae-filter-buttons__button {
    width: 100%;
    margin-bottom: 2rem;
  }
}

.nae-blocks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.nae-block {
  width: 32%;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d1d1d1;
}

.nae-block:hover {
  border-color: #727272;
}

@media (max-width: 991px) {
  .nae-block {
    width: 48%;
  }
}

@media (max-width: 767px) {
  .nae-block {
    width: 100%;
  }

  .pc-block .nae-block:nth-child(n+4) {
    display: none;
  }
}

.nae-block-img-container {
  margin-bottom: .5rem;
  position: relative;
  height: 12rem;
}

.nae-block-img-bg {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  font-size: 1rem;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
}

.nae-block-img-bg:hover {
  opacity: 1;
}

.nae-block-img {
  height: 12rem;
  width: 100%;
  object-fit: cover;
}

.nae-block-img-inscription {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: "Bebas Neue";
  font-weight: 700 !important;
}

.nae-block-img-inscription-date {
  color: #3a3a3a;
  background-color: #fff;
  padding: 5px;
}

.nae-block-img-inscription-event {
  color: #fff;
  background-color: #ef0f33;
  padding: 5px;
}

.nae-block-caption {
  color: #767676;
}

.nae-sub-header {
  margin-top: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nae-open-filter-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
}

.nae-open-filter-button-counter {
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  width: 20px;
  height: 20px;
  margin-left: 15px;
  background: #3a3a3a;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  display: none;
}

.nae-open-filter-button-counter_shown {
  display: inline-block;
}

.nae-open-filter-button > * {
  margin: 0 .25rem;
}

.nae-open-filter-button-arrow {
  width: 8px;
  height: 14px;
  -webkit-transition: all ease .3s;
  -o-transition: all ease .3s;
  transition: all ease .3s;
}

.nae-open-filter-button-arrow_activated {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.nae-filter {
  display: none;
  width: 100%;
  padding: 3rem;
  border: solid 1px #e2e2e2;
  z-index: 50;
  position: relative;
}

@media (max-width: 767px) {
  .nae-filter {
    padding: 1rem;
    padding-top: 3rem;
  }
}

.nae-filter_activated {
  display: block;
}


.nae-filter-close {
  position: absolute;
  right: 2rem;
  top: 2rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .nae-filter-close {
    right: 1rem;
    top: 1rem;
  }
}

.nae-filter-close svg {
  width: 20px;
  height: 20px;
}

.nae-filter-top-blocks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.nae-filter-top-block {
  width: 32%;
  margin-bottom: 2rem;
}

@media (max-width: 1199px) {
  .nae-filter-top-block {
    width: 48%;
  }
}

@media (max-width: 767px) {
  .nae-filter-top-block {
    width: 100%;
  }
}

.nae-filter-top-block-title {
  color: #767676;
}

.nae-filter-top-block-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 32px;
}

.nae-filter-top-block-control {
  width: 46%;
}

.nae-filter-trade-exchange {
  height: 2.2rem;
  border-radius: 2px;
  background-image: url(/block/static-paging/arrow.png);
  background-repeat: no-repeat;
  background-position: right .8rem top 50%;
  background-size: 10px 8px;
  width: 100%;
}

.nae-filter-tag-blocks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.nae-filter-tag-block {
  width: 32%;
  margin-bottom: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

@media (max-width: 767px) {
  .nae-filter-tag-block {
    width: 48%;
  }
}

@media (max-width: 575px) {
  .nae-filter-tag-block {
    width: 100%;
  }
}

.nae-filtered-caption {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}


@media (max-width: 575px) {
  .nae-filtered-caption {
    font-size: 1rem;
  }
}

.nae-block-caption-tags {
  color: #ababab;
  line-height: 1;
  font-size: .75rem;
  margin: .25rem 0;
}

.nae-block-caption-container {
  min-height: 5rem;
}

.special__wrapper .nae-block {
  border: 1px solid black;
  padding: 10px;
}

.special__wrapper .nae-block:hover {
  border-width: 2px;
}

.special__wrapper .nae-block img {
  display: none;
}

.special__wrapper .nae-block-img-inscription {
  top: 5px;
  left: 0;
  bottom: unset;
}

.special__wrapper .nae-block-img-inscription-date {
  color: white;
  background-color: black;
}

.special__wrapper .nae-block-img-bg {
  display: none;
}

.special__wrapper .nae-block-img-container {
  height: 50px;
}

.special__wrapper .nae-open-filter-button img:not(.nae-open-filter-button-arrow) {
  display: none !important;
}

.special__wrapper .nae-open-filter-button * {
  text-decoration: underline;
}

.special__wrapper .nae-filter-top-blocks {
  flex-direction: column;
  margin-top: 30px;
}

.special__wrapper .nae-filter-top-block {
  border: 1px solid black;
  padding: 10px;
  width: 100%;
}

.special__wrapper .nae-filter-top-block-control {
  border-color: black;
}

.special__wrapper .nae-filter {
  border-color: black;
}

.special__wrapper .nae-filter-top-block-title {
  margin-bottom: 20px; 
}

.special__wrapper .nae-filter-tag-block label {
  margin-bottom: 20px;
}

.special__wrapper .nae-block-img-inscription-event {
  background-color: black;
}
