.pumselect2-container--default {
  @import "single";
  @import "multiple";

  &.pumselect2-container--open.pumselect2-container--above {
    .pumselect2-selection--single, .pumselect2-selection--multiple {
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }
  }

  &.pumselect2-container--open.pumselect2-container--below {
    .pumselect2-selection--single, .pumselect2-selection--multiple {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }
  }

  .pumselect2-search--dropdown {
    .pumselect2-search__field {
      border: 1px solid #aaa;
    }
  }

  .pumselect2-search--inline {
    .pumselect2-search__field {
      background: transparent;
      border: none;
      outline: 0;
      box-shadow: none;
      -webkit-appearance: textfield;
    }
  }

  .pumselect2-results > .pumselect2-results__options {
    max-height: 200px;
    overflow-y: auto;
  }

  .pumselect2-results__option {
    &[role=group] {
      padding: 0;
    }

    &[aria-disabled=true] {
      color: #999;
    }

    &[aria-selected=true] {
      background-color: #ddd;
    }

    .pumselect2-results__option {
      padding-left: 1em;

      .pumselect2-results__group {
        padding-left: 0;
      }

      .pumselect2-results__option {
        margin-left: -1em;
        padding-left: 2em;

        .pumselect2-results__option {
          margin-left: -2em;
          padding-left: 3em;

          .pumselect2-results__option {
            margin-left: -3em;
            padding-left: 4em;

            .pumselect2-results__option {
              margin-left: -4em;
              padding-left: 5em;

              .pumselect2-results__option {
                margin-left: -5em;
                padding-left: 6em;
              }
            }
          }
        }
      }
    }
  }

  .pumselect2-results__option--highlighted[aria-selected] {
    background-color: #5897fb;
    color: white;
  }

  .pumselect2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
  }
}
