/*Woocommerce Spinner*/
.woocommerce .blockUI.blockOverlay:before, .woocommerce .loader:before {
  height: 32px;
  width: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 0;
  margin-top: 0;
  display: block;
  content: "";
  -webkit-animation: none;
  -moz-animation: none;
  animation: none;
  background-position: center center;
  background-size: cover;
  line-height: 1;
  text-align: center;
  font-size: 2em;
}
#spinner-div {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  background-color: rgba(var(--color-background), 0.8);
  z-index: 9999999;
}
#spinner-div-page {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  /*top: 0;
  left: 0;*/
  text-align: center;
  background-color: rgba(var(--color-background), 0.8);
  z-index: 999999;
}
.th_spinner {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  position: relative;
  top: 50%;
}
.th_spinner {
  height: 3em;
  width: 3em;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -.5em;
  margin-top: -.5em;
  display: block;
  content: "";
  -webkit-animation: none;
  -moz-animation: none;
  animation: none;
  background-position: center center;
  background-size: cover;
  line-height: 1;
  text-align: center;
  font-size: 2em;
}
/**/
.global-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--color-background), 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.global-spinner .spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
.global-spinner.hidden {
  display: none;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*Loading progress bar at top style spinner*/
#bar {
  margin: 0;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#progress-bar {
  width: 0%;
  height: 100%;
  background: var(--color-accent);
  -moz-animation: expand 3s ease-in-out infinite;
  -webkit-animation: expand 3s ease-in-out infinite;
  -ms-animation: expand 3s ease-in-out infinite;
  animation: expand 3s ease-in-out infinite;
}
@-moz-keyframes expand {
  to {
    width: 100%;
  }
}
@-webkit-keyframes expand {
  to {
    width: 100%;
  }
}
@-ms-keyframes expand {
  to {
    width: 100%;
  }
}
@keyframes expand {
  to {
    width: 100%;
  }
}