.preloader{
  position:fixed;
  left:0px!important;
  top:0px!important;
  width: 100%;
  height: 100%;
  z-index:1000000;
  background: #fff;
  opacity: .9;
}

.loader {
  position:fixed;
  left:40%;
  top:30%;
  width: 120px;
  z-index:10000000;
}

@media (min-width: 1281px) {
  .loader {
    position:fixed;
    left:45%;
    top:30%;
    width: 150px;
    z-index:10000000;
  }   
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .loader {
    position:fixed;
    left:45%;
    top:30%;
    width: 150px;
    z-index:10000000;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .loader {
    position:fixed;
    left:45%;
    top:30%;
    width: 150px;
    z-index:10000000;
  }
}


@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .loader {
    position:fixed;
    left:45%;
    top:30%;
    width: 150px;
    z-index:10000000;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .loader {
    position:fixed;
    left:40%;
    top:30%;
    width: 150px;
    z-index:10000000;
  }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  .loader {
    position:fixed;
    left:30%;
    top:30%;
    width: 150px;
    z-index:10000000;
  }
}
  
@media (min-width: 280) and (max-width: 653px) {
  .loader {
    position:fixed;
    left:10%;
    top:30%;
    width: 150px;
    z-index:10000000;
  }
}
  
.lds-facebook {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: var(--main-color);
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}
@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }
  50%, 100% {
    top: 24px;
    height: 32px;
  }
}
