﻿/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/*@iconfont-css-prefix    : iconfont;*/
/*@button-padding-sm: 3px @padding-xs - 1px;*/
/*@button-group-border: @primary-5;*/
/*@label-height: 24px;
@label-line-height: 24px;*/
/*@vgmenu-item-highlight-color: #fff;*/
.l-switch {
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.65);
  font-size: 14px;
  font-variant: tabular-nums;
  line-height: 1.5;
  list-style: none;
  -webkit-font-feature-settings: 'tnum';
  font-feature-settings: 'tnum';
  position: relative;
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 28px;
  height: 16px;
  line-height: 14px;
  vertical-align: middle;
  background-color: #CCCCCC;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  -webkit-transition: all 0.15s;
  transition: all 0.15s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: baseline;
}
.l-switch-inner {
  display: block;
  margin-right: 6px;
  margin-left: 24px;
  color: #fff;
  font-size: 12px;
}
.l-switch-loading-icon,
.l-switch::after {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 12px;
  cursor: pointer;
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  content: ' ';
}
.l-switch::after {
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
  box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
}
.l-switch:not(.l-switch-disabled):active::before,
.l-switch:not(.l-switch-disabled):active::after {
  width: 12px;
}
.l-switch-loading-icon {
  z-index: 1;
  display: none;
  font-size: 12px;
  background: transparent;
}
.l-switch-loading-icon svg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.l-switch-loading .l-switch-loading-icon {
  display: inline-block;
  color: rgba(0, 0, 0, 0.65);
}
.l-switch-checked.l-switch-loading .l-switch-loading-icon {
  color: #1890ff;
}
.l-switch:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.l-switch:focus:hover {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.l-switch-small {
  min-width: 28px;
  height: 16px;
  line-height: 14px;
}
.l-switch-small .l-switch-inner {
  margin-right: 3px;
  margin-left: 18px;
  font-size: 12px;
}
.l-switch-small::after {
  width: 12px;
  height: 12px;
}
.l-switch-small:active::before,
.l-switch-small:active::after {
  width: 16px;
}
.l-switch-small .l-switch-loading-icon {
  width: 12px;
  height: 12px;
}
.l-switch-small.l-switch-checked .l-switch-inner {
  margin-right: 18px;
  margin-left: 3px;
}
.l-switch-small.l-switch-checked .l-switch-loading-icon {
  left: 100%;
  margin-left: -13px;
}
.l-switch-small.l-switch-loading .l-switch-loading-icon {
  font-weight: bold;
  -webkit-transform: scale(0.66667);
  -ms-transform: scale(0.66667);
  transform: scale(0.66667);
}
.l-switch-checked {
  background-color: #58CC61;
}
.l-switch-checked .l-switch-inner {
  margin-right: 24px;
  margin-left: 6px;
}
.l-switch-checked::after {
  left: 100%;
  margin-left: -1px;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
}
.l-switch-checked .l-switch-loading-icon {
  left: 100%;
  margin-left: -19px;
}
.l-switch-loading,
.l-switch-disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.l-switch-loading *,
.l-switch-disabled * {
  cursor: not-allowed;
}
.l-switch-loading::before,
.l-switch-disabled::before,
.l-switch-loading::after,
.l-switch-disabled::after {
  cursor: not-allowed;
}
@-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%;
  }
}