@media (min-width: 992px) {
    .admin-bar #cms-header-wrapper.header-trans.header-top #cms-header-topbar.header-fixed {
        top: 32px !important;
    }

    .admin-bar #cms-header-wrapper.header-trans.header-top #cms-header.header-fixed {
        top: 63px !important; /* 32 + 31 */
    }

    #cms-header-wrapper.header-trans.header-top #cms-header.header-fixed {
        top: 31px !important;
    }


    #cms-header-wrapper.header-trans #cms-header-topbar {
        /*left: 0;
        right: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1001;*/
        -webkit-transition: all 300ms linear 0ms;
        -moz-transition: all 300ms linear 0ms;
        -ms-transition: all 300ms linear 0ms;
        transition: all 300ms linear 0ms;
    }
    #cms-header-wrapper #cms-header-topbar.header-fixed {
        background-color: #fff;
        -webkit-box-shadow: 0 1px 3px rgb(0 0 0 / 9%);
        -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
        -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
        box-shadow: 0 1px 3px rgb(0 0 0 / 9%);
        left: 0;
        right: 0;
        position: fixed !important;
        margin-top: 0 !important;
        top: 0;
        width: 100%;
        z-index: 1001;
    }
    #cms-header-wrapper #cms-header-topbar.header-fixed.menu-hidden {
        -webkit-transform: translateY(-150px);
        -khtml-transform: translateY(-150px);
        -moz-transform: translateY(-150px);
        -ms-transform: translateY(-150px);
        -o-transform: translateY(-150px);
        transform: translateY(-150px);
    }
    #cms-header-wrapper #cms-header-topbar.header-animation {
        -webkit-transition: all 300ms linear 0ms;
        -moz-transition: all 300ms linear 0ms;
        -ms-transition: all 300ms linear 0ms;
        transition: all 300ms linear 0ms;
    }
    #cms-header-wrapper #cms-header-topbar.topbar-trans.is_overlay.header-fixed{
        background-color: #fff!important;
    }
}


/* top bar */
#cms-header-wrapper #cms-header-topbar.topbar-trans{
    z-index: 99999;
}
.top-bar-navigation{
    position: relative;
    z-index: 100;
}
.menu-top-bar .menu{
    display: flex;
    justify-content: end;
}
.menu-top-bar .menu a{
    color: #272727 !important;
}
.menu-top-bar .menu > li{
    padding: 0 13px;
}
.menu-top-bar .menu > li > a{
    font-weight: bold;
    padding-bottom: 10px;
}
.menu-top-bar .menu > li.menu-item-has-children > a{
    position: relative;
    /*padding-right: 20px;*/
}
.menu-top-bar .menu > li.menu-item-has-children > a:after{
    content: '🞃';
    margin-left: 2px;
}
.menu-top-bar .menu > li.visit-smp-net > a{
    position: relative;
    display: inline-block;
    padding-right: 20px;
}
.menu-top-bar .menu > li.visit-smp-net > a:after{
    content: '';
    position: absolute;
    top: 1px;
    right: 0;
    width: 15px;
    height: 15px;
    background: url(../images/icon.png) no-repeat;
}
.menu-top-bar .menu > li > .sub-menu{
    /*margin-top: 15px !important;*/

    opacity: 0;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.menu-top-bar .menu > li.menu-item-has-children > a{
    display: flex;
}
.menu-top-bar .menu > li.menu-item-has-children > a::after {
    content: '\f0d7'; /* Unicode for Font Awesome caret-down */
    font-family: 'Font Awesome 5 Free'; /* Use 'Font Awesome 6 Free' if using FA6 */
    font-weight: 900; /* Required for solid icons */
    margin-left: 5px; /* Adjust spacing as needed */
    font-size: 14px; /* Adjust size as needed */
}

.cms-header-navigation .main-navigation .nav-menu > li.menu-item-has-children > a{
    display: flex;
}
.cms-header-navigation .main-navigation .nav-menu > li.menu-item-has-children > a::after {
    content: '\f0d7'; /* Unicode for Font Awesome caret-down */
    font-family: 'Font Awesome 5 Free'; /* Use 'Font Awesome 6 Free' if using FA6 */
    font-weight: 900; /* Required for solid icons */
    margin-left: 5px; /* Adjust spacing as needed */
    font-size: 14px; /* Adjust size as needed */
}

@media screen and (min-width: 992px){
    .cms-header-navigation .main-navigation{
        text-align: left;
    }
    #cms-header-wrapper #cms-header .cms-navigation-right{
        display: flex;
    }
}


/* lang */
.language-menu{
    margin-right: 20px;
}
.language-menu a{
    color: #005496;
}
.language-menu .menu{
    display: flex;
}
.language-menu .menu li{
    position: relative;
    padding: 0 15px;
}
.language-menu .menu li a{
    position: relative;
}
.language-menu .menu li a:after{
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    width: 1px;
    height: 100%;
    border-right: 1px solid #fff;
}
.language-menu .menu li:last-child a:after{
    display: none;
}

/**/
.menu-main-menu{
    max-width: 850px;
    text-align: center;
}
@media only screen and (max-width: 991px) {
    .menu-main-menu {
        max-width: none;
        text-align: left;
    }
}