/*
   LetsGetDivorced.com - Eligibility form redesign
   Initial version: Eligibility Screen 1 only

   Load this stylesheet AFTER common.css.
   All selectors are limited to pages with the lgd-eligibility-page class.
   It does not change the older post-registration questionnaire pages.
*/

/* PAGE BACKGROUND */
body.lgd-eligibility-page {
    background-color: #fcfdff;
}

/* MAIN FORM PANEL */
.lgd-eligibility-page .lgd-eligibility-form {
    width: 100%;
    max-width: 570px;
    background-color: #ffffff;
    border: 1px solid #dce5ed;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-spacing: 0px;
    box-sizing: border-box;

    /* Shadow: horizontal 0px, vertical 2px, blur 8px, spread 0px, color #e5eaf0 */
    box-shadow: 0px 2px 8px 0px #e5eaf0;
}

/* SIX-CELL PROGRESS BAR: SAME ORIGINAL TABLE */
.lgd-eligibility-page .lgd-eligibility-progress {
    font-family: 'Inter', Arial, sans-serif;
}

.lgd-eligibility-page .lgd-eligibility-progress td {
    height: 27px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13pt;
    font-weight: 600;
    text-align: center;
}

.lgd-eligibility-page .lgd-eligibility-progress-complete {
    background-color: #319b51;
    color: #ffffff;
}

.lgd-eligibility-page .lgd-eligibility-progress-upcoming {
    background-color: #e5e9ee;
    color: #545c68;
}

/* BLUE FORM HEADER */
.lgd-eligibility-page .lgd-eligibility-header {
    width: 100%;
    height: auto;
    padding-top: 13pt;
    padding-bottom: 13pt;
    padding-left: 10pt;
    padding-right: 10pt;
    background-color: #0869b8;
    background-image: none;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    box-sizing: border-box;
}

/* QUESTION TEXT */
.lgd-eligibility-page .lgd-eligibility-question {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13pt;
    font-weight: 600;
    line-height: 1.5;
    color: #263849;
}

/* DIVIDERS BETWEEN QUESTIONS */
.lgd-eligibility-page .lgd-eligibility-divider {
    border-top: 1px solid #e2e7ed;
}

/* VALIDATION MESSAGE: THE PHP CONDITIONS ARE UNCHANGED */
.lgd-eligibility-page .lgd-eligibility-error {
    background-color: #ffffff;
    border: 1px solid #d98e8e;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* VALIDATION MESSAGE TEXT */
.lgd-eligibility-error td {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12pt;
    line-height: 1.4;
    color: #FF0000;
}

/* BACK BUTTON: LIGHT GRAY SECONDARY BUTTON */

.lgd-eligibility-page .lgd-eligibility-btn-back {
    display: inline-block;
    margin-left: 10pt;
    width: 80px;
    padding-top: 11pt;
    padding-bottom: 11pt;
    padding-left: 0px;
    padding-right: 0px;
    background-color: #eeeeee;
    background-image: none;
    border: 1px solid #cccccc;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    color: #444444;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14pt;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

.lgd-eligibility-page .lgd-eligibility-btn-back:hover {
    background-color: #dddddd;
    color: #333333;
    text-decoration: none;
}

.lgd-eligibility-page .lgd-eligibility-btn-back:focus {
    outline: 2px solid #185d9e;
    outline-offset: 3px;
}

/* PRIMARY BUTTON: GREEN, FLAT, NO LEGACY BEVEL */
.lgd-eligibility-page .lgd-eligibility-btn-primary {
    display: inline-block;
    width: 240px;
    max-width: 90%;
    padding-top: 11pt;
    padding-bottom: 11pt;
    padding-left: 0px;
    padding-right: 0px;
    background-color: #319b51;
    background-image: none;
    border: 1px solid #288346;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14pt;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

.lgd-eligibility-page .lgd-eligibility-btn-primary:hover {
    background-color: #278744;
    border-color: #23783d;
    color: #ffffff;
    text-decoration: none;
}

.lgd-eligibility-page .lgd-eligibility-btn-primary:focus {
    outline: 2px solid #185d9e;
    outline-offset: 3px;
}

.lgd-eligibility-page .lgd-eligibility-btn-label {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14pt;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

/* MOBILE: RETAIN THE EXISTING TABLE LAYOUT */
@media screen and (max-width: 600px) {

    .lgd-eligibility-page .lgd-eligibility-form {
        box-shadow: none;
    }

    /* Add 10pt spacing on each side of the form */
    .lgd-eligibility-page .lgd-eligibility-outer-cell {
        padding-left: 10pt;
        padding-right: 10pt;
    }
}





body.ldg-login-pages {
    background-color: #fcfdff;
}

/* PRIMARY BUTTON: GREEN, MATCHING ELIGIBILITY FORMS */
.ldg-login-pages .ldg-login-btn-primary {
    display: inline-block;
    padding-top: 8pt;
    padding-bottom: 8pt;
    padding-left: 20pt;
    padding-right: 20pt;
    background-color: #319b51;
    background-image: none;
    border: 1px solid #288346;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    color: #ffffff;
    font-family: 'intersemibold', 'Segoe UI', system-ui, sans-serif;
    font-size: 14pt;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

.ldg-login-pages .ldg-login-btn-primary:hover {
    background-color: #278744;
    border-color: #23783d;
    color: #ffffff;
    text-decoration: none;
}

.ldg-login-pages .ldg-login-btn-primary:focus {
    outline: 2px solid #185d9e;
    outline-offset: 3px;
}





body.lgd-common-forms-page {
    background-color: #fcfdff;
}

/* CONTACT FORM: PRIMARY SEND BUTTON */
.lgd-contact-btn-primary {
    width: 175px;
    padding-top: 8pt;
    padding-bottom: 8pt;
    background-color: #319b51;
    background-image: none;
    border: 1px solid #288346;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    color: #ffffff;
    font-family: 'intersemibold', 'Segoe UI', system-ui, sans-serif;
    font-size: 14pt;
    font-weight: normal;
    cursor: pointer;
}

.lgd-contact-btn-primary:hover {
    background-color: #278744;
    border-color: #23783d;
}



