tags-input {
    display: block
}
tags-input *,
tags-input:after,
tags-input:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  
}
tags-input .host {
    position: relative;
    margin-top: 5px;
    margin-bottom: 0px;
    height: 100%;
}
tags-input .host:active {
    outline: 0
}
tags-input .tags {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    padding: 10px;
    overflow: hidden;
    word-wrap: break-word;
    cursor: text;
    background-color: #fff;
    border: 1px solid #a9a9a9;
    height: 100%;
}
tags-input .tags.focused {
    outline: 0;
    -moz-box-shadow: 0 0 3px 1px rgba(5, 139, 242, .6);
}
tags-input .tags .tag-list {
    margin: 0;
    padding: 0;
    list-style-type: none
}
tags-input .tags .tag-item {
    margin: 4px 0px 4px 10px;
    padding: 0 5px;
    display: inline-block;
    float: right;
    height: 26px;
    line-height: 25px;
    touch-action:  none;
    background: #d8436d;
    color: #fff;
    font-weight: normal;
    position: relative;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

tags-input .tags .tag-item.sortable-ghost {
    opacity:0.3;
}
tags-input .tags .tag-item.sortable-chosen:not(.sortable-ghost) {
    background:#555 !important;
    opacity:1;
  }
tags-input .tags .tag-item 
tags-input .tags .tag-item.selected {
    background: -webkit-linear-gradient(top, #febbbb 0, #fe9090 45%, #ff5c5c 100%);
    background: #65A1DE !important;
}
tags-input .tags .tag-item .remove-button {
    margin: 0 3px 0 2px;
    padding: 0;
    border: none;
    background: 0 0;
    cursor: pointer;
    vertical-align: middle;
    font: 700 18px Arial, sans-serif;
    color: rgba(255, 255, 255, 0.61);
}
tags-input .tags .input.invalid-tag,
tags-input .tags .tag-item .remove-button:active {
    color: red;
}
tags-input .tags .input {
    border: 0;
    outline: 0;
    margin: 2px;
    padding: 0 0 0 5px;
    float: right;
    height: 26px;
    font-style: normal;
    font-size: 16px;
}
tags-input .tags .input::-ms-clear {
    display: none
}
tags-input.ng-invalid .tags {
    -webkit-box-shadow: 0 0 3px 1px rgba(255, 0, 0, .6);
    -moz-box-shadow: 0 0 3px 1px rgba(255, 0, 0, .6);
    box-shadow: 0 0 3px 1px rgba(255, 0, 0, .6)
}
tags-input[disabled] .host:focus {
    outline: 0
}
tags-input[disabled] .tags {
    background-color: #eee;
    cursor: default
}
tags-input[disabled] .tags .tag-item {
    opacity: .65;
    background: -webkit-linear-gradient(top, #f0f9ff 0, rgba(203, 235, 255, .75)47%, rgba(161, 219, 255, .62)100%);
    background: linear-gradient(to bottom, #f0f9ff 0, rgba(203, 235, 255, .75)47%, rgba(161, 219, 255, .62)100%)
}
tags-input[disabled] .tags .tag-item .remove-button {
    cursor: default
}
tags-input[disabled] .tags .tag-item .remove-button:active {
    color: #585858
}
tags-input[disabled] .tags .input {
    background-color: #eee;
    cursor: default
}
tags-input .autocomplete {
    margin-top: 0px;
    position: absolute;
    padding: 5px 0;
    z-index: 999;
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    border-top: 0px;
}
tags-input .autocomplete .suggestion-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    max-height: 167px;
    overflow-y: auto;
    position: relative;
}
tags-input .autocomplete .suggestion-item {
    padding: 5px 10px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font: 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
    background-color: #fff
}
tags-input .autocomplete .suggestion-item.selected,
tags-input .autocomplete .suggestion-item.selected em {
    color: #fff;
    background-color: #0097cf
}
tags-input .autocomplete .suggestion-item em {
    font: normal bold 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
    background-color: #fff
}
tags-input .tags .tag-item .remove-button:hover {
    color: #fff;
    text-decoration: none;
}
tags-input .tags .tag-item .remove-button:active {
    color: #fff
}
tags-input .tags .tag-item:nth-child(2n) {
    background: #f29f2c;
}
tags-input .tags .tag-item:nth-child(1) {
    background: #165674;
}
tags-input .tags .replace-button {
    font-weight: bold;
    opacity: 0;
    -webkit-transition: 0.2s;
    position: relative;
    width: 27px;
    position: absolute;
    right: 0px;
    background: rgba(0, 0, 0, 0.37);
    z-index: 1;
    height: 26px;
    padding-right: 2px;
    padding-left: 2px;
}
tags-input .tags .replace-button a {
    text-decoration: none;
}
tags-input .tags .tag-item .replace-button:hover {
    opacity: 1;
}
tags-input input::-webkit-input-placeholder {
    font-style: normal;
    font-weight: normal;
    color: #bbb;
}
@media screen and (max-width: 680px) {
    tags-input .autocomplete {
        position: static;
    }
}