﻿/* ============================================
   HEADINGS & HORIZONTAL RULE (from production)
   ============================================ */

.pageTitle {
    padding: 10px;
    background: #dddddd url(../images/headerTitleBG.jpg) repeat-x top left;
}

    .pageTitle h1 {
        color: #444;
        font-weight: bold;
        font-family: Tahoma;
        font-size: 18px;
        margin-bottom: 0px;
        letter-spacing: 1;
        text-transform: uppercase;
    }

h1 {
    color: #000;
    font-weight: bold;
    font-family: Tahoma;
    font-size: 18px;
    text-transform: uppercase;
}

h2 {
    color: #000;
    font-weight: bold;
    font-family: Tahoma;
    font-size: 18px;
}

h3 {
    color: #193949;
    font-size: 14px;
    font-family: tahoma;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0px;
}

hr {
    border: 0;
    height: 1px;
    color: #000000;
    background-color: #000000;
}

/* ============================================
   MAIN LAYOUT (from production)
   ============================================ */

.mainBody {
    width: 1000px;
    height: 100%;
    background-color: #E5DCCB;
}

table.leftMenu {
    background: #A1B7CF url(Images/leftMenuBottom_bg.jpg) bottom left repeat-x;
    height: 100%;
}

/* ============================================
   MENU STYLES (from production)
   ============================================ */

.menuHolder {
    width: 100%;
    background-color: #fff;
    border-collapse: collapse;
    text-align: right;
    padding-bottom: 20px;
}

.StaticMenuStyle {
    background: fff;
    font-size: 10px;
}

    .StaticMenuStyle td {
        font-weight: normal;
        height: 100%;
        text-align: center;
        font-size: 12px;
    }

table.StaticMenuStyle table {
    border-right: 1px solid #ddd;
    font-size: 10px;
}

.StaticMenuStyle a, .StaticMenuStyle a:visited, .StaticMenuStyle a:active {
    font-family: Tahoma;
    color: #2E6B89;
    text-decoration: none;
    padding: 0px 9px 0px 0px;
    width: 100%;
    height: 100%;
    *display: table;
    white-space: nowrap;
    font-size: 10px;
    font-weight: normal;
}

    .StaticMenuStyle a:hover {
        font-family: Tahoma;
        color: #193949;
        text-decoration: none;
        padding: 0px 9px 0px 0px;
        width: 100%;
        height: 100%;
        *display: table;
        white-space: nowrap;
        font-size: 12px;
        font-weight: normal;
    }

table.StaticHoverStyle {
    background: #eee;
    font-size: 12px;
}

.StaticMenuItemStyle td {
    padding-left: 15px;
    padding-right: 5px;
    *padding-left: 10px;
    *padding-right: 0px;
    font-size: 12px;
}

.StaticHoverStyle td, .DynamicHoverStyle td {
}

.StaticSelectedStyle, .DynamicSelectedStyle {
    font-weight: normal;
    cursor: pointer;
    font-size: 12px;
}

.DynamicMenuStyle a, .DynamicMenuStyle a:visited, .DynamicMenuStyle a:active {
    font-family: Tahoma;
    color: #000000;
    text-decoration: none;
    padding: 7px 9px 7px 9px;
    width: 100%;
    height: 100%;
    display: table;
    white-space: nowrap;
}

.DynamicMenuStyle td {
    border: 1px solid #767679;
    border-collapse: collapse;
    font-weight: normal;
    width: 100%;
    height: 100%;
    background-color: Transparent;
}

.DynamicMenuItemStyle {
    width: 100%;
}

    .DynamicMenuItemStyle td {
        padding: 7 9 7 9;
        *padding: 0 0 0 0;
        border: 0px solid #D8CAAF;
        font-weight: normal;
        text-align: left;
        width: 100%;
    }

.DynamicHoverStyle {
    background-color: #BEBDC2;
    width: 100%;
}

.DynamicMenuStyle a:hover {
    font-family: Tahoma;
    color: #000000;
    text-decoration: none;
    padding: 7px 9px 7px 9px;
    width: 100%;
    height: 100%;
    display: table;
    white-space: nowrap;
}

/*New css form Category based contactus form*/


/* Highlights the selected contact category based on current emailID/title mapping */
.contact-wrapper {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 18px auto 25px;
    max-width: 720px;
}

/*.category-link {
    min-width: 130px;
    padding: 10px 16px;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #f7f7f7;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}*/

.category-link {
    flex: 0 0 165px;
    width: 165px;
    min-width: 165px;
    max-width: 165px;
    box-sizing: border-box;
    padding: 10px 6px;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #f7f7f7;
    color: #222;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
    white-space: normal;
}


    .category-link:hover,
    .category-link:focus {
        background: #e6eef7;
        outline: 2px solid #4d7fb8;
    }

.selected-category-text {
    font-weight: bold;
    margin-left: 5px;
    color: #000;
}

.category-link.selected-category {
    background: #4F6F8C;
    color: #fff !important;
    border: 1px solid #3E5C76;
}

.contact-form {
    max-width: 620px;
    margin: 0 auto;
    text-align: left;
}

    .contact-form label {
        display: block;
        margin-top: 12px;
        font-weight: bold;
    }

.form-input {
    width: 100%;
    height: 28px;
    box-sizing: border-box;
    margin-top: 4px;
}

textarea.form-input {
    height: 85px;
}

.button-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.submit-button,
.reset-button {
    height: 36px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.submit-button {
    flex: 1;
    background: #0d6efd;
    color: #fff;
}

    .submit-button:hover {
        background: #0b5ed7;
    }

.text-red {
    color: red !important;
}

.reset-button {
    width: 90px;
    background: #6c757d;
    color: #fff;
}

    .reset-button:hover {
        background: #5c636a;
    }

.recaptcha-text,
.phone-support,
.disclaimer-text {
    text-align: center;
    margin-top: 15px;
}

.disclaimer-text {
    font-size: 11px;
}

.category-contacting-text {
    margin: 15px 0 20px 0;
    font-size: 15px;
    color: #333;
}

    .category-contacting-text strong {
        font-weight: bold;
    }

.form-row {
    margin-top: 12px;
}

.two-column-row {
    display: flex;
    gap: 12px;
}

.field-half {
    flex: 1;
}

.full-row {
    width: 100%;
}

.form-input {
    width: 100%;
    height: 28px;
    box-sizing: border-box;
    margin-top: 4px;
}

textarea.form-input {
    height: 85px;
}

.button-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.submit-button {
    flex: 1;
}

.reset-button {
    display: none;
}

.category-contact-page .homeContent {
    width: 100%;
}

.category-contact-page .category-contact-content {
    width: 100%;
    padding: 30px 20px 20px;
    vertical-align: top;
    box-sizing: border-box;
}

.category-contact-page .contact-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
}

    .category-contact-page .contact-wrapper > h3 {
        margin: 0 0 20px;
        text-align: center;
    }

.category-contact-page .category-grid {
    margin-bottom: 25px;
}

.category-contact-page .contact-form {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Preserve the existing Contact Us page heading area */
.category-contact-page .pageHeader {
    display: table-cell;
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
}

/* Maintain separation between the blue heading section and category content */
.category-contact-page .category-page-spacing {
    height: 20px;
    padding: 0;
}

/* Prevent the category section from moving into the heading area */
.category-contact-page .contact-wrapper {
    position: relative;
    clear: both;
    margin: 0 auto;
    padding-top: 10px;
}

.font-bold {
    font-weight: bold;
}

.text-green {
    color: green;
}

.message-success {
    display: block;
    width: 100%;
    margin: 10px 0 15px 0;
    color: green !important;
    font-weight: bold;
    text-align: center !important;
    box-sizing: border-box;
}

@media screen and (max-width: 1000px) {

    .contact-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .category-grid {
        width: 100% !important;
        max-width: 760px !important;
        min-width: 0 !important;
        margin: 0 auto 15px !important;
        box-sizing: border-box !important;
    }

        .category-grid a,
        .category-grid button,
        .category-grid input,
        .category-link {
            box-sizing: border-box !important;
        }

    html,
    body,
    form,
    body > center {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    table.main-container,
    table.homeContent,
    table.homeContent > tbody,
    table.homeContent > tbody > tr,
    table.homeContent > tbody > tr > td,
    div[id$="_pnlPageContent"],
    div[id$="_pnlContactForm2"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    table.main-container,
    table.homeContent {
        table-layout: fixed !important;
    }


    .contact-form {
        width: 100% !important;
        max-width: 620px !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .form-row,
    .full-row,
    .additional-fields {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .field-half,
    .field-third,
    .field-full {
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .category-contact-page input,
    .category-contact-page select,
    .category-contact-page textarea {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form .form-input {
        min-height: 30px !important;
        padding: 5px 6px !important;
        border: 2px solid #777 !important;
        box-sizing: border-box !important;
    }

    .contact-form textarea.form-input {
        min-height: 90px !important;
        padding: 6px !important;
        border: 2px solid #777 !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 600px) {

    /* =====================================================
       1. PAGE CONTAINERS
       The console confirms the document width is already
       matching the mobile viewport. Do not force fixed widths.
       ===================================================== */

    html,
    body,
    form#aspnetForm,
    body > center {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    html,
    body {
        overflow-x: hidden !important;
    }

        form#aspnetForm,
        body > center {
            height: auto !important;
            min-height: 0 !important;
            overflow-x: hidden !important;
            overflow-y: visible !important;
        }

    table.main-container,
    table.homeContent,
    table.homeContent > tbody,
    table.homeContent > tbody > tr,
    table.homeContent > tbody > tr > td,
    div[id$="_pnlPageContent"],
    div[id$="_pnlContactForm2"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    table.main-container,
    table.homeContent {
        table-layout: fixed !important;
    }


    /* =====================================================
   TICOR MOBILE NAVIGATION
   Keep header width fixed to viewport and allow only
   the ASP.NET StaticMenu to scroll horizontally.
   ===================================================== */

    /* The generated TD that contains the complete menu */
    td[class*="menuHolder"] {
        display: block !important;
        /* This must be smaller than the 629px StaticMenu */
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        min-width: 0 !important;
        height: 51px !important;
        min-height: 51px !important;
        max-height: 51px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        text-align: left !important;
        direction: ltr !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
        scrollbar-width: thin;
        box-sizing: border-box !important;
        position: relative !important;
    }

        /* Direct ASP.NET menu table inside menuHolder */
        td[class*="menuHolder"] > table[class*="StaticMenu"],
        td[class*="menuHolder"] table[id*="_menu"] {
            display: inline-table !important;
            /* Retain the menu's full intrinsic width */
            width: max-content !important;
            min-width: max-content !important;
            max-width: none !important;
            height: 51px !important;
            min-height: 51px !important;
            margin: 0 !important;
            padding: 0 !important;
            table-layout: auto !important;
            white-space: nowrap !important;
            position: static !important;
            float: none !important;
            left: auto !important;
            right: auto !important;
            transform: none !important;
            box-sizing: border-box !important;
        }

            /* Preserve the generated ASP.NET table row */
            td[class*="menuHolder"] > table[class*="StaticMenu"] > tbody {
                display: table-row-group !important;
            }

                td[class*="menuHolder"] > table[class*="StaticMenu"] > tbody > tr {
                    display: table-row !important;
                    width: max-content !important;
                    white-space: nowrap !important;
                }

        /* Every top-level navigation item stays in one horizontal row */
        td[class*="menuHolder"] table[class*="StaticMenu"] td {
            display: table-cell !important;
            width: auto !important;
            min-width: max-content !important;
            max-width: none !important;
            height: 51px !important;
            margin: 0 !important;
            padding: 0 !important;
            float: none !important;
            position: static !important;
            white-space: nowrap !important;
            vertical-align: middle !important;
            box-sizing: border-box !important;
        }

        /* Generated navigation links */
        td[class*="menuHolder"] table[class*="StaticMenu"] a,
        td[class*="menuHolder"] a[id*="_menu"] {
            display: block !important;
            width: auto !important;
            min-width: max-content !important;
            max-width: none !important;
            height: 51px !important;
            line-height: 51px !important;
            margin: 0 !important;
            padding-left: 12px !important;
            padding-right: 12px !important;
            white-space: nowrap !important;
            box-sizing: border-box !important;
        }


    /* =====================================================
       3. CONTACT PAGE CONTENT
       ===================================================== */

    .contact-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 0 8px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

        .contact-wrapper > h3 {
            display: block !important;
            width: 100% !important;
            margin: 12px 0 !important;
            text-align: center !important;
            box-sizing: border-box !important;
        }


        /* =====================================================
       4. CATEGORY BUTTONS
       Exactly one category per line.
       ===================================================== */

        .contact-wrapper .category-grid {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            gap: 8px !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            margin: 0 auto 15px !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }

            .contact-wrapper .category-grid .category-link,
            .contact-wrapper .category-grid > a,
            .contact-wrapper .category-grid > button,
            .contact-wrapper .category-grid > input {
                display: flex !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                min-height: 44px !important;
                margin: 0 !important;
                padding: 10px 8px !important;
                align-items: center !important;
                justify-content: center !important;
                text-align: center !important;
                white-space: normal !important;
                overflow-wrap: anywhere !important;
                box-sizing: border-box !important;
            }


    /* =====================================================
       5. CONTACT FORM
       ===================================================== */

    .contact-form {
        display: block !important;
        width: 100% !important;
        max-width: 620px !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .category-contacting-text {
        display: block !important;
        width: 100% !important;
        margin: 10px 0 15px !important;
        box-sizing: border-box !important;
    }


    /* =====================================================
       6. KEEP DESKTOP FIELD ARRANGEMENT

       Name and Message: full width
       Email + Phone: same row
       City + State + ZIP: same row
       Property Address + File/Order: same row
       ===================================================== */

    .contact-form .form-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-form .full-row,
    .contact-form .field-full {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 12px !important;
        box-sizing: border-box !important;
    }

    .contact-form .two-column-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 10px !important;
        margin: 0 0 12px !important;
        box-sizing: border-box !important;
    }

        .contact-form .two-column-row > .field-half {
            display: block !important;
            flex: 1 1 0 !important;
            width: 0 !important;
            max-width: none !important;
            min-width: 0 !important;
            margin: 0 !important;
            box-sizing: border-box !important;
        }

    .contact-form .three-column-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 8px !important;
        margin: 0 0 12px !important;
        box-sizing: border-box !important;
    }

        .contact-form .three-column-row > .field-third {
            display: block !important;
            flex: 1 1 0 !important;
            width: 0 !important;
            max-width: none !important;
            min-width: 0 !important;
            margin: 0 !important;
            box-sizing: border-box !important;
        }

    .contact-form .additional-fields {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }


    /* =====================================================
       7. LABELS AND FORM CONTROLS
       ===================================================== */

    .contact-form label {
        display: block !important;
        width: 100% !important;
        margin: 0 0 4px !important;
        box-sizing: border-box !important;
    }

    .contact-form .form-input,
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form textarea {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 5px 6px !important;
        border: 2px solid #777 !important;
        box-sizing: border-box !important;
    }

    .contact-form .form-input,
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form select {
        min-height: 30px !important;
    }

    .contact-form textarea,
    .contact-form textarea.form-input {
        min-height: 90px !important;
        padding: 6px !important;
        resize: vertical !important;
    }


    /* =====================================================
       8. SUBMIT AND RESET BUTTONS

       The console confirms both controls are rendered.
       Keep Submit full width and hide Reset on mobile.
       ===================================================== */

    .contact-form input[type="submit"][value="Submit"],
    .contact-form button[type="submit"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 38px !important;
        margin: 10px 0 !important;
        box-sizing: border-box !important;
    }

    .contact-form input[type="submit"][value="Reset"],
    .contact-form input[type="button"][value="Reset"],
    .contact-form button[value="Reset"] {
        display: none !important;
    }


    /* =====================================================
       9. RECAPTCHA, PHONE AND DISCLAIMER TEXT
       ===================================================== */

    .recaptcha-text,
    .support-phone,
    .contact-disclaimer {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }


    /* =====================================================
       10. TICOR FOOTER
       Preserve its structure without forcing FNTIC styling.
       ===================================================== */

    table.footer,
    table.footer > tbody,
    table.footer > tbody > tr,
    table.footer > tbody > tr > td {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    table.footer {
        table-layout: auto !important;
    }

        table.footer img {
            max-width: 120px !important;
            height: auto !important;
        }
}










