 /* STYLES FOR LOADING SPINNER OVERLAY */
 .loading {
  opacity: 1 !important;
  visibility: visible !important;
}

#loading-text {
  position: relative;
  top: 19vh;
}

#loading-text h1 {
  text-transform: uppercase;
  font-family: Roboto, sans-serif;
  color: white;
  text-align: center !important;
  font-size: 1.5em;
  font-weight: 300;
  padding: 0 8vw;
}

html{
  min-height:100%;/* make sure it is at least as tall as the viewport */
  position:relative;
}

body{
    height:100%; /* force the BODY element to match the height of the HTML element */
}

#loading-overlay  {
  background: rgba(86, 90, 92, .9);
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  overflow:hidden;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#spinner {
  margin: 100px auto;
  top: 25vh;
  width: 6vw;
  height: 6vw;
  position: relative;
  text-align: center;
  -webkit-animation: sk-rotate 2.0s infinite linear;
  animation: sk-rotate 2.0s infinite linear;
}
.dot1, .dot2, .dot3 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #cc0033;
  border-radius: 100%;
  
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot2 {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

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

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
