/******************************************************************
Main CSS
******************************************************************/
div#main {
	/*width: 360px;
	margin: 200px auto 20px auto;*/
}
.title {
	line-height: 1.2em;
	position: relative;
	margin-left: 40px;
}
input#search {
	width: 50%;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	outline: none;
	border: 1px solid #ababab;
	line-height: 22px;
	color: #ababab;
}
input#search:hover, input#search:focus {
	color: #3b3b3b;
	border: 1px solid #36a2d2;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
}
h4#results-text {
	display: none;
}
ul#results {
	display: none;
	width: 50%;
	margin-top: 2px;
	border: 1px solid #ababab;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: rgba(0, 0, 0, .15) 0 1px 3px;
	-moz-box-shadow: rgba(0,0,0,.15) 0 1px 3px;
	box-shadow: rgba(0, 0, 0, .15) 0 1px 3px;
}
ul#results li {
	padding: 3px;
	cursor: pointer;
	border-top: 1px solid #cdcdcd;
	transition: background-color .3s ease-in-out;
	-moz-transition: background-color .3s ease-in-out;
	-webkit-transition: background-color .3s ease-in-out;
}
ul#results li:hover {
	background-color: #F7F7F7;
}
ul#results li:first-child {
	border-top: none;
}
ul#results li h3, ul#results li h4 {
	transition: color .3s ease-in-out;
	-moz-transition: color .3s ease-in-out;
	-webkit-transition: color .3s ease-in-out;
	color: #616161;
	line-height: 1.2em;
}
ul#results li:hover h3, ul#results li:hover h4  {
	color: #3b3b3b;
	font-weight: bold;
}

/* autocomplete */


div[id^="results_autocomplete_"]{
	width: 30%;
	position: absolute;
	border: 0px solid #c0c0c0;
	background-color:#FFF;
	z-index:9000;
	/*display:none;*/
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	max-height: 200px;
}

div[id^="results_autocomplete_"] .item {
	padding: 3px;
	/*border-bottom: 1px solid #c0c0c0;*/
	border: 0px solid #c0c0c0;
}

div[id^="results_autocomplete_"] .item:last-child {
	border-bottom: 0px;
}

div[id^="results_autocomplete_"] .item:hover {
	background-color: #f2f2f2;
	cursor: pointer;
}

div[id^="results_autocomplete_"] .item.selected {
	background-color: #efefef;
	cursor: pointer;
}