﻿/*--------------------------------------------------------------
    Loader
--------------------------------------------------------------*/

.pre-loader {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999991;
    background-color: var(--wdtBodyBGColor);
}

.loader-inner {
  text-transform:uppercase;

  width:100%;
  text-align:center;
  line-height:50px;

  margin:auto;
  position:absolute;
  left:0;right:0;top:50%;
  transform:translateY(-50%);
}

.loader-inner .loader-text {
    color: var(--wdtHeadAltColor);
    font-family: var(--wdtFontTypo_Alt);
    font-size: var(--wdtFontSize_H6);
    font-weight: bold;
    padding: 5px 15px;
    position:relative;
    z-index:0;
}
.loader-inner .loader-text:before {
  content:'';
  background: #f4f4f4;
  display:block;
  margin: 0 -15px;
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  z-index: -2;

  -webkit-animation:2s loadingBefore infinite ease-in-out;
  animation:2s loadingBefore infinite ease-in-out;
}

.loader-inner .loader-text:after {
  content:'';
  width:14px;
  height:60px;
  display:block;
  margin:auto;
  opacity:0.75;
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  z-index: -1;

  animation:2s loadingAfter infinite ease-in-out;
}

@-webkit-keyframes loadingBefore {
  0%   {transform:translateX(-15px);}
  50%  {transform:translateX(15px);}
  100% {transform:translateX(-15px);}
}
@keyframes loadingBefore {
  0%   {transform:translateX(-15px);}
  50%  {transform:translateX(15px);}
  100% {transform:translateX(-15px);}
}

@-webkit-keyframes loadingAfter {
  0%   {transform:translateX(-50px);}
  50%  {transform:translateX(50px);}
  100% {transform:translateX(-50px);}
}
@keyframes loadingAfter {
  0%   {transform:translateX(-50px);}
  50%  {transform:translateX(50px);}
  100% {transform:translateX(-50px);}
}


.loader-squre {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%) rotate(45deg) translate3d(0, 0, 0);
    /* -webkit-animation: loader 1.2s infinite ease-in-out;
    animation: loader 1.2s infinite ease-in-out; */
}

.loader-squre span {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--wdtPrimaryColor);
    /* border: 1px var(--wdtPrimaryColor) solid; */
    box-sizing: border-box;
    -webkit-animation: loaderBlock 1.2s infinite ease-in-out both;
    animation: loaderBlock 1.2s infinite ease-in-out both;
}

.loader-squre span:nth-child(1) {
    top: 0;
    left: 0;
}

.loader-squre span:nth-child(2) {
    top: 0;
    right: 0;
    -webkit-animation: loaderBlockInverse 1.2s infinite ease-in-out both;
    animation: loaderBlockInverse 1.2s infinite ease-in-out both;
    background-color: var(--wdtHeadAltColor);
}

.loader-squre span:nth-child(3) {
    bottom: 0;
    left: 0;
    -webkit-animation: loaderBlockInverse 1.2s infinite ease-in-out both;
    animation: loaderBlockInverse 1.2s infinite ease-in-out both;
    background-color: var(--wdtHeadAltColor);
}

.loader-squre span:nth-child(4) {
    bottom: 0;
    right: 0;
}

@keyframes loader {
  0%, 10%, 100% {
    width: 84px;
    height: 84px;
}
65% {
  width: 150px;
  height: 150px;
}
}

@keyframes loaderBlock {
  0%, 30% {
    transform: rotate(0);
}
55% {
  /* background-color: transparent; */
  transform: scale(0.5);
}
100% {
  transform: rotate(180deg);
}
}

@keyframes loaderBlockInverse {
  0%, 20% {
    transform: rotate(0);
}
55% {
  /* background-color: transparent; */
  transform: scale(0.5);
}
100% {
  transform: rotate(180deg);
}
}





  


/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

    .loader-inner .loader-text:after { background-color: var(--wdtPrimaryColor); }


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

/*----*****---- << Mobile (Landscape) >> ----*****----*/

/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {

}


/* Common Styles for the devices below 479px width */

@media only screen and (max-width: 479px) {

}