/* surrounding tag container */
.tag-editor {
    list-style-type: none;
    padding: 4px 0 1px 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #eee;
    cursor: text;
    font: normal 14px sans-serif;
    color: #555;
    background: #fff;
    line-height: 20px;
}

/* core styles usually need no change */
.tag-editor li {
    display: block;
    float: left;
    overflow: hidden;
    margin: 0 0 3px 0;
}

.tag-editor div {
    float: left;
    padding: 0 4px;
}

.tag-editor .placeholder {
    padding: 0 8px;
    color: #bbb;
}

.tag-editor .tag-editor-spacer {
    padding: 0;
    width: 8px;
    overflow: hidden;
    color: transparent;
    background: none;
}

.tag-editor input {
    vertical-align: inherit;
    border: 0;
    outline: none;
    padding: 0;
    margin: 0;
    cursor: text;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    font-style: inherit;
    box-shadow: none;
    background: none;
    color: #444;
}

/* hide original input field or textarea visually to allow tab navigation */
.tag-editor-hidden-src {
    position: absolute !important;
    left: -99999px;
}

/* hide IE10 "clear field" X */
.tag-editor ::-ms-clear {
    display: none;
}

/* tag style */
.tag-editor .tag-editor-tag {
    padding-left: 5px;
    color: #46799b;
    background: #e0eaf1;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px 0 0 2px;
    height: 2rem;
    line-height: 2rem;
}

/* delete icon */
.tag-editor .tag-editor-delete {
    cursor: pointer;
    border-radius: 0 2px 2px 0;
    padding-left: 3px;
    padding-right: 4px;
    height: 2rem;
    line-height: 2rem;
}

.tag-editor .tag-editor-delete i {
    line-height: 18px;
    display: inline-block;
}

.tag-editor .tag-editor-delete i:before {
    font-size: 16px;
    color: #8ba7ba;
    content: "×";
    font-style: normal;
}

.tag-editor .tag-editor-delete:hover i:before {
    color: #d65454;
}

.tag-editor .tag-editor-tag.active + .tag-editor-delete, .tag-editor .tag-editor-tag.active + .tag-editor-delete i {
    visibility: hidden;
    cursor: text;
}

.tag-editor .tag-editor-tag.active {
    background: none !important;
}

.tag-editor input[type="text"] {
    border: 0;
    box-shadow: none;
    line-height: 2.64286rem;
    padding: 0;
}

/* Customized styles for Request Support form */
.tag-editor {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    background-color: #fff;
    font-family: inherit;
    border: 1px solid #cccccc;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-size: 1rem;
    margin: 0 0 1.14286rem 0;
    height: 2.64286rem;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
    border-radius: 4px;
}

.tag-editor {
    height: auto;
    min-height: 2.64286rem;
}

.tag-editor input {
    margin: -5px 0 0 -0.8rem;
    padding: 0;
}

.tag-editor .tag-editor-tag,
.tag-editor .tag-editor-delete {
    color: #4d4d4d;
    background-color: #ddd;
}

.tag-editor .tag-editor-tag {
    padding-left: 0.8rem;
}

.tag-editor .tag-editor-tag {
    padding-left: 0.8rem;
}

.tag-editor .tag-editor-delete {
    padding-right: 0.8rem;
}

.tag-editor .tag-editor-delete i:before {
    color: #909090;
    font-weight: bold;
}

.tag-editor .tag-editor-delete:hover i:before {
    color: #4d4d4d;
}

.tag-editor .valid .tag-editor-tag,
.tag-editor .valid .tag-editor-delete {
    background-color: #ddd;
    border-color: #ccc;
    border-style: solid;
}

.tag-editor .not-valid .tag-editor-tag,
.tag-editor .not-valid .tag-editor-delete {
    background-color: #f1cdcd;
    border-color: rgba(255, 0, 0, 0.3);
    border-style: solid;
}

.tag-editor .tag-editor-tag {
    border-width: 1px 0 1px 1px;
    border-radius: 3px 0 0 3px;
}

.tag-editor .tag-editor-tag.active {
    border: 0;
}

.tag-editor .tag-editor-delete {
    border-width: 1px 1px 1px 0;
    border-radius: 0 3px 3px 0;
}

.tag-editor .tag-editor-spacer {
    width: 4px;
}
