/* Scoped changes for the requested local preview. */ 
.description-text { margin-top:20px; }
.local-contact-agent .local-contact-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
}
.local-contact-agent .home_team_name {
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
}
.local-contact-agent .home_team_name h1 {
  font-size: 23px;
  margin: 20px 0 10px !important;
  padding: 0 0 10px;
  border-bottom: 1px solid #d2d2d2;
  text-transform: none;
}
.local-contact-agent .home_team_name label {
  display: block;
  font-size: 17px;
  margin: 10px 0 0;
  font-weight: 300;
}
.local-contact-agent .home_team_name h3 {
  font-size: 15px;
  margin: 10px 0 8px;
  font-weight: 300;
  overflow-wrap: anywhere;
}
.local-contact-agent .home_team_name p {
  text-align: left;
  font-size: 17px;
  margin: 0 0 15px;
}
.local-contact-agent .home_team_name .local-agent-role {
  font-size: 18px;
  margin: 0 0 6px;
}
.local-contact-agent .home_team_name .read_more {
  display: block;
  float: none;
  background: transparent;
}
.local-contact-agent .home_team_name .read_more img {
  width: 30px;
  height: auto;
}
.contact-design-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.contact-design-options button {
  font: inherit;
  font-size: 15px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  color: #3b3b3b;
  cursor: pointer;
}
.contact-design-options button[aria-pressed="true"] {
  background: #3b3b3b;
  border-color: #3b3b3b;
  color: #fff;
}
.contact-design-options button:focus-visible {
  outline: 2px solid #3b3b3b;
  outline-offset: 3px;
}
#local-property-info {
  scroll-margin-top: 90px;
}
.side_sec h1.local-colored-heading {
  background-color: #f1f1f1;
  color: #3b3b3b;
}
.local-property-info > .doccunt-12 {
  margin-top: 0;
  padding: 12px 15px;
  display: flow-root;
  background: #fff;
  margin-bottom: 8px;
  border-left: 3px solid #00aeef;
}
.local-property-info > .doccunt-12:nth-child(5n+1) { border-left-color: #00aeef; }
.local-property-info > .doccunt-12:nth-child(5n+2) { border-left-color: #40ae49; }
.local-property-info > .doccunt-12:nth-child(5n+3) { border-left-color: #ee3542; }
.local-property-info > .doccunt-12:nth-child(5n+4) { border-left-color: #f26522; }
.local-property-info > .doccunt-12:nth-child(5n) { border-left-color: #fff200; }

.local-property-mobile-info > .mobile-info {
  margin-top: 0;
  padding: 12px 15px;
  display: flow-root;
  background: #fff;
  margin-bottom: 8px;
  border-left: 3px solid #00aeef;
}
.local-property-mobile-info > .mobile-info:nth-child(5n+1) { border-left-color: #00aeef; }
.local-property-mobile-info > .mobile-info:nth-child(5n+2) { border-left-color: #40ae49; }
.local-property-mobile-info > .mobile-info:nth-child(5n+3) { border-left-color: #ee3542; }
.local-property-mobile-info > .mobile-info:nth-child(5n+4) { border-left-color: #f26522; }
.local-property-mobile-info > .mobile-info:nth-child(5n) { border-left-color: #fff200; }

.local-pdf-icon {
  color: #ee3941;
  width: 32px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}
.container-fluid.gallery_home.local-floorplan-section {
  background: #f1f1f1;
  padding: 40px 0;
}
.local-floorplan-section .local-floorplan-text > h1,
.cont_sec h1.local-section-title {
  font-size: 32px;
}
.local-facts-column .local-facts-title {
  font-size: 32px !important;
  margin: 0 0 28px !important;
}
.local-facts-column .cont_sec h1, .local-facts-column .cont_sec h2 {
  margin: 0 0 15px;
  font-family: "futura-pt", sans-serif;
  font-size: 21px;
  font-weight: 300;
  text-transform: uppercase;
}
.local-contact-band {
  clear: both;
  background: #f1f1f1;
  margin: 64px 0;
  padding: 56px 0;
}
.local-contact-section {
  clear: both;
  margin-top: 0;
  margin-bottom: 0;
  scroll-margin-top: 90px;
}
.local-contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
  background: transparent;
  border: 0;
}
.local-contact-panel > div { min-width: 0; }
.local-contact-panel.side_sec h1 {
  float: none;
  padding: 0;
  margin: 0 0 32px !important;
  color: #3b3b3b;
  background: transparent;
  font-size: 32px;
}
.local-contact-panel .grey_box {
  float: none;
  margin: 0;
  border: 0;
  background: transparent;
}
.local-contact-panel .doccunt {
  float: none;
  margin-bottom: 0;
}
.local-contact-panel .grey_box .doccunt { padding: 0; }
.local-contact-panel .agent_data {
  padding: 0;
  text-align: left;
}
.local-contact-panel .agent_data > img {
  display: block;
  width: 300px;
  height: 360px;
  max-width: 100%;
  object-fit: cover;
  object-position: center 18%;
  margin: 0 0 26px;
}
.local-contact-panel .agent_data > hr { display: none; }
.local-contact-panel .agent_data > h3 {
  font-size: 30px;
  margin-bottom: 6px;
}
.local-contact-panel .agent_data > p {
  font-size: 18px;
  margin-bottom: 6px;
}
.local-contact-panel .agent_data a {
  color: #3b3b3b;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.local-contact-agent .agent_data + .doccunt {
  display: flow-root;
  margin-top: 18px !important;
  padding: 0;
}
.local-contact-agent .review_text { width: 100%; }
.local-contact-form .form-group > .row {
  display: flex;
  flex-wrap: wrap;
}
.local-contact-form .doccunt .cal-pad { margin-bottom: 16px; }
.local-contact-form .cal-pad:nth-child(-n+4) { width: 50%; }
.local-contact-form .doccunt .form-control {
  display: block;
  width: 100%;
  height: 45px;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #747474;
  background-color: #ededed;
  background-image: none;
  border: 0 solid #ccc;
  border-radius: 4px;
  box-shadow: none;
  transition: none;
}
.local-contact-form .doccunt textarea.form-control {
  height: auto;
  min-height: 160px;
  resize: none;
}
.local-contact-form .doccunt .form-control:focus {
  box-shadow: none;
  outline: 1px solid #90949c !important;
  outline-offset: 2px;
}
.local-contact-form .grey_box .form-text {
  margin: 0 0 22px;
  line-height: 1.7;
}
@media (max-width: 991px) {
  #headerTop { z-index: 1002; }
  .local-contact-band { margin: 48px 0; padding: 40px 0; }
  .local-contact-panel { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 479px) {
  .local-contact-form .cal-pad:nth-child(-n+4) { width: 100%; }
}
.local-floorplan-section .local-floorplan-text > h1 {
  margin-top: 0 !important;
}
.local-floorplan-section #floorPlans .uk-grid {
  margin-left: 0;
}
.local-floorplan-section #floorPlans .uk-grid > div {
  padding-left: 0;
}
@media (max-width: 991px) {
  .local-floorplan-section #floorPlans {
    margin-top: 24px;
  }
}

/* Alternative contact designs, confined to this section. */
[data-contact-style="airy"] .local-contact-panel {
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
}
[data-contact-style="airy"] .agent_data > img {
  width: 340px;
  height: 390px;
  border-radius: 3px;
}
[data-contact-style="airy"] .local-contact-form {
  padding-top: 0;
}
[data-contact-style="airy"] .local-contact-form .form-control {
  height: 50px;
  background: #fff;
  border-radius: 4px;
}
[data-contact-style="airy"] .local-contact-form textarea.form-control {
  height: auto;
  min-height: 180px;
}
[data-contact-style="airy"] .local-contact-form .cal-pad {
  margin-bottom: 20px;
}
[data-contact-style="card"] .local-contact-panel {
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
}
[data-contact-style="card"] .local-contact-agent {
  padding-top: 0;
}
[data-contact-style="card"] .local-contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 4%);
}
[data-contact-style="card"] .agent_data > img {
  width: 320px;
  height: 460px;
  border-radius: 6px;
}
[data-contact-style="card"] .local-contact-form .form-control {
  height: 48px;
  background: #f1f1f1;
  border-radius: 6px;
}
[data-contact-style="card"] .local-contact-form textarea.form-control {
  height: auto;
  min-height: 180px;
}
[data-contact-style="compact"] .local-contact-panel {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
[data-contact-style="compact"] .local-contact-panel.side_sec h1 {
  font-size: 28px;
  margin-bottom: 28px !important;
}
[data-contact-style="compact"] .agent_data {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 24px;
  align-items: start;
}
[data-contact-style="compact"] .agent_data > img {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 180px;
  height: 240px;
  margin: 0;
  border-radius: 6px;
}
[data-contact-style="compact"] .agent_data > h3,
[data-contact-style="compact"] .agent_data > p {
  grid-column: 2;
}
[data-contact-style="compact"] .agent_data > h3 {
  font-size: 26px;
  margin-top: 12px;
}
[data-contact-style="compact"] .local-contact-form .form-control {
  background: #fff;
  border-radius: 4px;
}
[data-contact-style="compact"] .local-contact-form textarea.form-control {
  min-height: 120px;
}
@media (max-width: 991px) {
  [data-contact-style] .local-contact-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  [data-contact-style="card"] .local-contact-agent { padding-top: 0; }
}
@media (max-width: 479px) {
  [data-contact-style="card"] .local-contact-form { padding: 24px 18px; }
  [data-contact-style="compact"] .agent_data {
    grid-template-columns: 1fr;
    gap: 0;
  }
  [data-contact-style="compact"] .agent_data > img {
    grid-row: auto;
    width: 260px;
    height: 310px;
    margin-bottom: 16px;
  }
  [data-contact-style="compact"] .agent_data > h3,
  [data-contact-style="compact"] .agent_data > p { grid-column: 1; }
}

/* Phone and tablet adjustments. Desktop styling is retained. */
@media (max-width: 1024px) {
  #object_details, #object_images, #object_plans, #object_facts, #object_map,
  #local-contact, #local-property-info { scroll-margin-top: 124px; }
  .local-contact-form .form-group > .row > .cal-pad { width: 100%; min-width: 0; }
  .local-contact-form .form-group > .row > .cal-pad:nth-child(-n+4) { width: 50%; }
  .local-contact-form .doccunt .form-control { font-size: 16px; }
  .local-contact-panel.side_sec h1 { overflow-wrap: anywhere; }
  .local-contact-agent .home_team_name a { overflow-wrap: anywhere; }
  #object_facts .doccunt > a:has(.local-pdf-icon) {
    display: flex; align-items: center; gap: 10px; min-height: 44px;
  }
  #object_facts .local-pdf-icon { margin-right: 0; }
  #object_facts .doccunt > a > span { min-width: 0; overflow-wrap: anywhere; }
  #six_images_container { margin-left: 0; }
  #six_images_container > div { width: 50%; padding-left: 8px; padding-right: 8px; }
  #six_images_container img { width: 100%; height: auto; }
  #images_container { margin: 10px 20px; }
  #six_images_container .ht_cont, #floorPlans .ht_cont { display: none; }
  #six_images_container .overlay-k, #floorPlans .overlay-k { display: none; }
  .local-floorplan-section #floorPlans img { height: auto; }
  .local-contact-form .btn, .all_content, .home_form .btn { min-height: 44px; }
  .grey_box a.book_link, .grey_box a.booked_link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .vardering_box > .row { margin-left: 0; margin-right: 0; }
  .footer-block iframe { max-width: 100%; }
  .home_form .form-control, .mobile-form-control { font-size: 16px; min-height: 44px; }
  #map_canvas { height: 480px !important; }
  #map_canvas .olControlZoom a { width: 44px; height: 44px; line-height: 44px; font-size: 26px; }
  .modal-dialog { max-width: calc(100% - 24px); margin-left: auto; margin-right: auto; }
}
@media (max-width: 1024px) {
  #headerTop { z-index: 1002; }
  #headerTop .navbar-header { /*display: flex;*/ align-items: center; justify-content: space-between; float: none; height: 60px; }
  #headerTop #top_menu > div { float: none; width: 100%; }
  #headerTop #top_menu > div:last-child { display: none; }
  #headerTop .navbar-toggle { display: block; order: 2; flex: 0 0 44px; /*min-height: 44px; margin: 0;*/ }
  #headerTop .navbar-brand { float: none; max-width: calc(100% - 60px); height: 60px; }
  #headerTop .navbar-brand > img { height: 60px; max-width: 100%; width: auto; padding: 12px 0; object-fit: contain; }
  #headerTop #navbar1 { margin-top: 0; max-height: calc(100vh - 60px); overflow-y: auto; background: #f8f8f8; padding: 0; }
  #headerTop #navbar1.collapse:not(.in) { display: none !important; }
  #headerTop #navbar1.collapse.in { display: block !important; }
  #headerTop .navbar-nav { display: block; float: none; padding: 8px 0; margin: 0; text-align: left; }
  #headerTop .navbar-nav > li { display: block; float: none; }
  #headerTop .navbar-nav > li > a { display: block; min-height: 44px; padding: 12px 8px !important; font-size: 16px; }
  #stickyheader.sticky_header { top: 63px; opacity: 1; }
  #stickyheader .nav-tabs { /*display: flex;*/ flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0; -webkit-overflow-scrolling: touch; }
  #stickyheader .nav-tabs > li { float: none; flex: 0 0 auto; margin: 0; }
  #stickyheader .nav-tabs > li > a { display: flex; align-items: center; min-height: 44px; padding: 10px 4px; font-size: 14px; white-space: nowrap; }
  .vardering_agent_logo { display: none; }
  #object_facts > .col-md-4 { clear: both; padding-top: 24px; }
}
@media (max-width: 767px) {
  #six_images_container > div { width: 100%; padding: 0 15px; }
  #six_images_container > div + div { margin-top: 16px; }
  #six_images_container .more_images { left: 15px; width: calc(100% - 30px); }
  #six_images_container .more_images h1 { margin: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .local-floorplan-section .local-floorplan-text > h1,
  .cont_sec h1.local-section-title, .local-facts-column .local-facts-title { font-size: 28px; }
  .local-contact-panel.side_sec h1 { font-size: 26px; }
  [data-contact-style="card"] .local-contact-form { padding: 24px 18px; }
  [data-contact-style="card"] .agent_data > img { height: auto; aspect-ratio: 320 / 460; }
  .local-contact-form .form-group > .row > .cal-pad:nth-child(-n+4) { width: 100%; }
  .local-contact-form .grey_box .form-text { font-size: 13px !important; }
  #map_canvas { height: 400px !important; height: min(60svh, 440px) !important; min-height: 300px; }
  .panel-footer-copyright p { overflow-wrap: anywhere; }
  #object_facts .side_sec h1 { overflow-wrap: anywhere; }
}

@media (max-width: 1024px) {
  .uk-lightbox { z-index: 1200; }
  .uk-lightbox .uk-lightbox-toolbar { opacity: 1; transform: none; }
  .uk-lightbox .uk-close { min-width: 44px; min-height: 44px; }
  .uk-lightbox .uk-slidenav { min-width: 44px; min-height: 44px; }
}

@media (max-width: 1024px) {
  #object_images, #object_plans { margin-top: 0 !important; }
}
