
#pageloader {
  width: 80px;
  height: 80px;

  position: fixed;
  inset: 0;
  margin: auto;

  border: 10px solid #F8F8F8;
  border-radius: 50%;
  border-top: 10px solid #033500;
  
  -moz-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;

  z-index: 1000000;
}



/*
#pageloader {
  max-width:80px; 
  max-height: 80px; 
  margin:auto; 
  top:0; 
  bottom:0; 
  left:0; 
  right:0; 
  position:absolute;

  border: 10px solid #F8F8F8;
  border-radius: 50%;
  border-top: 10px solid #4B0000;
  
  -moz-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
  
  z-index:1000000;
}
*/

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@-o-keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@-moz-keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 600px) {
    #pageloader { max-width:40px; max-height: 40px; border: 5px solid #F8F8F8; border-top: 5px solid #033500; }
}