/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll {
  .posts-navigation, &.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
  }
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
  display: block;
}