@search-prefix-cls: ~"mx-advance-search";

.mx-advance-search {
  margin-left: 18px;
  display: inline-block;
  &-input-wrapper {
    align-items: center;
    display: flex;
    flex: 1;

    .mx-advance-search-input-title {
      //width: 80px;
      white-space: nowrap;
      padding-right: 15px;
      font-size: 12px;
    }

    .mx-advance-search-input {
      flex: 1;
      border-radius: 0px;
      .mx-select-selection {
        border-radius: 0px !important;
      }
    }

    .mx-advance-search-input-summary {
      flex: 1;
      border-radius: 0px;
      border: 1px solid #40a5ed;
      &:disabled {
        border: 1px solid #d9d9d9;
      }

    }

    .mx-input-wrapper {
      flex: 1;
      //width: 300px;
    }

    .mx-advance-search-range-input {
      display: flex;
      //width: 300px;
      flex: 1;

      &-connector {
        margin-left: 10px;
        margin-right: 10px;
      }
    }

    .mx-calendar-picker {
      //display: flex;
      //width: 300px;
      //flex: 1;
    }

    .search-input-col {
      width: 100px;
      padding: 0.5rem;
      span {
        white-space: nowrap;
        text-overflow: ellipsis;
        border-radius: 0px;
      }
    }
    .search-input-col-label {
      //text-align: right;
    }
    .search-input-col-comp {
      width: calc(~'100% - 100px');
    }
  }

  &-input-btn {
    border-radius: 1px;
    &:hover {
      // border-color: #d9d9d9;
    }
    border: 1px solid #40a5ed;
    border-left: 0px;
    background-color: #40a5ed;
  }

  &-basic {
    display: flex;
    flex-direction: row;
    justify-content: center;
    // width: 100%;
    // margin-bottom: 15px;

    &-switch {
      //margin-bottom: 15px;
      // margin-left: 15px;
      background-color: #fff;
      border-width: 0px;
      color: #3d5266;
      font-size: 16px;
      cursor: pointer;
      &:hover {
        color: #40a5ed;
      }
      & > span:first-child {
        width: 64px;
        display: inline-block;
        text-align: left;
      }
      & > span:last-child {
        margin-top: 26px;
      }
    }
  }

  &-advanced {
    width: 100%;
    display: flex;
    flex-direction: column;

    .mx-advance-search-input-wrapper {
      margin-bottom: 15px;
    }

    &-button {
      width: 100px;
      align-self: flex-end;
    }
  }

  &-advanced-button-bar {

  }

  &-advanced-button {
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    max-width: 120px;
    height: 30px;
    padding: 6px 35px;
    color: #fff;
    border: 1px solid #24b283;
    border-radius: 3px;
    background: #26bf8c;
    &:hover {
      color: #fff;
    }
  }

  &-advanced-button-clear {
    margin-right: 10px;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    max-width: 120px;
    height: 30px;
    padding: 6px 15px;
    color: #F89024;
    border: 1px solid #F89024;
    border-radius: 3px;
    //background: #26bf8c;
    &:hover {
      color: #F89024;
    }
  }

  &-advanced-search-form {
    background-color: #fff;
    float: left;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    &>div {
      float: left;
      width: 50%;
    }
  }
}

.simple-modal-search-bar {
  i:hover {
    color: #085084 !important;
  }
}
