/*
 * SEARCH AUTOCOMPLETE
 *
 * Sponsored by:
 * www.axiomcafe.fr
 */

/**
 * THEME iflab-eurovent
 * 
 * 1- duplicate this file
 * 2- rename this "your theme".css
 * 3- Change all instance of iflab-eurovent by your-theme
 * 4- Change MY_COLOR by the color you like
 */


/* AUTOCOMPLETE */
input[data-sa-theme="iflab-eurovent"].ui-autocomplete {
  position: absolute;
  cursor: default;
  z-index: 1000000;
  width: 170px !important;
}

* html input[data-sa-theme="iflab-eurovent"].ui-autocomplete {
  width: 1px; /* without this, the menu expands to 100% in IE6 */
}

input[data-sa-theme="iflab-eurovent"].ui-widget-content {
  border-radius: 0;
  color: #2c2c2c;
  border: 1px solid #cccccc;
  position: absolute;
  background: #ffffff none;
  font-family: Arial, Tahoma, "Bitstream Vera Sans", sans-serif;
  font-size: 1em;
}

/* AUTOCOMPLETE MENU */
ul[data-sa-theme="iflab-eurovent"] div {
  display: block;
}

ul[data-sa-theme="iflab-eurovent"].ui-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  float: left;
  width: 170px !important;
  z-index: 1000000;
  border-radius: 0;
}

ul[data-sa-theme="iflab-eurovent"].ui-menu .ui-menu {
  margin-top: -3px;
}

ul[data-sa-theme="iflab-eurovent"].ui-menu .ui-menu-item {
  margin: 0;
  padding: 0;
  float: left;
  clear: left;
  width: 100%;
  line-height: 14px;
  font-size: 9px;
}

ul[data-sa-theme="iflab-eurovent"].ui-menu .ui-menu-item a {
  text-decoration: none;
  display: block;
  padding: 0;
}

ul[data-sa-theme="iflab-eurovent"].ui-menu .ui-menu-item a {
  font-weight: normal;
  margin: -1px;
}

/* Interaction States */
ul[data-sa-theme="iflab-eurovent"] .ui-state-hover {
  border: none;
  border-radius: 0;
  background: deeppink none;
  color: #ffffff;
}

ul[data-sa-theme="iflab-eurovent"] .ui-autocomplete-fields {
  padding: 5px 6px;
  overflow: hidden;
}

ul[data-sa-theme="iflab-eurovent"] .ui-state-focus {

  background: none;
  border-radius: 0;
  border: 1px solid #cccccc;

}

/* Style for the content type separation line */
ul[data-sa-theme="iflab-eurovent"] .ui-menu-item-first {
  border-top: 1px solid #ccc;
}

ul[data-sa-theme="iflab-eurovent"] .ui-autocomplete-field-title {
  text-align: left;
  font-size: 1.3em;
}

ul[data-sa-theme="iflab-eurovent"] .ui-autocomplete-field-name {
  display: none;
}

ul[data-sa-theme="iflab-eurovent"] .ui-autocomplete-field-comment_count {
  display: none;
}

ul[data-sa-theme="iflab-eurovent"] .ui-autocomplete-field-term {
  font-weight: bold;
}

/* Styles for the content type hint */
ul[data-sa-theme="iflab-eurovent"] .ui-autocomplete-field-group {
  background-position: right top;
  background-repeat: no-repeat;
  color: #231f20;
  float: left;
  padding-left: 3px;
}
