﻿.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 2000;
}

.loading-box {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -90px;
  margin-top: -25px;
  width: 180px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.loading-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
}

  .loading-text .dots {
    display: inline-block;
    width: 18px; /* reserve space for "..." so text doesn't shift */
    text-align: left;
  }

    .loading-text .dots span {
      opacity: 0;
      -webkit-animation: loadingDots 1s infinite;
      animation: loadingDots 1s infinite;
    }

      .loading-text .dots span:nth-child(1) {
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
      }

      .loading-text .dots span:nth-child(2) {
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
      }

      .loading-text .dots span:nth-child(3) {
        -webkit-animation-delay: 0.4s;
        animation-delay: 0.4s;
      }

@-webkit-keyframes loadingDots {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes loadingDots {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
