.gallerylist {
  padding-bottom: 75px;
}
.gallery-listbox {
  position: relative;
  top: 0;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  margin-bottom: 63px;
}
.gallery-imgbox {
  overflow: hidden;
}
.gallery-listbox .imagesbox-inner {
  height: 212px;
  position: relative;
  width: 100%;
  top: 0;
  background-size: cover !important;
  transform: scale(1);
  -webkit-transform: scale(1);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
.gallery-listbox .item-hd {
  text-align: left;
  position: absolute;
  bottom: -34px;
  left: 7px;
  right: 7px;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0;
  color: #000000;
  line-height: 1.42;
  padding: 10px 17px 6px 17px;
  display: block;
  transition: all 0.3s;
  background: #ffffff;
  z-index: 2;
  cursor: pointer;
  min-height: 66px;
  box-shadow: 0 2px 24px 0 rgba(59, 59, 59, 0.16);
}
.gallery-listbox .count-text {
  font-size: 12px;
  font-weight: bold;
  line-height: 2.17;
  letter-spacing: 1.5px;
  color: #3b3b3b;
  opacity: 0.7;
  text-transform: uppercase;
  display: block;
}
.gallery-listbox:hover .gallery-imgbox .imagesbox-inner {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
@media (max-width: 992px) {
  .gallerylist {
    padding-bottom: 55px;
  }
}
@media (max-width: 767px) {
  .gallery-listbox {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 15px;
  }
  .gallery-listbox .imagesbox-inner {
    height: 100%;
    width: 75px;
  }
  .gallery-imgbox {
    width: 75px;
  }
  .gallery-listbox .item-hd {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: calc(100% - 75px);
    padding-right: 17px;
    height: 75px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .gallerylist {
    padding-bottom: 30px;
  }
  .gallery-list.row > [class*="col-"]:last-child .gallery-listbox {
    margin-bottom: 0;
  }
}
@media (max-width: 479px) {
  .gallery-imgbox {
    width: 50%;
  }
  .gallery-listbox .item-hd {
    width: 50%;
  }
  .gallery-listbox .imagesbox-inner {
    width: 100%;
  }
  .gallery-listbox .item-hd {
    font-size: 16px;
  }
}
