ul.tagit {
    padding: 1px 5px;
    overflow: hidden;
    margin-left: inherit;
    margin-right: inherit;
    font: inherit;
    border: 1px solid #ebebee;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

ul.tagit.focus{
    border-color: #2fa997;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(47, 169, 151, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(47, 169, 151, 0.6);
}

ul.tagit li {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}
ul.tagit li.tagit-choice {    
    position: relative;
    line-height: inherit;
    border: 1px solid black;
    background: #fff; 
    color: #000;
}
input.tagit-hidden-field {
    display: none;
}
ul.tagit li.tagit-choice-read-only { 
    padding: .2em .5em .2em .5em; 
} 

ul.tagit li.tagit-choice-editable { 
    padding: .2em 18px .2em .5em; 
} 

ul.tagit li.tagit-new {
    padding: .25em 4px .25em 0;
}

ul.tagit li.tagit-choice a.tagit-label {
    cursor: pointer;
    text-decoration: none;
    font: inherit;
}
ul.tagit li.tagit-choice .tagit-close {
    cursor: pointer;
    position: absolute;
    right: .1em;
    top: 50%;
    margin-top: -8px;
    line-height: 17px;
    font-size: 0.8em;
}

/* used for some custom themes that don't need image icons */
ul.tagit li.tagit-choice .tagit-close .text-icon {
    /*display: none;*/
}

ul.tagit li.tagit-choice input {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}
ul.tagit input[type="text"] {
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:         border-box;

    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    border: none;
    margin: 0;
    padding: 0;
    width: inherit;
    background-color: inherit;
    outline: none;
    font: inherit; 
}

ul.tagit {
    padding: 6px;
    padding-left: 12px;
}

ul.tagit li:not(:first-child) ::-webkit-input-placeholder {opacity: 0;}
ul.tagit li:not(:first-child) ::-moz-placeholder {opacity: 0;}
ul.tagit li:not(:first-child) ::-ms-input-placeholder {opacity: 0;}
ul.tagit li:not(:first-child) ::placeholder {opacity: 0;}

.displaytag {
    display: inline-block;
    border: 1px solid black;
    border-radius: 4px;
    background: #fff; 
    padding: 1px 5px;
    margin: 5px 5px 0 0;
}