#sortable, #sortable-fp { list-style-type: none; margin: 0; padding: 0; width: 100%; }
.thumbs li {width:31%;display:inline-block;overflow:hidden;cursor:move;margin:0 1%;}
.thumbs-2 li {width:48%;}
.thumbs img {width:100%;max-height:200px;}
.ui-state-highlight { height: 200px; background-color: #333333;}
.ui-agent-highlight { height: 200px; background-color: #333333;}


.min-h-4 {
  min-height: 600px;
}

.min-h-1 {
  min-height: 500px;
}

@media (max-width: 979px) {
  .min-h-1 {
    min-height: 350px;
  }
}

.min-h-2 {
  min-height: 390px;
}

.map-h {
  height: 390px;
}

.min-h-5 {
  min-height: 320px;
}

.min-h-3 {
  min-height: 250px;
}

@media (max-width: 979px) {
  .bodoni-large1 {
    font-family: 'GFS Didot';
    font-size: 48px !important;
    line-height: 1em;
  }
}

.bodoni-large1 {
  font-family: 'GFS Didot';
  font-size: 64px;
  line-height: 1em;
}

.bodoni {
  font-family: 'GFS Didot';
}

.bodoni-wide {
  font-family: 'GFS Didot';
  letter-spacing: .5em;
}

.bodoni-small2 {
  font-family: 'GFS Didot';
  font-size: 14px;
}

.bodoni-small {
  font-family: 'GFS Didot';
  font-size: 24px;
}

.dm-sans {
  font-family: 'Roboto';
}

.dm-small1 {
  font-family: 'Roboto';
  font-size: 14px;
}

.dm-small2 {
  font-family: 'Roboto';
  font-size: 10px;
}

.dm-small3 {
  font-family: 'Roboto';
  font-size: 14px;
}

.dm-med1 {
  font-family: 'Roboto';
  font-size: 14px;
  font-weight: 600;
}

.btn-1 {
  border: 1px solid #000;
  border-radius: 0;
  font-family: 'Roboto';
  font-size: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.btn-2 {
  border: 1px solid #FFF;
  color: white;
  border-radius: 0;
  font-family: 'Roboto';
  font-size: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.btn-3 {
  border: 1px solid #FFF;
  color: #000000;
  background-color: white;
  border-radius: 0;
  font-family: 'Roboto';
  font-size: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.btn-4 {
  border: 1px solid #000000;
  color: white;
  background-color: #000000;
  border-radius: 0;
  font-family: 'Roboto';
  font-size: 10px;
  padding-left: 30px;
  padding-right: 30px;
}



.btn-1:hover {
  background-color: #000;
  border: 1px solid #000;
  color: white;
}

.btn-2:hover {
  background-color: #ffffff;
  border: 1px solid white;
  color: #000000;
}

.btn-3:hover {
  background-color: #000000;
  color: white;
  border: 1px solid white;
}

.btn-4:hover {
  background-color: #ffffff;
  color: black;
  border-color: black;
}

.btn-5 {
  border: 5px solid #000;
  border-radius: 0;
}

.btn-6 {
  color: white;
  font-size: 10px;
  padding: 0;
  font-weight: 600;
}

.btn-7 {
  color: #000;
  font-size: 14px;
  padding: 0;
  font-weight: 600;
}

.btn-8 {
  border: 5px solid #ffffff;
  border-radius: 0;
  color: white;
}

.btn-5:hover {
  border: 5px solid #000;
  border-radius: 0;
  background-color: #000000;
  color: white;
}

.btn-6:hover {
  color: #ddd;
}

.btn-7:hover {
  color: #666666;
}

.btn-8:hover {
  border: 5px solid #FFF;
  border-radius: 0;
  background-color: #ffffff;
  color: #000000;
}


.bg-grey1 {
  background-color: #f8f8f7;
}

.mw-300 {
  max-width: 300px;
}

.mw-500 {
  max-width: 500px;
}

.mw-650 {
  max-width: 650px;
}

.bodoni-divider {
  font-family: 'Bodoni Moda';
  font-size: 16px;
}

.link2 {
  font-family: 'Roboto';
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  color: black;
  letter-spacing: 1px;
}

.link2:hover {
  color: #666;
}

.link3:hover {
  background-color: #333;
}

.link3 {
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: white;
  padding-left: 30px;
  padding-right: 30px;
}

.link1 {
  font-family: 'Roboto';
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: black;
}

.link1:hover {
  color: #666;
}

.link4 {
  color: black;
  text-decoration: none;
}

.link4:hover {
  color: #666;
}

.grayscale {
  -webkit-filter: grayscale(100%);
}

.img-size4 {
  width: 200px;
}

.img-size2 {
  height: 50px;
}

.img-size6 {
  width: 120px;
}

.img-size1 {
  width: 50px;
}

.img-size3 {
  width: 30px;
}

.icon2 {
  font-size: 21px;
  color: #ffffff;
}

.icon1 {
  font-size: 21px;
  color: black;
}

.icon1:hover {
  font-size: 21px;
  color: #666;
}

.border2 {
  border-top: 1px solid #000;
}

.border3 {
  border-top: 1px solid #ffffff;
}

.border4 {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.border1 {
  border: 1px solid #000;
}

.width60 {
  width: 60%;
}

.width250px {
  width: 250px;
}

.width125px {
  width: 125px;
}

.width20 {
  width: 20%;
}

.font12 {
  font-size: 12px;
}

.font14 {
  font-size: 14px;
}

.font16 {
  font-size: 16px;
}

.font18 {
  font-size: 18px;
}

.font21 {
  font-size: 21px;
}

.font24 {
  font-size: 24px;
}

.font28 {
  font-size: 28px;
}

@media (min-width: 980px) {
  .font36 {
    font-size: 36px;
  }
}

@media (min-width: 300px) and (max-width:979px) {
  .font36 {
    font-size: 24px;
  }
}

.font48 {
  font-size: 48px;
}

.border-under {
  border-bottom: 1px solid #000;
  line-height: 2em;
}

.border-around {
  border: 1px solid #000;
  line-height: 2em;
  padding-left: 10px;
  padding-right: 10px;
}


.grey1 {
  color: #999;
}

.dots1 {
  border-bottom: 3px dotted white;
  padding-top: 16px;
}

.site {
  text-transform: uppercase;
  aspect-ratio: 321 / 213;
  max-width: 321px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site:hover {
  opacity: .5 !important;
}

.input1 {
  font-family: 'Roboto';
  font-size: 14px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #000;
  border-radius: 0px;
  padding-top: 30px !important;
}

.input2 {
  font-family: 'Roboto';
  font-size: 14px;
  color: #fff !important;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ffffff;
  border-radius: 0px;
  padding-top: 30px !important;
}

.btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: #fff !important;
}

.font60 {
  font-size: 60px;
}

.form-floating > label::after {
  background-color: transparent !important;
}

.divider2 {
  border-top: 1px solid #d5d5d5;
}

.divider1 {
  border-top: 1px solid #292929;
}

.menu1:hover {
  background-color: #252525;
  cursor: pointer;
}

.menu1 {
  cursor: pointer;
  border-bottom: 1px solid #252525;
}

body {
  font-family: 'Roboto';
}

.font10 {
  font-size: 10px;
  color: #999999;
}

.grey1 {
  color: #999 !important;
}

.custom-select select {
  appearance: none !important;
  font-size: 14px !important;
  padding: 0.675em 6em 0.675em 1em !important;
  background-color: #000000 !important;
  border: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  cursor: pointer !important;
}

.custom-select {
  position: relative;
  min-width: 300px !important;
}

.custom-select select {
  min-width: 200px !important;
}

.custom-select::after {
  border-left: var(--size) solid transparent !important;
  border-right: var(--size) solid transparent !important;
  border-top: var(--size) solid #ffffff !important;
  top: 55%;
}

.custom-select::before {
  border-left: var(--size) solid transparent !important;
  border-right: var(--size) solid transparent !important;
  border-bottom: var(--size) solid #ffffff !important;
  top: 40% !important;
}

.custom-select::before, .custom-select::after {
  --size: 0.3rem !important;
  position: absolute !important;
  content: "" !important;
  right: 1rem !important;
  pointer-events: none !important;
}

.height1 {
  height: 200px;
}

.link-sidenav:hover {
  text-decoration: underline;
}

.link-sidenav {
  text-decoration: none;
  color: #ffffff !important;
}

.menu-active {
  font-weight: 900;
  text-decoration: underline;
}

.heading3 {
  font-family: 'Roboto';
  font-size: 21px;
  font-weight: 700;
}

.copy1 {
  font-family: 'Roboto';
  font-size: 14px;
}

/* Round 3 (2026-10-04) -- "crop marks" instead of icon tile + CTA (Round 2).
   No border/box at rest, just four corner brackets; a full border only
   appears on drag-over. The visible content is a custom .dz-message block
   written directly into each page's markup (details_gallery.php,
   details_floorplans.php, my_logos.php) -- Dropzone.js only auto-generates
   its own .dz-message when one isn't already present, so this is respected
   automatically. */
.dropzone {
position: relative;
min-height: 0;
background: #fff !important;
padding: 0;
margin-top: 20px;
margin-bottom: 24px;
border: 1px solid transparent !important;
border-radius: 0 !important;
transition: border-color .15s;
}

.dropzone:hover {
background: #fff !important;
}

.dropzone.dz-drag-hover {
border-color: #9a7b3f !important;
}

/* Pre-JS/no-drag-drop fallback inputs -- never actually hidden before,
   so with the box no longer forced to 150px they were rendering as
   visible extra height below the message row. */
.dropzone .fallback {
display: none;
}

.dropzone .dz-corner {
position: absolute;
width: 14px;
height: 14px;
border: 1.5px solid #0a0a0a;
pointer-events: none;
}
.dropzone .dz-corner-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.dropzone .dz-corner-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.dropzone .dz-corner-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.dropzone .dz-corner-br { bottom: 0; right: 0; border-left: none; border-top: none; }

.dropzone .dz-message {
margin: 0;
padding: 34px 20px;
text-align: center;
}

.dropzone .dz-t1 {
font-family: 'Roboto';
font-size: 13.5px;
color: #0a0a0a;
margin: 0;
}

.dropzone .dz-t2 {
font-family: 'Roboto';
font-size: 11px;
color: #bdbbb3;
margin: 4px 0 0;
}

/* my_agents page dropzones — agent image, agent logo, new-agent variants.
   These are actually fully invisible overlays (see .a2-thumb .dropzone in
   my_agents.php), so this rule rarely matters, but kept for safety. */
.dropzone[id^="agent-drop-"],
.dropzone[id^="agent-logo-"],
.dropzone#new-agent-drop,
.dropzone#new-agent-logo-drop {
  min-height: 50px;
  padding: 8px 20px !important;
  padding-top: 10px !important;
}

.form-label {
margin-left: -2px !important;
}

.mw-600 {
max-width: 600px;
}

/* Circular checkmark checkbox (2026-08-30, operator's design direction) --
   reused everywhere a plain checkbox appeared, based on the "Who to Target"
   card design in details_ads_meta.php. Keeps a real <input type="checkbox">
   for native form submission/accessibility, visually hidden, with a custom
   circle+checkmark indicator driven by :checked + sibling selectors (no JS
   needed to render the checked state).
   Markup:
   <label class="cc-wrap">
     <span class="cc-box"><input type="checkbox" class="cc-input" ...><span class="cc-mark"></span></span>
     <span>Label text</span>
   </label>
*/
.cc-wrap { display:inline-flex; align-items:center; gap:10px; cursor:pointer; }
.cc-box { position:relative; display:inline-flex; width:15px; height:15px; flex-shrink:0; }
.cc-input { position:absolute; top:0; left:0; right:0; bottom:0; opacity:0; margin:0; cursor:pointer; z-index:2; }
.cc-mark { position:absolute; top:0; left:0; right:0; bottom:0; border-radius:50%; border:1.5px solid #ddd; background:#fff; transition:all .15s; display:flex; align-items:center; justify-content:center; overflow:visible; }
.cc-mark::after { content:'✓'; color:#fff; font-size:11px; font-weight:700; opacity:0; transition:opacity .1s; }
.cc-input:checked ~ .cc-mark { border:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12,1C5.92,1,1,5.92,1,12s4.92,11,11,11,11-4.92,11-11S18.08,1,12,1ZM9.75,16.72l-3.42-3.42,1.11-1.11,2.3,2.3,6.59-6.59,1.11,1.11-7.71,7.71Z'/%3E%3C/svg%3E") center / calc(100% * 24 / 22) no-repeat; } /* Melvin's circle-check.svg, drawn to fill the 20px box */
.cc-input:checked ~ .cc-mark::after { opacity:0; }
.cc-input:focus-visible ~ .cc-mark { outline:2px solid #000; outline-offset:2px; }

/* ── Property sidebar (content/nav.details.php) ──────────────────────────
   Desktop: full-height black rail flush to the left edge, collapsible to an
   icon-only strip (state remembered per browser). Mobile: stacks above the
   page content as before. */
:root {
  --am-nav-icon: 24px;
  --am-rail-gap: .9rem; /* space between icons in the collapsed menu */
  /* Shared edge (Option B, Melvin's mockup proportions): the header logo, the header links'
     right margin and the menu icons — open or collapsed — all sit on it */
  --am-edge: 36px;
  /* Right padding of the open menu, set so the vertical labels' lettering sits
     the same distance from the right edge as the icons do from the left */
  --am-nav-pad-r: 33.5px;
  --am-sidenav-w: 290px; /* fits "Get Found on Google" on one line */
  /* Collapsed strip: icon with an even --am-edge on both sides */
  --am-sidenav-w-collapsed: calc(var(--am-edge) * 2 + var(--am-nav-icon) * 22 / 24); /* icon lines are 22/24 of the icon box */
}

.am-sidenav { background: #000; margin-bottom: 1.5rem; }
/* Icons are drawn 1/24 in from their edge, so pull back by that much to put
   the ink exactly on the logo's left edge */
.am-sidenav-inner { padding: 1.5rem var(--am-nav-pad-r) 1.5rem calc(var(--am-edge) - var(--am-nav-icon) / 24); }

.am-sidenav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 4px;
  color: #fff;
  line-height: 0;
  cursor: pointer;
}
.am-sidenav-toggle:hover { color: #aaa; }
/* Open: small 18px collapse arrow. Collapsed: expand arrow at full icon size. */
.am-sidenav-toggle svg { width: 18px; height: 18px; }
.am-sidenav-toggle .am-icon-expand { display: none; }

.am-sidenav-icon { width: calc(var(--am-nav-icon) + 10px); color: #fff; line-height: 0; flex-shrink: 0; text-align: left !important; }
.am-sidenav-icon svg { width: var(--am-nav-icon); height: var(--am-nav-icon); }
.am-sidenav .menu-active { text-decoration: none; }
/* Menu labels in Roboto Light; the page you're on stays bold */
.am-sidenav-group > .d-flex .font14 { font-weight: 300; }
.am-sidenav-group > .d-flex.menu-active .font14 { font-weight: 700; }
.am-sidenav-group > .d-flex { margin-bottom: .85rem !important; }
/* No gap under a group's last item, so the vertical label lines up with it */
.am-sidenav-group > .d-flex:last-child { margin-bottom: 0 !important; }

.am-sidenav-group { position: relative; padding-right: 32px; }
.am-sidenav-group + .am-sidenav-group {
  border-top: 1px solid #444;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
.am-sidenav-group::after {
  content: attr(data-label);
  position: absolute;
  right: 0;
  /* Reads bottom-to-top and ends level with the bottom of the group's last
     icon; nav.details.php measures that and sets --am-label-bottom. */
  bottom: var(--am-label-bottom, 0px);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px; /* same size as the menu items */
  line-height: 1;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #777;
  white-space: nowrap;
  pointer-events: none;
}

/* Whole row is clickable, not just the label */
.am-sidenav-group > .d-flex { position: relative; align-items: center; }
.am-sidenav a.link-sidenav::after { content: ""; position: absolute; inset: 0; }
/* Greyed-out (locked) items: dim the icon too so it reads in the icon-only rail */
.am-sidenav-group > .d-flex:has(> div > span.font14) svg,
.am-sidenav-group > .d-flex:has(> div > span.font14) i { opacity: .4; }
/* Free-account note starts on the same edge as the icons */
.am-sidenav-upsell { padding-left: calc(var(--am-nav-icon) / 24) !important; }

@media (min-width: 992px) {
  body:has(.am-sidenav) { position: relative; }
  body:has(.am-sidenav) #am-page-content {
    padding-left: var(--am-sidenav-w) !important;
    transition: padding-left .2s ease;
  }
  /* Footer sits beside the rail, aligned with the content */
  body:has(.am-sidenav) > .am-footer {
    padding-left: calc(var(--am-sidenav-w) + 3rem);
    padding-right: var(--am-edge);
    transition: padding-left .2s ease;
  }
  body:has(.am-sidenav.is-collapsed) #am-page-content { padding-left: var(--am-sidenav-w-collapsed) !important; }
  body:has(.am-sidenav.is-collapsed) > .am-footer { padding-left: calc(var(--am-sidenav-w-collapsed) + 3rem); }

  /* Content uses the full width beside the rail */
  body:has(.am-sidenav) #am-page-content .container {
    max-width: none;
    padding-left: 3rem !important;
    padding-right: var(--am-edge) !important; /* right edge lines up with the header links */
  }
  .row > .am-sidenav ~ [class*="col"] {
    flex: 1 1 0;
    width: auto;
    max-width: 100%;
    margin-right: 0 !important;
  }

  .am-sidenav {
    position: absolute;
    left: 0;
    top: var(--am-topnav-h, 88px);
    bottom: 0;
    width: var(--am-sidenav-w) !important;
    margin: 0;
    padding: 0 !important;
    z-index: 10;
    transition: width .2s ease;
  }
  .am-sidenav-inner {
    position: sticky;
    /* sits just under the header while it's showing, at the very top while
       it's hidden (--am-stick-top is set by the header script in skin/template.php) */
    top: var(--am-stick-top, 0px);
    max-height: calc(100vh - var(--am-stick-top, 0px));
    overflow-y: auto;
    overflow-x: hidden;
    transition: top .3s ease;
  }
  .am-sidenav-toggle {
    display: block;
    position: absolute;
    /* Centred over the 14px vertical "Property Website" label (right column
       of the group; 4px = button padding), level with the first menu row */
    right: calc(var(--am-nav-pad-r) + (14px - 18px) / 2 - 4px);
    top: calc(1.5rem + var(--am-nav-icon) / 2 - 13px);
    z-index: 1;
  }

  /* ── Collapsed: icons only ── */
  .am-sidenav.is-collapsed { width: var(--am-sidenav-w-collapsed) !important; }
  .am-sidenav.is-collapsed .am-sidenav-inner { padding: 1.25rem 0 1.25rem calc(var(--am-edge) - var(--am-nav-icon) / 24); }
  .am-sidenav.is-collapsed .am-sidenav-icon { width: auto; }
  /* Collapsed: the expand arrow is spaced exactly like the icons below it */
  .am-sidenav.is-collapsed .am-sidenav-toggle {
    position: static;
    padding: 0;
    margin: 0 0 var(--am-rail-gap) 0;
  }
  .am-sidenav.is-collapsed .am-sidenav-toggle svg { width: var(--am-nav-icon); height: var(--am-nav-icon); }
  .am-sidenav.is-collapsed .am-icon-collapse { display: none; }
  .am-sidenav.is-collapsed .am-icon-expand { display: inline; }
  .am-sidenav.is-collapsed .am-sidenav-group { padding-right: 0; }
  .am-sidenav.is-collapsed .am-sidenav-group::after,
  .am-sidenav.is-collapsed .am-sidenav-upsell { display: none; }
  /* Collapsed: short divider centred under the icons instead of a full-width rule */
  .am-sidenav.is-collapsed .am-sidenav-group + .am-sidenav-group { border-top: 0; }
  .am-sidenav.is-collapsed .am-sidenav-group + .am-sidenav-group::before {
    content: ""; position: absolute; top: 0;
    left: calc(var(--am-nav-icon) / 24 - 16px);
    width: calc(var(--am-nav-icon) + 32px);
    border-top: 1px solid #444;
  }
  .am-sidenav.is-collapsed .am-sidenav-group > .d-flex {
    justify-content: flex-start;
    margin-bottom: var(--am-rail-gap) !important;
  }
  .am-sidenav.is-collapsed .am-sidenav-group > .d-flex > div:first-child { margin-right: 0 !important; position: relative; }
  .am-sidenav.is-collapsed .am-sidenav-group > .d-flex > div + div {
    width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 !important;
  }
  /* Unread inquiries: the count is hidden with the label, so show a red dot on the icon */
  .am-sidenav.is-collapsed .d-flex:has(.am-unread-badge) > div:first-child::after {
    content: "";
    position: absolute;
    top: -2px;
    right: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e74c3c;
  }
}


/* ── New header / footer / title row (proposal) ─────────────────────────
   Used on every agent dashboard page ($_amNewChrome in skin/template.php). */
.am-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--am-edge);
  border-bottom: 1px solid #eee;
  background: #fff;
}
/* Header stays at the top of the screen: slides away while scrolling down,
   comes back as soon as you scroll up (script in skin/template.php) */
.am-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; transition: transform .3s ease, box-shadow .25s ease; }
body:has(.am-topbar) { padding-top: var(--am-hdr-h, 76px); }
.am-topbar.is-scrolled { box-shadow: 0 1px 0 #eee, 0 6px 16px rgba(0, 0, 0, .04); }
.am-topbar.is-hidden { transform: translateY(-100%); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .am-topbar, .am-sidenav-inner { transition: none; }
}
.am-topbar-logo img { height: 40px; width: auto; display: block; }
.am-topbar-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 2rem; }
.am-topbar-links a {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
}
.am-topbar-links a:hover { color: #777; }
/* letter-spacing adds space after the last letter; trim it so LOGOUT ends on the edge */
.am-topbar-links a:last-child { margin-right: -.1em; }
.am-topbar-links a.am-topbar-upgrade { background: #0e7490; color: #fff; padding: .15rem .6rem; font-weight: 700; }

.am-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 2.5rem;
  background: #f5f5f5;
  color: #999;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
}
.am-footer-right { text-align: right; }
/* Brand name + wordmark in a darker grey for contrast; supporting text stays light grey */
.am-footer-left strong,
.am-footer-mark { color: #494949; }
.am-footer-mark svg { display: block; width: 170px; height: auto; }
/* Sites page: black footer keeps white text (#494949 would disappear on black) */
.am-footer-dark { background: #000; color: #888; }
.am-footer-dark .am-footer-left,
.am-footer-dark .am-footer-left strong,
.am-footer-dark .am-footer-mark { color: #fff; }

.am-pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}
.am-pagehead-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #111;
}
.am-pagehead-back { color: #111; line-height: 0; margin-right: .4rem; }
.am-pagehead-back:hover { color: #777; }
.am-pagehead-site { font-weight: 700; }
.am-pagehead-links { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.am-pagehead-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  max-width: 260px;
  font-size: 12px;
  color: #999;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-pagehead-links a:hover { color: #111; }
.am-pagehead-copy { background: none; border: 0; padding: 0; color: #999; line-height: 0; cursor: pointer; }
.am-pagehead-copy:hover { color: #111; }
.am-pagehead-copy .am-copied-icon,
.am-pagehead-copy.is-copied .am-copy-icon { display: none; }
.am-pagehead-copy.is-copied .am-copied-icon { display: inline; }

@media (max-width: 767.98px) {
  .am-topbar { flex-direction: column; padding: 1rem; }
  .am-topbar-links { justify-content: center; gap: .4rem 1.1rem; width: 100%; }
  .am-footer { grid-template-columns: 1fr; text-align: center; padding: 1.5rem 1rem; }
  .am-footer-right { text-align: center; }
  .am-footer-mark svg { margin: 0 auto; }
  .am-pagehead { flex-direction: column; align-items: flex-start; }
  .am-pagehead-title { font-size: 18px; }
}

/* ── Property Details form: one height for every button/dropdown ────────
   (content/child/details.php) Use Map Coordinates, Custom Fields, Ad
   Tracking Pixels, Domain, Save / Update, and the two dropdowns. */
:root { --am-form-ctl-h: 48px; }
.am-form-btn {
  height: var(--am-form-ctl-h);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: 12px;
  letter-spacing: .1em; /* tracking 100 */
  line-height: 1;
}
/* Section spacing: every section starts 56px below the line above it, the same
   gap as Primary Description -> Primary Specifications. The classes add what
   each spot needs on top of the spacing its fields already have. */
#formDetail .am-gap-16 { margin-top: 16px !important; }
#formDetail .am-gap-32 { margin-top: 32px !important; }
#formDetail .am-save-wrap { margin-top: 19px; margin-bottom: 151px; } /* 56px below the agents, 175px to the footer */
/* Agent photos: 4px apart, same as the property tiles on the Sites page */
#sortable-agent, #agents-more > .row { --bs-gutter-x: 4px; }

#formDetail #listingStatus,
#formDetail #propType {
  height: var(--am-form-ctl-h);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
