@keyframes wave {
  0% {opacity: 0; transform: translateY(15px)}
  50% {opacity: 1; transform: translateY(0)}
  100% {opacity: 0; transform: translateY(-15px)}
}


/* 
.loader_overlay {
  position: fixed;
  z-index: 9999999;
  background: #c9c6b8;
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  opacity: 0;
  transition: all .4s ease-out;
} */

 .loader_overlay * {
  /* transition: all .4s cubic-bezier(0.250, 0.100, 0.250, 1.000) transform .1s ease-out; */
}

.loading_document .loader_overlay {
     transform: translateY(0%);
     opacity: 1;
}

.active_overlay {
  opacity: 1;
  transform: translateY(0%);
  transition-delay: 0s;
  
}

.loader {
  top: calc(50% - 150px);
  left: calc(50% - 200px);
  width: 400px;
  height: 300px;
  opacity: 1;
  transition: all .5s ease-out;
  transition-delay: .1s;
  position: fixed;
  margin-top: 0px;
  z-index: 999999;
  /* transform: translateY(150vh); */

}

.loading_document .loader {
  transform: translateY(0);
  opacity: 1;
}

#modal_loader {
  transform: translateY(10%) scale(.8);
  opacity: 0;
  transition: .2s linear;

}

#modal_loader.active_loader {

   z-index: 99999999;
  position: absolute;
  opacity: 1;
  transform: translateY(0%) scale(.8);
  transition-delay: .3s;
}
/* .loading_document .loader {
  transform: translateX(-100%);
   top: calc(50% - 30px);
   transform: scale(1.2);
} */



.modal_inner__status .loader {
  opacity: 1;
  margin-top: 0px;

}

.loader ul {
  margin: 0 auto 10px auto;
  padding: 0;
  list-style: none;
  width: 60px;
  text-align: center;
  animation: wave 2s infinite linear;
  animation-fill-mode: forwards;
  margin-top: 70px;
}


.loader li {
  display: inline-block;
  background: #FAF1D9;
  height: 30px;
  width: 9px;
  border-radius: 0 100%;
  transform: rotate(12deg);
}
#modal_loader li {
  background: #fff2cf;
}
.cup {
  background: #F2E3B4;
  width: 60px;
  height: 54px;
  border-radius: 0 0 50% 50%;
  position: relative;
  margin: 0 auto;
}
.cup:before {
  content: "";
  position: absolute;
  width: 66px;
  height: 20px;
  border-radius: 50%;
  background: inherit;
  left: -3px;
  top: -10px;
}
.cup:after {
  content: "";
  position: absolute;
  width: 56px;
  height: 12px;
  border-radius: 50%;
  background: #3A2F28;
  left: 2px;
  top: -6px;
}
.loader span {
  background: #F2E3B4;
  width: 13px;
  height: 20px;
  position: absolute; 
  right: -13px;
  top: 10px;
  border-radius: 0 50% 50% 0;
}
.loader span:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  background: #BF7C2C;
  width: 10px;
  height: 12px;
  border-radius: 0 50% 50% 0;
}
.loader span:after {
  content: "";
  position: absolute;
  top: 40px;
  left: -50px;
  background: #F2E3B4;
  width: 40px;
  height: 8px;
  border-radius: 50%;
}  
.cup_capture {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;    
  }
