.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    display: none;
    z-index: 999999;
}

/* From http://tobiasahlin.com/spinkit/ */
.spinner {
  width: 200px;
  height: 200px;
  margin: 200px auto;
  background-color: #e30045;

  border-radius: 100%;  
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% { -webkit-transform: scale(0) }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}