.gallery__header {
  background: transparent;
  color: inherit;
  padding: 45px 15px;
}
.gallery__header h1 {
  font-family: "Larken", serif;
  text-align: center;
  font-weight: 900;
  font-size: 2.875rem;
  line-height: 1em;
  margin: 45px 0;
  color: #ea4f3c;
}
.gallery__header p {
  margin-bottom: 20px;
}
.gallery__header p:not(.gallery__breadcrumbs) {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
}
.gallery__header p:last-child {
  margin-bottom: 0;
}
.gallery__breadcrumbs a {
  color: #ea4f3c;
}
.gallery__content {
  background: #f5f5f5;
  padding: 30px 20px;
  overflow: hidden;
}
.gallery__content .container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.gallery__content .tab-menu {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.gallery__content .tab-menu-item {
  max-width: 185px;
  white-space: nowrap;
  margin: 0 10px 20px;
}
.gallery__content .tab-menu-item > a.active {
  background: #ea4f3c;
  color: #fff;
}
.gallery__content .tab-content > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.gallery__content .tab-block {
  display: none;
}
.gallery__content .tab-block.active {
  display: block;
}
.gallery__images ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0 -40px -40px;
  padding: 0;
  width: calc(100% + 80px);
}
.gallery__images li {
  width: 33.333%;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 40px;
}
.gallery__image-container {
  display: block;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.gallery__images a.gallery__image {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 70%;
  background-size: cover;
  background-position: center;
}
.gallery__images a.gallery__image > h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Larken", serif;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 25px;
}
.gallery__images a.gallery__image:hover {
  opacity: 0.7;
}
.gallery__filters--reset {
  text-align: right;
  margin-bottom: 30px;
}
.gallery__filters--reset a {
  font-size: 14px;
  color: #313a3a;
  text-decoration: none;
}
.gallery__filters--reset a:hover {
  color: #ea4f3c;
}
.gallery__filters--list {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.gallery__filters--filter {
  max-width: 185px;
  white-space: nowrap;
  margin: 0 10px 20px;
}
.gallery__filters--filter > a {
  text-align: center;
}
.gallery__filters--filter > a.active {
  background: #ea4f3c;
  color: #fff;
}
.gallery__filters--filter > ul, .gallery__filters--filter > ul > a, .gallery__filters--filter > ul > li, .gallery__filters--filter > ul > li > a {
  max-width: 100%;
}
.gallery__filters--filter > ul > li > a {
  text-overflow: ellipsis;
  overflow: hidden;
}
.gallery__filters--filter.open > ul {
  position: absolute;
  z-index: 2;
}
.gallery__media.no-results {
  margin-bottom: 40px;
}
.gallery__media.gallery__images a.gallery__image .caption {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.gallery__media.gallery__images a.gallery__image .caption > h2 {
  color: #fff;
  background-color: rgba(40, 40, 40, 0.9);
  padding: 10px 5px;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
}
.gallery__media.gallery__images a.gallery__image .caption > h2:empty {
  display: none;
}
.gallery__media.gallery__images a.gallery__image.gallery__video:before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 0;
  right: 0;
  background-size: auto 50%;
  background-image: url("../../images/play-icon.svg");
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 1023px) {
  .gallery__images {
    width: 100%;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery__images li {
    width: 50%;
  }
}
@media (max-width: 649px) {
  .gallery__images li {
    width: 100%;
  }
}

/*# sourceMappingURL=gallery.css.map */
