/*
 * easy-autocomplete
 * jQuery plugin for autocompletion
 *
 * @author Łukasz Pawełczak (http://github.com/pawelczak)
 * @version 1.3.5
 * Copyright  License:
 */

.easy-autocomplete {
}
.easy-autocomplete a {
  display: block;
}
.easy-autocomplete-container {
  position: relative;
  left: 10px;
  top: -9px; /* odsazeni naseptavace od inputu s vyhledavanim */
}
.easy-autocomplete-container ul {
  background: none repeat scroll 0 0 #fff;
  border-top: 1px dotted #ccc;
  display: none;
  margin-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  position: relative;
  top: -1px;
}
.easy-autocomplete-container ul li, .easy-autocomplete-container ul .eac-category {
  background: inherit;
  border-color: #ccc;
  border-image: none;
  border-style: solid;
  border-width: 0px;
  display: block;
  font-size: 14px;
  font-weight: normal;
  padding: 4px 12px;
}
/* posledni polozka naseptavace */
.easy-autocomplete-container ul li:last-child {
  border-radius: 0px;
  border-width: 0px;
}
.easy-autocomplete-container ul li.selected {
  background: none repeat scroll 0 0 #444;
  cursor: pointer;
  color: #fff;
}
.easy-autocomplete-container ul li.selected div {
  font-weight: normal;
}
.easy-autocomplete-container ul li div {
  display: block;
  font-weight: normal;
  word-break: break-all;
}
.easy-autocomplete-container ul li b {
  font-weight: bold;
}
.easy-autocomplete-container ul li:hover b {
  color: #c66;
}
.easy-autocomplete-container ul .eac-category {
  font-color: #aaa;
  font-style: italic;
}

/* nastaveni descriptionu (pocet hledani) */
.eac-description .eac-item span {
  font-style: italic;
  font-size: 0.9em;
  font-size: 0.8em;
	color: #888;
}

.eac-icon-left .eac-item img {
  margin-right: 4px;
  max-height: 30px;
}

.eac-icon-right .eac-item {
  margin-top: 8px;
  min-height: 24px;
  position: relative;
}
.eac-icon-right .eac-item img {
  margin-left: 4px;
  max-height: 30px;
  position: absolute;
  right: -4px;
  top: -8px;
}

/* special template for cjl */
.easy-autocomplete.eac-cjl ul {
	margin: 0;
	padding: 0;
	width: 441px !important;
	list-style: none;
	border: 1px solid #c3c3c3; /* ramecek kolem naseptavace */
	text-align: left;
	font-family: Verdana, Arial Narrow, "Arial CE", Arial, sans-serif;
	z-index: 100;
  overflow: hidden;
}
.easy-autocomplete.eac-cjl ul li, .easy-autocomplete.eac-cjl ul .eac-category {
  position: relative;
	margin: -2px 0 0 0;
	padding: 0.2em 1.5em 0.2em 0.5em;
  display: block;
	float: none !important;
	cursor: pointer;
	font-weight: normal;
	white-space: nowrap;
	font-size: 1em;
	line-height: 1.5em;
}