#gallery {
  width: 100%;
  min-height: 10px;
  overflow: auto;
  overflow-x: hidden;
}
#gallery div {
  width: 102%;
  overflow: auto;
}
#gallery .gal-box {
  display: block;
  float: left;
  width: 23%;
  text-align: center;
  border: 0px solid #000;
  overflow: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 2% 2% 0 0;
  background-repeat: no-repeat;
  padding-bottom: 50px;
  position: relative;
}
#gallery .gal-box b {
  height: 45px;
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
}
#gallery .gal-pic {
  display: block;
  position: relative;
  float: left;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border: 0px solid #000;
  overflow: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 2% 2% 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 10px;
}
#gallery .gal-pic button {
  position: absolute;
  top: 10px;
  left: 10px;
}
@media screen and (max-width: 980px) {
  #gallery .gal-box {
    width: 23%;
  }
  #gallery .gal-box b {
    font-size: 12px;
  }
}
@media screen and (max-width: 760px) {
  #gallery .gal-box {
    width: 48%;
  }
}
@media screen and (max-width: 400px) {
  #gallery .gal-box {
    width: 98%;
  }
}

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