/* GLOBAL SEARCH */
#globalsearch {
	padding:0;
	margin:0;
	background:url(../common/img/bgSeachIndex.gif) no-repeat;
	float:left;
	padding:5px 10px;
	overflow:hidden;
}
#globalsearch input#sp-searchtext{
	width:245px;
	border:1px solid #F7F7F7;
	padding:3px;
	float:left;
	margin-top:5px;
	
}
#globalsearch input#sp-searchtext, x:-moz-any-link, x:default {
	/*border:#CCCCCC 1px solid;
	height:20px;
	margin-top:-30px;
	#margin-top:-36px;
	margin-left:-10px;
	#margin-left:-11px;*/
}
*html #globalsearch input#sp-searchtext{
	/*_margin-left:24px;
	_margin-top: -33px;*/
}
#globalsearch a.gsearch-button{
	float:right;
	margin-top:10px;
}
#globalsearch a.gsearch-button, x:-moz-any-link, x:default {
	/*margin-top:-0px;
	#margin-top:8px;*/
}
*html #globalsearch a.gsearch-button{
	/*margin-top:-24px;*/
}
#globalsearch.active { 
	padding:0;
	margin:0;
	background:url(../common/img/bgSeachIndex.gif) no-repeat;
	float:left;
	padding:5px 10px;
	overflow:hidden;
}
#globalsearch .search-wrapper.empty .reset { display: none; }



/* SEARCH SHORTCUTS */
#sp-results { 
	position: absolute;
	height: 200;
	margin:10px 0px 0px 0px;
	z-index:999;
	background:#ececec;
}
#sp-results .inside { 
	width: 253px; 
	height: auto; 
	position: absolute; 
	top: 0; 
	right: 0; 
	line-height: 1px; 
	font-size: 1px;
	margin-top:26px;
	background:#fffF;
	overflow:hidden;
}
#sp-results .firstCat { 
	position: absolute; 
	left: 0; 
	width: 253px;
	height: 1px; 
	display:none;
}
#sp-results .resultCat { 
	position: relative; 
	color: #000; 
	background: #e3e3e3; 
	width: 253px;
	height: 8px; 
	margin: 0; 
	padding-bottom: 12px; 
	font: 11px  Arial, Verdana, sans-serif; 
	font-weight: bold;
	border: 1px none #fb6bff;
	display:none;
}
ul.sp-results { 
	color: #333; 
	padding: 0; 
	margin: 0; 
	width: 251px;
	text-align: left; 
	font: 10px/14px "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
	border-top: 1px solid #e3e3e3; 
	border-left: 1px solid #e3e3e3; 
	border-right: 1px solid #e3e3e3;
	background:#fff;
}
ul.sp-results li { 
	margin:0; 
	padding: 5px 10px; 
	list-style-type: none;
	height: 7em;
	position: relative; 
	width: 249px;
}
ul.sp-results li.viewall { /* ดูทั้งหมด */
	margin-left:3px;
	width: 249px;
	height: 25px; 
	text-align: right; 
	color: #000; 
	padding-top:20px;
	/*position: absolute; 
	bottom: -30px; 
	*bottom: -27px; */
	left: 0px; 
	border:1px solid #ebebeb;
	border-left:none;
}
ul.sp-results li.viewall a { 
	color: #999; 
	padding-right: 10px; 
	background: url(../common/img/suggest/shortcuts_arrow.gif) no-repeat 99% 50%; 
	padding-top: 3px; 
	padding-bottom: 3px;
	margin-top:5px;
	font: 11px Arial, Verdana, sans-serif; 
}
ul.sp-results li.hoverli { background: #f5f5f5 none repeat-x;width: 226px; overflow:hidden; color: #000000; cursor: pointer; }
ul.sp-results li.hoverli h4 a { color: #000000; }
ul.sp-results li.hoverli p { color: #000000; }
ul.sp-results li span.text { display: block; position: absolute;left: 80px; width: 165px; margin-top:5px;}
ul.sp-results li h4 { margin: 0; font-size: 11px; font-weight: bold; }
ul.sp-results li p { margin: 0; font-size: 11px; overflow: hidden; height: 2.7em; color: #555; }
ul.sp-results li a { color: #606060; text-decoration: none; }
ul.sp-results li img, 
ul.sp-results li .replacementimg { position: absolute; left: 10px; width: 60px; height: 60px; padding-top:5px; }
ul.sp-results li h4 a { color: #191919; }
ul.sp-results li.viewall.hover { background: url(../common/img/suggest/shortcuts_bg_foot_grey.png) no-repeat bottom left; }

#sp-search-spinner { position: absolute; top: 13px; right: 16px; z-index: 10; display: none; }
#sp-search-cancel img { cursor: pointer; }
#sp-result-none.viewall {/*bottom: -27px; *bottom: -27px;*/}
#sp-result-none.viewall a { font-size: 10px; }
