/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
.c7n-switch {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  display: inline-block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-width: 0.36rem;
  height: calc(0.16rem - 0.04rem);
  line-height: calc(0.16rem - 0.06rem);
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.38);
  border: 0.01rem solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  -webkit-transition: all 0.36s;
  transition: all 0.36s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.c7n-switch-inner {
  display: block;
  margin-right: 0.06rem;
  margin-left: 0.24rem;
  color: #fff;
  font-size: 0.12rem;
}
.c7n-switch::before,
.c7n-switch::after {
  position: absolute;
  top: -0.03rem;
  left: -0.01rem;
  width: 0.16rem;
  height: 0.16rem;
  background-color: #fff;
  border-radius: 0.18rem;
  cursor: pointer;
  -webkit-transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  content: ' ';
}
.c7n-switch::after {
  -webkit-box-shadow: 0 0.02rem 0.01rem -0.01rem rgba(0, 0, 0, 0.2), 0 0.01rem 0.01rem 0 rgba(0, 0, 0, 0.14), 0 0.01rem 0.03rem 0 rgba(0, 0, 0, 0.12);
          box-shadow: 0 0.02rem 0.01rem -0.01rem rgba(0, 0, 0, 0.2), 0 0.01rem 0.01rem 0 rgba(0, 0, 0, 0.14), 0 0.01rem 0.03rem 0 rgba(0, 0, 0, 0.12);
}
.c7n-switch:active::before,
.c7n-switch:active::after {
  width: 0.24rem;
}
.c7n-switch::before {
  font-size: 0.12rem;
  display: inline-block;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  vertical-align: middle;
  background-image: none;
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: inherit;
  font-variant: normal;
  text-transform: none;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 1;
  display: none;
  text-align: center;
  background-color: transparent;
  -webkit-animation: loadingCircle 1s infinite linear;
          animation: loadingCircle 1s infinite linear;
  content: "\e15a";
}
.c7n-switch::before:before {
  line-height: 1;
}
.c7n-switch-loading::before {
  display: inline-block;
  color: #000000;
}
.c7n-switch-checked.c7n-switch-loading::before {
  color: #b6bfdb;
}
.c7n-switch:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.02rem rgba(182, 191, 219, 0.2);
          box-shadow: 0 0 0 0.02rem rgba(182, 191, 219, 0.2);
}
.c7n-switch:focus:hover {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.c7n-switch-small {
  min-width: 0.28rem;
  height: calc(0.12rem - 0.04rem);
  line-height: calc(0.12rem - 0.06rem);
}
.c7n-switch-small .c7n-switch-inner {
  margin-right: 0.03rem;
  margin-left: 0.18rem;
  font-size: 0.12rem;
}
.c7n-switch-small::before,
.c7n-switch-small::after {
  width: 0.12rem;
  height: 0.12rem;
}
.c7n-switch-small:active::before,
.c7n-switch-small:active::after {
  width: 0.16rem;
}
.c7n-switch-small.c7n-switch-checked::before,
.c7n-switch-small.c7n-switch-checked::after {
  left: 100%;
  margin-left: -0.12rem;
}
.c7n-switch-small.c7n-switch-checked .c7n-switch-inner {
  margin-right: 0.18rem;
  margin-left: 0.03rem;
}
.c7n-switch-small:active.c7n-switch-checked::before,
.c7n-switch-small:active.c7n-switch-checked::after {
  margin-left: -0.165rem;
}
.c7n-switch-small.c7n-switch-loading::before {
  font-weight: bold;
  -webkit-animation: AntSwitchSmallLoadingCircle 1s infinite linear;
          animation: AntSwitchSmallLoadingCircle 1s infinite linear;
}
.c7n-switch-checked {
  background-color: #b6bfdb;
}
.c7n-switch-checked .c7n-switch-inner {
  margin-right: 0.24rem;
  margin-left: 0.06rem;
}
.c7n-switch-checked::before,
.c7n-switch-checked::after {
  left: 100%;
  margin-left: -0.16rem;
  background-color: #3f51b5;
}
.c7n-switch-checked:active::before,
.c7n-switch-checked:active::after {
  margin-left: -0.25rem;
}
.c7n-switch-loading,
.c7n-switch-disabled {
  opacity: 0.4;
  pointer-events: none;
}
@-webkit-keyframes AntSwitchSmallLoadingCircle {
  0% {
    -webkit-transform: rotate(0deg) scale(0.66667);
            transform: rotate(0deg) scale(0.66667);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  100% {
    -webkit-transform: rotate(360deg) scale(0.66667);
            transform: rotate(360deg) scale(0.66667);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
}
@keyframes AntSwitchSmallLoadingCircle {
  0% {
    -webkit-transform: rotate(0deg) scale(0.66667);
            transform: rotate(0deg) scale(0.66667);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  100% {
    -webkit-transform: rotate(360deg) scale(0.66667);
            transform: rotate(360deg) scale(0.66667);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
}
