
.DropdownMenu {
    background: #002664;
    height: 41px;
    margin: 0 auto;
    border-top: 1px solid #FFD800;
    border-left: 1px solid #FFD800;
    border-right: 1px solid #FFD800;
}
.DropdownMenu ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
.DropdownMenu .MenuList {
    margin: 0 auto;
}
.DropdownMenu .MenuList li {
    display: block;
    float: left;
    list-style: outside none none;
}
.DropdownMenu .MenuList .TopMenuActive, .TopMenu:hover {
    height: 40px;
    position: relative;
}
.DropdownMenu .MenuList .TopMenu:hover, .TopMenuActive {
    background: #00518b;
    height: 40px;
    padding: 0 15px;
}
.DropdownMenu .MenuList .TopMenu:hover{
    background: white;
    /* border-top-left-radius: 6px; */
    /* border-top-right-radius: 6px; */
}
.DropdownMenu .MenuList .TopMenu:hover a span{
    color: #003A56 !important;
    text-shadow: none;
    font-weight: 700;
    font: 13px/40px Verdana;
    font-weight: 700;
}
.DropdownMenu .MenuList .TopMenu {
    background: rgba(0, 0, 0, 0) url("/Themes/Default/Images/phantach.gif") no-repeat scroll right center;
    float: left;
    height: 40px;
    padding: 0 6px;
    position: relative;
}
.DropdownMenu .MenuList .TopMenu a:hover, .TopMenuActive a:hover {
    height: 40px;
}
.DropdownMenu .MenuList .TopMenu a {
    color: #fff;
    font: 13px/40px Verdana;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}
.DropdownMenu .MenuList .TopMenuActive a {
    color: #fff;
    font: 13px/40px Verdana;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}
.DropdownMenu .MenuList .TopMenu:hover a {
    color: #fff;
    text-decoration: none;
}
.DropdownMenu .MenuList .TopMenu .HasChildren, .TopMenuActive .HasChildren {
    background: rgba(0, 0, 0, 0) url("images/d.png") no-repeat scroll center bottom 2px;
    display: block;
    height: 40px;
}
.DropdownMenu .MenuList .Dropdown {
    background: #f0f0f0 none repeat-x scroll left top;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    color: #111111;
    display: inline-block;
    left: 0;
    position: absolute;
    text-align: left;
    top: 100%;
    width: auto;
    z-index: 1000;
}
.DropdownMenu .MenuList .Dropdown .sub:hover a {
    color: #222;
}
.DropdownMenu .MenuList .Dropdown .sub {
    display: block;
    height: 40px;
    position: relative;
    width: 100%;
}
.DropdownMenu .MenuList .Dropdown .sub:hover {
    background: #fffce0 none repeat-x scroll left top;
    color: #222;
    cursor: pointer;
}
.DropdownMenu .MenuList .Dropdown .sub a {
    color: #111111;
    display: block;
    font: 13px/40px Verdana;
    font-weight: 700;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    white-space: nowrap;
}
.DropdownMenu .MenuList .Popup {
    background: #ecedef none repeat scroll 0 0;
    display: inline-block;
    left: 100%;
    position: absolute;
    top: 0;
    width: 180px;
    z-index: 1001;
}
.DropdownMenu .MenuList .Popup .sub:hover {
    background: #fffce0 none repeat-x scroll left top;
}
.DropdownMenu .MenuList .Popup .sub {
    position: relative;
}
.DropdownMenu .MenuList .Popup .sub a {
    padding-left: 4px;
    padding-right: 4px;
}
.DropdownMenu .AdvanceBar {
    background: #cfcfcf url("images/advance_bg.png") repeat-x scroll 0 0;
    display: none;
    height: 30px;
    line-height: 30px;
}
@media only screen and (max-width: 1023px) {
        div.DropdownMenu .TopMenuActive::after {
                width: 100%;
        }
        div.DropdownMenu ul.MenuList li a {
                padding: 0px !important;
                justify-content: flex-start !important;
        }
        .DropdownMenu {
                border: none;
        }
        .DropdownMenu div.navbar-button {
                position: static;
                background: transparent;
                margin: 0px;
                border-left: 1px solid #eeeeee;
                margin-right: 0px;
                margin-left: 0;
                order: 1;
                padding: 0px 14px !important;
                height: 25px;
                /* width: unset !important; */
                width: 46px !important;
                z-index: 1;
        }
        div.DropdownMenu {
                width: unset !important;
                position: static !important;
                order: 4;
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                padding: 5px 0;
                background: #002664;
                margin-bottom: 0px !important;
        }
        .DropdownMenu .navbar-button span {
                background: #ffffff !important;
                width: 14px !important;
                height: 2px !important;
                margin: 1.5px !important;
        }
        div.DropdownMenu > ul.MenuList {
                max-height: 50vh !important;
                width: 100% !important;
                height: auto !important;
                box-shadow: none;
                order: 2;
                /* position: absolute; */
                margin-top: 4px !important;
                /* border-bottom: 1px solid #eeeeee; */
                padding: 10px !important;
                left: 0;
                z-index: 0;
                border: 1px solid #eeeeee;
                border-top: 0;
        }
        .DropdownMenu
        .navbar-button
        span[style="margin: -2px; transform: rotate(45deg);"] {
                background: white !important;
                height: 2px;
                margin: -1px !important;
        }
        .DropdownMenu
        .navbar-button
        span[style="margin: -2px; transform: rotate(-45deg);"] {
                background: white !important;
                height: 2px;
                margin: -1px !important;
        }
        .DropdownMenu .TopMenu span,
        .DropdownMenu .TopMenuActive span {
                font-family: "Segoe UI",Tahoma,Verdana;
                font-style: normal;
                font-weight: 500;
                font-size: 14px;
                line-height: 21px;
                /* identical to box height, or 150% */
                /* Grey 3 */
                color: #3b4e68;
        }
        div.DropdownMenu .TopMenuActive::after {
                display: none;
        }
        .DropdownMenu ul.MenuList li a span {
                flex: none !important;
                /* padding: 5px 0; */
                /* border-bottom: 1px solid #0084F3; */
        }
        .DropdownMenu .MenuList > li + li:before {
                display: none;
        }
        li.TopMenuActive {
                background: white !important;
        }
        .MenuList > li:nth-child(1) > a > img {
                display: none;
        }
        .DropdownMenu .MenuList > li:nth-child(1) > a > span {
                display: block;
        }
        div.DropdownMenu li.LanguageMenu {
                padding: 5px 0px !important;
        }
        div.DropdownMenu li.LanguageMenu img {
                margin: 0 !important;
                margin-right: 10px !important;
        }
        .DropdownMenu .MenuList .Dropdown{
                column-count: 1;
                padding: 15px 10px 30px 10px;
        }
        .DropdownMenu .MenuList .Dropdown>.sub:after{
                left: 10px;
        }
    .DropdownMenu .MenuList .TopMenu a {
    text-shadow: none;
}
}
