.post-gallery {
  display: table;
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
}

.post-gallery-row {
  display: table-row;
}

.post-gallery .post-gallery-img {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  border: none;

  img {
    max-width: 100%;
    max-height: 100%;
    border: none;
  }
}

.fancybox-close, .fancybox-close:hover {
  border: none;
}
