﻿/* Autocomplete
----------------------------------*/
.ui-autocomplete {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	color: #444444;
	z-index: 99999;
	width: 10em;
	overflow-y: auto; 
	overflow-x: hidden;
}

.ui-autocomplete ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ui-autocomplete li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block; /*  	if width will be 100% horizontal scrollbar will apear  	when scroll mode will be used 	*/ /*width: 100%;*/
	font: menu;
	font-size: 12px; /*  	it is very important, if line-height not setted or setted  	in relative units scroll will be broken in firefox 	*/
	line-height: 16px;
	overflow: hidden;
}

.ui-menu-item-alternate {
	background-color: #eee;
}

.ui-menu-item-label {
	background-color: #D8DFEA;
	color: #B20909;
	font-weight: bold !important;
	text-align: center;
	vertical-align: middle;
}

.ui-autocomplete ui-menu-item-alternate strong,.ui-autocomplete ui-menu-item strong  {
	color: #222222;
}

.ui-autocomplete ui-menu-item {
	background-color: #0A246A;
	color: white;
}

.ui-autocomplete-button { height:1.5em; width:2em; vertical-align:bottom; }
.ui-autocomplete-input { margin: 0; } 
.ui-button-icon-only .ui-button-text { line-height: .25em !important;  } /* hack for IE due to its mangling the size of the combo box button - remove if compliance mode */

.ta-strikeThrough {
	text-decoration:line-through;
}

.ta-inactive {
    color:#888888;
}

.ui-menu-item-alternate .ta-inactive {
    color:#666666;
}

.ta-highlight {
	font-weight:bold;
}

.ui-autocomplete-loading { 
	background-image: url('//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/images/ui-anim_basic_16x16.gif') !important;
	background-position: right center !important;
	background-repeat: no-repeat !important;
}