/* First Corsa Group — rebuild of the Buildium public site.
   Colours sampled from the live site's theme:
   nav #96BB3D, hover #8EB139, focus #7F9E33, nav border #87A836,
   links #3E81C7, sidebar #FCF4DB / border #FED96B, body text #565656. */
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: #565656; background: #fff; }
a, a:active { color: #3E81C7; text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; color: #3b3b3b; margin: 10px 0 16px; }
h2 { font-size: 20px; color: #3b3b3b; margin: 24px 0 8px; }
h3 { font-size: 18px; color: #3b3b3b; margin: 0 0 8px; }
.container { max-width: 940px; margin: 0 auto; padding: 0 15px; }

/* Header */
.site-header { background: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 90px; padding-top: 5px; padding-bottom: 5px; }
.logo { display: block; width: 197px; height: 75px; }
.header-links { font-size: 14px; }
.header-links .sep { color: #000; margin: 0 6px; }

/* Nav */
.main-nav { background: #96BB3D; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav-list > li { border-left: 1px solid #87A836; position: relative; }
.nav-list > li:last-child { border-right: 1px solid #87A836; }
.nav-list a { display: block; padding: 14px 22px; color: #fff; font-weight: bold; font-size: 15px; }
.nav-list a:hover, .nav-list a:focus { background: #8EB139; text-decoration: none; }
.nav-list a.active { background: #7F9E33; }
.ext { font-size: 12px; }
.more-menu { display: none; position: absolute; left: 0; top: 100%; list-style: none; margin: 0; padding: 0; background: #96BB3D; border: 1px solid #87A836; min-width: 220px; z-index: 10; }
.more-menu.open { display: block; }
.more-menu a { border-left: none; }

/* Content */
.content { padding: 40px 15px 60px; }
.two-col { display: flex; gap: 30px; align-items: flex-start; }
.main-col { flex: 1 1 625px; min-width: 0; }
.home-copy { font-style: italic; }
.home-copy .welcome { text-align: center; font-size: 1.5em; font-style: italic; color: #565656; margin-top: 0; }
.sidebar { flex: 0 0 300px; }
.signin-box { background: #FCF4DB; border: 1px solid #FED96B; padding: 15px; margin-bottom: 30px; }
.signin-box h3, .apply-box h3 { border-bottom: 1px solid #c1c1c1; padding-bottom: 8px; }
.apply-box { padding: 0 15px 15px; }
.sidebar p { color: #4a4a4a; margin: 8px 0; }

/* Footer */
.site-footer { padding-bottom: 30px; }
.site-footer hr { border: none; border-top: 1px solid #dbdbdb; margin: 0 0 20px; }
.site-footer h2 { font-size: 18px; margin: 0 0 6px; }
.site-footer p { margin: 4px 0; color: #4a4a4a; font-size: 14px; }
.site-footer .legal-links { margin-top: 18px; font-weight: bold; }
.site-footer .legal-links a { color: #3b3b3b; }

/* Rentals */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 0 20px; font-size: 14px; }
.filters select, .filters input[type="search"] { padding: 6px 8px; border: 1px solid #c1c1c1; font-size: 14px; }
.filters input[type="search"] { min-width: 240px; }
.clear-filters { font-size: 14px; }
.no-results { font-size: 16px; }
.listing { display: flex; gap: 20px; border: 1px solid #e8e8e8; padding: 15px; margin-bottom: 20px; }
.listing img { width: 200px; height: auto; display: block; object-fit: cover; }
.listing-info h2 { margin-top: 0; }
.detail-price { font-size: 22px; font-weight: bold; color: #3b3b3b; }
.gallery-main { width: 100%; max-width: 640px; height: auto; display: block; margin-bottom: 10px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.thumbs img.thumb { width: 90px; height: 106px; object-fit: cover; border: 1px solid #e8e8e8; }
.thumbs img.thumb:hover { border-color: #df571a; }
.two-col-list { columns: 2; }
.note-red { color: #c80813; }

/* Download application form */
.center { text-align: center; }
.two-col-form { display: flex; gap: 30px; }
.two-col-form > div { flex: 1; min-width: 0; }
.two-col-form p { margin: 6px 0; font-size: 14px; overflow-wrap: break-word; }
.app-table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.app-table th, .app-table td { border: 1px solid #565656; padding: 8px; text-align: left; }
.form-line .blank { display: inline-block; border-bottom: 1px solid #565656; min-width: 60%; }

@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 8px; padding: 10px 15px; }
  .nav-list { flex-direction: column; }
  .nav-list > li { border-left: none; border-top: 1px solid #87A836; }
  .more-menu { position: static; }
  .two-col, .two-col-form { flex-direction: column; }
  .sidebar { flex-basis: auto; width: 100%; }
  .listing { flex-direction: column; }
  .listing img { width: 100%; }
  .content { padding-top: 25px; }
  .two-col-list { columns: 1; }
}
@media print {
  .main-nav, .site-header .header-links { display: none; }
}
