#gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

#gallery .gallery-item {
  position: relative;
  width: calc( 100% / 3 - .5rem);
  margin-top: .5rem;
  margin-right: .5rem;
}

#gallery .gallery-item img {
  width: 100%;
  height: 123px;
  object-fit: cover;
}

#gallery .gallery-item.big {
  width: 100%;
}

#gallery .gallery-item.big img {
  height: 100%;
}

#gallery .gallery-item:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "\f00e";
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: FontAwesome;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: white;
  transition: all 250ms linear;
  opacity: 0;
}

#gallery .gallery-item:hover {
  text-decoration: none;
}

#gallery .gallery-item:hover:after {
  opacity: 1;
  background: rgba(0, 0, 0, 0.85);
  font-size: 40px;
}

#gallery .gallery-item:hover.big {
  font-size: 72px;
}

@media screen and (max-width: 375px) {
  #gallery .gallery-item {
    width: 100%;
  }
  #gallery .gallery-item img {
    height: 100%;
  }
}

@media screen and (max-width: 1280px) {
  #gallery .gallery-item img {
    height: 100%;
  }
}

#gallery.room-photos .gallery-item {
  width: calc( 100% / 4 - .5rem);
}

#gallery.room-photos .gallery-item img {
  height: 180px;
}

@media screen and (max-width: 375px) {
  #gallery.room-photos .gallery-item {
    width: 100%;
  }
}

@media screen and (min-width: 376px) and (max-width: 460px) {
  #gallery.room-photos .gallery-item {
    width: calc( 100% / 2 - .5rem);
  }
  #gallery.room-photos .gallery-item img {
    height: 150px;
  }
}

@media screen and (max-width: 460px) {
  .social-buttons {
    width: 100% !important;
  }
}
