ul.select2-selection__rendered {
  margin-left: 0px !important;
}

div.search-container {
  max-width:300px;
  width: 100%;
  margin:auto;
  font-size:18px;
}

div.search-container>div {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width:300px;
}

div.search-container>div>label {
  flex: none;
  width: 10em;
  margin: 5px 5px 5px 0px !important;
  padding: 1px 2px !important;
  text-align: right;
  display:none;
}

div.search-container>div>input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  box-sizing: content-box;
  margin: 5px 0px !important;
  padding: 2px 5px !important;
  box-shadow: none;
  border: 1px solid rgb(170, 170, 170);
  border-radius: 4px;
}

div.search-container>div>div {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  box-sizing: content-box;
  margin: 5px 0px !important;
  padding: 1px 2px !important;
  border: none;
  box-shadow: none;
}

div.search-container>div>div.submit-button {
  text-align: center;
}

div.search-container>div>div.submit-button>button {
  padding: 2px 40px;
}

datalist#radius-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  writing-mode: vertical-lr;
  width: 100%
}

#radius-list option {
  padding: 10px 0px;
}

input#radius-search[type="range"] {
  width: calc(100% - 10px);
  margin-left: 5px;
}

select.years-search + span.select2 {
  font-family:"proxima-nova", Arial, sans-serif!important;
}
select.years-search + span.select2 textarea {
  font-family:"proxima-nova", Arial, sans-serif!important;
  min-height:26px!important;
  margin-top:0!important;
  vertical-align:top!important;
}

div.shd_searchtree>div.shd_searchgroup>div.hidable {
  max-height: 500px;
  transition: max-height 1s;
  overflow-y: hidden;
}

div.shd_searchtree>div.shd_searchgroup.shd_searchgroup_hidden>div.hidable {
  max-height: 0;
  transition: max-height 0s;
  overflow-y: hidden;
}

div.shd_searchtree>div.shd_searchgroup>div.shd_searchgroup_label {
  cursor: pointer;
}

div.shd_searchtree>div.shd_searchgroup>div.shd_searchgroup_label:before {
  content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAnUlEQVQ4T2NkoBAwUqifgSoGzAS6Io1Ml8wEuYAViPcCsS2JhhwHqneEeUECyDkDxNJEGvICqM4EiJ8ih4EFUOAAELMTMOQ3UN4ZiA+D1KEHYjxQbAEBA9KB8rNgarDFAr5ABcllIFuAzQBcgQoONCD+ScgAkDx6oMIDDd17+BISLFCZkAONFANAamEJDB5opBpAMFlQJS8QtAWfAgBLrhawAQPw6QAAAABJRU5ErkJggg==');
  padding-right: 10px;
}

div.shd_searchtree>div.shd_searchgroup.shd_searchgroup_hidden>div.shd_searchgroup_label:before {
  content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAm0lEQVQ4T2NkQAWLgNx0IP6OJo6Ty4gm8x/IPwvEQUD8iBhDsBkA0vcaiMOA+AAhQ3AZANL3B4hrgLgTnyH4DIDpW4wvXIgxAGQQznAh1gCc4UKKAVjDhVQDfgFNyQXiWbAAIsWAZ0BNIUB8HDlWiDXgGFTzc/QoJcYAkHNBzgY5HwPgMwDDv6QYgNW/xBqA07/EGDATn3+xGQAAE3IuEVpi7FgAAAAASUVORK5CYII=');
}

.popup-container-background {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 1;
  left: -9999px;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(224, 224, 224);
  background-color: rgba(128, 128, 128, 0.8);
  transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out, left 0.1s 0.25s;
}

.popup-container-background.popup-visible {
  left: 0px;
  visibility: visible;
  opacity: 1;
  backdrop-filter: blur(2px);
  transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

.popup-container-background .popup-container {
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  border: 4px solid #666666;
  border-radius: 6px;
  width: auto;
  height: 0;
  min-width: 400px;
  max-width: 100vw;
  min-height: 400px;
  max-height: 100vh;
  background-color: white;
  top: 50%;
  left: -9999px;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out, left 0.1s 0.25s;
}

.popup-container-background .popup-container.popup-active {
  left: 50%;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

.popup-container-background .popup-container .popup-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: stretch;
}

.popup-container-background .popup-container h3 {
  flex: none;
  justify-content: flex-start;
  background-color: #666666;
  color: white!important;
  padding: 0;
  margin: 0;
  padding: .5em;
  text-align: center;
}

.popup-container-background .popup-container .filter-footer {
  flex: none;
  justify-content: flex-end;
  bottom: 0;
  width: 100%;
  background-color: #666666;
  color: white;
  padding: 0;
  margin: 0;
  padding: .5em 0;
  text-align: center;
}

.popup-container-background .popup-container .filter-footer button{
  background-color:#444444;
  color:white;
  border-radius:4px;
}

.popup-container-background .popup-container .filter-footer button:hover{
  background-color:#222222;
}

div.filter-container {
  padding: 6px;
  flex 1 1 1;
  overflow: scroll;
  flex: 1 1 0;
}

div.filter-container>div {
  display: flex;
  flex-direction: row;
  width: 100%;
}

div.filter-container>div>input[type="checkbox"] {
  margin-right:6px;
  align-self:center;
}

div.filter-container>div>label {
  line-height:1.1em;
  margin-bottom:3px;
}

.popup-container-background .popup-container>button {
  padding: 0.5em;
}

#housesearchresults {
  display:flex;
  flex-wrap: wrap;
  justify-content:space-between;
  width:100%;
}
.house-item.house-item {
  height:auto;
  flex: 1 1 auto;
  min-width:200px;
  width:300px;
  max-width:450px;
  float:none;
}

.house-item.house-item .thumb-area {
  height:auto;
  min-height:0;

  overflow:hidden;
}
.house-item.house-item .thumb-area img {
  object-fit:cover;
  object-position: center;
  aspect-ratio:1.44;
  width:100%
}

.filter-icon {
  display:none;
  cursor:pointer;
  border:none;
  width:16px;
  height:16px;
  background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAzklEQVQ4T2NkoBAwAvXvA2JHMs3ZDTLgNBCbkGnAaZABCkB8EojFSDTkLVC9BcgAELAB4j1AzE6kIb+B6tyBeD/MAJC+BCCeT6QBGUB1M0FqkQ0A8fuBuICAISA1RTA16AYwAyU2ALEPDkN2AcW9gfgPLgNA4rxAfByItdEMuQnkWwDxB2RxdBfA5FSAjNtoBqgC+XfQXYbLAJC6/2iKsaqlqQHfgC7gRHIFyS6wA2peBMTyUENINgCkjx+IJwOxGRBrYItafGGAIymgCgMA5YEZuSpy+FwAAAAASUVORK5CYII=");
}
.checked .filter-icon {
  display:inline-block;
}

.filtered .filter-icon,
.filter-icon.filter-icon-red {
  background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH6QEVDhssNkjkhAAAALJJREFUOMu10iFuw0AQheHPG2nvYNYbFBT7CAYBkVKeg/g2DegRyhZaBTlBwwyDQkxS4krWymrStTpsZt//9o00rKxq1HzhqZA/B2xWBNgEtLgWwFe0IUonHAoMDlE6BYjSEd0f4G5iVPPpqHnD/g58jNLrTxPyWOh/gft83SpXjJoan6izpwEvURrmwzyBSbBd+H2bw4sJZklumfGiNqw95X812OFSbBCldzzjo/DUH6tvz7EkkCufHgQAAAAASUVORK5CYII=");
}
.filtered input[type='checkbox'] {accent-color:darkred;}

div#housesearchresults div.house-item div.listing-type-labels {background-color:rgb(142, 165, 189);border-bottom-left-radius:20px;}
div#housesearchresults div.house-item.currentyear div.listing-type-labels {background-color:#cca000;}
div#housesearchresults div.house-item.currentyear.inperson div.listing-type-labels {background-color:#339966;}
div#housesearchresults div.house-item div.listing-type-house {background-color:transparent;line-height:normal;text-align:center;}
