.swiper{
  width: 100%;
  /*max-width: 1200px;*/
  height: 600px;
  margin: auto;
  padding: 0;
}
.swiper-container {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin-left: 10px;
  margin-top: 10px;
  margin-right: auto;
}
.swiper-slide {
  background-size: cover;
  background-position: center;
}
.gallery-top {
  height: 70%;
  width: 100%;
}
.gallery-thumbs {
  height: 30%;
  box-sizing: border-box;
  padding: 10px 0;
}
.gallery-thumbs .swiper-slide {
  width: 25%;
  height: 50%;
  opacity: 0.4;
}
@media(max-width: 480px){
  .swiper{
    width: 100%;
    /*max-width: 1200px;*/
    height: 400px;
    margin: auto;
    padding: 0;
  }
  .swiper-container {
    width: 100%;
    max-width: 330px;
    height: 400px;
    margin-left: 10px;
    margin-top: 10px;
    margin-right: auto;
  }
  .gallery-top {
    height: 70%;
    width: 100%;
  }
  .gallery-thumbs {
    height: 30%;
    box-sizing: border-box;
    padding: 10px 0;
  }
  .gallery-thumbs .swiper-slide {
    width: 25%;
    height: 50%;
    opacity: 0.4;
  }
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}
img{
  width: 100%;
}
.swiper i{
  position: absolute;
  bottom: 5px;
  right: 5px;
  color: #ccc;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
  opacity: 0.7;
  transition: .5s;
}
.swiper i:hover{
  opacity: 1;
}

.swiper-txt{
  width: 100%;
  position: absolute;
  bottom: -30px;
  left: 0;
}