﻿.ant-modal-mask-light {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  height: 100%;
  background-color: rgba(255, 255, 250, 0.45);
}

.ant-modal-mask-dark-light {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1002;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
}

.spinner-container {
  position: absolute;
  top: 45%;
  left: 40%;
  margin-top: -50px;
  margin-left: -50px;
  height: 15%;
  width: 30%;
  background-color: transparent;
  border-radius: 1px;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 9999;
  text-align-last: center;
  align-content: center;
}

.spinner {
  margin: 0 auto;
  width: 60px;
  height: 30px;
  text-align: center;
  font-size: 10px;
  margin-top: 21px;
}

.spinner > div {
  height: 100%;
  width: 8px;
  display: inline-block;
  float: left;
  margin-left: 2px;
  -webkit-animation: delay 0.8s infinite ease-in-out;
  animation: delay 0.8s infinite ease-in-out;
}

.spinner .bar1 {
  background-color: var(--spinner-bar1-color);
}

.spinner .bar2 {
  background-color: var(--spinner-bar2-color);
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}

.spinner .bar3 {
  background-color: var(--spinner-bar3-color);
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}

.spinner .bar4 {
  background-color: var(--spinner-bar4-color);
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.spinner .bar5 {
  background-color: var(--spinner-bar5-color);
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.spinner .bar6 {
  background-color: var(--spinner-bar6-color);
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}

@-webkit-keyframes delay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.05);
  }

  20% {
    -webkit-transform: scaleY(1);
  }
}

@keyframes delay {
  0%,
  40%,
  100% {
    transform: scaleY(0.05);
    -webkit-transform: scaleY(0.05);
  }

  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}

.spinner-container .spin-message {
  padding: 5px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: start;
}

.spinner-container .spin-message .spin-text {
  margin-left: 10px;
  font-family: var(--font-family-roboto);
  font-size: 15px;
  color: var(--trimble-color-blue-dark);
  font-weight: 600;
}
