.smartpages-menu-item { position: relative; }
.smartpages-menu-item > .js-smartpages-submenu-toggle { border: 0; background: transparent; color: black; padding: 1rem; font: inherit; cursor: pointer; }
.smartpages-menu-item:has(> .smartpages-submenu) { display: flex; align-items: center; flex-wrap: wrap; }
.smartpages-menu-item > .smartpages-submenu-arrow { padding: .6rem; }
.smartpages-submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; max-width: min(90vw, 360px); z-index: 100; background: white; color: #18396a; box-shadow: 0 6px 18px #0003; list-style: none; padding: .5rem; margin: 0; }
.submenu-open > .smartpages-submenu { display: block; }
.smartpages-submenu a { display: block; padding: .75rem 1rem; white-space: normal; text-decoration: none; }
.smartpages-submenu a:hover, .smartpages-submenu a:focus-visible, .smartpages-submenu a[aria-current] { background: #e7edf5; }
.smartpages-more-list .smartpages-submenu { position: static; box-shadow: none; }
@media (max-width: 767.98px) {
    .smartpages-menu-item:has(> .smartpages-submenu) > a { width: auto; flex: 1; }
    .smartpages-submenu { position: static; flex-basis: 100%; width: 100%; max-width: none; box-shadow: none; padding-left: 1rem; }
}
.smartpages-context {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: 4rem;
    color: var(--t-normal, #48515a);
}

.smartpages-context .header-page {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: max(180px, var(--smartpages-header-height, 220px));
    padding: 1rem 0;
    margin: 0;
    color: #fff;
    background-color: var(--smartpages-header-bg, #0c2942);
    background-image: var(--smartpages-header-image, none);
    background-repeat: var(--smartpages-bg-repeat, no-repeat);
    background-position: var(--smartpages-bg-position, center);
    background-size: var(--smartpages-bg-size, cover);
    background-attachment: var(--smartpages-bg-attachment, scroll);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.smartpages-context .header-page h1 {
    color: var(--smartpages-title-color, #fff);
    font-size: var(--smartpages-title-size, 40px);
}

.smartpages-context .header-page .introtext {
    color: var(--smartpages-intro-color, #fff);
    font-size: var(--smartpages-intro-size, 16px);
}

.smartpages-context .header-page .btn {
    color: #fff;
    border-color: var(--smartpages-title-color, #fff);
    background: var(--smartpages-title-color, #fff);
}

.smartpages-internal-nav {
    position: relative;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid rgba(0, 54, 112, .14);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.smartpages-menu-list,
.smartpages-more-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smartpages-menu-list {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.smartpages-menu-item > a,
.smartpages-more > button {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 1rem 1.25rem;
    color: var(--p-normal, #003670);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    background: transparent;
}

.smartpages-menu-home > a {
    justify-content: center;
    min-width: 3.5rem;
    font-size: 1.1rem;
}

.smartpages-menu-item > a:hover,
.smartpages-menu-item > a:focus,
.smartpages-more > button:hover,
.smartpages-more > button:focus,
.smartpages-menu-item.is-active > a {
    color: #fff;
    background: var(--p-normal, #003670);
}

.smartpages-menu-item.is-active > a,
.smartpages-menu-item.is-active .js-smartpages-submenu-toggle,
.smartpages-menu-item.is-active .smartpages-submenu-arrow{
    background: var(--smartpages-title-background, var(--p-normal, #003670));
    color: var(--smartpages-title-color, #fff);
    box-shadow: inset 0 -4px 0 var(--s-normal, #f2b705);
}

.smartpages-menu-item.is-active .smartpages-submenu-arrow{
    height: 100%;
}

.smartpages-menu-item.is-active > a span {
    color: var(--smartpages-title-color, #fff);
}

.smartpages-more {
    position: relative;
    margin-left: auto;
}

.smartpages-more-list {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    min-width: 240px;
    padding: .5rem;
    background: #fff;
    border-radius: 0 0 .5rem .5rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.smartpages-more.is-open .smartpages-more-list {
    display: block;
}

.smartpages-more-list .smartpages-menu-item > a {
    width: 100%;
    border-radius: .35rem;
}

.smartpages-menu-toggle {
    display: none;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .9rem 0;
    color: var(--p-normal, #003670);
    font-size: 1rem;
    font-weight: 700;
    border: 0;
    background: transparent;
}

@media (max-width: 767.98px) {
    .smartpages-context .header-page {
        min-height: 180px;
        padding: 2rem 0;
        background-attachment: scroll;
    }

    .smartpages-menu-toggle {
        display: flex;
    }

    .smartpages-menu-panel {
        display: none;
        padding-bottom: .75rem;
    }

    .smartpages-menu-panel.is-open {
        display: block;
    }

    .smartpages-menu-list {
        display: block;
    }

    .smartpages-menu-item > a {
        width: 100%;
        padding: .85rem 1rem;
        border-radius: .35rem;
        white-space: normal;
    }

    .smartpages-more {
        display: none !important;
    }
}

/* Optional full-width title band below the logo/header image. */
.smartpages-context .smartpages-title-band {
    width: 100%;
    padding: 1.5rem 0;
    background-color: var(--smartpages-title-background, transparent);
}

.smartpages-context .smartpages-title-band h1 {
    margin: 0;
    color: var(--smartpages-title-color, #fff);
    font-size: var(--smartpages-title-size, 40px);
    line-height: 1.2;
}

.smartpages-context .smartpages-title-band .introtext {
    color: var(--smartpages-intro-color, #fff);
    font-size: var(--smartpages-intro-size, 16px);
}

.smartpages-context .smartpages-title-band h1 + .introtext {
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .smartpages-context .smartpages-title-band {
        padding: 2rem 0;
    }

    .smartpages-menu-toggle{
        width: max-content;
        margin-left: auto;
        padding: 16px;
        background-color: var(--smartpages-title-background, transparent);
        color: var(--smartpages-title-color, #fff);
    }
    .smartpages-menu-panel .smartpages-menu-home {
        display: none !important;
    }

    .smartpages-menu-home > a{
        font-size: 23px;
    }
}

.smartpages-menu-item a:hover{
    color: white !important;
}



@media (max-width: 575px) {
    .smartpages-context .title-page img{
        width: auto;
        height: auto !important;
        max-height: 200px;
    }

    .smartpages-context .smartpages-title-band h1{
        font-size: 19px;
    }
}

.smartpages-internal-nav .container{
    position: relative;
}

.smartpages-menu-panel.is-open{
    position: absolute;
    background: white;
    width: calc(100% - 1rem);
    left: 0;
    border-radius: 0 0 1rem 1rem;
    padding: 12px 1rem;
    box-shadow: 0px 10px 13px -2px rgba(0, 0, 0, .15) !important;
}


.smartpages-submenu{
    background-color: var(--smartpages-title-background, white) !important;
    color: var(--smartpages-title-color, #000);
    border-radius: 0 0 1em 1rem;
}

.smartpages-submenu a{
    color: var(--smartpages-title-color, #000) !important;   
    position: relative;
}
.smartpages-submenu a:hover{
    color: var(--smartpages-title-color, #000) !important;   
    text-decoration: underline;
}
.smartpages-submenu a:hover,
.smartpages-submenu a:focus-visible,
.smartpages-submenu a[aria-current]{
    background-color: transparent !important;
}

.smartpages-submenu a[aria-current]:before{
    content: "\f138" !important;
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome\ 6 Free";
    font-size: 13px;
    margin-right: 5px;
    height: 100%;
    align-content: center;
}
