.navbar-dark .navbar-nav .dropdown-toggle:after {vertical-align: .15em;} 
#navbarTopNav .dropdown-submenu > .dropdown-menu > li:first-of-type{display: none;}
.megaExtraCol {display: none;}
@media screen and (min-width: 998px) {
    #navbarTopNav .dropdown > .dropdown-menu {
        padding: 2.5em;
        background: #514689;
    }
    #navbarTopNav .navbar-nav .dropdown-submenu > .dropdown-menu {
        background: #514689;
    }
    #navbarTopNav .dropdown-menu > li > a.dropdown-toggle::after {text-decoration: none; margin-top:0;}
    #navbarTopNav .dropdown-item {
        color: #052049;
        border-bottom: 1px solid #d5d9de;
    }
    #navbarTopNav .dropdown a.external-link::after {
        font: normal 900 0.75em/1 "Font Awesome 5 Free";
        display: inline-block;
        text-rendering: auto;
        margin-left: .3em;
        content: "\f35d";
        text-decoration: none;
    }
    #navbarTopNav .dropdown > .dropdown-menu > li {width: 50%; margin-right: 50%}
    #navbarTopNav .dropdown-submenu {
        position: relative;
    }
    
    #navbarTopNav li.dropdown-submenu>a:after {
        content: "\f0da";
        float: right;
        border: none;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        text-decoration: none;
        margin:0
    }

    #navbarTopNav .dropdown-submenu > .dropdown-menu > li:first-of-type{
        display: block;
        padding-left: 2rem;
        font-weight: 900;
        font-size: .9em;
        text-transform: uppercase;
    }
    #navbarTopNav .navbar-nav .dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    right: 0;
    margin-left: 1em;
    }

    /* .dropdown-menu li:last-of-type .dropdown-menu li:not(:last-of-type) .dropdown-item{border-bottom: 1px solid #d5d9de;} */
    #navbarTopNav .dropdown-menu li:last-of-type .dropdown-item{border-bottom: 1px solid #d5d9de;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(2) > .dropdown-menu {top: -100%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(3) > .dropdown-menu {top: -200%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(4) > .dropdown-menu {top: -300%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(5) > .dropdown-menu {top: -400%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(6) > .dropdown-menu {top: -500%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(7) > .dropdown-menu {top: -600%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(8) > .dropdown-menu {top: -700%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(9) > .dropdown-menu {top: -800%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(10) > .dropdown-menu {top: -900%;}
    #navbarTopNav .dropdown > .dropdown-menu > li:nth-of-type(11) > .dropdown-menu {top: -1000%;}
    
    #navbarTopNav .dropdown-item, #navbarTopNav .dropdown-submenu > .dropdown-menu > li:first-of-type {color: #fff}
    #navbarTopNav .dropdown > .dropdown-menu.single > li {
        width: 100%;
        margin-right: 0;
    }
    #navbarTopNav .dropdown-menu.hasMegaExtraCol {
        width: 42em;
    }
    #navbarTopNav .dropdown-menu.hasMegaExtraCol.expanded {
        width: 61rem;
    }
    #navbarTopNav .dropdown-menu.hasMegaExtraCol.expanded > li{
        width: 33%;
        margin-right: 33%;
    }
    #navbarTopNav .dropdown-menu.single {
        width: 21em;
    }
    #navbarTopNav .dropdown-menu.single.expanded {
        width: 42rem;
    }
    #navbarTopNav .dropdown-menu.single.expanded > li{
        width: 50%;
        margin-right: 50%;
    }
    .megaExtraCol {
        position: absolute;width: 40%; right: 2%;display: flex;flex-direction: column;padding: 1em;
    }
    .expanded .megaExtraCol {width: 30%}
}