* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}
.box {
  width: 19.9%; height: 218px;
  float: left;
  margin-bottom: 0.3em;
  text-align: center;
  overflow: hidden;
}
.box a {
  display: inline-block;
  width: 98%;
  height: auto;
}
.box a img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.gallery {
  margin-top: 50px;
}
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -o-transition-property: top, left, opacity;
  transition-property: transform, opacity;
}
.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  .box {
    width: 50%;
  }
}
@media screen and (max-width: 500px) {
  .box {
    width: 100%;
  }
}
.list-filter-gallery {
  text-align: center;
  padding: 10px 0;
}
.list-filter-gallery li {
  display: inline-flex;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin-bottom: 3px;
  font-family: var(--font-primary);
  font-size: 15px;
}
.list-filter-gallery li:hover {
}
.list-filter-gallery li a {
  text-decoration: none;
  color: var(--color-gray);
}
.list-filter-gallery li a.active {
  color: var(--color-orange);
}
.list-grid {
  margin-bottom: 2em;
}
@media screen and (max-width: 768px) {
  #swipebox-caption span.title {
    float: right;
  }
}
html.swipebox {
  overflow: hidden !important;
}
#swipebox-overlay img {
  border: none !important;
}
#swipebox-slider {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -khtml-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
#swipebox-overlay {
  -webkit-transition: opacity 1s ease;
  -moz-transition: opacity 1s ease;
  -o-transition: opacity 1s ease;
  -khtml-transition: opacity 1s ease;
  transition: opacity 1s ease;
}
#swipebox-action,
#swipebox-caption {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -khtml-transition: 0.5s;
  transition: 0.5s;
}
#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999 !important;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
#swipebox-slider {
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
}
#swipebox-slider .slide {
  background: url("img/loader.gif") no-repeat center center;
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}
#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}
#swipebox-slider .slide img,
#swipebox-slider .slide .swipebox-video-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
#swipebox-slider .slide .swipebox-video-container {
  background: none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 5%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
#swipebox-action,
#swipebox-caption {
  position: absolute;
  bottom: 0;
  z-index: 999;
  width: 100%;
}
#swipebox-caption {
  height: 50px;
}
#swipebox-action {
  top: 0;
  opacity: 0;
  height: 0;
}
#swipebox-action.visible-bars {
  top: 0;
  opacity: 1;
}
#swipebox-action.force-visible-bars {
  opacity: 1 !important;
}
#swipebox-caption {
  bottom: -50px;
  text-align: center;
}
#swipebox-caption.visible-bars {
  bottom: 0;
}
#swipebox-caption.force-visible-bars {
  bottom: 0 !important;
}
#swipebox-action #swipebox-prev,
#swipebox-action #swipebox-next,
#swipebox-action #swipebox-close {
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
  position: fixed;
  width: 50px;
  height: 50px;
  top: 0;
}
#swipebox-close {
  background: transparent url(img/close.png) no-repeat top 40% left 10% !important;
  width: 50px;
  height: 50px;
  right: 0;
}
#swipebox-action #swipebox-prev {
  background: none;
  width: 50%;
  height: 100%;
  left: 0;
  top: 50px;
  left: 0;
  background: transparent url(img/back.png) no-repeat top 40% left 10% !important;
}
#swipebox-action #swipebox-next {
  background-position: right;
  width: 50%;
  height: 100%;
  right: 0;
  top: 50px;
  right: 0;
  background: transparent url(img/next.png) no-repeat top 40% right 10% !important;
}
#swipebox-action #swipebox-prev.disabled,
#swipebox-action #swipebox-next.disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  opacity: 0.3;
}
#swipebox-slider.rightSpring {
  -moz-animation: rightSpring 0.3s;
  -webkit-animation: rightSpring 0.3s;
}
#swipebox-slider.leftSpring {
  -moz-animation: leftSpring 0.3s;
  -webkit-animation: leftSpring 0.3s;
}
@-moz-keyframes rightSpring {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: -30px;
  }
  100% {
    margin-left: 0;
  }
}
@-moz-keyframes leftSpring {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: 30px;
  }
  100% {
    margin-left: 0;
  }
}
@-webkit-keyframes rightSpring {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: -30px;
  }
  100% {
    margin-left: 0;
  }
}
@-webkit-keyframes leftSpring {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: 30px;
  }
  100% {
    margin-left: 0;
  }
}
#swipebox-overlay {
  background: #000;
}
#swipebox-caption .title,
#swipebox-caption .counter {
}
#swipebox-caption {
  background-color: rgba(0, 0, 0, 0.65);
}
#swipebox-caption .counter {
  float: left;
  padding: 0 25px;
  color: #666;
  line-height: 45px;
  font-size: 13px;
  font-family: sans-serif;
  letter-spacing: 1px;
}
#swipebox-caption .title {
  padding: 0 25px;
  margin-left: -90px;
}
#swipebox-caption {
  color: white !important;
  font-size: 15px;
  line-height: 43px;
}
#swipebox-caption span.title {
  color: #fff;
  text-transform: uppercase;
}
.grid figure {
  position: relative;
  height: 217px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}
.grid figure img {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.grid figure figcaption {
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.grid figure figcaption p {
  color: #fff;
}
.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}
.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: calc(50% - 40px);
  left: 0;
  width: 100%;
  height: 100%;
}
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
figure.effect-oscar {
  background: #000;
}
figure.effect-oscar img {
}
figure.effect-oscar figcaption {
  padding: 20px;
  background-color: rgba(58, 52, 42, 0);
  -webkit-transition: background-color 0.35s;
  transition: background-color 0.35s;
}
figure.effect-oscar figcaption::before {
  position: absolute;
  top: 10%;
  right: 10%;
  bottom: 10%;
  left: 10%;
  content: "";
}
figure.effect-oscar figcaption::before,
figure.effect-oscar p {
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale(0);
  transform: scale(0);
}
figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
figure.effect-oscar:hover figcaption {
  background-color: rgba(58, 52, 42, 0);
}
figure.effect-oscar:hover img {
  opacity: 0.8;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale3d(1.1, 1.1, 1);
  transform: scale3d(1.1, 1.1, 1);
}
@media screen and (max-width: 1680px) {
  .box {
    width: 25%;
  }
}
@media screen and (max-width: 1366px) {
  .box {
    width: 25%;
  }
}
@media screen and (max-width: 1280px) {  .list-filter-gallery li {
    width: 20%;
    display: inline-block;
    flex: auto;
    text-align: left;
    margin-bottom: 10px;
  }
  .list-filter-gallery {
    display: inline-block;
    font-size: 0;
    text-align: left;width:100%
  }
  .box {
    width: 25%;
  }
  .grid figure figcaption {
    font-size: 18px;
  }
}
@media screen and (max-width: 1024px) {
  .box {
    width: 33%;
  }
  .grid figure figcaption {
    font-size: 15px;
  }
}
@media screen and (max-width: 991px) {
  .box {
    width: 50%;
  } .list-filter-gallery li {
    width: 33.33%;
  }

}
@media screen and (max-width: 768px) {
 
}
@media screen and (max-width: 667px) {
  .list-filter-gallery li {
    width: 50%;
  }
}
@media screen and (max-width: 430px) {
  .grid figure {
    height: 157px;
  }.box {
 
    height: 156px;}
}
