
.overlay_hidden {
    display: none;
}

.loader_hidden {
    display: none;
}

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 99998; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgba(0,0,0, 0.3); /* Black w/opacity */

    
  }

.loader {
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
  }

.loader {
    width: 164px;
    height: 164px;
    position: absolute;
    background-image:
      linear-gradient(#000 56px, transparent 0) ,
      linear-gradient(#FF3D00 56px, transparent 0) ,
      linear-gradient(#FF3D00 56px, transparent 0) ,
      linear-gradient(#000 56px, transparent 0);
    background-repeat: no-repeat;
    background-size: 56px 56px;
    background-position: left top , left bottom , right top , right bottom;
    animation: rotate 1.5s linear infinite;
    z-index: 99999;
  }
  @keyframes rotate {
    0% {
      width: 164px;
      height: 164px;
      transform: rotate(0deg)
    }
    50% {
      width: 60px;
      height: 60px;
      transform: rotate(180deg)
    }
    100% {
      width: 164px;
      height: 164px;
      transform: rotate(360deg)
    }
  }
