/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
@-webkit-keyframes antCheckboxEffect {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(1.6);
            transform: scale(1.6);
    opacity: 0;
  }
}
@keyframes antCheckboxEffect {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(1.6);
            transform: scale(1.6);
    opacity: 0;
  }
}
.yg-checkbox {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 12px;
  list-style: none;
  position: relative;
  display: inline-block;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: middle;
  outline: none;
  cursor: pointer;
}
.yg-checkbox-wrapper:hover .yg-checkbox-inner,
.yg-checkbox:hover .yg-checkbox-inner,
.yg-checkbox-input:focus + .yg-checkbox-inner {
  border-color: #00a1ff;
}
.yg-checkbox-wrapper-disabled:hover .yg-checkbox-inner {
  border-color: rgba(51, 51, 51, 0.25);
}
.yg-checkbox-checked::after {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
  border: 1px solid #00a1ff;
  border-radius: 2px;
  visibility: hidden;
  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;
          animation: antCheckboxEffect 0.36s ease-in-out;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  content: '';
}
.yg-checkbox:hover::after,
.yg-checkbox-wrapper:hover .yg-checkbox::after {
  visibility: visible;
}
.yg-checkbox-inner {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  border-collapse: separate;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.yg-checkbox-inner::after {
  position: absolute;
  top: 7px;
  left: 3px;
  display: table;
  width: 5.71428571px;
  height: 9.14285714px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  -webkit-transform: rotate(45deg) scale(0) translate(-50%, -50%);
      -ms-transform: rotate(45deg) scale(0) translate(-50%, -50%);
          transform: rotate(45deg) scale(0) translate(-50%, -50%);
  opacity: 0;
  -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
  content: ' ';
}
.yg-checkbox-input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}
.yg-checkbox-checked .yg-checkbox-inner::after {
  position: absolute;
  display: table;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  -webkit-transform: rotate(45deg) scale(1) translate(-50%, -50%);
      -ms-transform: rotate(45deg) scale(1) translate(-50%, -50%);
          transform: rotate(45deg) scale(1) translate(-50%, -50%);
  opacity: 1;
  -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  content: ' ';
}
.yg-checkbox-checked .yg-checkbox-inner {
  background-color: #00a1ff;
  border-color: #00a1ff;
}
.yg-checkbox-disabled {
  cursor: not-allowed;
}
.yg-checkbox-disabled.yg-checkbox-checked .yg-checkbox-inner::after {
  border-color: rgba(51, 51, 51, 0.25);
  -webkit-animation-name: none;
          animation-name: none;
}
.yg-checkbox-disabled .yg-checkbox-input {
  cursor: not-allowed;
}
.yg-checkbox-disabled .yg-checkbox-inner {
  background-color: #f5f5f5;
  border-color: #ccc;
}
.yg-checkbox-disabled .yg-checkbox-inner::after {
  border-color: #f5f5f5;
  border-collapse: separate;
  -webkit-animation-name: none;
          animation-name: none;
}
.yg-checkbox-disabled + span {
  color: rgba(51, 51, 51, 0.25);
  cursor: not-allowed;
}
.yg-checkbox-wrapper {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 12px;
  list-style: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: unset;
  cursor: pointer;
}
.yg-checkbox-wrapper + .yg-checkbox-wrapper {
  margin-left: 8px;
}
.yg-checkbox-wrapper + span,
.yg-checkbox + span {
  padding-right: 8px;
  padding-left: 8px;
}
.yg-checkbox-group {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 12px;
  list-style: none;
  display: inline-block;
}
.yg-checkbox-group-item {
  margin-right: 8px;
}
.yg-checkbox-group-item:last-child {
  margin-right: 0;
}
.yg-checkbox-group-item + .yg-checkbox-group-item {
  margin-left: 0;
}
.yg-checkbox-indeterminate .yg-checkbox-inner {
  background-color: #fff;
  border-color: #ccc;
}
.yg-checkbox-indeterminate .yg-checkbox-inner::after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: #00a1ff;
  border: 0;
  -webkit-transform: translate(-50%, -50%) scale(1);
      -ms-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  content: ' ';
}
.yg-checkbox-indeterminate.yg-checkbox-disabled .yg-checkbox-inner::after {
  background-color: rgba(51, 51, 51, 0.25);
  border-color: rgba(51, 51, 51, 0.25);
}
