﻿.bootstrap-tagsinput:not(.bootstrap-tagsinput-external) {
  background: var(--color-panel-background);
  border: 1px solid var(--color-icon-background-border);
  border-bottom-width: 2px;
  display: inline-block;
  padding: 4px 6px;
  padding: 0px 6px !important;
  color: #555;
  vertical-align: middle;
  border-radius: 3px;
  width: 100%;
  cursor: text;
  min-height: 50px;
}

.parttagcontainer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
  margin-right: 15px;
}

  .bootstrap-tagsinput:not(.bootstrap-tagsinput-external) input {
    border: none !important;
    box-shadow: none !important;
    outline: none;
    background-color: transparent;
    padding: 0 2px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: inherit;
    height: 15px !important;
    font-size: 12px !important;
  }

.bootstrap-tagsinput span.label-info {
  background: #90C049;
}

.parttagcontainer span.label-info {
  background: var(--color-panel-border-hard);
  color: var(--color-text-inverse) !important;
  padding: 8px;
  text-align: left;
  min-width: 200px;
}

.bootstrap-tagsinput.form-control input::-moz-placeholder {
  color: #777;
  opacity: 1;
}

.bootstrap-tagsinput.form-control input:-ms-input-placeholder {
  color: #777;
}

.bootstrap-tagsinput.form-control input::-webkit-input-placeholder {
  color: #777;
}

.bootstrap-tagsinput input:focus {
  border: none;
  box-shadow: none;
}

.bootstrap-tagsinput .tag {
  margin-top: -2px;
  margin-right: 2px;
  color: white;
  text-transform: uppercase;
  display: inline-block;
}

  .bootstrap-tagsinput .tag [data-role="remove"] {
    margin-left: 8px;
    cursor: pointer;
    font-size: 100% !important;
  }

    .bootstrap-tagsinput .tag [data-role="remove"]:after,
    .parttagcontainer .tag [data-role="remove"]:after {
      content: "x";
      float:right;
      cursor:pointer;
    }

    .bootstrap-tagsinput .tag [data-role="remove"]:hover {
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    }

      .bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
      }
