/*
 * jQuery UI Autocomplete @VERSION
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Autocomplete#theming
 */
.ui-autocomplete {
    /* height              : 320px; */
    overflow            : auto;
    width               : 517px !important;
    background-color    : #FFFFFF;
    padding             : 0px !important;
    border: 0 none !important;
/*    border: 1px inset #555555;*/
/*    cursor: default;*/
}

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

/*
 * jQuery UI Menu @VERSION
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Menu#theming
 */
.ui-menu {
	list-style: none;
	padding: 2px;
	margin: 0;
	display: block;
	float: left;
}
.ui-menu .ui-menu {
	margin-top: -3px;
}
.ui-menu .ui-menu-item {
	margin: 0;
	padding: 0;
	zoom: 1;
/*	float: left;
	clear: left;
	width: 100%;*/
}
.ui-menu a {
    text-decoration: none;
}
.ui-menu a:hover {
    text-decoration: underline;
}

/* AKI: END OF STD JQUERY CSS */
.ui-autocomplete, .ui-autocomplete * .ui-corner-all {
   -moz-border-radius: 0px;
   -webkit-border-radius: 0px;
}
.ui-autocomplete, .ui-autocomplete li ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}
.ui-autocomplete li.no_matches {
    padding: 4px;
    color: red;
}
.ui-autocomplete .search_in_progress {
    padding: 4px;
    color: #000000;
}
.ui-autocomplete .search_in_progress img {
    margin: 0 10px -2px 0;
}
.ui-autocomplete .search_term {
    color: red;
}
.ui-autocomplete li.ui-menu-item {
    clear: both;
    padding: 2px 0 !important;
    position: relative;
    min-height: 40px;
/*
    background-color: #FFFFFF;
    border-color        : #555555 #555555 #E0E0E0 #555555;
    border-style        : none inset solid inset;
    border-width        : 0 1px 1px 1px;
*/
}
.ui-autocomplete li.ui-menu-item.even {
    background-color: #f8f8f8;
}
.ui-autocomplete li.ui-menu-item:hover, .ui-autocomplete li.ui-state-hover {
    background-color: #eaeaea !important;
}
.ui-autocomplete li.ui-menu-item .catalog_logo {
    float: left;
    margin-left: 2px;
    padding: 3px;
    background-color: #FFFFFF;
}
.ui-autocomplete li.ui-menu-item ul {
    margin-left: 80px;
    display: list-item;
}
.ui-autocomplete li.ui-menu-item ul li {
/*    display: inline;*/
    display: block;
}
.ui-autocomplete li.ui-menu-item ul li .term_type {
    float: left;
    width: 90px;
    display: inline-block;
}
.ui-autocomplete li.ui-menu-item ul li .terms {
/*    white-space: nowrap;*/
    height: 15px;
    overflow: hidden;
    display: inline-block;
    max-width: 325px;
}

.ui-autocomplete li.ui-menu-item ul li .products img {
    border: 1px solid #eaeaea;
    padding: 0 2px 0 0;
}
.ui-autocomplete li.ui-menu-item ul li .terms a:hover {
    background-color: #CCCCCC;
}
/*** search_type_selection start ***/
.search_type_selection {
    margin              : 0px;
    padding             : 3px 0 0 0px;
    width               : 517px;
    white-space         : nowrap;
    height              : 23px;
    background-color    : #555555;
    background          : url('../images/controls/controls_bg.png') repeat-x scroll 0 0 #555555;
    background-image    : -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #989898), color-stop(10%, #777777), color-stop(50%, #4C4C4C), color-stop(50%, #424242), color-stop(100%, #555555));
    background-image    : -moz-linear-gradient(top, #989898 0%, #777777 10%, #4C4C4C 50%, #424242 50%, #555555 100%);
    background-image    : linear-gradient(top, #989898 0%, #777777 10%, #4C4C4C 50%, #424242 50%, #555555 100%);

}
.search_type_selection .search_type_button {
    color               : #FFFFFF;
    background          : url('../images/checkbox.png') no-repeat scroll 10px top transparent;
    cursor              : pointer;
    display             : inline-block;
    height              : 16px;
    line-height         : 20px;
    margin              : 0 10px 0 0;
    padding             : 0 0 0 28px;
    border-left         : 1px solid #888888;
}
.search_type_selection #search_query_field_item_label {
    border-left         : 0 none;
    margin-left         : -5px;
}
/*
.search_type_selection #search_query_field_description {
    border-right        : 0 none;
}
*/
.search_type_selection .search_type_button.pressed {
    background-position : 10px bottom;
}

/*** search_type_selection end ***/
