img.lazy {
  display: block
}

.neo__gallery .neo__items > div a {
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap
}

.neo__gallery {
  background: transparent;
  min-height: 100vh;
  margin: auto;
  background-image: url("../_ui/grfx/tile-light-blue.svg");
  /* -webkit-background-size: 600px;
  -moz-background-size: 600px;
  background-size: 600px;
  -o-background-size: 600px; */
  background-position: 0 0;
  background-color: #2A3446;
  background-repeat: repeat
}

.neo__gallery > div {
  width: 80%;
  margin: auto;
  padding: calc(7vw + 50px) 0
}

.neo__gallery > div h1 {
  margin: calc(2vw + 20px) auto;
  text-align: center;
  width: 100%;
  /* top: 50px; */
  color: #2A3446;
  text-shadow: 2px 2px #CD9486;
}

.neo__gallery > div strong {
  margin: -15px 0 6vw 0
}

@media screen and (max-width: 1080px) {
  .neo__gallery > div h1 {
    margin: calc(4vw + 50px) auto calc(2vw + 20px)
  }
}

@media screen and (max-width: 960px) {
  .neo__gallery > div {
    padding: calc(8vw + 100px) 0;
    width: 88%;
  }
}

.neo__gallery .neo__items {
  width: 100%;
  max-width: 100%;
  margin: auto;
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  justify-content: space-between;
  -webkit-justify-content: space-between
}

.neo__gallery .neo__items > div figure {
  width: 100%
}

.neo__gallery .neo__items > div.item {
  -webkit-transition: transform 0.6s ease;
  -moz-transition: transform 0.6s ease;
  -ms-transition: transform 0.6s ease;
  -o-transition: transform 0.6s ease;
  transition: transform 0.6s ease;
  position: absolute;
  overflow: hidden;
  z-index: 1;
  cursor: move;
  display: inline-block;
  float: left;
  margin: 10px;
  height: 25vw;
  width: calc(100%/3 - 20px);
  max-width: calc(100%/3 - 20px)
}

.neo__gallery .neo__items > div a {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  content: "";
  z-index: 1
}

.neo__gallery .neo__items > div .item-content:hover a {
  background: rgba(0, 58, 93, 0.2)
}

.neo__gallery .filter-controls {
  margin: calc(2vw + 10px) auto
}

.neo__gallery .filter-controls .neo_filter {
  text-align: center
}

.neo__gallery .filter-controls .neo_filter a {
  font-style: normal;
  font-stretch: normal;
  font-variant: initial;
  letter-spacing: 0px;
  text-transform: initial;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.88;
  text-align: center;
  color: #2A3446;
  font-family: "Prompt-Bold";
  margin: 0 calc(1vw + 10px);
  display: inline-block;
  position: relative;
  /* text-transform: uppercase; */
}

/*@media screen and (max-width: 1480px) {*/
/*  .neo__gallery .filter-controls .neo_filter a {*/
/*    font-size: calc(24px + -4 * (100vw - 1480px) / -520)*/
/*  }*/
/*}*/

@media screen and (max-width: 640px) {
  .neo__gallery > div {
    padding: calc(15vw + 100px) 0
  }
}

.neo__gallery .filter-controls .neo_filter a:after {
  background: transparent;
  width: 100%;
  height: 2px;
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  -webkit-transition: background-color 0.24s ease-in-out;
  -moz-transition: background-color 0.24s ease-in-out;
  -ms-transition: background-color 0.24s ease-in-out;
  -o-transition: background-color 0.24s ease-in-out;
  transition: background-color 0.24s ease-in-out
}

.neo__gallery .filter-controls .neo_filter a.filterActive {
  pointer-events: none;
  color: #2A3446
}

.neo__gallery .filter-controls .neo_filter a.filterActive:after {
  background-color: #2A3446
}

.neo__gallery .filter-controls .neo_filter a.filterHide {
  visibility: hidden;
  margin: 0;
  display: none
}

/* .neo__gallery .filter-controls .neo_filter a:hover {
  color: #f9cb38
}

.neo__gallery .filter-controls .neo_filter a:hover:after {
  background-color: #f9cb38
} */

body[id=gallery]:before {
  width: 100%;
  height: 100%;
  background: transparent;
  content: "";
  z-index: 0;
  position: fixed;
  top: 0;
  right: 0
}

body[id=gallery] header {
  background: transparent
}

body[id=gallery] header {
  background: linear-gradient(0deg, rgba(0, 58, 93, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.64) 100%)
}

body[id=gallery] header.sticky {
  background: #2A3446;
  position: fixed;
  z-index: 999;
  top: -45px
}

.mfp-wrap .mfp-image-holder .mfp-content figure > figcaption,
.mfp-wrap .mfp-iframe-holder .mfp-content figure > figcaption {
  position: unset
}

.mfp-wrap .mfp-image-holder .mfp-content figure > figcaption .mfp-bottom-bar,
.mfp-wrap .mfp-iframe-holder .mfp-content figure > figcaption .mfp-bottom-bar {
  background: rgba(194, 11, 158, 0);
  margin: 0;
  padding: 0;
  top: auto;
  bottom: 0;
  max-width: 80%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  bottom: 50%;
  position: absolute;
  max-width: unset
}

.mfp-title {
  text-align: center;
  font-size: 34px;
  font-family: "hero-new";
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  font-weight: bold
}

.grfx-arrow-left,
.grfx-arrow-right {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  filter: alpha(opacity=100);
  width: 53px;
  cursor: pointer;
  visibility: visible
}

.grfx-arrow-right {
  position: absolute;
  top: 0;
  right: 0
}

.mfp-wrap .mfp-image-holder .mfp-content .mfp-close,
.mfp-wrap .mfp-iframe-holder .mfp-content .mfp-close {
  border: 0;
  width: 40px;
  height: 40px;
  background-image: url("../../halstead/_ui/exit-white.svg");
  background-color: #CD9486;
  background-repeat: no-repeat
}

.mfp-wrap .mfp-image-holder .mfp-content .mfp-close svg,
.mfp-wrap .mfp-image-holder .mfp-content .mfp-close img,
.mfp-wrap .mfp-iframe-holder .mfp-content .mfp-close svg,
.mfp-wrap .mfp-iframe-holder .mfp-content .mfp-close img {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  filter: alpha(opacity=0)
}

.mfp-wrap img.mfp-img {
  max-width: 90%
}

@media screen and (max-width: 960px) {
  .neo__gallery {
    min-height: 80vh
  }

  .neo__gallery .neo__items > div.item {
    height: auto;
    width: calc(50% - 20px);
    max-width: calc(50% - 20px)
  }

  .mfp-wrap img.mfp-img {
    max-width: 100%
  }

  .mfp-wrap .mfp-image-holder .mfp-content {
    max-width: 96%
  }
}

@media screen and (max-width: 700px) {
  .neo__gallery .neo__items > div.item {
    height: auto;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px)
  }
}

@media screen and (max-width: 460px) {
  .neo__gallery .filter-controls .neo_filter a {
    display: table;
    margin: auto
  }
}

.neo_search {
  visibility: hidden;
  display: none
}