/* One reading system for public frontend content. */
body.bp1-type-roboto h1,
body.bp1-type-roboto h2,
body.bp1-type-roboto h3,
body.bp1-type-roboto h4,
body.bp1-type-roboto h5,
body.bp1-type-roboto h6 {
  font-family: Roboto, Arial, sans-serif !important;
}

body.bp1-type-roboto p,
body.bp1-type-roboto li,
body.bp1-type-roboto dt,
body.bp1-type-roboto dd,
body.bp1-type-roboto blockquote,
body.bp1-type-roboto th,
body.bp1-type-roboto td,
body.bp1-type-roboto label,
body.bp1-type-roboto input,
body.bp1-type-roboto select,
body.bp1-type-roboto textarea,
body.bp1-type-roboto button {
  font-family: Roboto, Arial, sans-serif;
}

body.bp1-type-roboto h1 {
  font-weight: 400;
}

body.bp1-type-roboto .preview__description,
body.bp1-type-roboto .preview__description p {
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
}

body.bp1-type-roboto .calc-notice {
  font-weight: 300;
}

@media (max-width: 767px) {
  body.bp1-type-roboto .page-promo_bg .page-promo__title {
    font-size: 22px;
    line-height: 28.6px;
  }
}

/* Agent phone links in public property preview cards. */
body.bp1-type-roboto .preview__item-agent-phones a[href^="tel:"],
body.bp1-type-roboto .preview__item-agent-phones a[href^="tel:"]:hover,
body.bp1-type-roboto .preview__item-agent-phones a[href^="tel:"]:focus,
body.bp1-type-roboto .preview__item-agent-phones a[href^="tel:"]:active {
  text-decoration: none !important;
}

/* Keep account actions out of the compact header and quiet in the subfooter. */
body.bp1-type-roboto .bp1-subfooter-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
}

body.bp1-type-roboto .bp1-subfooter-right > p {
  margin: 0;
}

body.bp1-type-roboto .bp1-site-account,
body.bp1-type-roboto .bp1-site-account-link {
  display: inline-flex;
  align-items: center;
}

body.bp1-type-roboto .bp1-site-account {
  gap: 12px;
  font-size: 13px;
}

body.bp1-type-roboto .bp1-site-account-link {
  gap: 7px;
  min-width: 0;
  text-decoration: none;
}

body.bp1-type-roboto .bp1-site-account-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

body.bp1-type-roboto .bp1-site-account-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.bp1-type-roboto .bp1-site-account-name {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.bp1-type-roboto .bp1-site-account-logout {
  opacity: .82;
}

@media (max-width: 767px) {
  body.bp1-type-roboto .subfooter .text-right {
    text-align: left;
  }

  body.bp1-type-roboto .bp1-subfooter-right {
    justify-content: flex-start;
    margin-top: 10px;
  }

  body.bp1-type-roboto .bp1-site-account-name {
    max-width: 180px;
  }
}
