.pumselect2-selection--multiple {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: text;

  .pumselect2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%;

    li {
      list-style: none;
    }
  }

  .pumselect2-selection__placeholder {
    color: #999;

    margin-top: 5px;

    float: left;
  }

  .pumselect2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
  }

  .pumselect2-selection__choice {
    background-color: #e4e4e4;

    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;

    float: left;

    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
  }

  .pumselect2-selection__choice__remove {
    color: #999;
    cursor: pointer;

    display: inline-block;
    font-weight: bold;

    margin-right: 2px;

    &:hover {
      color: #333;
    }
  }
}

&[dir="rtl"] {
  .pumselect2-selection--multiple {
    .pumselect2-selection__choice, .pumselect2-selection__placeholder, .pumselect2-search--inline {
      float: right;
    }

    .pumselect2-selection__choice {
      margin-left: 5px;
      margin-right: auto;
    }

    .pumselect2-selection__choice__remove {
      margin-left: 2px;
      margin-right: auto;
    }
  }
}

&.pumselect2-container--focus {
  .pumselect2-selection--multiple {
    border: solid black 1px;
    outline: 0;
  }
}

&.pumselect2-container--disabled {
  .pumselect2-selection--multiple {
    background-color: #eee;
    cursor: default;
  }

  .pumselect2-selection__choice__remove {
    display: none;
  }
}
