tags-input {
    display: block;
}

    tags-input *, tags-input *:before, tags-input *:after {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    tags-input .host {
        position: relative;
        margin-top: 2px;
        margin-bottom: 5px;
        height: 100%;
    }

        tags-input .host:active {
            outline: none;
        }

    tags-input .tags {
        -moz-appearance: textfield;
        -webkit-appearance: textfield;
        padding: 1px;
        overflow: hidden;
        word-wrap: break-word;
        cursor: text;
        background-color: #fff;
        border: 1px solid darkgray;
        box-shadow: 1px 1px 1px 0 lightgray inset;
        height: 100%;
    }

        tags-input .tags.focused {
            outline: none;
            -webkit-box-shadow: 0 0 3px 1px #c9c9c9;
            -moz-box-shadow: 0 0 3px 1px #c9c9c9;
            box-shadow: 0 0 3px 1px #c9c9c9;
        }

        tags-input .tags .tag-list {
            margin: 0;
            padding: 0;
            list-style-type: none;
        }

        tags-input .tags .tag-item {
            margin: 2px;
            padding: 0 5px;
            display: inline-block;
            float: left;
            font: 10px "Helvetica Neue", Helvetica, Arial, sans-serif;
            height: 20px;
            line-height: 25px;
            border: 1px solid #acacac;
            border-radius: 3px;
            background: #c9c9c9;
            background: #c9c9c9;
        }

            tags-input .tags .tag-item.selected {
                background: #c9c9c9;
                background: #c9c9c9;
            }

            tags-input .tags .tag-item .remove-button {
                margin: 0 0 0 5px;
                padding: 0;
                border: none;
                background: none;
                cursor: pointer;
                vertical-align: middle;
                font: bold 16px Arial, sans-serif;
                color: #585858;
            }

                tags-input .tags .tag-item .remove-button:active {
                    color: #ff0000;
                }

        tags-input .tags .input {
            border: 0;
            outline: none;
            margin: 2px;
            padding: 0;
            padding-left: 5px;
            float: left;
            height: 20px;
            font: 10px "Helvetica Neue", Helvetica, Arial, sans-serif;
        }

            tags-input .tags .input.invalid-tag {
                color: #ff0000;
            }

            tags-input .tags .input::-ms-clear {
                display: none;
            }

    tags-input.ng-invalid .tags {
        -webkit-box-shadow: 0 0 3px 1px rgba(255, 0, 0, 0.6);
        -moz-box-shadow: 0 0 3px 1px rgba(255, 0, 0, 0.6);
        box-shadow: 0 0 3px 1px rgba(255, 0, 0, 0.6);
    }

    tags-input[disabled] .host:focus {
        outline: none;
    }

    tags-input[disabled] .tags {
        background-color: #eee;
        cursor: default;
    }

        tags-input[disabled] .tags .tag-item {
            opacity: 0.65;
            background: #c9c9c9;
            background: #c9c9c9;
        }

            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: 2px;
        position: absolute;
        padding: 5px 0;
        z-index: 999;
        width: 100%;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

        tags-input .autocomplete .suggestion-list {
            margin: 0;
            padding: 0;
            list-style-type: none;
            max-height: 280px;
            overflow-y: auto;
            position: relative;
        }

        tags-input .autocomplete .suggestion-item {
            padding: 5px 10px;
            cursor: pointer;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
            color: #000;
            background-color: #fff;
        }

            tags-input .autocomplete .suggestion-item.selected {
                color: #fff;
                background-color: #c6c6c6;
            }

                tags-input .autocomplete .suggestion-item.selected em {
                    color: #fff;
                    background-color: #c6c6c6;
                }

            tags-input .autocomplete .suggestion-item em {
                font: normal bold 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
                color: #000;
                background-color: #fff;
            }