.DropdownMenu {
        background: #fff;
        box-shadow: #2b2b2b 0 -8px 22px;
        text-align: center;
        /* display: flex; */
        z-index: 999;
        position: relative;
}
.DropdownMenu ul {
        list-style: outside none none;
        margin: 0;
        padding: 0;
}
.DropdownMenu .MenuList {
        margin: 0 auto;
        width: 1200px;
        padding: 5px 0;
        padding-left: 0;
        margin-bottom: 0;
        align-items: baseline;
}
.DropdownMenu .MenuList img{
        max-width: 70px;
        margin-right: 10px;
        display: none;
}
.DropdownMenu .MenuList li {
        display: block;
        /* float: left; */
        list-style: outside none none;
}
.DropdownMenu .MenuList .TopMenuActive, .TopMenu:hover {
        position: relative;
        line-height: 70px;
}
.DropdownMenu .MenuList .TopMenu:hover, .TopMenuActive {
        /* background: #144db0 url("images/th.png") repeat-x top left; */
        padding: 0 10px;
        display: block;
}
.DropdownMenu .MenuList .TopMenu {
        display: block;
        background: rgba(0, 0, 0, 0) url("/Themes/Default/Images/phantach.gif") no-repeat scroll right center;
        float: left;
        padding: 0 10px;
        position: relative;
}
.DropdownMenu .MenuList .TopMenu:hover .Dropdown{
}
.DropdownMenu .MenuList .TopMenu a:hover, .TopMenuActive a:hover {
}
div.DropdownMenu .MenuList .TopMenu a {
        transition: 300ms;
        color: #00397c;
        text-decoration: none;
        text-shadow: 0 1px 0 transparent;
        /* text-transform: uppercase; */
        font-size: 16px;
        font-weight: 600;
        line-height: 70px;
}
div.DropdownMenu .MenuList .TopMenuActive a {
        color: #00397c;
        text-decoration: none;
        /* text-transform: uppercase; */
        font-size: 15px;
        line-height: 50px;
        transition: 300ms;
        font-weight: 600;
}
.DropdownMenu .MenuList>li:first-child>a{
        /* color: #00397c; */
        text-decoration: none;
        text-shadow: 0 1px 0 transparent;
        text-transform: uppercase;
        font-size: 20px;
        font-weight: 600;
        line-height: 70px;
        display: block;
        text-align: left;
}
.DropdownMenu .MenuList > li > a{
        font-weight: 700 !important;
}
.DropdownMenu .MenuList>li:first-child{
        /*padding-left: 0;*/
}
.DropdownMenu .MenuList>li:nth-child(1) {
    /* flex: 1; */
    padding-left: 0 !important;
}
.DropdownMenu ul.MenuList>li:nth-child(1) img {
    display: inline-block;
    /* max-width: 70px; */
    /* max-height: 80px; */
    margin-right: 10px;
}
.DropdownMenu .MenuList .TopMenu:hover a {
        color: #00397c;
        text-decoration: none;
}
.DropdownMenu .MenuList >.TopMenu >a  >span{text-transform: uppercase;}
.DropdownMenu .MenuList .TopMenu .HasChildren, 
.DropdownMenu .TopMenuActive .HasChildren {
        display: inline-block;
        color: #00397c;
        text-decoration: none;
        text-shadow: 0 1px 0 transparent;
        /* text-transform: uppercase; */
        font-size: 15px;
        font-weight: 600;
        line-height: 70px;
        position: relative;
        align-items: center;
        padding-right: 15px;
}
.DropdownMenu .MenuList .TopMenu .HasChildren:after, 
.DropdownMenu .TopMenuActive .HasChildren:after{
        content: "\f0dd";
        margin-left: 10px;
        font-family: "Font Awesome 5 Pro";
        position: absolute;
        right: 0;
        top: 46%;
        transform: translateY(-50%);
}
.DropdownMenu .MenuList .Dropdown {
        background: #f9fafb none repeat-x scroll left top;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
        position: absolute;
        color: #111111;
        left: 0;
        min-width: 250px;
        z-index: 1000;
        text-align: left;
        top: 100%;
        width: auto;
        padding: 0;
        white-space: normal;
        padding-top: 0;
}
.DropdownMenu .MenuList .Dropdown .sub:hover a {
        color: #222;
}
.DropdownMenu .MenuList .Dropdown .sub {
        display: block;
        /* height: 50px; */
        position: relative;
        width: 100%;
        font-size: 13px;
}
.DropdownMenu .MenuList .Dropdown .sub+.sub{
        border-top: 1px dashed #e9ecef;
}
.DropdownMenu .MenuList .Dropdown .sub:hover {
        background: #fffce0 none repeat-x scroll left top;
        color: #222;
        cursor: pointer;
}
.DropdownMenu .MenuList .Dropdown .sub a {
        color: #444444;
        display: block;
        margin: 0;
        padding: 0 12px;
        text-decoration: none;
        text-shadow: none;
        text-transform: none;
        white-space: nowrap;
        font-size: 13px;
        line-height: 50px;
}
.DropdownMenu .MenuList .Popup {
        background-color: #084298 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: 40px;
        line-height: 30px;
}
@media only screen and (min-width: 769px) {
    div.DropdownMenu .MenuList {
        display: flex !important;
    }
}
@media only screen and (max-width: 768px) {
        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: url(https://chuyendoiso.laocai.gov.vn/Themes/cdso/NAMDINHPOST/UIServiceCategory/images/cdsbg.png); */
                margin-bottom: 10px !important;
                border-top: 1px solid #ffffff82;
                min-height: 0;
                background: #00397c;
        }
        .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: 1;
                border: 1px solid #eeeeee;
                border-top: 0;
                /* margin-top: 46px !important; */
        }
        .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 .TopMenu .HasChildren, .DropdownMenu .TopMenuActive .HasChildren{
                padding-right: 15px !important;
        }
}

