/* 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 */
.c7n-pro-switch {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  cursor: inherit;
}
.c7n-pro-switch-wrapper {
  padding: .03rem;
}
.c7n-pro-switch-wrapper.c7n-pro-field {
  width: auto;
}
.c7n-pro-switch-wrapper {
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  display: inline-block;
  line-height: 1;
  position: relative;
  vertical-align: middle;
}
.c7n-pro-switch:disabled {
  cursor: not-allowed;
}
.c7n-pro-switch-has-label .c7n-pro-field-label {
  position: absolute;
  padding: 0;
  top: 0;
  color: rgba(0, 0, 0, 0.6);
  -webkit-transform-origin: 0 -200%;
      -ms-transform-origin: 0 -200%;
          transform-origin: 0 -200%;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), background-color 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c7n-pro-switch-has-label .c7n-pro-field-label,
.c7n-pro-switch-has-label .c7n-pro-switch:focus + .c7n-pro-field-label,
.c7n-pro-switch-has-label .c7n-pro-switch:-webkit-autofill + .c7n-pro-field-label {
  -webkit-transform: scale(0.75);
          transform: scale(0.75);
}
.c7n-pro-switch-has-label .c7n-pro-switch {
  border: none;
  padding-left: 0;
}
.c7n-pro-switch-has-label.c7n-pro-switch-invalid,
.c7n-pro-switch-has-label.c7n-pro-switch-required {
  background-color: #fff;
}
.c7n-pro-switch-empty:not(.c7n-pro-switch-focused) .c7n-pro-field-label {
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}
.c7n-pro-switch-has-label .c7n-pro-switch-multiple-block {
  border-radius: .12rem;
}
.c7n-pro-switch-has-label {
  padding-top: .07rem;
}
.c7n-pro-switch-label {
  position: relative;
  height: 0.18rem;
  min-width: .36rem;
  line-height: 0.16rem;
  border-radius: 0.11rem;
  color: #fff;
  font-size: 0.12rem;
  display: block;
  background-color: rgba(0, 0, 0, 0.38);
  padding: 0 0.05rem 0 0.22rem;
}
.c7n-pro-switch-label:after {
  position: absolute;
  width: 0.22rem;
  height: 0.22rem;
  left: 0;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 50%;
  background-color: #fff;
  content: " ";
  cursor: inherit;
  -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);
  -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-pro-switch:active + .c7n-pro-switch-label:after {
  width: 0.26rem;
}
.c7n-pro-switch-focused .c7n-pro-switch-label {
  -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-pro-switch-focused:hover .c7n-pro-switch-label {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.c7n-pro-switch:checked + .c7n-pro-switch-label {
  background-color: #b6bfdb;
  padding: 0 0.22rem 0 0.05rem;
}
.c7n-pro-switch:checked + .c7n-pro-switch-label:after {
  left: 100%;
  margin-left: -0.22rem;
  background-color: #3f51b5;
}
.c7n-pro-switch:disabled {
  cursor: not-allowed;
}
.c7n-pro-switch:disabled + .c7n-pro-switch-label {
  opacity: 0.4;
}
.c7n-pro-switch-sm {
  padding: 0;
}
.c7n-pro-switch-sm .c7n-pro-switch-label:after {
  width: 0.16rem;
  height: 0.16rem;
  left: .01rem;
}
.c7n-pro-switch-sm .c7n-pro-switch:checked + .c7n-pro-switch-label:after {
  margin-left: -0.17rem;
}
.c7n-pro-switch-lg {
  padding: .03rem 0;
}
.c7n-pro-switch-lg .c7n-pro-switch-label {
  height: 0.24rem;
  min-width: .4rem;
}
.c7n-pro-switch-lg .c7n-pro-switch-label:after {
  left: .01rem;
}
.c7n-pro-switch-lg .c7n-pro-switch:checked + .c7n-pro-switch-label:after {
  margin-left: -0.23rem;
}
