ul.tagit {
    padding: 1px 5px;
    overflow: auto;
    margin-left: inherit; /* usually we don't want the regular ul margins. */
    margin-right: inherit;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    padding: 5px;
    cursor:pointer;
    position:relative;
    min-height:48px;

    display: flex;
    align-items: center;
}
ul.tagit li {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}
ul.tagit li.tagit-choice {    
    position: relative;
    line-height: inherit;
}
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: 5px;
    padding-right: 32px;
    background-color: #3c3a63;
    color: #e6e6ea;
} 

ul.tagit li.tagit-new {
    padding: 0;
}

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

/* used for some custom themes that don't need image icons */
ul.tagit li.tagit-choice .tagit-close .text-icon {
    color: #e6e6ea;
    font-size: 1.5rem;
    /* margin-right: 0.2rem; */
}

ul.tagit li.tagit-choice input {
    display: block;
    float: left;
    margin: 2px 2px 2px 2px;
}
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: 150px;
    background-color: inherit;
    outline: none;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front.tagit-autocomplete{
    position:absolute;
    list-style-type:none;
    background:#fff;
    cursor:pointer;
    padding-left: 40px;
    font-family: Arial, Helvetica, sans-serif;
}
