.search_bar
{
	width:*;
	height:22px;
	flow:horizontal;
	background-color:rgba(192, 192, 192, 0.6);
	border-radius:4px;
	//display:none;
	margin: 8px;
}
.search_edit
{
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 2px;
	padding-right: 2px;
	overflow:hidden;
	width:*;
	height:18px;
	text-align:left;
	border-radius:2px;
	background-color:rgba(255,255,255,0.3);
	behavior:edit;
	double-click! : 
		self.setSelection(0, self:value.length);
	value-changed!:
		QueryKeyWord(self:value);
}
.search_btn
{
	width:22px;
	height:22px;
	text-align:center;
	vertical-align:middle;
	background-image:url(search.png);
	background-repeat:no-repeat;
	background-position: 50% 50%;
	behavior:button;
	cursor:pointer;
	click! : 
		sub_obj=$1(div#search_panel), 
		sub_obj.class=="hide-container" ? (sub_obj.class="show-container",) # (sub_obj.class="hide-container");
}
.search_clear
{
	width:22px;
	height:22px;
	text-align:center;
	vertical-align:middle;
	background-image:url(cross.png);
	background-repeat:no-repeat;
	background-position: 50% 50%;
	behavior:button;
	cursor:pointer;
	click! : 
		sub_obj=$1(div#search_panel), 
		sub_obj.class="hide-container"
		sub_obj=$1(div#search_edit), 
		sub_obj:value="";
}
#search_panel
{
	position:fixed;
	z-index:120;
	top:24px;
	bottom:1px;
	left:1px;
	right:1px;
	border-radius:4px;
	//background-color:transparent;
	//background-color:white;
	opacity:0.98;
	overflow:auto;
}
#search_content
{
	min-height:120px;
	flow:vertical;
	background-color:white;
	border-radius:4px;
	border: 1px solid silver;
	padding:2 2 2 2;
}
.search_item
{
	flow:horizontal;
	width:100%%;
	height:36px;
	behavior:button;
	cursor:pointer;
	click! : 
		sub_obj=$1(div#search_panel), 
		sub_obj.class=="hide-container" ? (sub_obj.class="show-container",) # (sub_obj.class="hide-container"),
		ClickQueryItem(self.iid);
}
.search_item:hover
{
	background-color:orange;
}
.search_img
{
	behavior:file-icon; -icon-size:"large";
	foreground-repeat: no-repeat;
	foreground-position: 50% 50%;
	background-color:transparent;
	width:36px;
	height:36px;
	display:inline-block;
}
.search_desc
{
	flow:vertical;
	width:*;
	height:36px;
	display:inline-block;
	background-color:transparent;
}
.search_name
{
	width:*;
	height:18px;
	display:inline-block;
	background-color:transparent;
}
.search_type
{
	display:inline-block;
	width:*;
	height:18px;
	background-color:transparent;
}
#search_bottom
{
	height:*;
	behavior:clickable;
	click! : 
		sub_obj=$1(div#search_panel), 
		sub_obj.class=="hide-container" ? (sub_obj.class="show-container",) # (sub_obj.class="hide-container");
}