/*  Grid

    <div class="sk-grid">
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
      <div class="sk-grid-cube"></div>
    </div>
 */
.ajax-progress.sk-grid {
  width: var(--sk-size);
  height: var(--sk-size);
  /* Cube positions
   * 1 2 3
   * 4 5 6
   * 7 8 9
   */
}
.ajax-throbber .sk-grid-cube {
  float: left;
  width: 33.33%;
  height: 33.33%;
  animation: sk-grid 1.3s infinite ease-in-out;
  background-color: var(--sk-color);
}

.ajax-throbber .sk-grid-cube:nth-child(1) {
  animation-delay: 0.2s;
}
.ajax-throbber .sk-grid-cube:nth-child(2) {
  animation-delay: 0.3s;
}
.ajax-throbber .sk-grid-cube:nth-child(3) {
  animation-delay: 0.4s;
}
.ajax-throbber .sk-grid-cube:nth-child(4) {
  animation-delay: 0.1s;
}
.ajax-throbber .sk-grid-cube:nth-child(5) {
  animation-delay: 0.2s;
}
.ajax-throbber .sk-grid-cube:nth-child(6) {
  animation-delay: 0.3s;
}
.ajax-throbber .sk-grid-cube:nth-child(7) {
  animation-delay: 0s;
}
.ajax-throbber .sk-grid-cube:nth-child(8) {
  animation-delay: 0.1s;
}
.ajax-throbber .sk-grid-cube:nth-child(9) {
  animation-delay: 0.2s;
}

@keyframes sk-grid {
  0%,
  70%,
  100% {
    transform: scale3d(1, 1, 1);
  }
  35% {
    transform: scale3d(0, 0, 1);
  }
}
