.gallery_inner .tab_buttons {
  padding: 0;
  margin: 0 -10px;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

.gallery_inner .gallery_list img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

@media screen and (min-width: 1200px) {
  .gallery_inner:after, .gallery_inner {
    padding-top: 110px;
  }
}
@media screen and (min-width: 960px) and (max-width: 1199px) {
  .gallery_inner:after, .gallery_inner {
    padding-top: 90px;
  }
}
@media screen and (min-width: 768px) and (max-width: 959px) {
  .gallery_inner:after, .gallery_inner {
    padding-top: 70px;
  }
}
@media screen and (min-width: 576px) and (max-width: 767px) {
  .gallery_inner:after, .gallery_inner {
    padding-top: 50px;
  }
}
@media screen and (max-width: 575px) {
  .gallery_inner:after, .gallery_inner {
    padding-top: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .gallery_inner {
    padding-bottom: 110px;
  }
}
@media screen and (min-width: 960px) and (max-width: 1199px) {
  .gallery_inner {
    padding-bottom: 90px;
  }
}
@media screen and (min-width: 768px) and (max-width: 959px) {
  .gallery_inner {
    padding-bottom: 70px;
  }
}
@media screen and (min-width: 576px) and (max-width: 767px) {
  .gallery_inner {
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 575px) {
  .gallery_inner {
    padding-bottom: 30px;
  }
}

.gallery_inner {
  position: relative;
  overflow: hidden;
}
.gallery_inner:after {
  display: block;
  content: "";
}
.gallery_inner .tab_buttons {
  justify-content: center;
  border-bottom: 2px solid #e5e5e5;
}
.gallery_inner .tab_buttons:after {
  flex: 0 0 100%;
  max-width: 100%;
  display: block;
  content: "";
  padding-bottom: 3%;
  max-height: 35px;
  min-height: 20px;
}
.gallery_inner .tab_buttons li {
  cursor: pointer;
  color: #A6A6A6;
  line-height: 1.2em;
  font-family: "raleway-m", "montserratarm";
}
.gallery_inner .tab_buttons li:hover {
  color: #3D4D60;
}
.gallery_inner .tab_buttons li.selected {
  pointer-events: none;
  cursor: default;
  color: #A7DA36;
}
@media screen and (min-width: 960px) {
  .gallery_inner .tab_buttons li {
    font-size: 200%;
    margin: 0 20px;
  }
}
@media screen and (min-width: 576px) and (max-width: 959px) {
  .gallery_inner .tab_buttons li {
    font-size: 180%;
    margin: 0 15px;
  }
}
@media screen and (min-width: 400px) and (max-width: 575px) {
  .gallery_inner .tab_buttons li {
    font-size: 160%;
    margin: 0 10px;
  }
}
@media screen and (max-width: 399px) {
  .gallery_inner .tab_buttons li {
    font-size: 140%;
    margin: 0 10px;
  }
}
.gallery_inner .gallery_list {
  margin: 0 -10px;
  padding: 0;
  list-style-type: none;
}
.gallery_inner .gallery_list:before {
  display: block;
  content: "";
  padding-bottom: 7%;
  max-height: 80px;
  flex: 0 0 100%;
  max-width: 100%;
}
.gallery_inner .gallery_list:after {
  display: block;
  content: "";
  clear: both;
}
.gallery_inner .gallery_list li {
  position: relative;
  overflow: hidden;
  float: left;
  width: 33.33%;
}
.gallery_inner .gallery_list li .video_btn:before {
  transform: scale(0.6) translate3d(-83.3%, -83.3%, 0);
  -moz-transform: scale(0.6) translate3d(-83.3%, -83.3%, 0);
  -ms-transform: scale(0.6) translate3d(-83.3%, -83.3%, 0);
  -webkit-transform: scale(0.6) translate3d(-83.3%, -83.3%, 0);
  -o-transform: scale(0.6) translate3d(-83.3%, -83.3%, 0);
}
.gallery_inner .gallery_list li:before {
  display: block;
  padding-bottom: 67.5%;
  content: "";
}
.gallery_inner .gallery_list li:nth-child(5n+1), .gallery_inner .gallery_list li:nth-child(5n+2) {
  width: 50%;
}
.gallery_inner .gallery_list li:nth-child(5n+1) .video_btn:before, .gallery_inner .gallery_list li:nth-child(5n+2) .video_btn:before {
  transform: scale(0.8) translate3d(-62.5%, -62.5%, 0);
  -moz-transform: scale(0.8) translate3d(-62.5%, -62.5%, 0);
  -ms-transform: scale(0.8) translate3d(-62.5%, -62.5%, 0);
  -webkit-transform: scale(0.8) translate3d(-62.5%, -62.5%, 0);
  -o-transform: scale(0.8) translate3d(-62.5%, -62.5%, 0);
}
.gallery_inner .gallery_list li:nth-child(10n+3), .gallery_inner .gallery_list li:nth-child(10n+8) {
  width: 66.67%;
}
.gallery_inner .gallery_list li:nth-child(10n+3) .video_btn:before, .gallery_inner .gallery_list li:nth-child(10n+8) .video_btn:before {
  transform: scale(1) translate3d(-50%, -50%, 0);
  -moz-transform: scale(1) translate3d(-50%, -50%, 0);
  -ms-transform: scale(1) translate3d(-50%, -50%, 0);
  -webkit-transform: scale(1) translate3d(-50%, -50%, 0);
  -o-transform: scale(1) translate3d(-50%, -50%, 0);
}
.gallery_inner .gallery_list li:nth-child(10n+8), .gallery_inner .gallery_list li:nth-child(10n+9), .gallery_inner .gallery_list li:nth-child(10n) {
  float: right;
}
.gallery_inner .gallery_list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery_inner .gallery_list a {
  position: absolute;
  display: block;
  top: 20px;
  left: 10px;
  right: 10px;
  bottom: 0;
  z-index: 2;
}
.gallery_inner .gallery_list .iframe_block {
  position: absolute;
  top: 20px;
  left: 10px;
  right: 10px;
  bottom: 0;
}
@media screen and (min-width: 768px) and (max-width: 959px) {
  .gallery_inner .gallery_list {
    margin-left: -5px;
    margin-right: -5px;
  }
  .gallery_inner .gallery_list a {
    left: 5px;
    right: 5px;
    top: 10px;
  }
}
@media screen and (min-width: 400px) and (max-width: 767px) {
  .gallery_inner .gallery_list {
    margin-left: -3px;
    margin-right: -3px;
  }
  .gallery_inner .gallery_list a {
    left: 3px;
    right: 3px;
    top: 6px;
  }
}
@media screen and (max-width: 399px) {
  .gallery_inner .gallery_list {
    margin-left: -2px;
    margin-right: -2px;
  }
  .gallery_inner .gallery_list a {
    left: 2px;
    right: 2px;
    top: 4px;
  }
}

.web .gallery_list a {
  overflow: hidden;
}
.web .gallery_list a:not(.video_btn) img {
  -o-transition: transform 0.5s;
  -ms-transition: transform 0.5s;
  -moz-transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  transition: transform 0.5s;
}
.web .gallery_list a:not(.video_btn):hover img {
  transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
}

.touch .gallery_list a {
  overflow: hidden;
}
.touch .gallery_list a:not(.video_btn) img {
  -o-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
}
.touch .gallery_list a:not(.video_btn):active img {
  transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
}

.gallery_inner .tab_buttons li {
  -o-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.gallery_inner .gallery_list a {
  -o-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.gallery_inner .tab_buttons li {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*# sourceMappingURL=gallery.css.map */
