@import "mixins/mixins";
@import "common/var";

.new-search-form {
  display: flex;
  flex-flow: wrap row;
  align-items: flex-start;

  .search-item {
    position: relative;
    width: 220px;
    height: $--input-small-height;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    margin: 0 12px 12px 0;

    display: flex;
    align-items: center;
    padding: 0 0 0 10px;

    .search-item-close {
      position: absolute;
      right: -6px;
      top: -6px;
      width: 12px;
      height: 12px;
    }
  }

  .search-item-width {
    width: 360px;
  }

  .search-item-left {
    flex-shrink: 0;
    font-size: $--input-small-font-size;
    color: #262626;
  }

  .info-line-style {
    font-size: $--input-small-font-size;
    display: inline-block;
    color: rgba(0, 0, 0, 0.45);
    padding: 0 5px;
  }

  .el-popover-text {
    font-size: $--input-small-font-size;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
    line-height: 18px;
  }

  .search-right {
    flex: 1;

    .el-input__inner {
      border: none;
      background-color: transparent;
      box-shadow: none;
      padding: 0 22px 0 12px;
      height: $--input-small-height;
      font-size: $--input-small-font-size;
    }

    input::placeholder {
      color: rgba(140, 140, 140, 1);
      font-size: $--input-small-font-size;
      height: $--input-small-height;
    }

    .el-input__suffix {
      right: 1px;
    }
  }

  .search-right-date {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none;
    font-size: $--input-small-font-size;
    padding-right: 0;

    .el-icon-time, .el-icon-circle-close, .el-range-separator, .el-range__close-icon {
      line-height: $--input-small-height;
      height: $--input-small-height;
    }
  }

  .focus-boxshadow {
    outline: none;
    border-color: #4385FF;
    box-shadow: 0 0 2px 0 #4380f7;
  }

  .btn-box {
    margin-bottom: 12px;
  }

  .btn-box-reset {
    margin-left: 12px;
  }
}

.input-and-select {
  width: 220px;
  font-size: 12px;

  .ins-input {
    .el-input__inner {
      padding: 0 10px 0 15px;
      box-shadow: none;
      border: none;
      outline: none;
      background-color: transparent;
    }
  }

  .ins-select {
    padding: 0 15px 0 0;
    //width: 90px;
    font-size: 12px;
    font-weight: 400;
    color: #262626;

    .el-input__suffix {
      right: -20px;
    }
  }

  .el-input-group__prepend {
    border: none;
  }

  .ins-select, .insr-selectr {
    .el-input__inner {
      padding: 0;
      box-shadow: none;
      border: none;
      outline: none;
      background-color: transparent;
    }
  }

  .insr-selectr {
    .el-input__inner {
      padding: 0 6px;
    }
  }

  .ins-remote {
    display: flex;
    align-items: center;
  }
}

.new-input-select-sec {
  display: flex;
  align-items: center;

  .newiss-input {
    .el-input__inner {
      padding: 0 0 0 8px;
      border: none;
      background-color: transparent;
      box-shadow: none;
    }
  }

  .range {
    padding-left: 5px;
  }

  .newiss-select {
    width: 57px;
    border-radius: 0 2px 2px 0;
    flex-shrink: 0;

    .el-input__inner {
      padding: 0 0 0 8px;
      border: none;
      background-color: transparent;
      box-shadow: none;
    }

    .el-input__suffix {
      right: -2px;
      top: 1px;
    }
  }
}


.new-search-right {
  width: 100%;

  .el-input {
    width: calc(100% / 2 - 10px);
    display: inline-block;
  }

  .input-divider {
    display: inline-block;
    width: 20px;
    text-align: center;
  }
}
