@import url('https://liveby-cdn-bucket.s3.amazonaws.com/brokerages/bhhs-aem/pages/custom.css');

div.liveby-embed {
  margin-top: 2em;
  padding-top: 2em;
}

/* Style hero image on directory listings */
div.liveby-embed .styles_hero__kNr17 {
  position: relative;
  padding-bottom: 41%;
  max-width: 1200px;
  margin-inline: auto;
}

div.liveby-embed .styles_hero__kNr17 .styles_name__11qCq {
  color: #000;
  font-size: 16px;
  text-shadow: none;
  font-family: "Manrope";
  font-weight: 400;
  padding: 1em 2em 0 0em;
  text-transform: uppercase;
  min-width: 300px;
  display: block;
  text-align: left;
  letter-spacing: 3.2px;
}
/* Remove the state name */
div.liveby-embed .styles_hero__kNr17 .styles_address__39Bjq {
  display: none;
}
/* Custom styles for community names on the community gateway */
div.liveby-embed .styles_hero__kNr17 .styles_name-container__27HJT {
  background: white;
  position: absolute;
  bottom: -1px;
  padding: 0;
  margin: 0;
  left: 0;
  display: block;
}
/* Inherit font size for cummunity names on small screens */
div.liveby-embed .container-query--max-width-500 .styles_hero__kNr17 .styles_name__11qCq {
  font-size: inherit;
}

div.liveby-embed #about h2 {
  display:none;
}

div.liveby-embed .lb-component-wrapper-inner {
  padding: 0;
}

div.liveby-embed #parent-page-separator {
  display: none;
}

div.liveby-embed #about p {
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 540px;
  margin: 0;
  min-height: 1.5em;
  text-align: left;
}

div.liveby-embed #about .lb-component-wrapper-inner p:first-child {
  margin: .5em 0;
  font-size: 25px;
  line-height: 28px;
  font-family: "georgia-semibold";
  font-weight: 700;
}

#parent-page > div > a {
  background: var(--color-cta);
  color: var(--color-primary);
  border: solid 1px var(--color-primary);
}


div.liveby-embed #directory-listing-separator {
  display: none;
}

/* Remove directory listing search */
div.liveby-embed #directory-listing .profile-list-filter_filter-container__kJVYU {
  display: none;
}

/* Hack to force "Explore More Communities" to be at the end */
div.liveby-embed #directory-listing .lb-profile-list-item:first-child {
  order: 1;
}

/* Featured Communities List */
div.liveby-embed #directory-listing .profile-list_profile-list__2nxqp {
  /* Adjust margins to fill available space */
  justify-content: space-between;
  margin-left: -10px;
  margin-right: -10px;
}

div.liveby-embed #directory-listing::before {
  content: ' ';
  padding: 0 5em;
  border-top: 1px solid #3A3A3A;
  position: absolute;
  top: -2em;
  left: 5em;
  width: calc(100% - 10em);
}

div.liveby-embed #directory-listing .lb-profile-list-item:hover {
  box-shadow: none;
}

div.liveby-embed #directory-listing .lb-profile-list-item a h2 {
  font-family: inherit;
  color: inherit;
  line-height: 1.25;
  font-size: inherit;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 1em;
}
div.liveby-embed #directory-listing .lb-profile-list-item:first-child a h2 {
  color: var(--color-primary);
  text-shadow: none;
}


div.liveby-embed #directory-listing .lb-profile-list-item:first-child {
  order: 1;
  background: #fff;
  background-image: none !important;
  border: 1px solid var(--color-primary);
}

#directory-listing .lb-profile-list-item .profile-list_item-no-properties__3iVTK,
#directory-listing .lb-profile-list-item .profile-list_item-listings__3adfx {
  display: none;
}

#directory-listing .lb-profile-list-item:first-child .profile-list_item-link__1SplV {
  box-shadow: none !important;
}


/* Style "Parent Page" Link (link to the featured community) */
div.liveby-embed .parent-page_container__aYlTk {
  text-align: left;
  margin: 2em auto;
}

div.liveby-embed .parent-page_container__aYlTk a.liveby-theme-call-to-action {
  color: var(--color-cta);
  border: 1px solid #3a3a3a;
  font-size: 14px;
  text-transform: uppercase;
  padding: 7px 25px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1px;
}

div.liveby-embed .parent-page_container__aYlTk a.liveby-theme-call-to-action:hover {
  color: #000;
  border: 1px solid #aaa;
  box-shadow: none;
}

@media (max-width: 1200px) {
  div.liveby-embed  {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  div.liveby-embed {
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  div.liveby-embed {
    max-width: 540px;
  }
  /* Center the "Parent Page" button */
  div.liveby-embed .parent-page_container__aYlTk {
    text-align: center;
  }
}