/* Property Tax Drop (propertytaxdrop.com) theme: blue #3f65af, green #31b44b, navy from the logo, Outfit */
/* Outfit is self-hosted; paths are relative to this stylesheet */
@font-face { font-family: 'Outfit'; src: url('../fonts/ptd/Outfit-latin-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; src: url('../fonts/ptd/Outfit-latin-ext-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Typed-signature font (Google Fonts, OFL), self-hosted */
@font-face { font-family: 'Homemade Apple'; src: url('../fonts/ptd/HomemadeApple-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
    --ptd-blue: #3f65af;
    --ptd-green: #31b44b;
    --ptd-navy: #1b2a5e;
    --ptd-header: linear-gradient(135deg, #1b2a5e 0%, #3f65af 100%);
    --ptd-section: #f7f7f7;
}

body { font-family: 'Outfit', Helvetica, Arial, sans-serif; }
h1, h2, h3, h4, h5, h6 { color: #000000; }
a { color: var(--ptd-blue); }

#top-header.headerPTD,
#top-header.headerPTD.header-scrolled {
    background: var(--ptd-header) !important;
    border-bottom: 3px solid var(--ptd-green);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.headerPTD .header-top .button-wrap p,
.headerPTD .contact_number a,
.headerPTD .contact_number a:hover { color: #ffffff; }
.logoImgPTD { max-width: 190px; }

.btn-primaryPTD { background-color: var(--ptd-green); color: #ffffff; }
.action-barPTD { background-color: var(--ptd-blue); }
.ReduceTax_info { background: var(--ptd-header); }
.sign-form-page-box.iframesign-formBox { background: var(--ptd-section); }

@media (max-width: 767px) {
    .logoImgPTD { max-width: 140px; }
}

.ptd-footer { background: var(--ptd-navy); border-top: 3px solid var(--ptd-green); color: #ffffff; text-align: center; padding: 18px 0; font-size: 14px; }
.ptd-footer p { margin: 0; }
.ptd-footer .ptd-footer-copy { margin-top: 4px; opacity: 0.85; font-size: 12px; }

/* County is fixed to Nassau: show it as a locked field, not a dropdown */
#dropDownListCounty:disabled {
    background-color: #f1f4fa;
    color: #1b2a5e;
    opacity: 1;
    cursor: not-allowed;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
}

/* Sticky footer: short pages (Success, InActive, 404) keep the footer at the bottom of the viewport */
html { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > form#form1 { flex: 1 0 auto; width: 100%; min-width: 0; } /* min-width:0 stops wide children (documents) from stretching the flex item past the viewport */
.ptd-footer { margin-top: auto; flex-shrink: 0; }

/* Sidebar headings default to black via the global heading rule; keep them readable on the dark panel */
.ReduceTax_info h1, .ReduceTax_info h2, .ReduceTax_info h3, .ReduceTax_info h4, .ReduceTax_info h5, .ReduceTax_info h6 { color: #ffffff; }

/* Phones: one-row header so it cannot grow taller than the space the pages reserve for it (85px) */
@media (max-width: 575px) {
    #top-header.headerPTD .header-top { flex-wrap: nowrap; gap: 8px; }
    #top-header.headerPTD .property_expert { display: none; }
    #top-header.headerPTD .button-wrap { margin: 0; align-items: flex-end; }
    #top-header.headerPTD .contact_number { margin: 0; }
    #top-header.headerPTD .contact_number a { font-size: 14px; white-space: nowrap; gap: 6px; }
    .logoImgPTD { max-width: 125px; }
}

/* Generated authorization documents have fixed-width tables: scroll sideways on phones instead of clipping */
@media (max-width: 767px) {
    #divText { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
}

/* Tablet: the theme forces a 768px minimum, which overflows the viewport once a scrollbar takes ~10px */
@media screen and (max-width: 1000px) and (min-width: 768px) {
    .sign-form-page-box.iframesign-formBox .container { min-width: 0; }
}

/* Tablet: the generated document is ~800px wide. Zero intrinsic width + min-width:100% makes the box scroll
   sideways instead of stretching the (table-layout) page past the viewport. */
@media screen and (min-width: 768px) and (max-width: 830px) {
    #divText { width: 0; min-width: 100%; overflow-x: auto; }
}

/* ---- Button system (Apply) -------------------------------------------------
   Primary CTAs (Submit, Continue, Get Started) stay PTD green like propertytaxdrop.com.
   Bootstrap's default blue (#337ab7) is replaced by PTD blue; secondary = white. */
.btn-primary { background-color: #3f65af; border-color: #2f4d8c; color: #ffffff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: #2f4d8c; border-color: #2f4d8c; color: #ffffff; }
.btn-default { background-color: #ffffff; border-color: #d9dae3; color: #555555; }
.btn-default:hover, .btn-default:focus { background-color: #e8eef8; border-color: #b9c9e6; color: #3f65af; }
body .ptd-secondary:not(#_),
body .ptd-secondary.btn-primaryPTD:not(#_) {
    background-color: #ffffff !important;
    border: 1px solid #d9dae3 !important;
    color: #555555 !important;
    box-shadow: none;
}
body .ptd-secondary:not(#_):hover,
body .ptd-secondary:not(#_):focus {
    background-color: #e8eef8 !important;
    border-color: #b9c9e6 !important;
    color: #3f65af !important;
    filter: none;
}
.btn-danger { background-color: #d9534f; border-color: #d43f3a; color: #ffffff; }
.btn-danger:hover, .btn-danger:focus { background-color: #c9302c; border-color: #ac2925; }
.btn:disabled, .btn.disabled, .disable_btn { opacity: .55; cursor: not-allowed; }
.clear-text { color: #3f65af; }
