.masonary {
  padding: 2.5rem 0 0 0;
}
.pagination {
  display: none;
}
.grid-item p {
  padding-top:10px;
}
.grid.are-images-unloaded {
  opacity: 0;
}
.grid.are-images-unloaded .grid-item {
  opacity: 0;
}
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.grid-sizer,
.grid-item {
  width: calc(50% - 25px);
}
.grid-item {
  float: left;
  margin-bottom: 50px;
}
.grid-item img {
  display: block;
  width: 100%;
}
.page-load-status {
  display: none; /* hidden by default */
  padding-top: 20px;
  padding-bottom:40px;
  text-align: center;
  color: #777;
}
.loader-ellips {
  font-size: 20px; /* change size here */
  position: relative;
  width: 4em;
  height: 1em;
  margin: 10px auto;
}
.loader-ellips__dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 0.5em;
  background: #555; /* change color here */
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}
.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
  left: 0;
}
.loader-ellips__dot:nth-child(3) { left: 1.5em; }
.loader-ellips__dot:nth-child(4) { left: 3em; }
@keyframes reveal {
  from { transform: scale(0.001); }
  to { transform: scale(1); }
}
@keyframes slide {
  to { transform: translateX(1.5em) }
}
.loader-ellips__dot:nth-child(1) {
  animation-name: reveal;
}
.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
  animation-name: slide;
}
.loader-ellips__dot:nth-child(4) {
  animation-name: reveal;
  animation-direction: reverse;
}
.lb-outerContainer {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.lightbox .lb-image {
  border:none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.lightboxOverlay {
  background:#fff;
}
.lb-nav a.lb-next {
  position: relative;
  right: -50px;
  opacity: 1;
}
.lb-nav a.lb-prev {
  position: relative;
  left: -50px;
  opacity: 1;
}
@media (max-width: 768px) {
  .grid-sizer,
  .grid-item {
    width: calc(100%);
  }
  .masonary.masonary-with-text {
    padding:0;
  }
  .grid-item {
    float: left;
    margin-bottom: 3rem;
  }
}