/* --------------------------------------------------------- */

/*  Table of Contents: */
/*
   1. GLOBAL STYLING
   2. GLOBAL FOUNDATION.CSS OVERRIDES/ADDITIONS
   3. HEADER/MASTHEAD
   4. TOP BAR - TITLE BAR - NAVIGATION
   5. LOGO
   6. HEADERS
   7. TEXT
   8. APPLICATION PROGRESS MENU
   9. CONTENT/CONTENT PAGE
  10. FORMS
  11. BUTTONS
  12. DIV BOXES
  13. SUMMARY
  14. FOOTER
*/

/* 1. GLOBAL STYLING
/* --------------------------------------------------------- */

:root {
    --blue: rgba(0, 93, 161, 1);
    --gray: rgba(46, 53, 81, 0.59);
    --dkblue: #142C6C; /* from client live site footer bg */
    --brightblue: #39aefc; /* from axure mock */
    --red: #be1e2d; /* from axure mock */
    --ltgray: #ebebeb; /* for application review odd row bg */
    --gray_ro: #BFBFBF; /* from client live site footer */
    --inputgray: #7e7e7e; /* from live site contact email form */
    --placeholder_gray: #767676; /* inputgray darkened 3% to meet color contrast requirements */
    --dkgray: #3b3f42; /* from live site */
    --black: #000;
    --white: #fff;
    --orange: #ff8c00; /* focus outline color */
}

*{  -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }

*:focus { /* chrome/safari issue - this removes yellow border appearing on selected items */
    outline: none; }

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; /* 16px */
    background-color: var(--white);
    color: var(--textblack); }

div {
    margin: 0;
    padding: 0;	}

/* 2. GLOBAL FOUNDATION.CSS OVERRIDES/ADDITIONS
/* (also look for specific overrides in sections within css) */
/* --------------------------------------------------------- */

.menu > li > a {
    padding: .2rem 1rem; } /* this globally controls all the padding for all menu li links*/

.menu > li > a img, .menu > li > a i, .menu > li > a svg { /*to correct and have even padding around all the .top-bar-right li items*/
    margin-right: 0; }
.req::after {
    content: " *";
}
.noStar.req::after, .noStar::after {
    content: none !important; /* Set content to none to remove the asterisk */
    color: inherit; /* Optionally inherit color from parent */
}
select:focus{
    border: 1px solid #8a8a8a;
    background-color: #fefefe;
    outline: 2px solid var(--orange);
    outline-offset: -2px;

}

/* 3. HEADER/MASTHEAD/POSTMASTHEAD
/* --------------------------------------------------------- */

/* masthead */
#masthead {
    margin: 0;
    padding: 0;
    height: auto; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    #masthead {
        height: 125px; /* Increased to accommodate the larger logo */ }}

/* postmasthead */
#postmasthead {
    margin: 0;
    padding: 0;
    height: 50px;
    background-color: var(--blue); }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    #postmasthead {
        height: 88px; }}

/* 4. TOP BAR - TITLE BAR - NAVIGATION
/* --------------------------------------------------------- */

/* Secondary Top Bar */
.secondary-top-bar {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 25px;
    border: 1px solid #797979;
    background-color: #ebebeb;
    box-sizing: border-box;
}

.secondary-top-bar .row {
    max-width: 1200px;
    margin: 0 auto;
}

.secondary-top-bar-right {
    float: right;
}

.secondary-top-bar-right .menu {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.secondary-top-bar-right .menu li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.secondary-top-bar-right .menu li a {
    display: inline-block;
    padding: 2px 10px;
    color: var(--dkgray);
    font-size: 0.875rem;
    text-decoration: none;
}

.secondary-top-bar-right .menu li a:hover {
    text-decoration: underline;
}

/* Foundation Overrides */
.top-bar {
    margin: 0;
    padding: .625rem .625rem .625rem .625rem;
    background: var(--white); }

.top-bar-left {
    text-align: center;
    width: 100%;
    float: none; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .top-bar-left {
        text-align: left;
        width: auto;
        float: left; }}
@media only screen and (min-width: 48em) and (orientation : portrait) { /* any screen 768px or wider (medium screens) in portrait */
    .top-bar {
        padding: .625rem .9375rem; }}
@media only screen and (min-width: 40em) and (orientation : landscape) { /* any screen 640px or wider (medium screens) */
    .top-bar {
        padding: .625rem .9375rem; }}
@media only screen and (min-width: 41.6875em) and (orientation : landscape) { /* any screen 667px or wider (medium screens) */
    .top-bar {
        padding: .625rem .9375rem; }}
@media only screen and (min-width: 50.75em) and (orientation : landscape) { /* any screen 812px or wider (medium screens) */
    .top-bar {
        padding: .625rem .9375rem; }}
@media only screen and (min-width: 56em) and (orientation : landscape) { /* any screen 896px or wider (large medium screens) */
    .top-bar {
        padding: .625rem .9375rem; }}
@media only screen and (min-width: 60.125em) and (orientation : landscape) { /* any screen 962px or wider (large medium screens) */
    .top-bar {
        padding: .625rem .9375rem; }}
@media only screen and (min-width: 64em) { /* any screen 1080px or wider (large screens and up) */
    .top-bar {
        padding: .625rem .625rem; }}
@media only screen and (min-width: 80em) { /* any screen 1280px or wider (large screens and up) */
    .top-bar {
        padding: .625rem .625rem; }}

.top-bar .contact_info {
    text-align: center;
    margin: .9375rem auto 0 auto;
    font-size: 1.125rem;
    color: var(--dkgray); }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .top-bar .contact_info {
        text-align: right;
        margin: .625rem 0 0 0; }}

/* 5. LOGO
/* --------------------------------------------------------- */

.logo {
    display: block;
    margin: 1.25rem auto .5rem auto;
    width: 296px;
    height: 115px;
    max-width: 100%;
    object-fit: contain; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .logo {
        margin: .875rem 0 .875rem .3125rem; }}

.logo-small {
    display: block;
    width: 296px;
    height: 115px;
    max-width: 100%;
    object-fit: contain;
    margin: 0.5rem auto; }

/* 6. HEADERS
/* --------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    text-transform: capitalize;
    color: var(--textblack);
    font-weight: 700; }

h1 {
    font-size: 2rem;
    color: var(--dkgray); }
h2 {
    font-size: 1.0625rem;
    color: var(--green); }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    h2 {
        font-size: 1.5rem; }}

h3 {
    font-size: 1.1875rem;
    color: var(--textblack);
    font-weight: 700; }
h4 {
    font-size: .8125rem;
    color: var(--black); }

/* 7. TEXT
/* --------------------------------------------------------- */

.explain_text, .explain_text small {
    font-size: 1.0625rem;
    color: var(--black) !important;
}

/* 8. APPLICATION PROGRESS MENU
/* --------------------------------------------------------- */

/* For small view */
#app_progress_small {
    display: block;
    margin: .5rem 0 0 0;
    padding: 0; }

#app_progress_small h4 {
    color: var(--black);
    white-space: nowrap;
    letter-spacing: normal;
    margin-left: .125rem;
    margin-bottom: .1875rem; }

/* Foundation Overrides */
.progress {
    background-color: var(--blue);
    height: 1.375rem;
    margin-bottom: .375rem;
    border-radius: 7px; }

.progress-meter {
    border-radius: 7px 0 0 7px;
    overflow: hidden; }

.progress-meter .progress-meter-text {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--white); }

.progress-meter {
    background-color: var(--blue);
    z-index: 100; }
/* End Foundation Overrides */

/* For large view - horizontal progress bar */
#app_progress_large {
    margin: 0;
    padding: 0;
    background-color: var(--blue);
    height: 40px;
    max-width: 100%;
    clear: both; /* Ensure it clears any floated elements above it */
    width: 100%; /* Ensure it takes full width */ }

#app_progress_large ul {
    margin: 0;
    padding: 0;
    font-size: 0; /* fix for unwanted whitespace between inline list items */ }

#app_progress_large li {
    margin: 0;
    padding: 8px 32px;
    display: inline;
    position: relative;
    height: 40px;
    text-align: center;
    font-size: 1.125rem; /* 18px */
    color: var(--white); }

/* progress states */
#app_progress_large li.active, #app_progress_large li.not_active, #app_progress_large li.completed {
    display: inline-block;
    font-size: 1.125rem;
    height: 40px; }

/* active */
#app_progress_large li.active {
    color: var(--blue);
    font-weight: 700;
    background-color: var(--white);
    border-left: 1px solid var(--white);
    border-right: 1px solid var(--white);
    border-top: none;
    border-bottom: none; }

/* not_active */
#app_progress_large li.not_active {
    color: var(--white);
    font-weight: 400;
    background-color: var(--blue);
    border-left: 1px solid var(--white);
    border-right: 1px solid var(--white);
    border-top: none;
    border-bottom: none; }

/* completed */
#app_progress_large li.completed {
    color: var(--white);
    font-weight: 400;
    background-color: var(--blue);
    border-left: 1px solid var(--white);
    border-right: 1px solid var(--white);
    border-top: none;
    border-bottom: none; }

#app_progress_large li:last-child {
    border-right: none; }

/* 9. CONTENT/CONTENT PAGE
/* --------------------------------------------------------- */

/* Foundation Overrides */
#content .column:last-child:not(:first-child), #content .columns:last-child:not(:first-child) {
    float: right; /* keep this to control the <aside>(app_progress_large right-aligned with contact_info */
    /* float: left;  */ } /*this affects form fields: to align left when in columns that don't add up to 12 on grid*/
/* End Foundation Overrides */

#content {
    margin: 0;
    padding: 0;
    background-color: var(--white); }

/* content_page headers */
/* header title */
#content .header_title {
    margin: .875rem .125rem .125rem .125rem;
    padding: 0 ;
    line-height: 1.2;
}
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    #content .header_title {
        margin: 2.5rem -.3125rem .125em .125rem; /* needed negative right margin to align with contact_info and app_progress_large */ }}

/* explain text */ /*see also .explain_text in section TEXT, this style applies only within #content section */
#content p.explain_text {
    display: block;
    margin-bottom: .625rem;
    padding: 0 .125rem; }
/* end content_page headers */

/* content_page */
.content_page {
    margin: 0;
    padding: 0 .125rem;
    background-color: var(--white);
    border: none; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .content_page {
        margin: 1.75rem 0;
        padding: .625rem 1.4375rem;

        overflow: hidden; }}

.content_page_summary {
    margin: 0;
    padding: 0 .125rem;
    background-color: var(--white);
    border: none; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .content_page_summary {
        margin: 1.75rem 0;
        padding: 0;

        overflow: hidden; }}

.content_page small {
    display: block;
    font-size: .75rem;
    margin: 0 0 .25rem 0;
    float: none; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    .content_page small {
        float: right;
        margin: 0 0 .125rem 0; }}

.loanChoice a[role="button"] {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.25rem 0;
}

.loan-img-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    position: relative;
}

.loan-circle-bg {
    display: block;
    width: 100%;
    height: 100%;
}

.loan-icon {
    display: block;
    height: auto;
    left: 50%;
    max-height: 64px;
    max-width: 76px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48%;
}

.loan-icon-auto,
.loan-icon-motorcycle,
.loan-icon-boat {
    max-width: 82px;
    width: 58%;
}

.loan-icon-house,
.loan-icon-dollar {
    max-height: 70px;
    max-width: 70px;
    width: 50%;
}

.loan-icon-card,
.loan-icon-bill,
.loan-icon-pencil,
.loan-icon-diamond {
    max-width: 72px;
    width: 52%;
}


.loan-label-wrap {
    margin-top: 0.75rem;
    min-height: 2.75rem;
    text-align: center;
}

.loan-label-wrap label {
    color: var(--black);
    cursor: pointer;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 auto;
    max-width: 11rem;
}

/* 10. FORMS
/* --------------------------------------------------------- */

form {
    margin: 0;
    padding: 0;
    clear: both;
    background-color: var(--white); }

label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dkgray); }

[type=text], [type=email], [type=tel], [type=number], [type=date], textarea, select, .input-group-field {
    background-color: var(--white);
    height: 2.375rem;
    color: var(--dkgray);
    font-weight: 400;
    border: 1px solid var(--inputgray);
    border-radius: 5px;
    box-shadow: none; }

.fieldset {
    border: none;
    padding: 0 .9375rem 0 .6875rem;
    margin: .5rem 0 .25rem 0; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    .fieldset {
        padding: 0 .9375rem 0 .9375rem;	}}

.fieldset legend {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dkgray);
    margin: 0;
    margin-left: -1.5rem;
    padding: .4375rem 1.4375rem 0 1.4375rem; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    .fieldset legend {
        margin-left: -1.4375rem; }}

.fieldset .length_of_residence_menu {
    padding: 0 0 0 1.3125rem; }

.fieldset .length_of_residence_menu li {
    padding: .5rem .75rem .5rem 0; }

.fieldset .fieldset_label {
    margin-bottom: .1875rem; }

.fieldset .radio_label {
    margin-bottom: .25rem;
    color: var(--dkgray);
    font-weight: 400; }

[type=checkbox] {
    vertical-align: -2px; }

textarea {
    margin: .625rem auto;
    padding: 8px 16px;
    box-sizing: border-box;
    background-color: var(--white);
    font-size: 1rem;
    outline: none; }

.comments p {
    margin-bottom: 0;
    padding: 1rem 1.4375rem .25rem 1.4375rem; }

select, select option {
    /* text-transform: capitalize; */
    color: var(--dkgray); }

/* placeholder text */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-size: 1rem;
    font-weight: 400;
    /* text-transform: none; */
    color: var(--placeholder_gray); }

input::-moz-placeholder, textarea::-moz-placeholder { /* Firefox 19+ */
    font-size: 1rem;
    font-weight: 400;
    /* text-transform: none; */
    color: var(--placeholder_gray); }

input:-ms-input-placeholder, textarea:-ms-input-placeholder { /* IE 10+ */
    font-size: 1rem;
    font-weight: 400;
    /* text-transform: none; */
    color: var(--placeholder_gray); }

input::placeholder, textarea::placeholder {
    font-size: 1rem;
    font-weight: 400;
    /* text-transform: none; */
    color: var(--placeholder_gray); }

/* 11. BUTTONS
/* --------------------------------------------------------- */

/* Foundation Overrides */
button, .button {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 23px;
    padding: 8px 16px;
    overflow: hidden;
    text-align: center;
    white-space: normal;
    height: auto;
    min-height: 35px;
    min-width: 105px;
    line-height: 1.2;  }

/* Override specific styles for CTA buttons */
.button.cta, .button.summary_cta, .button.back.cta {
    font-size: 1rem; /* Slightly smaller font size for better fit */
}
/* End Foundation Overrides */

.button.cta, .button.summary_cta {
    color: var(--white);
    background-color: var(--blue);
    display: inline-block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 20px;
    border: 1px solid var(--white);

    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    .button.cta, .button.summary_cta {
        width: 140px;
        min-width: 140px; /* Ensure minimum width */
        height: auto; /* Keep height auto for text wrapping */
        min-height: 35px; /* Maintain minimum height */ }

    .button.summary_cta {
        margin-left: 1rem;
        margin-right: 1rem; }}

.button.cta:hover, .button.summary_cta:hover {
    text-decoration: none;
    color: var(--blue);
    background-color: var(--white);
    border: 1px solid var(--blue); }

/* Make span.saved.button.cta always look like button.cta:hover */
span.button.cta {
    text-decoration: none;
    color: var(--blue);
    background-color: var(--white);
    border: 1px solid var(--blue); }

.button.back.cta {
    background-color: var(--blue);
    color: var(--white);
    border-radius: 20px;
    border: 1px solid var(--white);

}

.button.back.cta:hover {
    background-color: var(--white);
    color: var(--blue);
    border: 1px solid var(--blue);
}

.client_button_group {
    margin-top: 1rem; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .client_button_group {
        margin-top: 2rem;
        margin-left: 0; }}

.client_button_group_summary {
    margin-top: 1rem; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .client_button_group_summary {
        margin: .5rem 10rem; }}

/* 12. DIV BOXES
/* --------------------------------------------------------- */

.light-box {
    font-size: .9375rem;
    font-weight: 400;
    background-color: var(--blue);
    border: 3px solid var(--blue);
    color: var(--white);
    padding: 12px 15px;
    margin: 20px; }

.light-box h3, .errors h3, .saved h3 {
    font-size: 1.1875rem;
    margin-bottom: .25rem;
    font-weight: 700; }

.light-box h3 {
    color: var(--green); }

.light_box_subheader {
    text-transform: uppercase;
    font-size: 1.0625rem; }

.errors {
    font-size: .9375rem;
    background-color: var(--red);
    border: 3px solid var(--red);
    color: var(--white);
    padding: 12px 15px;
    margin: 20px; }

.errors h3 {
    color: var(--white); }

.saved {
    font-size: .9375rem;
    color: var(--white);
    background-color: var(--blue);
    border: 3px solid var(--blue);
    padding: 12px 15px;
    margin: 20px; }

.saved h3 {
    color: var(--black); }

.light-box p, .errors p, .saved p {
    margin-bottom: .1rem; }

/* 13. SUMMARY
/* --------------------------------------------------------- */

.summary-section {
    margin: 0;
    padding: 1rem 0;
    background-color: var(--white); }

/* Foundation Overrides */
.summary-section .column, .summary-section .columns {
    padding-left: .4rem; }
/* End Foundation Overrides */

.summary-section:nth-child(odd) {
    background-color: var(--ltgray); }

.summary-section h2 {
    color: var(--green);
    margin-top: .4375rem;
    margin-right: -.5rem; /*to correct misalignment from .columns in foundation.css */
    text-align: right;
    text-rendering: optimizeLegibility; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    .summary-section h2 {
        margin-top: .25rem;
        margin-right: -.4375rem; /*to correct misalignment from .columns in foundation.css */ }}

.summary-section .summary_btn {
    width: 100px; }

.summary1 {
    color: var(--maroon);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    padding:0 .3rem 0 0;
    margin: 0; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    .summary1 {
        padding: .25rem .5rem; }}

.summary2 {
    color: var(--black);
    font-size: 1rem;
    text-align: left;
    padding: 0;
    margin: 0; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    .summary2 {
        font-size: 1rem;
        padding: .25rem .5rem; }}

/* 14. FOOTER
/* --------------------------------------------------------- */

/* needed special id (#client_footer) for footer since #content overrides footer styles */
#client_footer {
    margin: 0;
    padding: 1.5rem 0;
    background-color: var(--blue);
}

/* Foundation Overrides */
#client_footer .menu > li > a {
    padding: .25rem 0; }
/* End Foundation Overrides */

/* footer_links */
#client_footer .footer_links li {
    text-align: center;
    color: var(--white);
    font-size: 1rem; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    #client_footer .footer_links li {
        padding: 0 1rem; }}
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    #client_footer .footer_links li {
        padding: 0 .5rem 0 0;
        text-align: left; }}
@media only screen and (min-width: 85.375em) { /* any screen 1366px or wider (X-large screens and up) */
    #client_footer .footer_links li {
        padding: 0 .5rem 0 0;
        text-align: left; }}

#client_footer .footer_links a:link, #client_footer .footer_links a:visited {
    display: inline-block;
    color: var(--white);
    font-size: 1rem;
    text-decoration: underline; }

#client_footer .footer_links a:hover {
    display: inline-block;
    color: var(--gray_ro); }

/* logo_links */
#client_footer .logo_links {
    margin: 1rem 0 0 0; }
@media only screen and (min-width: 64em) { /* any screen 1024px or wider (large screens and up) */
    #client_footer .logo_links {
        margin: 0; }}

#client_footer .logo_links li {
    padding: .5rem 0; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    #client_footer .logo_links li {
        padding: .5rem 1.25rem .5rem 0; }}

#client_footer .logo_links li:last-child {
    padding: .5rem 0; }

#client_footer .logo_links_end li{
    padding: .5rem 0 0 0; }
@media only screen and (min-width: 40em) { /* any screen 640px or wider (medium screens) */
    #client_footer .logo_links_end li{
        padding: 0; }}

#client_footer .ncua {
    width: 154px;
    height: 72px; }

#client_footer .ehl {
    width: 70px;
    height: 72px; }

#client_footer .secure {
    width: 216px;
    height: 83px;
    max-width: 100%;
    object-fit: contain; }

/* 15. DAKOTALAND MOCKUP OVERRIDES
/* --------------------------------------------------------- */

:root {
    --blue: #009c80;
    --green: #009c80;
    --dakota-dark: #10202c;
    --dakota-footer: #173f34;
    --dakota-page: #d6d6d6;
    --dakota-border: #18aa95;
    --textblack: #10202c;
    --maroon: #10202c;
}

html,
body {
    min-height: 100%;
}

body {
    background-color: var(--dakota-page);
    color: var(--dakota-dark);
}

a,
a:link,
a:visited {
    color: var(--blue);
}

.secondary-top-bar {
    height: auto;
    min-height: 3.5rem;
    border: none;
    background-color: var(--dakota-page);
}

.secondary-top-bar .row {
    max-width: 80rem;
}

.secondary-top-bar-right {
    padding-top: .75rem;
}

.secondary-top-bar-right .menu li a {
    min-width: 7.25rem;
    margin-left: 1.25rem;
    padding: .75rem 1.25rem;
    border-radius: 4px;
    background-color: var(--blue);
    color: var(--white);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.secondary-top-bar-right .menu li a:hover {
    background-color: var(--dakota-footer);
    color: var(--white);
    text-decoration: none;
}

#masthead {
    background-color: var(--dakota-page);
}

@media only screen and (min-width: 64em) {
    #masthead {
        height: 5rem;
    }
}

.top-bar {
    background-color: var(--dakota-page);
    padding-top: 0;
    padding-bottom: 0;
}

.top-bar-left {
    float: none;
    width: 100%;
    text-align: center;
}

.logo {
    width: 19.5rem;
    height: auto;
    margin: -1rem auto .25rem auto;
}

@media only screen and (min-width: 64em) {
    .top-bar-left {
        float: left;
        width: auto;
        text-align: left;
    }

    .logo {
        width: 19.5rem;
        margin: -3rem 0 .25rem 1rem;
    }
}

h1,
h2,
h3,
h4,
label,
.explain_text {
    color: var(--dakota-dark);
}

#app_progress_large {
    position: relative;
    width: min(40rem, calc(100% - 2rem));
    height: 3.375rem;
    margin: .25rem auto 1.75rem auto;
    background-color: transparent;
    overflow: visible;
}

#app_progress_large ul {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

#app_progress_large ul::before {
    content: "";
    position: absolute;
    top: .375rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 6px;
    background-color: var(--blue);
}

@media only screen and (min-width: 64em) {
    #app_progress_large {
        left: 1rem;
        top: -2.17rem;
        width: 46rem;
        margin: -3.65rem 0 .9rem max(20.75rem, calc((100vw - 80rem) / 2 + 20.75rem));
    }
}

#app_progress_large li,
#app_progress_large li.active,
#app_progress_large li.not_active,
#app_progress_large li.completed {
    display: block;
    flex: 1 1 0;
    width: auto;
    height: 3rem;
    padding: 1.55rem 0 0 0;
    border: none;
    background-color: transparent;
    color: var(--dakota-dark);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

#app_progress_large li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin-left: -.5rem;
    border-radius: 50%;
    background-color: var(--blue);
    z-index: 1;
}

#app_progress_large li.active {
    color: var(--blue);
}

#app_progress_large li.active::before {
    background-color: var(--dakota-dark);
}

#app_progress_large li.completed::before {
    background-color: var(--blue);
}

#content {
    min-height: calc(100vh - 17rem);
    background-color: var(--dakota-page);
}

#content > .row {
    max-width: 52rem;
}

#content .header_title {
    margin-top: .75rem;
    margin-bottom: 1.25rem;
    color: var(--dakota-dark);
    font-size: 1.625rem;
    font-weight: 800;
    text-transform: none;
}

@media only screen and (min-width: 64em) {
    #content .header_title {
        margin: .75rem 0 1.25rem 0;
    }
}

#content p.explain_text {
    max-width: 46rem;
    margin-bottom: 1.5rem;
    padding: 0;
    color: var(--dakota-dark);
    font-size: .9375rem;
    line-height: 1.2;
}

.landing-intro-row {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}

.landing-intro-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.landing-member-login {
    flex: 0 0 18rem;
}

.member-login-callout {
    width: 100%;
    margin-top: .25rem;
    padding: 1.05rem 1.25rem 1.25rem 1.25rem;
    border: 1px solid var(--blue);
    border-radius: 4px;
    text-align: center;
}

.member-login-callout h2 {
    margin-bottom: .9rem;
    color: var(--dakota-dark);
    font-size: 1.0625rem;
    font-weight: 800;
    text-transform: none;
}

.member-login-callout p {
    margin: 0 0 .7rem 0;
    color: var(--dakota-dark);
    font-size: .875rem;
    line-height: 1.2;
}

.member-login-callout .member-login-button {
    width: 100%;
    min-width: 0;
    margin: 0;
    min-height: 2.4rem;
    padding: .65rem 1rem;
}

.co-borrower-notice-modal {
    max-width: 38rem;
    border: 1px solid var(--blue);
    border-radius: 4px;
    color: var(--dakota-dark);
}

.co-borrower-notice-modal h2 {
    margin: 0 2rem 1.25rem 0;
    color: var(--dakota-dark);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: none;
}

.co-borrower-notice-modal h3 {
    margin-bottom: 1rem;
    color: var(--dakota-dark);
    font-size: 1.125rem;
    font-weight: 800;
    text-transform: none;
}

.co-borrower-notice-modal p {
    margin-bottom: 0;
    color: var(--dakota-dark);
    font-size: 1rem;
    line-height: 1.45;
}

.content_page,
.content_page_summary,
form {
    background-color: var(--dakota-page);
}

.content_page,
.content_page_summary {
    overflow: visible;
}

#submitFormPage > .row,
.content_page > .row {
    margin-left: 0;
    margin-right: 0;
}

@media only screen and (min-width: 64em) {
    .content_page,
    .content_page_summary {
        margin: 0;
        padding: 0 .75rem;
        overflow: visible;
    }
}

#content .large-6.columns,
#content .medium-6.columns {
    padding-left: .75rem;
    padding-right: .75rem;
}

label {
    margin-bottom: .125rem;
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.2;
}

[type=text],
[type=email],
[type=tel],
[type=number],
[type=date],
textarea,
select,
.input-group-field {
    height: 2.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--dakota-border);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--dakota-dark);
    font-size: 1rem;
    box-shadow: none;
}

[type=text]:focus,
[type=email]:focus,
[type=tel]:focus,
[type=number]:focus,
[type=date]:focus,
textarea:focus,
select:focus,
.input-group-field:focus {
    border-color: var(--blue);
    outline: 2px solid rgba(0, 156, 128, .25);
    outline-offset: 0;
    box-shadow: none;
}

[type=radio] {
    accent-color: var(--blue);
}

.button.cta,
.button.summary_cta,
.button.back.cta {
    min-width: 9.5rem;
    min-height: 2.75rem;
    padding: .75rem 1.5rem;
    border: 1px solid var(--blue);
    border-radius: 4px;
    background-color: var(--blue);
    color: var(--white);
    font-size: .9375rem;
    font-weight: 800;
}

.button.cta:hover,
.button.summary_cta:hover,
.button.back.cta:hover {
    border-color: var(--dakota-footer);
    background-color: var(--dakota-footer);
    color: var(--white);
}

span.button.cta {
    border-color: var(--dakota-border);
    background-color: transparent;
    color: var(--blue);
}

#defaultButtons,
#confirmButton {
    clear: both;
    margin-top: 1.75rem;
    padding-top: 2rem;
    border-top: 5px solid var(--dakota-dark);
}

#defaultButtons #next,
#confirmButton .columns:last-child {
    float: left;
}

#nextButton,
#submitModalLink {
    float: none !important;
}

#client_footer {
    margin-top: 2rem;
    padding: .5rem 0 0 0;
    min-height: 4rem;
    background-color: var(--dakota-footer);
    color: var(--white);
    text-align: center;
}

#client_footer p {
    margin: 0;
    color: var(--white);
}

#client_footer .footer-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8;
}

#client_footer .footer-insurance {
    font-size: .9375rem;
    line-height: 1.8;
}

@media only screen and (max-width: 39.9375em) {
    .secondary-top-bar-right {
        float: none;
        padding: .75rem 0;
        text-align: center;
    }

    .secondary-top-bar-right .menu li a {
        min-width: 0;
        margin: .25rem;
        padding: .65rem .75rem;
    }

    .logo {
        width: 16rem;
        margin-top: .5rem;
    }

    #content > .row {
        max-width: calc(100% - 1.5rem);
    }

    .landing-intro-row {
        display: block;
    }

    .landing-member-login {
        width: 100%;
    }

    .member-login-callout {
        margin: 0 0 1.25rem 0;
    }

    #defaultButtons .columns,
    #confirmButton .columns {
        width: 50%;
    }
}
