/*autocomplete*/
.autocomplete-wrapper input,
.autocomplete-wrapper input[type="text"] {
    padding-right: 18px;
}
.autocomplete-wrapper {
    position: relative;
}
.autocomplete-wrapper .ui-icon-triangle-1-s{
    background: transparent url("../images/arrow-down.gif") no-repeat scroll center center;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;
}
.ui-autocomplete li.ui-menu-item {
    position:relative;
}
.ui-autocomplete {
    max-height: 480px;
    overflow-y: auto; /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
    z-index: 1000 !important;
}



.ui-autocomplete li.allow-delete a{
    margin-right:-1px!important;
}
.ui-autocomplete a.button-delete {
    display:none;
    background-color:transparent;    
    border:none;
    z-index:10;
    position: absolute;
    right:0;
    top:3px;
}
.ui-autocomplete a.ui-state-focus {
    display:block;
}