/* Optional scoped theme for tag-it which mimics the zendesk widget. */

ul.tagit {
    border: 1px solid #d7dce4;
    background: inherit;
}

ul.tagit li.tagit-choice {
    border: 1px solid #d7dce4;
    background: none;
    background-color: #fff;
    font-weight: normal;
}

ul.tagit li.tagit-choice .tagit-label:not(a) {
    color: #555;
}

ul.tagit li.tagit-choice a.tagit-close {
    text-decoration: none;
}

ul.tagit li.tagit-choice .tagit-close {
    right: .4em;
}

ul.tagit li.tagit-choice .ui-icon {
    display: none;
}

ul.tagit li.tagit-choice .tagit-close .text-icon {
    display: inline;
    font-family: arial, sans-serif;
    font-size: 16px;
    line-height: 16px;
    color: #777;
}

ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove {
    background-color: #bbcef1;
    border-color: #6d95e0;
}

ul.tagit li.tagit-choice a.tagLabel:hover, ul.tagit li.tagit-choice a.tagit-close .text-icon:hover {
    color: #222;
}

ul.tagit input[type="text"] {
    color: #222;
    background: none;
}

/* Forked from a jQuery UI theme, so that we don't require the jQuery UI CSS as a
 * dependency. */
.tagit-autocomplete.ui-autocomplete {
    position: absolute;
    cursor: default;
}

* html .tagit-autocomplete.ui-autocomplete {
    width: 1px;
}/* without this, the menu expands to 100% in IE6 */

.tagit-autocomplete.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
    float: left;
}

.tagit-autocomplete.ui-menu .ui-menu {
    margin-top: -3px;
}

.tagit-autocomplete.ui-menu .ui-menu-item {
    margin: 0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
}

.tagit-autocomplete.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: .2em .4em;
    line-height: 1.5;
    zoom: 1;
}

.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-hover, .tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
}

.tagit-autocomplete.ui-widget-content {
    border: 1px solid #d7dce4;
    color: #222222;
}

.tagit-autocomplete.ui-corner-all, .tagit-autocomplete .ui-corner-all {
    border-radius: 4px;
}

.tagit-autocomplete .ui-state-hover, .tagit-autocomplete .ui-state-focus {
    border: 1px solid #d7dce4;
    background: #dadada;
    font-weight: normal;
    color: #222;
}

.tagit-autocomplete .ui-state-active {
    border: 1px solid #d7dce4;
}

.tagit-autocomplete .ui-widget-content {
    border: 1px solid #d7dce4;
}

.tagit .ui-helper-hidden-accessible {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
}
