.gm-more-select {
  .gm-more-select-selected {
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    border: 1px solid @gm-border-color;
    background-color: white;
    min-height: 30px;
    padding: 5px 25px 5px 10px;
  }

  .gm-more-select-clear-btn {
    display: none;
    position: absolute;
    right: 5px;
    top: 7px;
    cursor: pointer;
    color: @gm-color-third;
  }

  &:hover {
    .gm-more-select-clear-btn {
      display: block;
    }
  }

  &.gm-more-select-disabled {
    cursor: not-allowed;

    .gm-more-select-selected {
      .gm-disabled();
    }

    input {
      cursor: not-allowed;
    }

    .gm-more-select-clear-btn {
      cursor: not-allowed;
    }
  }

  &.gm-more-select-multiple {
    .gm-more-select-selected-item {
      position: relative;
      padding: 0 16px 0 5px;
      background-color: #edf3f9;
      margin-right: 5px;
      border-radius: 4px;

      .gm-more-select-clear-btn {
        top: 2px;
        right: 0;
      }
    }
  }
}

.gm-more-select-popup {
  background: white;

  .gm-more-select-popup-input {
    padding: 5px 10px;

    input {
      padding: 0 5px;
      height: 28px;
      box-shadow: none;
      min-width: 50px;
      width: 100%;
      outline: none;
    }
  }

  .list-group {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1;
    margin-bottom: 0;

    .list-group-item {
      cursor: pointer;
      border: none;
      padding: 5px 10px;

      &.active {
        z-index: inherit;
        color: @brand-primary;
      }

      &:first-child {
        border-top: none;
      }

      &.active.line-selected {
        background-color: @gm-list-bg-hover;
      }

      &.line-selected {
        background-color: @gm-list-bg-hover;
      }
    }

    .list-group-label {
      .list-group-label-item {
        padding: 5px 10px;
        border-top: 1px solid @gm-border-color;
        color: @input-color-placeholder;
      }

      .list-group-item {
        padding: 5px 22px;
      }
    }
  }
}
