.homefinder *, .homefinder *:before, .homefinder *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

header.homefinder {
  background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
  /* W3C */
  filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 )";
  /* IE6-9 */
}

header.homefinder, footer.homefinder {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1em;
  padding: 10px 5px;
}
header.homefinder .wrap, footer.homefinder .wrap {
  width: 980px;
  margin: 0 auto;
}
header.homefinder a.backLink, footer.homefinder a.backLink {
  font-size: 13px;
  font-weight: 900;
  font-family: "Roboto", "Arial Black", "Gadget", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  float: left;
  margin-top: 14px;
}
header.homefinder a.backLink i, footer.homefinder a.backLink i {
  margin-right: 4px;
}
header.homefinder .logo, footer.homefinder .logo {
  float: none;
  text-align: center;
  margin: 0 auto;
  display: inline-block;
}
header.homefinder .logo img, footer.homefinder .logo img {
  width: 176px;
}

body {
  margin: 0;
  padding: 0;
}

header.homefinder {
  border-top: 1px solid #CCC;
  border-bottom: 4px solid #ffd306;
}
header.homefinder .logo {
  width: 70%;
}
header.homefinder a.backLink {
  color: #000000;
}

footer.homefinder {
  background: #FFF;
}
footer.homefinder .logo {
  width: 74%;
}
footer.homefinder a.backLink {
  color: #000000;
}

#homefinder {
  position: relative;
  /*The widget comes with inline styles that can not be overwritten via js... need the !importants*/
}
#homefinder #hf-local-info {
  display: none;
}
#homefinder #searchPreview > div:nth-child(4) > div:nth-child(2),
#homefinder #searchPreview > div:nth-child(4) > div:nth-child(4),
#homefinder #searchPreview > div:nth-child(4) > div:nth-child(1) {
  display: none;
}
#homefinder *, #homefinder *:before, #homefinder *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#homefinder .search {
  position: relative;
  padding: 2%;
  background: #25AAE1;
  border-bottom: 4px solid #EFEFEF;
}
#homefinder #searchPreview form {
  position: relative;
}
#homefinder #searchPreview #hf-search-box {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}
#homefinder #searchPreview #hf-search-box div {
  text-align: left !important;
}
#homefinder #searchPreview #hf-search-box option {
  min-height: auto;
}
#homefinder #searchPreview input[type="text"] {
  border-radius: 0 !important;
  font-size: 14px !important;
  line-height: 1.5em;
  margin-bottom: 12px !important;
  height: 30px !important;
  color: #666666;
  padding: 0 8px;
  border: 0;
}
#homefinder #searchPreview .hf-button-place input {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
  text-transform: uppercase;
  border: 0;
}
#homefinder #searchPreview h1 {
  color: #FFF;
  font-size: 21px;
  font-weight: normal;
  line-height: 2.2em !important;
  height: auto;
  background: transparent;
  border: 0;
  letter-spacing: normal;
  margin: 0 0 6px;
}
@media only screen and (min-width: 768px) {
  #homefinder #searchPreview h1 {
    margin: 8px 0 4px;
    font-size: 22px;
    line-height: 1.5em !important;
  }
}
#homefinder #searchPreview h1 a {
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  background: #FFF;
  border: 1px solid #FFF !important;
  position: relative;
  width: auto !important;
  height: auto !important;
  padding: 6px 4px 0 4px;
  line-height: 1em !important;
}
#homefinder #searchPreview h1 a img {
  line-height: 1em !important;
  position: relative !important;
  width: 110px !important;
  height: 30px !important;
}
#homefinder #searchPreview label span {
  color: #FFF;
  text-transform: none !important;
  font-size: 16px !important;
  opacity: 1 !important;
  margin: 8px 0 !important;
  clear: both;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) {
  margin-bottom: 0px !important;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) > div {
  padding: 0 !important;
  margin: 0 0 12px 0;
  background-color: #FFF;
  height: 30px !important;
  position: relative;
  width: 100% !important;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) > div:after {
  background: transparent;
  color: #000000;
  content: "\f107";
  font-family: "FontAwesome";
  font-size: 20px;
  height: 100%;
  padding: 6px 12px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  width: 20px;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) > div:hover:after {
  color: #e3e3e3;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) > div select {
  background: transparent;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 0 none;
  cursor: pointer;
  font-size: 14px;
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 1;
  border-radius: 0 !important;
  color: #666666;
  padding: 0 8px !important;
  cursor: pointer;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) > div select::-ms-expand {
  display: none;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) > div select:-moz-focusring {
  color: transparent;
}
#homefinder #searchPreview #hf-home-search > div:nth-child(3) > div option {
  background-color: #FFF;
  color: #666666;
  border: 0 none;
  margin: 0;
  padding: 2px 4px;
}

@media only screen and (min-width: 681px) {
  #homefinder .search {
    border: 1px solid #DBDBDB;
    padding: 4px 16px 10px 16px;
    margin: 0 1.25% 1.75% 1.25%;
  }
}
@media only screen and (min-width: 1024px) {
  #homefinder .search {
    margin: 0 1.5% 1.25% 2.25%;
  }
  #homefinder #searchPreview #hf-home-search > div:nth-child(3) > div {
    width: 20% !important;
    margin: 0 0 10px 0;
    border-left: 4px solid #25AAE1;
  }
  #homefinder #searchPreview #hf-home-search > div:nth-child(3) > div:first-child {
    border-left: 0 none;
  }
}
