.ty-input {
  position: relative;
  font-family: "Open Sans", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: rgba(0, 0, 0, 0.65); }
  .ty-input__input {
    font-family: "Open Sans", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    margin: 0;
    color: rgba(0, 0, 0, 0.65);
    border: 1px solid #d9d9d9;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    outline: 0;
    border-radius: 3px;
    font-size: 14px; }
    .ty-input__input:hover {
      border-color: #4DBDB9; }
    .ty-input__input:focus {
      border-color: rgba(77, 189, 185, 0.8);
      -webkit-box-shadow: 0 0 0 2px rgba(77, 189, 185, 0.2);
              box-shadow: 0 0 0 2px rgba(77, 189, 185, 0.2); }
    .ty-input__input::-webkit-input-placeholder {
      color: #bfbfbf; }
    .ty-input__input::-moz-placeholder {
      color: #bfbfbf; }
    .ty-input__input:-ms-input-placeholder {
      color: #bfbfbf; }
    .ty-input__input::-ms-input-placeholder {
      color: #bfbfbf; }
    .ty-input__input::placeholder {
      color: #bfbfbf; }
  .ty-input__prefix, .ty-input__suffix {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    z-index: 2;
    margin: 0 8px; }
  .ty-input__prefix {
    left: 0; }
  .ty-input__suffix {
    right: 0; }
  .ty-input__clear-btn {
    display: inline-block;
    color: rgba(0, 0, 0, 0.25);
    width: 14px;
    height: 14px;
    position: relative;
    top: 2px;
    cursor: pointer; }
  .ty-input_sm .ty-input__input {
    font-size: 13px;
    height: 24px;
    line-height: 24px; }
  .ty-input_sm .ty-input__clear-btn {
    -webkit-transform: scale(0.7);
            transform: scale(0.7); }
  .ty-input_md .ty-input__input {
    font-size: 14px;
    height: 32px;
    line-height: 32px; }
  .ty-input_md .ty-input__clear-btn {
    -webkit-transform: scale(0.8);
            transform: scale(0.8); }
  .ty-input_lg .ty-input__input {
    font-size: 16px;
    height: 42px;
    line-height: 42px; }
  .ty-input_disabled .ty-input__input {
    cursor: not-allowed;
    background-color: #f4f4f5;
    color: #999; }
    .ty-input_disabled .ty-input__input:hover {
      border-color: #d9d9d9; }

.ty-input-group {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative; }
  .ty-input-group > .ty-input-group-addon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; }
  .ty-input-group_sm {
    height: 24px; }
  .ty-input-group_md {
    height: 32px; }
  .ty-input-group_lg {
    height: 42px; }
  .ty-input-group .ty-input {
    z-index: 1;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1; }
    .ty-input-group .ty-input:first-child .ty-input__input {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0; }
    .ty-input-group .ty-input:last-child .ty-input__input {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0; }
    .ty-input-group .ty-input:not(:first-child):not(:last-child) .ty-input__input {
      border-radius: 0; }

.ty-input-group-addon {
  background-color: #fafafa;
  border: 1px solid #d9d9d9;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
  line-height: 1;
  border-radius: 3px;
  color: rgba(0, 0, 0, 0.65);
  padding: 0 7px; }
  .ty-input-group-addon_sm {
    font-size: 13px; }
  .ty-input-group-addon_md {
    font-size: 14px; }
  .ty-input-group-addon_lg {
    font-size: 16px; }
  .ty-input-group-addon:first-child {
    border-right: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0; }
  .ty-input-group-addon:last-child {
    border-left: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0; }
  .ty-input-group-addon:not(:first-child):not(:last-child) {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 0 7px; }
  .ty-input-group-addon_no-border {
    border: none;
    padding: 0; }
