/* Additional custom styling */
body.listings .container {
  padding-top: 50px;
}

.card {
  margin-bottom: 20px;
  height: 310px;
  max-width: 842px;
  border-color: var(--light-border-color);
  box-shadow: var(--light-box-shadow);
}

.card-title {
  font-size: var(--big-heading-font-size) !important;
  font-weight: 600 !important;
}

body.listings .card-title {
  font-size: var(--big-font-size) !important;
  font-weight: 700 !important;
}

body.listings .project.card .card-text.price span {
  font-size: var(--big-font-size) !important;
}

.card .row {
  height: 100%;
}

.card .col.images {
  height: 100%;
}

.card-img {
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
}

.limit-text {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  /* Limit to 2 lines */
  -webkit-line-clamp: 2;
  /* Fallback for non-WebKit browsers */
  max-height: 2.4em;
  /* Adjust based on font size and line height */
  /* Additional styles */
  line-height: 1.2em;
  /* Adjust based on your design */
  font-size: 16px;
  /* Adjust based on your design */
  position: relative;
}

.limit-text:after {
  content: "...";
  position: absolute;
  background: white;
  right: 0;
  top: 0px;
  min-height: 25px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
}

body.listings .card .carousel {
  padding: 10px 10px;
}

body.listings .card .carousel,
body.listings .card .carousel-inner,
body.listings .card .carousel-item {
  height: 100%;
  width: 100%;
}

.muted-text {
  color: rgb(66, 82, 110);
  font-weight: 400;
  font-size: 14px;
}

.carousel .stamps {
  position: absolute;
  top: 10px;
  left: 10px;
}

body.listings .container {
  margin: 0 50px;
}

.blue-border-button {
  border: 1px solid rgb(0, 118, 214);
  border-radius: 50px;
  width: 125px;
  padding: 5px 20px;
  height: 30px;
  font-size: 14px;
  font-weight: 400;
  color: rgb(0, 118, 214);
  display: flex;
  align-items: center;
}

body.listings .base-header {
  color: white;
}

body.listings .page-link {
  color: black !important;
  font-size: var(--regular-font-size);
  font-weight: 400;
}

body.listings .active > .page-link,
body.listings .page-link.active {
  /* background-color: #a1d4fe !important;
  border-color: #a1d4fe !important; */
  background-color: #bfd9ff !important;
  border-color: #0d6efd !important;
}

body.listings .alink-dark {
  font-size: 14px;
  font-weight: 400;
  border: 1px solid rgb(0, 118, 214) !important;
  color: rgb(0, 118, 214);
  padding: 5px 20px;
  height: 30px;
  border-radius: 50px;
  margin: 0 0 0 10px;
  min-width: 155px;
  display: flex;
  align-items: center;
}

body.listings .results {
  position: relative;
}

body.detail_page > .container {
  margin: 0 50px 50px 50px;
  padding-top: 50px;
}

body.detail_page > .container .row.main {
  min-height: 420px;
  height: 450px;
  margin-bottom: calc(var(--section-padding-top) * 2);
}

body.detail_page > .container .row.main > div {
  min-height: 100%;
  max-height: 100%;
}

body.detail_page .card.project {
  min-height: 100%;
}

body.detail_page .card.project .images {
  width: 50%;
  min-height: 100%;
  height: 100%;
}

body.detail_page .card.project .images .carousel {
  min-height: 100%;
  height: 100%;
  min-width: 100%;
}

body.detail_page .card.project .images .carousel-inner {
  min-height: 100%;
  height: 100%;
}

body.detail_page .card.project .images .carousel-item {
  min-height: 100%;
  height: 100%;
}

body.detail_page .card.project .text_details {
  width: 48%;
}

body.detail_page .main #contact_form_sec .contact_detail {
  display: none;
}

body.detail_page .main #contact_form_sec .contact_form_wrapper {
  width: 100%;
}

body.detail_page .main #contact_form_sec label {
  font-size: var(--regular-font-size);
}

body.detail_page .main #contact_form_sec .row > * {
  margin-top: 10px;
}

body.detail_page .main #contact_form_sec #contactForm {
  margin-bottom: 0;
  background-color: white;
}

body.detail_page .main #contact_form_sec #contactForm > div {
  padding-bottom: 0 !important;
}

body.detail_page button {
  width: fit-content;
  font-size: var(--regular-font-size);
  margin: 0 auto;
}

body.detail_page .submit_button {
  font-weight: 100;
  font-size: var(--regular-font-size);
}

body.detail_page .card.project .link-buttons {
  display: none;
}

body.detail_page .card.project .description {
  display: none;
}

body.detail_page .project.card .more_details {
  display: flex;
  height: auto;
}

body.detail_page section:not(.common) {
  height: auto;
  padding: var(--section-padding-top) 0 var(--section-padding-top) 0;
  border-top: 1px solid var(--light-border-color);
  /* border: 1px solid #80808069; */
}

body.detail_page section:not(.common) .section-title {
  font-size: var(--section-heading-size);
  font-family: "Source Sans 3";
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0px;
  /* background-color: #8080801c; */
  padding-left: 10px;
  display: flex;
  align-items: center;
}

body.detail_page section .details {
  display: flex;
  font-family: "Open Sans";
  font-size: var(--normal-font-size);
  font-style: normal;
  font-weight: 400;
  padding: 10px;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

body.detail_page.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
}

/* body.detail_page section.key_details {
  max-width: 750px;
} */
body.detail_page section.key_details .details {
  flex-flow: wrap;
}

body.detail_page .key_details span.small {
  text-transform: capitalize;
  font-size: var(--medium-font-size);
  font-weight: 600;
  border-bottom: 1px solid var(--light-border-color);
}

body.detail_page .key_details div.value {
  font-weight: normal;
  text-align: left;
}

body.detail_page .key_details .bullets div.value {
  min-width: 31%;
  text-align: left !important;
  margin-right: 5px;
}

body.detail_page .key_details .bullets .value.text-center:before {
  content: "•";
  margin-right: 2px;
  font-size: 20px;
}

body.detail_page .floor_plans table {
  width: 100%;
}

body.detail_page .floor_plans thead {
  text-transform: capitalize;
  border-bottom: 1px solid var(--light-border-color);
}

body.detail_page section .section-subtitle {
  background-color: aliceblue;
}

body.detail_page section.documents a {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px 10px;
}

body.detail_page .card-text > span.muted-text {
  display: inline-flex;
  align-items: center;
  text-wrap: wrap;
}

body.detail_page .card-text .tiny-icon {
  /* line-height: 0; */
  margin-right: 5px;
}

/* body.detail_page .main .card .material-symbols-outlined {
  vertical-align: top !important;
} */

body.listings .results .card .material-symbols-outlined {
  display: none !important;
}

body.detail_page .main .card .price {
  margin-top: 20px;
}

body.detail_page .main .card-body > *,
body.detail_page .main .card-body .card-text {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

body.detail_page .main .card-body .card-text span {
  margin-right: 5px;
}

body.detail_page .main .card-body .icon-container {
  display: inline-block;
  min-width: 25px;
}

body.listings .card-body .icon-container {
  display: none;
}

@media screen and (max-width: 736px) {
}

@media screen and (max-width: 425px) {
  body:not(.index) .container {
    margin: 0 0px;
    padding-top: 0px;
    overflow-x: hidden;
  }

  body.listings .container > .row {
    flex-direction: column;
  }

  body.listings .filters {
    margin-right: 0 !important;
    padding: 0 !important;
    max-height: 60vh;
    margin: 0 auto;
    overflow-y: scroll;
    width: 100%;
    overflow-x: hidden;
    border: 1px !important;
    border-top: 0px;
    padding: 5px 10px !important;
    margin: 0 auto !important;
    background: white !important;
    border-radius: 0px !important;
    box-shadow: 0px 5px 5px 1px #00000014;
    max-width: 100% !important;
  }

  body.listings .results {
    margin-top: 20px !important;
  }

  .card .row {
    height: auto;
  }

  .card.project {
    height: auto;
  }

  .card.project .carousel-item img.card-img {
    min-height: 220px !important;
    max-height: 220px !important;
  }

  body.listings .card .card-body {
    padding-top: 0px !important;
    padding-bottom: 22px !important;
  }

  body.listings .card .card-body p {
    font-size: var(--small-font-size);
  }

  body.listings .card .card-body .muted-text {
    font-size: var(--small-font-size);
  }

  .project.card .card-text.project-type {
    margin-bottom: 10px;
  }

  .project.card .card-body .link-buttons {
    bottom: 7px;
  }

  body.listings .alink-dark,
  body.listings .card-body .link-buttons .blue-border-button {
    min-width: 120px;
    font-size: var(--small-font-size);
    height: 22px;
    display: flex;
    justify-content: center;
  }

  body.listings .page-link {
    font-size: 10px;
    font-weight: 400;
    padding: 5px 10px !important;
  }

  body.listings .col.results #pagination-wrapper {
    margin: 5px 0px !important;
    display: flex !important;
    justify-content: center;
  }

  body.detail_page .main .card-body > *,
  body.detail_page .main .card-body .card-text {
    margin-bottom: 5px;
    height: 100%;
  }

  .main .contact_us_div {
    display: none;
  }

  body.detail_page > .container .row.main {
    height: auto;
  }

  body.detail_page .container > .row > div {
    width: 100%;
  }

  body.detail_page .card.project > .row {
    display: inline;
  }

  body.detail_page .card.project > .row > div {
    width: 100%;
  }

  body.detail_page .card.project .images {
    width: 100%;
    min-height: 220px;
    height: 220px;
  }

  body.detail_page span {
    text-wrap: nowrap;
  }
}
