@keyframes zsgLoaderSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*
* Constrains containers to a desired aspect ratio
* See https://css-tricks.com/snippets/sass/maintain-aspect-ratio-mixin/
*/
/**
 * Assigns z-index values from top to bottom in correspondence
 * with the order of the the selector list.
 * 
 * Examples:
 *
 * Given @selctors: '.top', '.middle', '.bottom';
 * .mapZIndices(@selectors); would render as
 * .top {
 *   z-index: 1000;
 * }
 * .middle {
 *   z-index: 990;
 * }
 * .bottom {
 *   z-index: 980;
 * }
 *
 * .mapZIndices(@selectors; 1200; 50); would render as
 * .top {
 *   z-index: 1200;
 * }
 * .middle {
 *   z-index: 1150;
 * }
 * .bottom {
 *   z-index: 1100;
 * }
 *
 * @param {List[String]} selectorList
 *                         list of selector strings
 * @param {Number}       ceiling
 *                         highest z-index value assigned
 * @param {Number}       step
 *                         gap between consecutively assigned z-indices
 */
.email-autocomplete {
  position: relative;
}
.email-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  text-align: left;
  z-index: 1;
}
.email-autocomplete-item {
  border-bottom: 1px solid #F1F1F4;
  padding: 8px;
}
.email-autocomplete-item:hover,
.email-autocomplete-item_selected {
  cursor: pointer;
  background: #F1F1F4;
  color: #006AFF;
}
.email-autocomplete-highlight {
  font-weight: bold;
}
.zsg-autocomplete {
  position: relative;
}
.zsg-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  text-align: left;
  z-index: 1;
}
.zsg-autocomplete-item {
  border-bottom: 1px solid #F1F1F4;
  padding: 8px;
}
.zsg-autocomplete-item:hover,
.zsg-autocomplete-item_selected {
  cursor: pointer;
  background: #F1F1F4;
  color: #006AFF;
}
.zsg-autocomplete-highlight {
  font-weight: bold;
}
.zmm-iconPoints {
  margin-bottom: 30px;
  margin-top: 20px;
}
.zmm-iconPoints-iconGroup {
  margin-bottom: 30px;
}
.zmm-iconPoints-icon {
  display: flex;
  justify-content: center;
}
.zmm-iconPoints-title,
.zmm-iconPoints-content {
  text-align: center;
}
.zmm-iconPoints-title {
  white-space: nowrap;
}
.zmm-iconPoints--longForm .zmm-iconPoints-title {
  font-weight: normal;
}
.zmm-iconPoints--longFormSuccess {
  margin-bottom: 0;
  margin-top: 0;
}
.zmm-iconPoints--longFormSuccess .zmm-iconPoints-iconGroup {
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .zmm-iconPoints--longFormSuccess .zmm-iconPoints-iconGroup {
    margin-bottom: 30px;
  }
}
.zlf-fixed-background {
  position: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 10% center;
  background-color: #fff;
  transform: translateZ(0);
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
}
@media screen and (max-width: 480px) {
  .zlf-fixed-background.zlf-fixed-background_hide-mobile {
    background: none !important;
  }
}
.zlf-fixed-background.zlf-fixed-background_short-hero {
  height: 700px;
}
@media screen and (max-width: 480px) {
  .zlf-fixed-background.zlf-fixed-background_short-hero {
    height: 400px;
  }
}
/**
 *  Flow page styles
 */
.zlf-flow-container {
  overflow: hidden;
  position: relative;
  min-height: 450px;
  background-color: rgba(255, 255, 255, 0.9);
  max-width: 960px;
  padding: 15px 10px;
  margin-left: auto;
  margin-right: auto;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .zlf-flow-container.IE-z-layer {
    z-index: 1000;
  }
}
.zlf-flow-container .zlf-full-width {
  margin-left: -15px;
  margin-right: -15px;
}
.zlf-flow-container .zlf-full-width .zlf-full-width-child {
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (min-width: 481px) {
  .zlf-flow-container {
    padding: 50px;
    border-radius: 3px;
    box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.5);
  }
  .zlf-flow-container .zlf-full-width {
    margin-left: -50px;
    margin-right: -50px;
  }
  .zlf-flow-container .zlf-full-width .zlf-full-width-child {
    padding-left: 50px;
    padding-right: 50px;
  }
}
@media screen and (max-width: 1020px) {
  .zlf-flow-container {
    margin-left: 15px;
    margin-right: 15px;
  }
}
@media screen and (max-width: 480px) {
  .zlf-flow-container {
    margin-left: 0;
    margin-right: 0;
    min-height: 425px;
  }
}
/**
 *  Main content section
 */
.zlf-content-wrapper {
  text-align: center;
}
@media screen and (min-width: 481px) {
  .zlf-content-wrapper {
    padding-top: 30px;
    padding-bottom: 120px;
  }
}
@media (screen and (min-width: 481px)) and (min-height: 800px) {
  .zlf-content-wrapper {
    padding-top: 100px;
    padding-bottom: 140px;
  }
}
@media screen and (max-width: 480px) {
  .zlf-content-wrapper {
    min-height: 0;
  }
}
.zlf-home-loan-profile {
  overflow-wrap: break-word;
}
@media screen and (min-width: 481px) {
  .zlf-home-loan-profile {
    text-align: left;
  }
}
.zss-header {
  background-color: white;
}
#long-form {
  min-height: calc(100vh - 200px);
}
#long-form .zsg-loading-spinner_lg {
  position: fixed;
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-top: calc(-45px / 2);
  margin-left: calc(-45px / 2);
  animation: load_spinner 1s steps(1, end);
}
@keyframes load_spinner {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/**
 * Global LongForm styles
 */
.zmm-form-button-select .zsg-button_primary,
.zsg-form-actions .zsg-button_primary,
.zmm-form-button-select .zsg-button_alt,
.zsg-form-actions .zsg-button_alt,
.zmm-form-button-select .zsg-button,
.zsg-form-actions .zsg-button {
  display: block;
  padding: 1em 2em;
  width: 100%;
  max-width: 360px;
  margin: 10px auto 0;
  line-height: 22.5px;
}
.zmm-form-button-select .zsg-button_selected,
.zsg-form-actions .zsg-button_selected {
  font-weight: bold;
  position: relative;
}
.zmm-form-button-select .zsg-icon-check,
.zsg-form-actions .zsg-icon-check {
  padding: 1em 2em 1em 2.8em;
}
.zmm-form-button-select .zsg-icon-check:before,
.zsg-form-actions .zsg-icon-check:before {
  position: absolute;
  left: 15px;
  font-size: 22.5px;
}
@media screen and (min-width: 481px) {
  .zmm-form-size-xl input,
  .zmm-form-size-xl select,
  .zmm-form-size-xl .email-autocomplete,
  .zmm-form-size-xl .zsg-input-overlay_right {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
}
.zmm-form-size-m > input,
.zmm-form-size-m > select,
.zmm-form-size-m .zsg-input-overlay_left,
.zmm-form-size-m .zsg-input-overlay_right {
  max-width: 130px;
  margin: auto;
}
input {
  padding: 9px 12px;
  height: 43px;
}
input::-ms-clear {
  display: none;
}
.zmm-form-size-xl select {
  padding: 9px 12px;
  height: 43px;
  background-position: right -21px;
}
.zmm-form-size-xl select:hover,
.zmm-form-size-xl select:focus {
  background-position: right 19px;
}
.zsg-input-overlay_left .zsg-input-overlay-text_left,
.zsg-input-overlay_right .zsg-input-overlay-text_right {
  top: 11px;
}
.zsg-form-help-text {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.zsg-form-help-text {
  margin-top: 15px;
}
.zlf-page-submitted .zlf-question-wrapper {
  opacity: 0.7;
}
/**
 *  Landing page styles
 */
@media screen and (min-width: 769px) {
  .zsg-autocomplete-dropdown {
    width: calc(100% - 60px);
    margin: 0 30px;
  }
}
@media screen and (max-width: 480px) {
  .zsg-autocomplete-dropdown {
    top: 43px;
  }
}
.zlf-landing-form-legacy {
  display: inline-block;
  max-width: 960px;
  padding: 25px;
  color: #FFF;
}
@media screen and (max-width: 480px) {
  .zlf-landing-form-legacy {
    padding: 40px 25px;
    margin-top: 0;
  }
}
@media screen and (min-width: 481px) {
  .zlf-landing-form-legacy {
    padding-top: 130px;
    padding-bottom: 160px;
  }
}
.zlf-landing-form-legacy .zlf-landing-form-content {
  display: inline-block;
  width: 565px;
  max-width: 100%;
}
@media screen and (max-width: 480px) {
  .zlf-landing-form-legacy .zlf-landing-form-content {
    width: 100%;
  }
}
@media screen and (min-width: 481px) {
  .zlf-landing-form-legacy .zlf-landing-form-content > p {
    font-size: 18px;
  }
}
.zlf-landing-form-legacy h1:not(.zlf-extended-title) {
  font-size: 75px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 9px;
}
@media screen and (max-width: 768px) {
  .zlf-landing-form-legacy h1:not(.zlf-extended-title) {
    font-size: 35px;
    font-weight: 600;
  }
}
@media screen and (max-width: 768px) {
  .zlf-landing-form-legacy h1:not(.zlf-extended-title) {
    font-size: 50px;
  }
}
@media screen and (max-width: 480px) {
  .zlf-landing-form-legacy h1:not(.zlf-extended-title) {
    font-size: 32px;
  }
}
.zlf-landing-form-legacy .zsg-form {
  color: #2A2A33;
}
.zlf-landing-form-legacy .zsg-form-help-text {
  color: #FFF;
  font-style: italic;
  margin-top: 30px;
}
.zlf-landing-form-legacy .zsg-form-error-text {
  color: #FFF;
}
.zlf-landing-form-legacy .zlf-location-autocomplete .zsg-form-error-text {
  display: block;
  visibility: hidden;
}
.zlf-landing-form-legacy .zlf-location-autocomplete.zsg-form-field_error .zsg-form-error-text {
  visibility: visible;
}
.zlf-landing-form--light {
  color: #2A2A33;
}
.zlf-landing-form--light h1:not(.zlf-extended-title) {
  font-size: 55px;
  font-weight: 700;
}
.zlf-landing-form--light .zlf-landingHeader--inline {
  display: inline;
  overflow-wrap: break-word;
}
@media screen and (max-width: 480px) {
  .zlf-landing-form--light .zlf-landingHeader--inline {
    display: block;
  }
}
@media screen and (max-width: 480px) {
  .zlf-landing-form--light .zlf-landingHeader--flat:not(.zlf-extended-title) {
    margin-bottom: 0;
  }
  .zlf-landing-form--light h1:not(.zlf-extended-title) {
    font-size: 32px;
  }
  .zlf-landing-form--light.zlf-landing-form-legacy {
    padding: 90px 10px;
  }
  .zlf-landing-form--light .zlf-landingSubTitle-legacy {
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 481px) {
  .zlf-landing-form--light h1:not(.zlf-extended-title) {
    max-width: 1040px;
  }
}
.zlf-landing-form--light .zsg-form-error-text {
  color: #FF5A50;
}
.zlf-background-darken {
  background-color: rgba(0, 0, 0, 0.3);
}
.zlf-fixed-background_hide-mobile ~ .zlf-background-darken {
  background: none;
}
.zlf-landing-button {
  padding: 10px 30px;
  margin-top: 10px;
}
.zlf-location-autocomplete {
  color: #2A2A33;
}
.zlf-input-and-button {
  position: relative;
}
.zlf-input-and-button .zsg-form-error-text {
  color: #FFF;
  position: absolute;
  width: 100%;
  bottom: -25px;
  left: 0;
}
.zlf-input-and-button .zlf-input-and-button-container {
  display: inline;
}
.zlf-input-and-button .zlf-input-and-button-input-wrap {
  color: #2A2A33;
}
.zlf-input-and-button .zlf-input-and-button-input {
  border-radius: 5px;
}
.zlf-input-and-button .zsg-button {
  padding: 10px;
  margin-top: 10px;
}
@media screen and (max-width: 480px) {
  .zlf-input-and-button .zsg-button {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 481px) {
  .zlf-input-and-button .zlf-input-and-button-input {
    border-radius: 5px 0 0 5px;
    height: 50px;
  }
  .zlf-input-and-button .zlf-input-and-button-input-wrap {
    display: inline-block;
    left: 5px;
    width: 100%;
    margin-left: -155px;
    padding-left: 150px;
  }
  .zlf-input-and-button .zlf-input-and-button-input-wrap .zmm-gps-button {
    bottom: 9px;
  }
  .zlf-input-and-button .zsg-button {
    border-radius: 0 5px 5px 0;
    width: 150px;
    height: 50px;
    vertical-align: bottom;
    line-height: 28px;
  }
}
@media screen and (min-width: 769px) {
  .zlf-input-and-button {
    padding: 0 30px;
  }
  .zlf-input-and-button .zlf-input-and-button-input {
    padding: 0 20px;
  }
}
.flow-forward-enter,
.flow-forward-leave,
.flow-backward-enter,
.flow-backward-leave {
  position: absolute;
  left: 50%;
  width: 100%;
}
.flow-forward-enter.flow-forward-enter-active,
.flow-forward-leave.flow-forward-leave-active,
.flow-backward-enter.flow-backward-enter-active,
.flow-backward-leave.flow-backward-leave-active {
  transition: transform 0.3s cubic-bezier(0.42, 0, 0, 1);
}
.flow-forward-leave,
.flow-forward-enter.flow-forward-enter-active,
.flow-backward-leave,
.flow-backward-enter.flow-backward-enter-active {
  transform: translateX(-50%);
}
.flow-forward-enter,
.flow-backward-leave-active {
  transform: translateX(150%);
}
.flow-forward-leave.flow-forward-leave-active,
.flow-backward-enter {
  transform: translateX(-250%);
}
.down-payment-container {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
.downPayment.zsg-input-overlay_left {
  width: 65%;
  display: inline-block;
  z-index: 1;
}
.downPercent.zsg-input-overlay_right {
  display: inline-block;
  width: 35%;
  margin-left: -5px;
}
.downPercent.zsg-input-overlay_right > input {
  border-left-width: 0;
}
/**
 *  Final page
 */
.zlf-final {
  text-align: left;
}
.zlf-content {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.zlf-nav-width {
  display: inline-block;
  max-width: 100%;
  padding: 20px;
}
@media screen and (min-width: 769px) {
  .zlf-nav-width {
    max-width: 743px;
    padding: 0;
  }
}
@media screen and (min-width: 1025px) {
  .zlf-nav-width {
    max-width: 910px;
    padding: 0;
  }
}
.zmm-loading-right {
  position: relative;
  margin-right: 22px;
  width: auto;
}
.zmm-loading-right:before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  margin: -7.5px;
  top: 50%;
  left: 50%;
  background-repeat: no-repeat;
  background-image: url(/static/images/zsg/loader.png);
  background-size: 100.5% 100.5%;
  -webkit-animation: zsgLoaderSpin 0.5s infinite linear;
  -moz-animation: zsgLoaderSpin 0.5s infinite linear;
  -ms-animation: zsgLoaderSpin 0.5s infinite linear;
  animation: zsgLoaderSpin 0.5s infinite linear;
}
.zmm-loading-right:before {
  background-image: url('https://www.zillowstatic.com/static/images/zsg/loader-white.gif');
  right: -15px;
  left: auto;
}
.zlf-next-step-banner {
  margin-left: -51px;
  margin-right: -51px;
}
.zlf-next-step-banner > .zsg-h4 {
  display: inline;
}
@media screen and (max-width: 480px) {
  .zlf-next-step-banner {
    margin-left: -16px;
    margin-right: -16px;
  }
}

