/****************************************************
Advanced Search Page *******************************/

.main-content .col-left {
  padding-right: 0px;
}

#advanced-search {
  display: block;
  padding-top: 40px;
}

#advanced-search input {
	border-radius: 0 !important;
}

#adv-setup {
  margin-top: 50px;
  text-align: left;
}

#adv-setup .table + .table {
  margin-top: 20px;
}

#adv-setup .cell.spacer {
  width: 20px;
}

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

#adv-setup p {
  margin-bottom: 0px;
}

#adv-setup h2 {
  color: #000;
  font-size: 34px;
  position: relative;
}

#adv-setup h2:after {
  content: "";
  position: absolute;
  height: 4px;
  width: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: #11733c;
  box-sizing: border-box;
  left: 0px;
}

#adv-setup h2 span {
  display: inline-block;
  padding: 0 15px 0 0;
  background-color: #FFFFFF;
  position: relative;
  z-index: 1;
}

#adv-setup .table + h2 {
  margin-top: 60px;
}

#adv-setup .category-filter {
  width: 100%;
}

#adv-setup label {
  display: block;
  float: none;
  margin: 0;
}

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

#adv-setup input[name="match_address"] {
  height:77px;
  padding: 25px 20px;
}

#adv-setup input:not([class*="search__field"]),
#adv-setup textarea,
#adv-setup .select2-container {
  border: 4px solid #ebebeb;
}

#adv-setup .select2-container {
  height: 56px;
}

#adv-setup .multi .select2-container {
  height: auto;
  min-height: 56px;
}

#adv-setup .select2-container--default .select2-selection--single,
#adv-setup .select2-container--default .select2-selection--multiple {
  border-radius: 0;
  border: none;
}

#adv-setup .list-type,
#adv-setup .list-type span.select2 {
  height: 77px;
}

#adv-setup .list-type span.select2 *:not([class*="arrow"]):not(b) {
  height:69px;
}

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

/*
#adv-setup .price-range {
  font-size: 0px;
}
*/

#adv-setup .price-range label {
	display: none;
}

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

#adv-setup .price-range .select2 {
  display: inline-block;
  width: 48%;
  font-size: 16px;
}
#adv-setup .price-range .select2 + .select2 {
  margin-left: 4%;
}

#adv-setup .select2-container .selection {
  height: 48px;
  display: block;
}

#adv-setup .multi .select2-container .selection {
  height: auto;
}

#adv-setup .select2-container--default .select2-selection--multiple {
  height: auto;
}

#adv-setup .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0px 5px;
  height: auto;
  overflow: auto;
}

#adv-setup .select2-container--default .select2-selection--single .select2-selection__arrow {
  top:0px;
  bottom: 0px;
  margin: auto;
}

#adv-setup .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
  margin: 7px 0 7px 4px;
}

#adv-setup .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
}

#adv-setup .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: none;
  width: 20px;
  height: 10px;
  top:0;
  bottom: 0;
  left: auto;
  right: 10px;
  margin: auto;
}

#adv-setup .select2-container--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;
}

#adv-setup + .buttons {
	margin-top: 60px;
}

#adv-setup  #frm-map-mls-num {
	margin-top: 0px;
	border-radius: 0 !important;
}

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

.adv-search-form fieldset {
  text-align: center;
/*
	border:none;
	float:left;
	width:46%;
	margin:0 2%;
	padding:1em 1em 0.25em;
	margin-bottom:1em;
*/
}

.adv-search-form fieldset p {
/*
	font-size:16px;
	margin:0.6em 0 0.6em 7.5em;
	line-height:2.8;
	padding-bottom:0;
	position: relative;
*/
}



.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%;
/*
	display: block;
	font-family: ;
	font-size: 24px;
	font-weight: normal;
	height: 45px;
	letter-spacing: 0.03em;
	margin-bottom: 6px;
	padding-top: 35px;
	text-align: left;
	width: 100%;
*/
}

/*
.adv-search-form fieldset legend:after {
	content:"";
	display: block;
	width:100%;
	max-width:225px;
	height:2px;
	background-color:#C41230;
	margin:5px 0;
}
*/

.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(.btn), .adv-search-form select textarea {
	padding:4px;
	box-sizing:border-box;
	background: #FFF;
}

#adv-setup #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%);
  -moz-transform:    translate(-50%, -50%);
  -ms-transform:     translate(-50%, -50%);
  -o-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) {
	#adv-setup {
		margin-top:20px;
	}
}
@media screen and (max-width:670px) {
	#adv-setup {
		margin-top:5px;
	}
}