/****************************************************
Advanced Search Page *******************************/
#property-search-section {
  display: block;
}

#property-search-section input:not(.butn) {
	border-radius: 0 !important;
}

#search-filters {
  margin-top: 50px;
  text-align: left;
}

#search-filters .table + .table {
  margin-top: 20px;
}

#search-filters .cell.spacer {
  width: 20px;
}

#search-filters .cell.spacer.border {
  width: 4px;
  background-color: #ebebeb;
}

#search-filters p {
  margin-bottom: 0px;
}

#search-filters h2 {
  color: #000;
  font-size: 34px;
  position: relative;
}

#search-filters h2:after {
  content: "";
  position: absolute;
  height: 4px;
  width: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgb(178, 96, 0);
  box-sizing: border-box;
  left: 0px;
}

#search-filters h2 span {
  display: inline-block;
  padding: 0 15px 0 0;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

#search-filters .table + h2 {
  margin-top: 60px;
}

#search-filters .category-filter {
  width: 100%;
}

#search-filters label {
	display: block;
	float: none;
	margin: 0;
}

#search-filters input[type="text"] {
	width: 100%;
	height: 100%;
	display: block;
	max-width: none;
	margin-top: 8px;
}

#search-filters input[name="match_address"] {
	height: 65px;
	padding: 16px 20px;
}

#sort-filters .sbHolder {
    width: 250px !important;
}
#sort-filters .sbSelector {
    margin-right: 40px;
    line-height: 27px;
    height: 100%;
    padding: 15px 30px;
}

#search-filters input:not([class*="search__field"]),
#search-filters textarea,
#search-filters .sbHolder,
#sort-filters .sbHolder {
	border: 4px solid #ebebeb;
}

#search-filters .sbHolder,
#sort-filters .sbHolder {
	height: 65px;
}

#search-filters .sbSelector {
	line-height: 27px;
}

#search-filters .sbHolder--default .select2-selection--single,
#search-filters .sbHolder--default .select2-selection--multiple,
#sort-filters .sbHolder--default .select2-selection--single,
#sort-filters .sbHolder--default .select2-selection--multiple {
	border-radius: 0;
	border: none;
}

#search-filters .sbToggle,
#sort-filters .sbToggle {
	top: 11px;
}

#search-filters .list-type,
#search-filters .list-type span.sbHolder,
#sort-filters .list-type span.sbHolder {
	height: 77px;
}

#search-filters .list-type span.sbHolder *:not([class*="arrow"]):not(b),
#sort-filters .list-type span.sbHolder *:not([class*="arrow"]):not(b) {
	height: 69px;
}

#search-filters .list-type .select2-selection__rendered {
	font-size: 16px;
	padding: 14px 8px;
	display: block;
}

#search-filters .price-range label {
	display: none;
}

#search-filters p + .selectBox2,
#search-filters label + .selectBox2,
#search-filters label + .input,
#search-filters p + .table,
#search-filters fieldset > legend + .table {
  margin-top: 8px;
}

.selectBox2 + .selectBox2 {
	margin-top: 20px;
}

#search-filters .price-range .sbHolder {
	display: inline-block;
	vertical-align: middle;
	width: 92% !important;
	font-size: 16px;
}
#search-filters .price-range .selectBox2 {
	display: inline-block;
	vertical-align: middle;
	width: 48% !important;
	margin-top: 10px !important;
}
#search-filters .price-range .selectBox2 + .selectBox2 {
  margin-left: 1.5%;
}

#search-filters .sbHolder .selection,
#sort-filters .sbHolder .selection {
  height: 48px;
  display: block;
}

#search-filters .sbHolder--default .select2-selection--multiple,
#sort-filters .sbHolder--default .select2-selection--multiple {
  height: auto;
}

#search-filters .sbHolder--default .select2-selection--multiple .select2-selection__rendered,
#sort-filters .sbHolder--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0px 5px;
  height: auto;
  overflow: auto;
}

#search-filters .sbHolder--default .select2-selection--single .select2-selection__arrow,
#sort-filters .sbHolder--default .select2-selection--single .select2-selection__arrow {
  top:0px;
  bottom: 0px;
  margin: auto;
}

#search-filters .sbHolder--default .select2-selection--multiple .select2-selection__rendered li,
#sort-filters .sbHolder--default .select2-selection--multiple .select2-selection__rendered li {
  margin: 7px 0 7px 4px;
}

#search-filters .sbHolder--default .select2-selection--single .select2-selection__rendered,
#sort-filters .sbHolder--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
}

#search-filters .sbHolder--default .select2-selection--single .select2-selection__arrow b,
#sort-filters .sbHolder--default .select2-selection--single .select2-selection__arrow b {
  border: none;
  width: 20px;
  height: 10px;
  top:0;
  bottom: 0;
  left: auto;
  right: 10px;
  margin: auto;
}

#search-filters .sbHolder--default .select2-selection--single .select2-selection__arrow b:after,
#sort-filters .sbHolder--default .select2-selection--single .select2-selection__arrow b:after {
	font-family: Font Awesome\ 5 Pro;
	content: "\f107";
	display: block;
	width: 16px;
	height: 24px;
	position: absolute;
	top: 0px;
	bottom: 0px;
	margin: auto;
	font-size: 24px;
	color: #1A212C;
	text-align: center;
	left: 0;
	right: 0;
}

.select2-results__option:empty {
	display: none !important;
}

.adv-search-form  .nowrap.cell {
	white-space: normal;
}

#search-filters + .buttons {
	margin-top: 60px;
}

#search-filters  #frm-map-mls-num {
	border-radius: 0 !important;
}

.adv-search-form {
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
}

.adv-search-form fieldset {
  text-align: center;
}

.adv-search-form label:first-child {
	display:inline-block;
	font-weight:normal;
	float:left;
	padding-right: 10px;
	margin-left: -7.5em;
}

.adv-search-form label:first-child[for="area"] {
  font-size: 16px !important;
  left: 0;
  line-height: 19px;
  max-width: 50px;
  position: absolute;
  text-align: left;
  top: 3px;
}

.adv-search-form .center {
	clear:both;
}

.adv-search-form select {
	min-width:10em;
	max-width:25em;
	width:85%;
}

.adv-search-form #mlsNum,
.adv-search-form #address {
	max-width:12em;
	width:50%;
}

.adv-search-form label[for="mlsNum"],
.adv-search-form label[for="address"] {
	display:inline-block;
	width:4em;
}

.adv-search-form span label, .adv-search-form span label:first-child {
	font-weight:normal;
	min-width:0;
	margin-left:0;
	margin-top:0;
	float:none;
}

.adv-search-form input[type="text"] {
	min-width:3em;
	max-width:6em;
	width:25%;
}

.adv-search-form input[type="text"],
.adv-search-form select {
	border: 0.2em solid #EBEBEB;
}

.adv-search-form .nowrap {
	white-space:nowrap;
}

.adv-search-form fieldset:nth-child(odd) {
	clear:left;
}

.adv-search-form .buttons {
	display: block;
	margin:20px auto;
	text-align: center;
}

.adv-search-form fieldset legend {
  display: block;
  text-align: center;
  width: 100%;
}

.adv-search-form fieldset legend small {
    display: inline-block;
	font-size: 60%;
    padding-left: 10px;
}

.adv-search-form .radio-options {
	text-align: center;
}

.adv-search-form input[type="radio"] {
	-moz-appearance:radio;
	-webkit-appearance: radio;
	appearance:radio;
	
	min-width: 0;
	display: inline-block;
	vertical-align: middle;
	margin:0 0 5px;
	border-radius: 0;
}

.adv-search-form input[type="radio"] + label {
	line-height: 20px;
}

.adv-search-form select, .adv-search-form input:not(.butn), .adv-search-form select textarea {
	padding:4px;
	box-sizing:border-box;
	background: #FFF;
}

#search-filters #prop-specs input[type="text"] {
	height: 56px;
	font-size: 14px;
	padding: 0px 8px
}

.show-specs label {
	background-color: #fff;
	display: inline-block !important;
	padding: 0px 8px;
	position: absolute;
	bottom: -5px;
	right: 13px;
}

.show-specs.mid label {
	padding: 8px;
	border: 4px solid #ebebeb;
	bottom: auto;
	top: 50%;
	right:auto;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform:     translate(-50%, -50%);
	transform:         translate(-50%, -50%);
	box-shadow: 0 0 0 6px rgba(255,255,255,1);
}

.show-specs + .show-specs {
	margin-top: 20px;
}

.show-specs.mid input + input {
	margin-top: 20px !important;
}

@media screen and (max-width:770px) {
	#search-filters {
		margin-top:20px;
	}
	
	#property-search-section .table:nth-child(3) .cell {
		display: block;
		height: 100%;
		width: 100%;
	}
	#property-search-section .table:nth-child(3) .cell + .cell,
	.lake-rivers-table > .cell + .cell {
		margin-top: 20px;
	}
	#property-search-section .table:nth-child(3) .cell.spacer,
	.lake-rivers-table > .cell {
		display: none;
	}
	.lake-rivers-table > .cell {
		display: block;
		height: 100%;
		width: 100%;
	}
}
@media screen and (max-width:670px) {
	#search-filters {
		margin-top:5px;
	}
}

@media screen and (max-width:600px) {
	#search-filters .price-range .selectBox2 {
		font-size: 0;
	}
	#search-filters .price-range .sbHolder + .sbHolder,
	#sort-filters .price-range .sbHolder + .sbHolder {
		margin-left: 0;
	}
	#search-filters .sbHolder,
	#sort-filters .sbHolder {
		font-size: 16px;
		width: 100% !important;
	}
}
@media screen and (max-width:470px) {
	#property-search-section .table > .cell {
		display: block;
		height: 100%;
		width: 100%;
	}
	#property-search-section .lake-rivers-table .table .cell .table .cell {
		display: table-cell;
	}
	#property-search-section .lake-rivers-table p {
		text-align: left;
	}
	#property-search-section .table > .cell + .cell {
		margin-top: 20px;
	}
	#property-search-section .table > .cell.spacer {
		display: none;
	}
	#search-filters .price-range .selectBox2 {
		width: 100%;
	}
	#search-filters .price-range .selectBox2 + .selectBox2 {
		margin-top: 15px;
		margin-left: 0;
	}
}