.switch {
  height: 21px;
  width: 70px;
  background-color: rgba(128, 128, 128, 0.7);
  border-radius: 4px;
  padding: 1px;
  float: right;
}

.switch.disabled {
  cursor: not-allowed;
}

.switch.disabled::before {
  float: right;
  content: '';
  width: 72px;
  height: 23px;
  margin-top: -1px;
  margin-right: -1px;
  background-color: rgba(255, 255, 255, 0.65);
}

.inlineSwitch {
  width: 50%;
  background-color: #ffffff;
  height: 100%;
  border-radius: 3px;
}

@-webkit-keyframes loading {
  50% {
    opacity: 0.2;
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes loading {
  50% {
    opacity: 0.2;
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.loading > div {
  background-color: #1890ff;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  margin: 2px;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  display: inline-block;
  -webkit-animation: loading 1.5s 0s infinite linear;
  animation: loading 1.5s 0s infinite linear;
}

.loading > div:nth-child(2n-1) {
  -webkit-animation-delay: 0.35s !important;
  animation-delay: 0.35s !important;
}

.loading {
  text-align: center;
  padding-top: 1px;
  width: 70px;
  margin-left: 52px;
  height: 21px;
  float: right;
}
