/* -------------------------------------------
   BRAND VARIABLES — CENTRAL SOURCE OF TRUTH
   ------------------------------------------- */

:root {
    --brand-red: #800000;
    --brand-orange: #f55515;
    --brand-grey-light: #fafafa;
    --brand-grey-border: #eee;
    --brand-grey-text: #333;
}

/* -------------------------------------------
   GLOBAL LINK STYLING
   ------------------------------------------- */

body a {
    color: var(--brand-red);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--brand-orange);
    text-decoration: underline;
}

/* -------------------------------------------
   GLOBAL BUTTON STYLING
   ------------------------------------------- */

.button,
.btn,
button,
input[type="submit"],
input[type="button"] {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 22px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    transition: background 0.2s ease, transform 0.1s ease;
}

.button:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-1px);
}

.button:active,
.btn:active {
    transform: translateY(0);
}

/* -------------------------------------------
   GLOBAL FORM STYLING
   ------------------------------------------- */

form {
    margin-top: 25px;
    padding: 20px 0;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--brand-grey-text);
    font-size: 0.95rem;
}

form .form-field {
    margin-bottom: 20px;
}

.form-input,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    background: #fff;
    border: 1px solid #ccc;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand-orange) !important;
    box-shadow: 0 0 0 3px rgba(245, 85, 21, 0.18) !important;
    outline: none !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
    font-size: 1rem;
    opacity: 0.55;
    color: var(--brand-red);
}

/* Form wrapper */
.contact-form-wrapper {
    background: var(--brand-grey-light);
    border: 1px solid var(--brand-grey-border);
    border-radius: 8px;
    padding: 25px 30px;
    margin-top: 30px;
}

/* Success message */
.form-message.notice {
    background: #fff7f3;
    border-left: 4px solid var(--brand-orange);
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--brand-grey-text);
}

/* Error message */
.form-errors {
    background: #fff0f0;
    border-left: 4px solid #cc0000;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--brand-grey-text);
}

/* Divider */
.contact-divider {
    height: 1px;
    background: var(--brand-grey-border);
    margin: 30px 0;
}

/* -------------------------------------------
   TENANT “AT A GLANCE” SUMMARY BOX
   ------------------------------------------- */

.tenant-summary {
    background: #fff7f3;
    border-left: 4px solid var(--brand-orange);
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.tenant-summary h3 {
    margin-top: 0;
    color: var(--brand-red);
    font-weight: 600;
}

.tenant-summary ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.tenant-summary ul li {
    margin-bottom: 4px;
}

/* -------------------------------------------
   LOGO + HEADER SPACING
   ------------------------------------------- */

.header-logo img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 4px 0;
}

.header {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* -------------------------------------------
   DESKTOP MENU — UNIFIED BRAND STYLING
   ------------------------------------------- */

.dropmenu a,
.header nav a,
#header nav a {
    color: var(--brand-red) !important;
    font-weight: 600;
    text-decoration: none;
}

.dropmenu a:hover,
.header nav a:hover,
#header nav a:hover {
    color: var(--brand-orange) !important;
}

.dropmenu li.active > a,
.dropmenu li.current > a,
.header nav .active > a,
#header nav .active > a {
    color: var(--brand-orange) !important;
    font-weight: 700;
}
/* Desktop menu — unify vertical alignment */
.dropmenu > ul > li > a,
.header nav a,
#header nav a,
.header nav li.portal-button a,
#header nav li.portal-button a {
    vertical-align: middle;
}

/* -------------------------------------------
   MOBILE MENU — UNIFIED BRAND STYLING
   ------------------------------------------- */

#overlay {
    background: #ffffff !important;
}

#overlay .overlay-menu li {
    border-bottom: none !important;
}

#overlay .overlay-menu li a {
    color: var(--brand-red) !important;
    font-weight: 600;
    text-align: right !important;
    display: block;
    padding: 10px 20px !important;
}

#overlay .overlay-menu li a:hover {
    color: var(--brand-orange) !important;
    background: rgba(245, 85, 21, 0.08) !important;
}

#overlay .overlay-menu li a.active,
#overlay .overlay-menu li a.current,
#overlay .overlay-menu li a.selected {
    color: var(--brand-orange) !important;
    background: rgba(245, 85, 21, 0.12) !important;
    font-weight: 700;
}

/* Remove Spectre bullets */
#overlay .overlay-menu .treemenu li::before {
    display: none !important;
    content: none !important;
}

/* Remove toggler dots */
#overlay .overlay-menu .treemenu .toggler {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* -------------------------------------------
   HAMBURGER ICON — BRAND STYLING
   ------------------------------------------- */

#toggle .top,
#toggle .middle,
#toggle .bottom {
    background-color: var(--brand-red) !important;
    transition: background-color 0.2s ease;
}

#toggle:hover .top,
#toggle:hover .middle,
#toggle:hover .bottom {
    background-color: var(--brand-orange) !important;
}
/* -------------------------------------------
   DESKTOP MENU — BOXED STYLE LIKE MOBILE MENU
   ------------------------------------------- */

/* Make each menu item a block with padding */
/* Desktop menu — match sizing with Tenant Portal button */
.dropmenu > ul > li > a,
.header nav a,
#header nav a {
    display: inline-block;
        line-height: 1.2;
    padding: 8px 16px;        /* match CTA horizontal padding */
    border-radius: 6px;       /* match CTA rounded corners */
    background: #f5f5f5;      /* keep grey background */
    color: var(--brand-red) !important;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}
/* Hover state — light orange background */
.dropmenu > ul > li > a:hover,
.header nav a:hover,
#header nav a:hover {
    background: rgba(245, 85, 21, 0.12); /* light orange tint */
    color: var(--brand-orange) !important;
    transform: translateY(-1px);
}

/* Active / current page */
.dropmenu > ul > li.active > a,
.dropmenu > ul > li.current > a,
.header nav .active > a,
#header nav .active > a {
    background: rgba(245, 85, 21, 0.18); /* slightly stronger orange */
    color: var(--brand-orange) !important;
    font-weight: 700;
}
/* -------------------------------------------
   FOOTER STYLING
   ------------------------------------------- */

#footer {
    padding: 30px 0;
    margin-top: 40px;
}

.footer-menu {
    text-align: center;
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--brand-red);
    margin: 0 12px;
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
}
/* -------------------------------------------
    Tenant Portal menu button 
   ------------------------------------------- */

.header nav li.portal-button a,
#header nav li.portal-button a {
    line-height: 1.2;
    background: var(--brand-red);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    margin-left: 20px; /* spacing from other menu items */
    font-weight: 500;
    transition: backgroud 0.2s ease, transform 0.1s ease;
}

.header nav li.portal-button a:hover,
#header nav li.portal-button a:hover {
    background: var(--brand-orange);
    color: #fff !important;
    transform: translateY(-1px);
}

.header nav li.portal-button.active > a {
    background: var(--brand-orange);
    color: #fff !important;
}

/* External link icon on Tenant Portal button */
.header nav li.portal-button a::after,
#header nav li.portal-button a::after {
    content: "\f08e"; /* Font Awesome external-link icon */
    font-family: "FontAwesome";
    font-size: 0.85rem;
    margin-left: 8px;
    opacity: 0.9;
    position: relative;
    top: -1px;
    transition: color 0.2s ease;
}

.header nav li.portal-button a:hover::after,
#header nav li.portal-button a:hover::after {
    color: #fff;
}
/* Mobile menu — Tenant Portal button (corrected specificity) */
#overlay .overlay-menu li.portal-button a {
    background: var(--brand-red);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 6px;
    display: block;
    margin: 10px 0;
    font-weight: 600;
    text-align: center;
}
/* Mobile menu — Tenant Portal hover override (stronger specificity) */
#overlay .overlay-menu li.portal-button a:hover {
    background: var(--brand-orange) !important;
    color: #fff !important;
}

/* External link icon */
#overlay .overlay-menu li.portal-button a::after {
    content: "\f08e";
    font-family: "FontAwesome";
    font-size: 0.9rem;
    margin-left: 8px;
    position: relative;
    top: -1px;
}


/* within the page navigation  */

.tenant-nav {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
}

.tenant-nav {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
}

.tenant-nav a {
    background:#f5f5f5;
    padding:6px 12px;
    border-radius:4px;
    text-decoration:none;
    color:#333;
    font-size:0.9rem;
}

.tenant-nav a:hover {
    background:#e0e0e0;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f5f5f5; /* same as nav chip background */
    color: var(--brand-red); /* matches your menu default */
    padding: 8px 12px;
    border-radius: 6px; /* same rounded corners as nav */
    font-size: 22px;
    font-weight: 600; /* matches menu weight */
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 9999;
    box-shadow: 0 3px 6px rgba(0,0,0,0.18); /* subtle, modern */
}

.back-to-top:hover {
    background: rgba(245, 85, 21, 0.12); /* your light orange hover tint */
    color: var(--brand-orange); /* same hover colour as menu */
    opacity: 1;
}

.badge-bar {
    margin: 30px 0;
}

/* Space below the captcha image */
.basic-captcha-image {
    display: block;
    margin-bottom: 0.6rem;
    max-width: 180px;
}

/* Refresh icon spacing */
.basic-captcha-refresh {
    margin-left: 10px;
    display: inline-block;
}

/* Input spacing and width */
.basic-captcha-input {
    margin-top: 0.5rem;
    width: 220px;
}

/* Put the captcha image on its own line with some space */
#basic-captcha-reload-contact-form {
    display: block;
    margin-bottom: 0.6rem;
}

/* Force the answer box onto a new line under the image */
input[name="data[basic-captcha]"] {
    display: block;
    clear: both;
    margin-top: 0.4rem;
    width: 220px; /* tweak if you like */
}

