
/*Loader*/
.loader {
  width: 100px;
  height: 100px;
  border: 5px solid #ddd;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1.25s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  background: blue;
  width: 13px;
  height: 13px;
  transform: translate(150%, 150%);
  border-radius: 50%;
  background-color: #ddd
}
.loader::before {
  left: auto;
  top: auto;
  right: 0;
  bottom: 0;
  transform: translate(-150%, -150%);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 

.spinner {
  width: 100px;
  height: 80px;
  text-align: center;
  font-size: 20px;

  position: absolute;
  top: 50%;
  left: 50%;
}

.spinner-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4299dd;
  z-index: 999999;
}