/* GLOBAL BOXES & LAYOUT OVERIDES [bs-merge - version=2], uses --legacy-rem */

/* Scope --legacy-rem: 12 to old content inside #m_main only.
   Bootstrap header/footer/nav inherit --legacy-rem: 16 from :root (bs-root.css). */
/* Only scale legacy content pages. BS5-content pages carry me-bs → inherit --legacy-rem: 16 from bs-root.css */
html.me-sv-2:not(.me-bs) #m_main {
    --legacy-rem: 12;
}



#m_main {
    background-color: #fff;
    background-image: none;
    height: auto;
    min-height: calc(100vh - 700px);
}


/* box sizing over rides */
#m_section_header,
#m_section_header *,
#m_section_header *::before,
#m_section_header *::after {
    box-sizing: content-box;
}

#m_main .box-size-content,
#m_main .box-size-content *,
#m_main .box-size-content *::before,
#m_main .box-size-content *::after {
    box-sizing: content-box;
}

#m_main .box-size-border,
#m_main .box-size-border *,
#m_main .box-size-border *::before,
#m_main .box-size-border *::after {
    box-sizing: border-box;
}

#m_main #m_actions_wrapper,
#m_main #m_actions_wrapper *,
#m_main #m_actions_wrapper *::before,
#m_main #m_actions_wrapper *::after,
#m_main .keylinks_homepage,
#m_main .keylinks_homepage *,
#m_main .keylinks_homepage *::before,
#m_main .keylinks_homepage *::after {
    box-sizing: border-box;
}

/* Global fonts */
#m_main h1,
#m_main h2,
#m_main h3,
#m_main h4,
#m_main h5,
#m_main h6 {
    margin: calc(var(--legacy-rem) * 1.2px) 0px calc(var(--legacy-rem) * 0.4px) 0px;
    line-height: 1.4em;
}

#m_main h1 {
    font-size: calc(var(--legacy-rem) * 2px);
    margin: 1.2em 0px 0.2em 0px;
    font-weight: 700;
}
#m_main h2 {
    font-size: calc(var(--legacy-rem) * 1.6px);
    font-weight: 700;
}
    #m_main h2:not([class]):not(:has(a.question)):not(:is(.summary_block *)):not(:is(.keylink-block)) {
        margin-bottom: calc(var(--legacy-rem) * 1.6px);
        line-height: 1.4em;
    }
#m_main h3 {
    font-size: calc(var(--legacy-rem) * 1.3px);
    font-weight: 700; 
}

#m_main h4 {
    font-size: calc(var(--legacy-rem) * 1.4px);
}

#m_main h3 + p {
    margin-top: calc(var(--legacy-rem) * .25px);
}

#m_main p:not([class]) {
    margin-top: 1.0em;
    margin-bottom: 1.5em;
    line-height: calc(var(--legacy-rem) * 1.9px);;
}

#m_main h1.thin, #m_main h2.thin {
    font-weight: 300 !important;
    font-size: calc(var(--legacy-rem) * 3.5px);
}

#m_main ol, #m_main li:not([class]) {
    line-height: 140%;
    font-size: calc(var(--legacy-rem) * 1.2px);
    margin-top: calc(var(--legacy-rem) * 1px);
}


#m_main ul:not(.fa-ul) {
    padding: 0 0 0 calc(var(--legacy-rem) * 2px);
}

#m_main li:not([class]) {
    margin-bottom: calc(var(--legacy-rem) * 1px);
}

#m_main b, #m_main strong {
    font-weight: bold;
}

#m_main .small, #m_main small, #m_main small p, #m_main .small p {
        font-size: calc(var(--legacy-rem) * 0.9px) !important;
    line-height: calc(var(--legacy-rem) * 1.35px) !important;
}




