/* EViews mobile navigation
   Desktop: no changes to the original #topnav / #mainnav menus.
   Mobile: the existing desktop menus are hidden only after the new navigation
   has been built.  Existing site-wide stylesheets load before this file. */

#ev-mobile-menu-toggle,
#ev-mobile-nav { display: none; }

@media only screen and (max-width: 1024px) {
    #header-updated.ev-mobile-ready {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        display: flex !important;
        position: relative !important;
        float: none !important;
        flex-flow: row wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 10px !important;
        padding: 8px 14px !important;
        background: #fff;
        border-bottom: 1px solid #d4dfe6;
    }

    #header-updated.ev-mobile-ready #header-left {
        box-sizing: border-box !important;
        position: static !important;
        display: block !important;
        float: none !important;
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 105px) !important;
        height: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #header-updated.ev-mobile-ready #logo { float: none !important; }
    #header-updated.ev-mobile-ready #logo,
    #header-updated.ev-mobile-ready #logo a { max-width: 100% !important; }

    #header-updated.ev-mobile-ready #header-right,
    #header-updated.ev-mobile-ready .ev-header-clear { display: none !important; }

    #header-updated.ev-mobile-ready #ev-mobile-menu-toggle {
        box-sizing: border-box !important;
        display: inline-flex !important;
        position: static !important;
        float: none !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-height: 44px !important;
        min-width: 88px !important;
        margin: 0 !important;
        padding: 8px 11px !important;
        border: 1px solid #b6cfdf !important;
        border-radius: 5px !important;
        background: #eef5f9 !important;
        color: #245f88 !important;
        font: 600 15px/1.3 "Source Sans Pro", Arial, sans-serif !important;
        text-align: center !important;
        cursor: pointer !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-menu-toggle:focus-visible,
    #header-updated.ev-mobile-ready #ev-mobile-nav a:focus-visible,
    #header-updated.ev-mobile-ready #ev-mobile-nav button:focus-visible {
        outline: 3px solid #2d7ead !important;
        outline-offset: 2px !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-menu-toggle .ev-menu-icon { font-size: 23px; line-height: 1; }
    #header-updated.ev-mobile-ready #ev-mobile-menu-toggle[aria-expanded="true"] {
        background: #dcecf5 !important;
        border-color: #8db3cc !important;
    }

    #header-updated.ev-mobile-ready #ev-mobile-nav:not([hidden]) {
        box-sizing: border-box !important;
        display: block !important;
        flex: 0 0 100% !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto !important;
        overscroll-behavior: contain;
        margin: 8px 0 0 !important;
        padding: 0 !important;
        background: #fff !important;
        color: #34434d !important;
        border-top: 1px solid #dce6ed !important;
        -webkit-overflow-scrolling: touch;
        z-index: 1000 !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav[hidden],
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-submenu[hidden] { display: none !important; }

    #header-updated.ev-mobile-ready #ev-mobile-nav ul {
        box-sizing: border-box !important;
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        background: transparent !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav li {
        box-sizing: border-box !important;
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        background: transparent !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-nav-item {
        border-bottom: 1px solid #e4ebef !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav a,
    #header-updated.ev-mobile-ready #ev-mobile-nav button {
        box-sizing: border-box !important;
        position: static !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        float: none !important;
        width: 100% !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 11px 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #245f88 !important;
        font: 600 16px/1.45 "Source Sans Pro", Arial, sans-serif !important;
        text-align: left !important;
        text-decoration: none !important;
        white-space: normal !important;
        cursor: pointer !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav a:hover,
    #header-updated.ev-mobile-ready #ev-mobile-nav button:hover {
        background: #edf4f8 !important;
        color: #174c70 !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-submenu {
        background: #f3f7fa !important;
        border-top: 1px solid #e1eaf0 !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-submenu a {
        min-height: 44px !important;
        padding: 10px 13px 10px 26px !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        border-bottom: 1px solid #e1eaf0 !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-submenu li:last-child a {
        border-bottom: 0 !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-caret {
        display: inline-block !important;
        margin-left: 12px !important;
        color: #2874a6 !important;
        transition: transform 160ms ease;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-section-toggle[aria-expanded="true"] .ev-mobile-caret {
        transform: rotate(180deg);
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-buy > button {
        color: #fff !important;
        background: #2874a6 !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-buy > button .ev-mobile-caret {
        color: #fff !important;
    }
    #header-updated.ev-mobile-ready #ev-mobile-nav .ev-mobile-buy > button:hover {
        background: #245f88 !important;
        color: #fff !important;
    }
}
