#topbar #query{
	/* width: 550px; */
	display:inline-block;
}
.noquery #query-toggle, .noquery #query-toggle:hover{
	cursor: default;
	color: #343d47 !important;
}
.noquery #query-toggle:after{
	display: none;
}
.noquery .dropdown-menu{
	display: none !important;
}
#query h6{
	margin: 0;
	font-weight: normal;
	margin-bottom: 5px;
	color: #777;
	font-size: 12px;
}
#query .dropdown-menu{
	padding: 0;
	overflow: hidden;
}
#query .menu{
	float: left;
	width: 100px;
	background: #383838;
	height: 120px;
}
#query .menu:after{
	content: "";
	display: block;
	height: 800px;
	background: inherit;
}
#query .menu ul{
	margin: 0;
	min-height: 120px;
}
#query .menu ul li{padding: 0;}
#query .menu ul li a{
	width: 80%;
	font-size: 12px;
	padding: 8px 10%;
	display: block;
	color: #bbb;
	text-decoration: none;
	cursor:pointer;
	position: relative;
}
#query .menu ul li a:hover, #query .menu ul li a.active{
	background: #222;
	color: #fff;
}
#query .menu ul li a.active:after{
	content: "";
	display: block;
	position: absolute;
	border: 8px solid transparent;
	border-right-color: #fff;
	right: 0;
	top: 10px;
}
#query .content{
	float: left;
	position: relative;
	min-width: 300px;
}
#query-custom{
	display:none;
}
#query-used>div, #query-custom>div{
	margin: 10px 20px;
}
#query-used h6{
	margin: 10px 0 0 20px;
}
#query-custom>div{margin-bottom:40px;}
#query-conditions{width: 393px;}
#query-conditions td{
	padding-left: 5px;
}
#query .q-c{
	max-width: 97px;
}
#query .q-c, #query .q-o, #query .q-i{
	padding: 0;
	width: auto;
	height: 24px;
	line-height: 24px;
	border-radius: 0;
}
#query .q-o{width: 80px;}
#query .q-i{
	height: 22px;
	width: 180px;
}
#query .query-more{
	font-size: 12px;
}
#query i{
	cursor: pointer;
}
#query-custom .btm{
	height: 40px;
	line-height: 40px;
	width: 100%;
	text-align: right;
	position: absolute;
	background: #eee;
	bottom: 0;
	padding: 0;
	margin: 0;
}
#query-custom .btm .theme-btn{
	width: 50px;
	text-align: center;
	height: 25px;
	line-height: 25px;
	margin: 5px 15px 0 0;
	background: #6abd3d;
	color: #fff;
	display: inline-block;
}
#query-custom .btm .theme-btn:hover{
	background: #81d134;
}
#query #query-name {
	margin-left: 5px;
	width: 355px;
	font-size: 13px;
}
#query #query-reset {
	margin-right: 20px;
	font-size: 13px;
	color: #888 !important;
}
#query .i-remove{
	background: url(../../images/remove_red.png);
	width: 15px;
	height: 15px;
	display: block;
	margin-bottom: 10px;
}	
#query .query-list{
	font-size: 12px;
	margin: 0;
}
#query .query-list li{
	height: 30px;
}
#query .query-list li:hover{
	background: #eee;
}
#query .query-list li a{
	height: 30px;
	line-height: 30px;
	display: block;
	padding-left: 30px;
	cursor: pointer;
}
#query .query-list li a:hover{text-decoration:none;}
#query .query-list li a i{
	float: right;
	margin: 8px 5px 0 0;
	visibility: hidden;
}
#query .query-list li a:hover i{
	visibility: visible;
}
#query .query-time{
	font-size: 11px;
	color: #999;
	float: right;
	margin-right: 10px;
}
#query-toggle{
	cursor: pointer;
	color: #343d47;
	position: relative;
	display: inline-block;
}
#query .dropdown-toggle:after{
	content: "";
	display: block;
	position: absolute;
	right: -15px;
	top: 12px;
	border: 4px solid transparent;
	border-top-color: #333;
}
#query.noquery .dropdown-toggle:after {
	display: none;
}
#query .nopointer{
	cursor: default;
}
#query .nopointer:hover{
	cursor: default;
	color: #343d47;
}
#query-toggle:hover, .open #query-toggle{
	text-decoration: none;
	color: #08c;
}
#query-toggle:hover:after,  .open #query-toggle:after{
	border-top-color: #08c;
}
/*  以下是复杂查询 */
.c-c-query{
	width: 100%;
	padding: 5px 0;
	min-height: 20px;
	margin-top: 5px;
	content: "";
	/*background: #e8e8e8;
	box-shadow: 0 0 2px gray;*/
	display: none;
}
.c-c-menubtn {
	margin-right: 30px;
	float: right;
	font-size: 0;
}
.c-c-option{
	margin-left: 10px;
	float: left;
	max-width: 400px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.c-c-remove{
	padding-left: 3px;
	padding-right: 3px;
}
.c-c-ocon {
	background: #fff;
	position: absolute;
	border: 1px solid #eee;
	/*box-shadow: 0 0 5px gray;*/
	display: none;
	z-index: 2;
	/*padding: 5px;*/
}
.c-c-ocon div:last-child{
	text-align: right;
}
.c-c-ocon div:last-child span{
	float: left;
	cursor: pointer;
	margin-top : 10px;
}
#topbar .open{
	display: block;
}
.c-c-ocon input.a-w{
	width: 184px;
	vertical-align: top;
}
.c-c-ocon .h-w{
	width: 76px;
	vertical-align: top;
}
