@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.gallery_type1_row {
  overflow: hidden;
  padding: 0 0 60px 0;
  white-space: nowrap;
  position: relative;
}

.gallery_type1_row:before,
.gallery_type1_row:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.gallery_type1_row:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.gallery_type1_row:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.gallery_type1_row:hover .gallery_type1_img_box {
  /**animation-play-state: paused; */
}

.gallery_type1_img_box {
  display: inline-block;
  animation: 30s slide infinite linear;
}

.gallery_type1_img_box img {
  height: 500px;
  width: 380px;
  margin: 0 20px;
  object-fit: cover;
}

@media screen and (max-width: 1400px) {}
@media screen and (max-width: 1200px) {}
@media screen and (max-width: 992px) {
  .gallery_type1_row:before {background: 0;}
  .gallery_type1_row:after {background: 0;}
  .gallery_type1_img_box img {height: 460px; width: 340px;}
}
@media screen and (max-width: 767px) {
  .gallery_type1_img_box img {width: 270px; height: 380px; margin: 0 10px;}
}
@media screen and (max-width: 393px) {}
@media screen and (max-width: 375px) {}
@media screen and (max-width: 320px) {}

