.ac_results,
.ac_results_with_preview,
.ac_results_term,
.ac_results_facet{
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
    position: absolute;
    top: -10000px;
    left: -10000px;
	z-index: 2100;
}

.ac_results,
.ac_results .ac_results_list,
.ac_results_with_preview,
.ac_results_term,
.ac_results_facet{
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results_list li,
.ac_results_list li a{
	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;
    text-decoration: none;
    color: #000000;
}

.ac_results_list .ui-state-focus,
.ac_results_with_preview .ui-state-focus{
    background: #0A246A !important;
    color: white;
}

.ac_loading {
	background: white url('../images/progress18.gif') 96% center no-repeat;
}

.ac_loading_element{
    background: url('../images/progress18.gif') right center no-repeat;
    position: absolute;
    top: -10000px;
    left: -10000px;
    width: 18px;
    height: 18px;
}

.ac_odd {
	background-color: #eee;
}

.ac_over,
.ac_results .ui-state-focus{
	background: #0A246A !important;
	color: white !important;
    margin: 0 !important;
    /*margin: -1px 0 !important;*/
}


.ac_results_with_preview{
    /*height: 500px;*/
}

.ac_results_with_preview .ac_results_list{
    border-right: 1px solid black;
    width: 50%;
    list-style-position: outside;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac_results_preview{
    border-left: 1px solid black;
    float: right;
    height: 100%;
    padding: 0;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.ac_results_preview.partOfWidth{
    width: 50%;
}

.ac_results_preview.fullWidth{
    width: 100%;
}

.acResultPreviewItem{
    color: #1A8EBD;
    cursor: pointer;
    display: block;
    line-height: 16px;
    margin: 0px;
    overflow: hidden;
    padding: 10px 5px 0 30px;
    position: relative;
}

.acResultPreviewItem ~ .acResultPreviewGroup{
    padding-bottom: 5px;
}

.acResultPreviewItem.acResultPreviewItemSelected .acResultPreviewHeader,
.acResultPreviewItem.acResultPreviewItemSelected .resultHeaderAttributes{
    color: #0000FF !important;
}

.acResultPreviewItem .acResultPreviewHeader{
    margin: 0px;
    cursor: pointer;
    display: block;
    line-height: 16px;
    overflow: hidden;
    text-decoration: underline;
    color: #1A8EBD;
    position: relative;
    white-space: nowrap;
    width: 300px;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}


.acResultPreviewItem .resultIcon{
    left : 10px !important;
    top : 10px !important;
}

.acResultPreviewItem .resultHeaderAttributes{
    color: #1A8EBD;
}

.acResultPreviewGroup{
    background: #EFEFEF;
    color: #1A8EBD;
    cursor: default;
    display: block;
    font-weight: bold;
    line-height: 16px;
    margin: 3px 0 0 0;
    overflow: hidden;
    padding: 8px 5px 8px 12px;
    position: relative;
}

.acResultPreviewGroup:first-child{
    margin-top: 0;
}

.ac_results em,
.ac_results_list em{
    font-style: normal;
    font-weight: bold;
}


.ac_results_facet .ac_item_group{
    background: #EFEFEF;
    color: #1A8EBD;
    cursor: default;
    display: block;
    font-weight: bold;
    line-height: 16px;
    /*margin: 3px 0 0 0;*/
    overflow: hidden;
    padding: 8px 5px 8px 12px;
    position: relative;
}

.ac_results_facet .ac_item{
    color: #1A8EBD;
    /*cursor: pointer;*/
    display: block;
    line-height: 16px;
    margin: 0px;
    overflow: hidden;
    padding: 10px 5px 10px 30px;
    position: relative;
}

.ac_results_facet .ac_item_selectable{
    cursor: pointer;
    margin-right: 10px;
    padding: 1px 2px;
}

.ac_results_term .ac_item_group{
     background: #EFEFEF;
     color: #1A8EBD;
     cursor: default;
     display: block;
    font-size: 14px;
     font-weight: bold;
     line-height: 16px;
     /*margin: 3px 0 0 0;*/
     overflow: hidden;
     padding: 8px 5px 8px 12px;
     position: relative;
 }

.ac_results_term .ac_item{
    color: black;
    /*cursor: pointer;*/
    display: block;
    font-size: 14px;
    line-height: 16px;
    margin: 0px;
    overflow: hidden;
    padding: 8px 5px 8px 12px;
    position: relative;
}