.infinite-scroll-overlay-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 82;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.infinite-scroll-loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
}

.infinite-scroll-scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 19;
  border-radius: var(--default-radius-large);
  background-color: rgba(var(--color-alpha-black));
  box-shadow: 0 2px 4px rgba(var(--color-alpha-black));
}

.infinite-scroll-scroll-indicator md-icon {
  color: rgba(var(--font-color-invert));
  height: 48px;
  max-height: 50%;
  max-width: 50%;
  min-height: 48px;
  min-width: 48px;
  width: 48px;
}

.fade-in-overlay {
  -webkit-animation: fadeIn 840ms ease;
  -moz-animation: fadeIn 840ms ease;
  -o-animation: fadeIn 840ms ease;
  animation: fadeIn 840ms ease;
}

.fade-out-overlay {
  opacity: 1;
  -webkit-animation: fadeOut 840ms ease;
  -moz-animation: fadeOut 840ms ease;
  -o-animation: fadeOut 840ms ease;
  animation: fadeOut 840ms ease;
}

.fade-in-indicator {
  -webkit-animation: fadeIn 840ms ease;
  -moz-animation: fadeIn 840ms ease;
  -o-animation: fadeIn 840ms ease;
  animation: fadeIn 840ms ease;
}

/* Fade in */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Fade out */

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-o-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
