/*
 * bootstrap-tagsinput v0.8.0
 * 
 */

 .bootstrap-tagsinput {
  background-color: rgb($white);
  display: flex;
  flex-wrap: wrap;
  color: #777ab2;
  vertical-align: middle;
  border-radius: 0px;
  width: 100%;
  cursor: text;

  input {
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0 6px;
    margin: 0;
    width: auto;
    max-width: inherit;
    display: block;
    overflow: hidden;
  }

  &.form-control input {
    &::-moz-placeholder {
      color: #777;
      opacity: 1;
    }

    &:-ms-input-placeholder, &::-webkit-input-placeholder {
      color: #777;
    }
  }

  input:focus {
    border: none;
    box-shadow: none;
  }

  .badge {
    position: relative;
    display: block;
    max-width: 95%;
    word-wrap: break-word;
    white-space: break-spaces;
    margin-inline-end: 2px;
    color: rgb($white);
    padding: 5px 12px !important;
    margin-block-start: 8px;
    border-radius: 3px;
    line-height: inherit;

    [data-role="remove"] {
      margin-inline-start: 8px;
      cursor: pointer;

      &:after {
        content: "×";
        padding: 0px 6px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        font-size: 15px;
        display: inline-block;
        text-align: center;
      }

      &:hover {
        &:after {
          background-color: rgba(0, 0, 0, 0.2);
        }

        &:active {
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
        }
      }
    }
  }

  > .tag {
    position: relative;
    display: block;
    max-width: 95%;
    word-wrap: break-word;
    white-space: break-spaces;
  }
}