.query-gen-wrap {
	padding: 20px 20px 20px 20px;
	position: relative;
	min-width: 600px;
	background-color: #FF4B01;
	color: #fff !important;
	font-weight: bolder;
}

.query-line:not(:first-child) {
	margin-top: 30px;
}

.query-line * {
	display: inline-block;
	vertical-align: top;
}

.query-line *:not(:first-child) {
	margin-left: 30px;
}

.query-selection {
	width: auto;
}

.value-input-area {
	max-width: 287px;
}
.button {
	border: 2px solid #eee;
	cursor: pointer;
	padding: 5px 10px 5px 10px;
}

.button.submit,
.sort-form {
	display: inline-block;
}

.result-area {
	display: block;
}

.button.submit {
	margin-top: 30px;
}

.button.submit {
	margin-right: 20px;
	margin-bottom: 30px;
}

.button:hover {
	background-color: #000;
	border-color: #000;
	color: #fff;
}

#no_sort,
#asc_price,
#desc_price {
	margin-left: 20px;
}

.instructions {
	padding: 3px 8px 3px 8px;
	background-color: #0B539C;
	position: absolute;
	top: 10px;
	right: 10px;
}

.sort-label,
.result-label {
	font-size: 20px !important;
	color: #fff;
}

.result-label {
	padding-top: 30px;
}

.rentals {
	margin-top: 10px;
	display: inline;
}

.rentals:not(:first-child) {
	margin-left: 10px;
}

.rentals input {
	margin-left: 5px;
}

@media only screen and (max-width: 1200px) {
	.instructions {
		position: relative;
	}
}

@media only screen and (max-width: 800px) {
	* {
		width: 100%;
	}
	
	.query-line .value-input-area,
	.button.add {
		margin-left: 0;
	}
}
