/**
 * @license chowa v1.1.3
 *
 * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
::-webkit-input-placeholder {
  color: #888da8; }

.cw-input {
  border-radius: 3px;
  color: #616a6e;
  caret-color: #7774e7;
  transition: all 0.2s ease-in;
  border: 1px solid #e6ecf5;
  width: 100%;
  margin: 0;
  padding: 6px 12px;
  outline: none;
  box-sizing: border-box;
  height: 32px;
  line-height: 30px;
  font-size: 14px; }
  .cw-input[disabled] {
    background-color: #e9ecef;
    color: #888da8;
    cursor: not-allowed; }
  .cw-input[readonly] {
    cursor: not-allowed; }
  .cw-input:hover:not(:disabled):not(:read-only) {
    border-color: #7774e7; }
  .cw-input:focus:not(:disabled):not(:read-only) {
    color: #414a63;
    box-shadow: 0 1px 2px 3px rgba(119, 116, 231, 0.15);
    border-color: #7774e7; }
  .cw-input.cw-has-error {
    border-color: #ed4014; }

.cw-input-small {
  height: 26px;
  line-height: 24px;
  font-size: 12px; }

.cw-input-large {
  height: 38px;
  line-height: 36px;
  font-size: 16px; }

.cw-input-wrapper {
  display: flex;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #888da8;
  height: 32px;
  line-height: 30px;
  font-size: 14px; }
  .cw-input-wrapper .cw-input-fix {
    width: 32px; }
  .cw-input-wrapper .cw-input-fix-wrapper .cw-input:not(:first-child) {
    padding-left: 32px; }
  .cw-input-wrapper .cw-input-fix-wrapper .cw-input:not(:last-child) {
    padding-right: 32px; }
  .cw-input-wrapper .cw-btn:first-child,
  .cw-input-wrapper .cw-select:first-child,
  .cw-input-wrapper .cw-dropdown-btn:first-child,
  .cw-input-wrapper .cw-input-addon:first-child {
    border-right-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0; }
  .cw-input-wrapper .cw-btn:last-child,
  .cw-input-wrapper .cw-select:last-child,
  .cw-input-wrapper .cw-dropdown-btn:last-child,
  .cw-input-wrapper .cw-input-addon:last-child {
    border-left-width: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0; }
  .cw-input-wrapper.cw-has-error .cw-input {
    border-color: #ed4014; }

.cw-input-wrapper-small {
  height: 26px;
  line-height: 24px;
  font-size: 12px; }
  .cw-input-wrapper-small .cw-input-fix {
    width: 26px; }
  .cw-input-wrapper-small .cw-input-fix-wrapper .cw-input:not(:first-child) {
    padding-left: 26px; }
  .cw-input-wrapper-small .cw-input-fix-wrapper .cw-input:not(:last-child) {
    padding-right: 26px; }

.cw-input-wrapper-large {
  height: 38px;
  line-height: 36px;
  font-size: 16px; }
  .cw-input-wrapper-large .cw-input-fix {
    width: 38px; }
  .cw-input-wrapper-large .cw-input-fix-wrapper .cw-input:not(:first-child) {
    padding-left: 38px; }
  .cw-input-wrapper-large .cw-input-fix-wrapper .cw-input:not(:last-child) {
    padding-right: 38px; }

.cw-input-addon {
  flex: none;
  border: 1px solid #e6ecf5;
  border-radius: 3px;
  background-color: #fff;
  margin: 0;
  padding: 0 14px;
  box-sizing: border-box; }

.cw-input-fix-wrapper {
  flex: auto;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box; }
  .cw-input-fix-wrapper:not(:first-child) .cw-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0; }
  .cw-input-fix-wrapper:not(:last-child) .cw-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0; }

.cw-input-fix {
  position: absolute;
  top: 1px;
  bottom: 1px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  text-align: center; }
  .cw-input-fix:first-child {
    left: 0; }
  .cw-input-fix:last-child {
    right: 0; }
    .cw-input-fix:last-child .cw-clear-btn:not(:last-child) {
      position: static;
      margin-right: 6px; }

.cw-textarea {
  display: block;
  border-radius: 3px;
  min-height: 160px;
  color: #616a6e;
  caret-color: #7774e7;
  resize: none;
  transition: all 0.2s ease-in;
  width: 100%;
  border: 1px solid #e6ecf5;
  margin: 0;
  padding: 12px 18px;
  box-sizing: border-box;
  outline: none;
  font-size: 14px; }
  .cw-textarea[disabled] {
    background-color: #e9ecef;
    color: #888da8;
    cursor: not-allowed; }
  .cw-textarea[readonly] {
    cursor: not-allowed; }
  .cw-textarea:hover:not(:disabled):not(:read-only) {
    border-color: #7774e7; }
  .cw-textarea:focus:not(:disabled):not(:read-only) {
    color: #414a63;
    box-shadow: 0 1px 2px 3px rgba(119, 116, 231, 0.15);
    border-color: #7774e7; }
  .cw-textarea.cw-has-error {
    border-color: #ed4014; }

.cw-textarea-can-resize {
  resize: vertical; }

.cw-input-number {
  display: inline-flex;
  border: 1px solid #e6ecf5;
  border-radius: 5px;
  transition: all 0.2s ease-in;
  background-color: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 90px;
  height: 32px;
  color: #888da8;
  outline: none; }
  .cw-input-number:not(.cw-input-number-disabled):hover {
    border-color: #7774e7; }
    .cw-input-number:not(.cw-input-number-disabled):hover .cw-input-number-operate {
      opacity: 1; }
  .cw-input-number:not(.cw-input-number-disabled).cw-input-number-focused, .cw-input-number:not(.cw-input-number-disabled):focus {
    box-shadow: 0 1px 2px 3px rgba(119, 116, 231, 0.15);
    border-color: #7774e7; }
  .cw-input-number.cw-has-error {
    border-color: #ed4014; }

.cw-input-number-input {
  flex: auto;
  width: 100%;
  border: none;
  background-color: transparent;
  margin: 0;
  box-sizing: border-box;
  outline: none;
  line-height: 30px;
  font-size: 14px;
  padding: 0 8px;
  text-align: center;
  color: inherit;
  cursor: inherit; }

.cw-input-number-operate {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in;
  margin: 0;
  padding: 0;
  width: 26px;
  background-color: #f8f8f8;
  border-left: 1px solid #e6ecf5;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  overflow: hidden;
  opacity: 0; }

.cw-input-number-btn {
  margin: 0;
  padding: 0;
  outline: none;
  cursor: pointer;
  color: #888da8;
  transition: all 0.2s ease-in-out;
  font-size: 12px;
  border: none;
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  box-sizing: border-box;
  flex: auto; }
  .cw-input-number-btn:last-child {
    border-top: 1px solid #e6ecf5; }
  .cw-input-number-btn:not(.cw-input-number-btn-disabled):hover {
    color: #7774e7;
    background-color: #f7f6fe; }

.cw-input-number-btn-disabled {
  cursor: not-allowed; }

.cw-input-number-disabled {
  background-color: #e9ecef;
  color: #888da8;
  cursor: not-allowed; }
