/*!
 * jQuery QueryBuilder 1.3.0-SNAPSHOT
 * Copyright 2014 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */
.rule-container,
.rules-group-container,
.rule-placeholder {
	margin: 4px 0;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #EEE;
}

/* GROUPS */
.rules-group-container {
	/*padding: 10px 10px 5px 10px;*/
}

.rules-group-header {
	margin-bottom: 10px;
}

.rules-group-header input[name$=_cond] {
	display: none;
}

/* RULES */
.rules-list {
	list-style: none;
	margin: 0;
}

.rule-container {
}

.rule-container.has-error {
	background: #FDD;
	border-color: #F99;
}

.rule-container > div:not(.rule-header) {
	display: inline-block;
	margin: 0 5px 0 0;
	vertical-align: top;
}

.rule-value-container:not(:empty) {
	border-left: 1px solid #DDD;
	padding-left: 5px;
}

.rule-value-container label {
	margin-bottom: 0;
}

.rule-value-container label.block {
	display: block;
}

.rule-container select,
.rule-container input[type=text],
.rule-container input[type=number] {
	padding: 1px;
}

/* DRAG & DROP */
.rule-container .drag-handle,
.rules-group-container .drag-handle {
	cursor: move;
	display: inline-block;
}

.rule-container .dragged,
.rules-group-container .dragged {
	opacity: 0.5;
}

.rule-placeholder {
	border: 1px dashed #BBB;
	opacity: 0.7;
}
