/* SPINNER */

.btn.loading { display: flex; justify-content: center; }

.btn .my_loader{ display: none; position: absolute; margin: 0 auto;}
.btn:disabled .my_loader{ display: block;}
.btn:disabled .btn-txt{ /*display: none;*/ visibility: hidden;}
.btn:disabled .my_loader > div { background-color: #fff; }


.my_loader {
  margin: 0 auto;
  /*width: 50px;*/
  text-align: center;
  white-space: nowrap;
}

.my_loader > div {
  width: 12px;
  height: 12px;
  background-color: #777;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  margin: 2px;
}

.my_loader div:nth-child(1) {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.my_loader div:nth-child(2) {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
