@import url(./itma-main-styles.css);

.itma-spinner {
  /* Empty for now */
}

/* CIRCLE SPINNER */

.itma-circle-spinner {
  width: 24px;
  height: 24px;

  border-style: solid;
  border-color: var(--p-itma100);
  border-top-color: var(--p-itma500);
  border-radius: 50%;

  position: relative;
  animation: loader-rotate 1s linear infinite;
}

@keyframes loader-rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* LINE SPINNER */

.la-line-scale,
.la-line-scale > div {
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
}

.la-line-scale {
  display: block;
  font-size: 0;
  color: #fff;
}

.la-line-scale.la-dark {
  color: #333;
}

.la-line-scale > div {
  display: inline-block;
  float: none;
  background-color: currentColor;
  border: 0 solid currentColor;
  border-radius: 45px;
}

.la-line-scale > div {
  width: 6px;
  margin: 2px;
  margin-top: 0;
  margin-bottom: 0;
  -webkit-animation: line-scale 1.1s infinite ease-in;
  -moz-animation: line-scale 1.1s infinite ease-in;
  -o-animation: line-scale 1.1s infinite ease-in;
  animation: line-scale 1.1s infinite ease-in;
  border-radius: 160px;
}

.la-line-scale > div:nth-child(1) {
  -webkit-animation-delay: -1s;
  -moz-animation-delay: -1s;
  -o-animation-delay: -1s;
  animation-delay: -1s;
  background-color: #84c6fd;
}

.la-line-scale > div:nth-child(2) {
  -webkit-animation-delay: -0.8s;
  -moz-animation-delay: -0.8s;
  -o-animation-delay: -0.8s;
  animation-delay: -0.8s;
  background-color: #008afd;
}

.la-line-scale > div:nth-child(3) {
  -webkit-animation-delay: -0.6s;
  -moz-animation-delay: -0.6s;
  -o-animation-delay: -0.6s;
  animation-delay: -0.6s;
  background-color: #007cee;
}

.la-line-scale > div:nth-child(4) {
  -webkit-animation-delay: -0.8s;
  -moz-animation-delay: -0.8s;
  -o-animation-delay: -0.8s;
  animation-delay: -0.8s;
  background-color: #008afd;
}

.la-line-scale > div:nth-child(5) {
  -webkit-animation-delay: -1s;
  -moz-animation-delay: -1s;
  -o-animation-delay: -1s;
  animation-delay: -1s;
  background-color: #84c6fd;
}

@-webkit-keyframes line-scale {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@-moz-keyframes line-scale {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    -moz-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@-o-keyframes line-scale {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    -o-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@keyframes line-scale {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    -moz-transform: scaleY(0.4);
    -o-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
  }
}
