/* 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 */
.yg-input-number {
  box-sizing: content-box;
  list-style: none;
  position: relative;
  width: 178px;
  height: 28px;
  padding: 0px 10px;
  color: #333;
  font-size: 12px;
  line-height: 28px;
  background-color: #fff;
  background-image: none;
  transition: all 0.3s;
  display: inline-block;
  width: 90px;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 2px;
}
.yg-input-number::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
.yg-input-number:-ms-input-placeholder {
  color: #ccc;
}
.yg-input-number::-webkit-input-placeholder {
  color: #ccc;
}
.yg-input-number:hover {
  border-color: #bababa;
  border-right-width: 1px;
}
.yg-input-number:focus {
  border-color: #bababa;
  border-right-width: 1px;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.2);
}
.yg-input-number-disabled {
  color: rgba(51, 51, 51, 0.25);
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 1;
}
.yg-input-number-disabled:hover {
  border-color: #bababa;
  border-right-width: 1px;
}
.yg-input-number[disabled] {
  color: rgba(51, 51, 51, 0.25);
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 1;
}
.yg-input-number[disabled]:hover {
  border-color: #bababa;
  border-right-width: 1px;
}
textarea.yg-input-number {
  max-width: 100%;
  height: auto;
  min-height: 28px;
  vertical-align: bottom;
  transition: all 0.3s, height 0s;
}
.yg-input-number-lg {
  height: 38px;
  line-height: 38px;
  padding: 0px 10px;
  font-size: 14px;
}
.yg-input-number-sm {
  height: 22px;
  line-height: 22px;
  padding: 0px 7px;
}
.yg-input-number-handler {
  position: relative;
  display: block;
  width: 100%;
  height: 50%;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.45);
  font-weight: bold;
  line-height: 0;
  text-align: center;
  transition: all 0.1s linear;
}
.yg-input-number-handler:active {
  background: #f4f4f4;
}
.yg-input-number-handler:hover .yg-input-number-handler-up-inner,
.yg-input-number-handler:hover .yg-input-number-handler-down-inner {
  color: #29b8ff;
}
.yg-input-number-handler-up-inner,
.yg-input-number-handler-down-inner {
  display: inline-block;
  color: inherit;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  vertical-align: -0.125em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  right: 4px;
  width: 12px;
  height: 12px;
  color: rgba(0, 0, 0, 0.45);
  line-height: 12px;
  transition: all 0.1s linear;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.yg-input-number-handler-up-inner > *,
.yg-input-number-handler-down-inner > * {
  line-height: 1;
}
.yg-input-number-handler-up-inner svg,
.yg-input-number-handler-down-inner svg {
  display: inline-block;
}
.yg-input-number-handler-up-inner::before,
.yg-input-number-handler-down-inner::before {
  display: none;
}
.yg-input-number-handler-up-inner .yg-input-number-handler-up-inner-icon,
.yg-input-number-handler-up-inner .yg-input-number-handler-down-inner-icon,
.yg-input-number-handler-down-inner .yg-input-number-handler-up-inner-icon,
.yg-input-number-handler-down-inner .yg-input-number-handler-down-inner-icon {
  display: block;
}
.yg-input-number:hover {
  border-color: #bababa;
  border-right-width: 1px;
}
.yg-input-number-focused {
  border-color: #bababa;
  border-right-width: 1px;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.2);
}
.yg-input-number-disabled {
  color: rgba(51, 51, 51, 0.25);
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 1;
}
.yg-input-number-disabled:hover {
  border-color: #bababa;
  border-right-width: 1px;
}
.yg-input-number-disabled .yg-input-number-input {
  cursor: not-allowed;
}
.yg-input-number-disabled .yg-input-number-handler-wrap {
  display: none;
}
.yg-input-number-input {
  width: calc(100% - 35px);
  /*70px;*/
  height: 26px;
  padding: 0 9px;
  text-align: left;
  background-color: transparent;
  border: 0;
  border-radius: 2px;
  outline: 0;
  transition: all 0.3s linear;
  -moz-appearance: textfield;
}
.yg-input-number-input::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
.yg-input-number-input:-ms-input-placeholder {
  color: #ccc;
}
.yg-input-number-input::-webkit-input-placeholder {
  color: #ccc;
}
.yg-input-number-lg {
  padding: 0;
  font-size: 14px;
}
.yg-input-number-lg input {
  height: 36px;
}
.yg-input-number-sm {
  padding: 0;
}
.yg-input-number-sm input {
  height: 20px;
  padding: 0 7px;
}
.yg-input-number-handler-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 100%;
  background: #fff;
  border-left: 1px solid #ccc;
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.24s linear 0.1s;
}
.yg-input-number-handler-wrap .yg-input-number-handler .yg-input-number-handler-up-inner,
.yg-input-number-handler-wrap .yg-input-number-handler .yg-input-number-handler-down-inner {
  display: inline-block;
  font-size: 12px;
  font-size: 7px \9;
  transform: scale(0.58333333) rotate(0deg);
  min-width: auto;
  margin-right: 0;
}
:root .yg-input-number-handler-wrap .yg-input-number-handler .yg-input-number-handler-up-inner,
:root .yg-input-number-handler-wrap .yg-input-number-handler .yg-input-number-handler-down-inner {
  font-size: 12px;
}
.yg-input-number:hover .yg-input-number-handler-wrap {
  opacity: 1;
}
.yg-input-number-handler-up {
  cursor: pointer;
}
.yg-input-number-handler-up-inner {
  top: 50%;
  margin-top: -5px;
  text-align: center;
}
.yg-input-number-handler-down {
  top: 0;
  border-top: 1px solid #ccc;
  cursor: pointer;
}
.yg-input-number-handler-down-inner {
  top: 50%;
  margin-top: -6px;
  text-align: center;
}
.yg-input-number-handler-up-disabled,
.yg-input-number-handler-down-disabled {
  cursor: not-allowed;
}
.yg-input-number-handler-up-disabled:hover .yg-input-number-handler-up-inner,
.yg-input-number-handler-down-disabled:hover .yg-input-number-handler-down-inner {
  color: rgba(51, 51, 51, 0.25);
}
