.rw-select-list {
  overflow: auto;
  position: relative;

  .rw-list {
    max-height: none;
    font-size: $font-size; // use widget font-size
  }
}

.rw-select-list-label {
  display: block;
  position: relative;
  font-weight: normal;
  cursor: inherit;
  padding-inline-start: 20px;
  margin: 0;

  .rw-rtl & {
    padding-inline-start: 0;
    padding-inline-end: 20px;
  }
}

input.rw-select-list-input {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  top: 0.1em /9;
  margin: 0;
  line-height: normal;
  cursor: inherit;

  .rw-rtl & {
    left: auto;
    right: 0;
  }
}

.rw-loading-mask {
  content: '';
  background: $img-busy-lg no-repeat center;
  position: absolute;
  background-color: #fff;
  border-radius: $input-border-radius;

  @include opacity(0.7);
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
