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


ul.tagit {
    border-style: solid;
    border-width: 2px;
    border-color: #000;
    background: #FFF;
    cursor:text;
    padding:4px 8px 1px;
}
ul.tagit li.tagit-choice {
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    border: 1px solid #e5e5e5;

    background: none;
    background-color: #e5e5e5;
    
    font-weight: normal;
    text-transform: uppercase;
    cursor:default;
}
.tagit-label .tagit-prefix,
.tagit-label .tagit-suffix {
    display:inline-block;
    line-height:18px;
    vertical-align:middle;
}
.tagit-label .tagit-prefix {
    font-family: 'Courier New',Courier,'Lucida Sans Typewriter','Lucida Typewriter',monospace;
    font-size:12px;
    font-weight:700;
    margin-right: 4px;
    position:relative;
    top:1px;
    bottom:auto;
    left:auto;
    right:auto;
}
.tagit-label .tagit-suffix {
    font-family:AlternateGothicNo2BT-Regular,Tahoma,Arial,sans-serif;
    font-size:18px;
    margin-right:2px;
}
ul.tagit li.tagit-choice .tagit-label:not(.tagit-close) {
    color: #0f0f0f;
}
ul.tagit li.tagit-choice a.tagit-close {
    text-decoration: none;
}
ul.tagit li.tagit-choice .tagit-close {
    right: .4em;
    display:initial;
    padding:0;
    width:auto;
    height:auto;
}
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: #c6c6c6;
    border-color: #c6c6c6;
}
ul.tagit input[type="text"] {
    color: #0f0f0f;
    background: none;
}

ul.tagit input[type="text"]::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    text-overflow: ellipsis!important;
}

ul.tagit input[type="text"]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-overflow: ellipsis!important;
}

ul.tagit input[type="text"]::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-overflow: ellipsis!important;
}

ul.tagit input[type="text"]:-ms-input-placeholder { /* Internet Explorer 10-11 */
    text-overflow: ellipsis!important;
}

ul.tagit li.tagit-choice .tagit-label {
    display:inline-block;
    height:18px;
    width: auto;
    padding: 0;
}

/* 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 */
.ui-autocomplete.tagit-autocomplete.ui-menu {
    list-style:none;
    padding: 2px;
    padding-left:8px;
    margin: 0;
    display:block;
    float: left;
    border-width:2px;
    border-color:#000;
    border-top:none;
}
.tagit-autocomplete.ui-menu .ui-menu-item {
    margin:0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
    font-family: 'Courier New',Courier,'Lucida Sans Typewriter','Lucida Typewriter',monospace;
    font-weight:700;
    font-size:13px;
    border:none;
}
.tagit-autocomplete.ui-menu .ui-menu-item strong {
    color:#df0033;
}
.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 #aaaaaa; background: #ffffff 50% 50% repeat-x; color: #222222; }
.tagit-autocomplete.ui-corner-all, .tagit-autocomplete .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; }
.tagit-autocomplete .ui-state-hover, .tagit-autocomplete .ui-state-focus { border: 1px solid #999999; background: #dadada; font-weight: normal; color: #212121; }
.tagit-autocomplete .ui-state-active  { border: 1px solid #aaaaaa; }

.tagit-autocomplete .ui-widget-content { border: 1px solid #aaaaaa; }
.tagit .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px,1px,1px,1px); }

ul.tagit li.tagit-new {
    min-width:100px;
    max-width:600px;
}

ul.tagit-autocomplete:before {
    display: list-item;
    content:'Choose a search suggestion below...';
}

.tagit-autocomplete.loading {
    padding-bottom:24px;
}

.tagit-autocomplete.loading:after {
    content:"";
    background-image: url('../../../images/preloader.gif');
    background-size:16px;
    display:block;
    width:16px;
    height:16px;
    position:absolute;
    bottom:4px;
    left:50%;
    top:auto;
    right:auto;
    margin-left:-8px;
}