.DropdownMenu ul {
        list-style: outside none none;
        margin: 0;
        padding: 0;
}
.DropdownMenu .MenuList li {
        display: block;
        float: left;
        list-style: outside none none;
}
.DropdownMenu .MenuList>li:last-child{
        border-right: none;
}
.DropdownMenu .MenuList .TopMenuActive,
.TopMenu:hover {
        height: 42px;
        position: relative;
}
.DropdownMenu .MenuList .TopMenu:hover,
.TopMenuActive { 
        height: 42px;
        padding: 0 25px;
}
.DropdownMenu .MenuList .TopMenu .HasChildren:after, .DropdownMenu .MenuList .TopMenuActive .HasChildren:after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 10px;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
}
.DropdownMenu .MenuList .TopMenu a:hover,
.TopMenuActive a:hover {
        height: 42px;
}
.DropdownMenu .MenuList .TopMenu:hover a {
        color: #fff;
        text-decoration: none;
}
.DropdownMenu .AdvanceBar {
        background: #cfcfcf url("images/advance_bg.png") repeat-x scroll 0 0;
        display: none;
        height: 30px;
        line-height: 30px;
}
.DropdownMenu .MenuList .Dropdown li a:hover {
        color: #fdf418;
        background: none;
}
.DropdownMenu .MenuList li.LanguageMenu img {
        width: 35px;
}
.DropdownMenu .MenuList li.LanguageMenu img[style*="border-bottom: 2px solid rgb(255, 235, 59)"] {
        width: 38px;
        border: 1px solid rgb(255 235 59 / 54%) !important;
}
.DropdownMenu {
    min-height: 40px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background: #e26f2c;
        max-width: 1170px;
}
.DropdownMenu ul {
        list-style: outside none none;
        margin: 0;
        padding: 0;
}
.DropdownMenu .MenuList {
        margin: 0 auto;
        width: 1200px;
        position: relative;
        max-width: 99vw;
}
.DropdownMenu .MenuList li {
        display: block;
        float: left;
        list-style: outside none none;
}
.DropdownMenu ul.MenuList img {
    max-width: 20px;
    margin: 0 5px;
}
.DropdownMenu .MenuList>li:last-child{
        border-right: none;
}
.DropdownMenu .MenuList .TopMenuActive, .TopMenu:hover {
    height: 40px;
    position: relative;
    /* border-bottom: 2px solid #ff2424; */
    background: #d76827;
        text-transform: uppercase;
}
.DropdownMenu .MenuList .TopMenu:hover,
.TopMenuActive {
        height: 40px;
        padding: 0px 15px;
}
.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  15px;
        position: relative;
}
.DropdownMenu .TopMenu span {
    line-height: 30px;
    /**font-family: Merriweather;**/
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.DropdownMenu .TopMenuActive .sub span{
color: #333;
}
.DropdownMenu .TopMenu .sub span{
color: #333
}
.DropdownMenu .MenuList .TopMenu a:hover,
.TopMenuActive a:hover {
        height: 42px;
}
.DropdownMenu .MenuList .TopMenu a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* font-weight: 600; */
}
.DropdownMenu .MenuList .TopMenuActive a {
    color: #fff;
    text-decoration: none text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 600;
}
.DropdownMenu .MenuList .TopMenu:hover a {
        color: #fff;
        text-decoration: none;
}
.DropdownMenu .MenuList .TopMenu .HasChildren, .DropdownMenu .MenuList .TopMenuActive .HasChildren {
        height: 40px;
}
.DropdownMenu .MenuList .Dropdown {
        background: #fff;
        color: #333;
        left: 0;
        position: absolute;
        text-align: left;
        top: 100%;
        z-index: 1000;
        max-width: 250px;
        overflow: unset !important;
        /* background-color: rgba(255,255,255,1); */
        /* padding: 0 10px; */
        box-shadow: -1px 3px 3px 0 rgb(0 0 0 / 30%);
        /* border: 1px solid #fff; */
        /* column-count: 1; */
        min-width: 250px;
        display: block;
}
.DropdownMenu .MenuList .Dropdown .sub {
        display: block;
        min-height: 30px;
        position: relative;
        width: 100%;
}
.DropdownMenu .MenuList .Dropdown>.sub{
        /* border-bottom: 1px solid var(--bg-blue); */
        /* border-top: 1px solid var(--bg-blue-light); */
        /* -webkit-column-break-inside: avoid; */
        /* page-break-inside: avoid; */
        /* break-inside: avoid-column; */
        padding: 0 15px;
}
.DropdownMenu .MenuList .Dropdown>.sub:after {
        display: none;
        content: "";
        width: 80px;
        height: 2px;
        background: var(--bg-blue);
        left: 0;
        position: absolute;
        top: 42px;
        transition: width .1s;
}
.DropdownMenu .MenuList .Dropdown>.sub:hover:after{
        width: 100px;
}
.DropdownMenu .MenuList .Dropdown>.sub:last-child{
        border-bottom: none;
}
.DropdownMenu .MenuList .Dropdown .sub:hover {
        cursor: pointer;
}
.DropdownMenu .MenuList .Dropdown>.sub a {
        color: #212529;
        display: block;
        height: 30px;
        margin: 0;
        padding: 0;
        text-decoration: none;
        text-shadow: none;
        text-transform: none;
        white-space: nowrap;
        /* font-weight: 600; */
        font-size: 15px;
        line-height: 30px;
}
.DropdownMenu .MenuList .Dropdown>.sub>a.HasChildren:after{
        transform: rotate(-90deg);
        margin-bottom: 3px;
}
.DropdownMenu .MenuList .Popup {
        background: #ecedef none repeat scroll 0 0;
        display: inline-block;
        left: 100%;
        position: absolute;
        top: 0;
        min-width: 200px;
        width: auto;
        z-index: 1001;
}
.DropdownMenu .MenuList .Popup .sub {
        position: relative;
        border-left: 1px solid #ddd;
        padding: 0 10px;
}
.DropdownMenu .MenuList .Popup .sub a {
        padding-right: 10px;
        font-weight: 600;
        font-size: 15px;
}
.DropdownMenu .AdvanceBar {
        background: #cfcfcf url("images/advance_bg.png") repeat-x scroll 0 0;
        display: none;
        height: 30px;
        line-height: 30px;
}
.DropdownMenu .MenuList .Dropdown li a:hover {
        /* color: var(--bg-blue); */
        background: none;
        font-weight: bold;
}
.DropdownMenu .MenuList li.LanguageMenu {
        height: 45px;
        padding: 0 15px;
        gap: 3px;
}
@media only screen and (min-width: 1024px) {
        div.DropdownMenu .MenuList {
            display: inline-flex;
            flex-wrap: nowrap;
            white-space: nowrap;
            /* overflow: auto; */
            /* justify-content: center; */
        }
}
@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: #c60000;
                /* margin: 5px 10px !important; */
                margin-bottom: 10px !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;
        }
}
@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: linear-gradient(to left, #cd6021,#fb813a);
                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 10px 10px;
        }
        .DropdownMenu .MenuList .Dropdown>.sub:after{
                left: 10px;
        }
    .DropdownMenu {
    min-height: revert;
}
}
