:root {
  --rv-loading-text-color: var(--rv-gray-6);
  --rv-loading-text-font-size: var(--rv-font-size-md);
  --rv-loading-spinner-color: var(--rv-gray-5);
  --rv-loading-spinner-size: 60px;
  --rv-loading-spinner-animation-duration: 0.8s;
}

.rv-loading {
  position: relative;
  color: var(--rv-gray-5);
  font-size: 0;
  vertical-align: middle;
}

.rv-loading__spinner {
  position: relative;
  display: inline-block;
  width: var(--rv-loading-spinner-size);
  max-width: 100%;
  height: var(--rv-loading-spinner-size);
  max-height: 100%;
  vertical-align: middle;
  animation: rv-rotate var(--rv-loading-spinner-animation-duration) linear infinite;
}

.rv-loading__spinner--spinner {
  animation-timing-function: steps(12);
}

.rv-loading__spinner--circular {
  animation-duration: 2s;
}

.rv-loading__spinner--ball {
  animation: none;
}

.rv-loading__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.rv-loading__line::before {
  display: block;
  width: 4px;
  height: 25%;
  margin: 0 auto;
  background-color: currentColor;
  border-radius: 40%;
  content: ' ';
}

.rv-loading__circular {
  display: block;
  width: 100%;
  height: 100%;
}

.rv-loading__circular circle {
  animation: rv-circular 1.5s ease-in-out infinite;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.rv-loading__text {
  display: inline-block;
  margin-left: var(--rv-padding-xs);
  color: var(--rv-loading-text-color);
  font-size: var(--rv-loading-text-font-size);
  vertical-align: middle;
}

.rv-loading--vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rv-loading--vertical .rv-loading__text {
  margin: var(--rv-padding-xs) 0 0;
}

.rv-loading__ball {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  transform: translateZ(0) scale(1);
  transform-origin: 0 0;
  /* see note above */
  backface-visibility: hidden;
}

.rv-loading__ball div {
  position: absolute;
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.rv-loading__ball div:nth-child(1) {
  background: #448aff;
  animation: rv-ball--right 1s linear infinite;
  animation-delay: -0.5s;
}

.rv-loading__ball div:nth-child(2) {
  background: #ef5350;
  animation: rv-ball--right 1s linear infinite;
  animation-delay: 0s;
}

.rv-loading__ball div:nth-child(3) {
  background: #448aff;
  animation: rv-ball 1s linear infinite;
  animation-delay: -0.5s;
}

@keyframes rv-ball {
  0% {
    transform: translate(0 0);
    opacity: 1;
  }

  49.99% {
    transform: translate(48px, 0);
    opacity: 1;
  }

  50% {
    transform: translate(48px, 0);
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes rv-ball--right {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(48px, 0);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* generated by https://loading.io/ */

@keyframes rv-circular {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -40;
  }

  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -120;
  }
}

.rv-loading__spinner--spinner i:nth-of-type(1) {
  transform: rotate(30deg);
  opacity: 1;
}

.rv-loading__spinner--spinner i:nth-of-type(2) {
  transform: rotate(60deg);
  opacity: 0.9375;
}

.rv-loading__spinner--spinner i:nth-of-type(3) {
  transform: rotate(90deg);
  opacity: 0.875;
}

.rv-loading__spinner--spinner i:nth-of-type(4) {
  transform: rotate(120deg);
  opacity: 0.8125;
}

.rv-loading__spinner--spinner i:nth-of-type(5) {
  transform: rotate(150deg);
  opacity: 0.75;
}

.rv-loading__spinner--spinner i:nth-of-type(6) {
  transform: rotate(180deg);
  opacity: 0.6875;
}

.rv-loading__spinner--spinner i:nth-of-type(7) {
  transform: rotate(210deg);
  opacity: 0.625;
}

.rv-loading__spinner--spinner i:nth-of-type(8) {
  transform: rotate(240deg);
  opacity: 0.5625;
}

.rv-loading__spinner--spinner i:nth-of-type(9) {
  transform: rotate(270deg);
  opacity: 0.5;
}

.rv-loading__spinner--spinner i:nth-of-type(10) {
  transform: rotate(300deg);
  opacity: 0.4375;
}

.rv-loading__spinner--spinner i:nth-of-type(11) {
  transform: rotate(330deg);
  opacity: 0.375;
}

.rv-loading__spinner--spinner i:nth-of-type(12) {
  transform: rotate(360deg);
  opacity: 0.3125;
}