.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 2;
    cursor: pointer;
}
.overlay .text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.overlay_loader {
  background: #000;
}
.overlay .text .preloader-1 {
  margin: 0px auto 0;
  width: 180px;
  height: 24px;
}

/*.overlay_loaderdiv {
  color: #fff;
  margin: 5px 0;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
}*/

.overlay .text .preloader-1 .line {
  width: 2px;
  height: 30px;
  background: #fff;
  margin: 0 1px;
  display: inline-block;
  animation: opacity-1 1000ms infinite ease-in-out;
}
.overlay .text .preloader-1 .line-1{ animation-delay: 800ms; }
.overlay .text .preloader-1 .line-2{ animation-delay: 600ms; }
.overlay .text .preloader-1 .line-3{ animation-delay: 400ms; }
.overlay .text .preloader-1 .line-4{ animation-delay: 200ms; }
.overlay .text .preloader-1 .line-6{ animation-delay: 200ms; }
.overlay .text .preloader-1 .line-7{ animation-delay: 400ms; }
.overlay .text .preloader-1 .line-8{ animation-delay: 600ms; }
.overlay .text .preloader-1 .line-9{ animation-delay: 800ms; }

@keyframes opacity-1 { 
  0% { 
    opacity: 1;
  }
  50% { 
    opacity: 0;
  }
  100% { 
    opacity: 1;
  }  
}