.rw-dropdown-list-autofill {
  @extend .rw-input;

  padding: 0;
}

.rw-dropdown-list {

  .rw-select,
  .rw-select .rw-btn {
    height: 100%;
  }
}

.rw-dropdown-list-input {
  background-color: transparent;
  vertical-align: middle;
  padding-right: 0;

  /* ellipsis */
  & {
    max-width: 1px; // very hacky to force ellipsis
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .rw-rtl & {
    padding-right: $input-padding-horizontal;
    padding-left: 0;
  }
}

.rw-filter-input {
  @extend .rw-input;
  @extend .rw-widget-input;

  position: relative;
  margin: 4px;
  padding-right: 0;

  .rw-rtl {
    padding-right: $input-padding-horizontal;
    padding-left: 0;
  }

  .rw-select,
  .rw-btn {
    @include opacity(0.75);
    cursor: text;
  }

  > .rw-select {
    &,
    &:active,
    &:hover {
      background: none;
      cursor: initial;
      box-shadow: none;
    }
  }
}
