.menu-compensator{
    height: 4.427083333333334VW;
    background: transparent;
}
.main-menu-hold{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 15;
    background: #ffffff;
    padding: 1.09375VW 0 1.0416666666666665VW 0;
    border-bottom: 1px solid #f4f4f4;
    align-items: center;
}
.main-menu-hold .left-menu ul, .main-menu-hold .right-menu ul{
    font-size: 0;
    line-height: 0;
}
.main-menu-hold .right-menu ul{
    display: inline-block;
    width: 46%;
}
.main-menu-hold .left-menu ul li, .main-menu-hold .right-menu ul li{
    display: inline-block;
    font-size: calc( 14px + ( 20 - 14 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    line-height: calc( 18px + ( 24 - 18 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
}
.main-menu-hold .left-menu ul li{
    margin-right: 2.34375VW;
}
.main-menu-hold .left-menu ul li:last-of-type{
    margin-right: 0;
}
.main-menu-hold .right-menu ul li{
    margin-left: 2.34375VW;
}
.main-menu-hold .right-menu ul li:first-of-type{
    margin-left: 0;
}
.main-menu-hold .right-menu ul li:last-of-type{
    margin-left: 2.34375VW;
}
.main-menu-hold .right-menu #appendmenu ul li{
    margin-left: 0;
    display: block;
    width: 100%;
}
.main-menu-hold .left-menu ul li a, .main-menu-hold .right-menu ul li a{
    color: #31333a;
    text-decoration: none;
    text-transform: none;
    transition: 0.3s ease color;
}
.main-menu-hold .left-menu ul li a:hover{
    color: #d62193;
    transition: 0.3s ease color;
}
.main-menu-hold .right-menu ul li a:hover{
    color: #d62193;
    transition: 0.3s ease color;
}
.main-menu-hold .left-menu{
    text-align: left;
    width: 40%;
}
.main-menu-hold .right-menu{
    text-align: right;
    width: 40%;
}
.main-menu-hold .center-menu{
    text-align: center;
    width: 20%;
}
.logo{
    display: block;
    margin: 0 auto;
    width: 8.229166666666666VW;
    height: 2.2916666666666665VW;
}
.logo img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
.lang-selector{
    display: inline-block;
    margin-left: 2.34375VW;
}
.ui-selectmenu-button.ui-button{
    position: relative;
    z-index: 4;
    background: #ffffff;
    border: 1px solid #31333a;
    border-radius: 20px;
    padding: 0.572917VW 6.458333333333334VW 0.532917VW 2.625VW;
    outline: none;
    width: auto;
    min-height: 2.311vw;
    min-width: 15.234vw;
    margin-right: 0;
    font-size: calc( 14px + ( 20 - 14 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    line-height: calc( 18px + ( 24 - 18 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    
}
.ui-selectmenu-button.ui-button.ro{
    background: url(../img/flag-ro.png) #ffffff;
    background-size: 1.464vw;
    background-position: 0.73vw center;
    background-repeat: no-repeat;
}
.ui-selectmenu-button.ui-button.en{
    background: url(../img/flag-en.png) #ffffff;
    background-size: 1.464vw;
    background-position: 0.73vw center;
    background-repeat: no-repeat;
}

.ui-icon.RO {
    background: url(../img/flag-ro.png);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    width: 1.5229166666666667VW;
    height: 1.1583333333333333VW;
    left: 0.824vw;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
.ui-menu-icons .ui-menu-item-wrapper {
    padding-left: 2.723vw;
}
.ui-icon.EN {
    background: url(../img/flag-en.png);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    width: 1.3229166666666667VW;
    height: 1.1583333333333333VW;
    left: 0.824vw;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
.ui-selectmenu-menu{
    z-index: 3;
}
.ui-selectmenu-menu .ui-menu{
    position: relative;
    z-index: 0;
    overflow: inherit;
    background: #f5f6ff;
    border: 1px solid transparent;
    border-bottom-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}
.ui-selectmenu-menu .ui-menu::after{
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    top: -20px;
    height: 40px;
    background: #f5f6ff;
}
.ui-menu .ui-menu-item{
    position: relative;
    z-index: 1;
}
.ui-menu .ui-state-focus, .ui-menu .ui-state-active{
    margin: 0 0;
}
.ui-menu .ui-menu-item-wrapper{
    padding: 0.372917VW 8.18333VW 0.332917VW 2.625VW;
}
.ui-selectmenu-text{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.mobile-top-bar{
    display: none;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    border: 1px solid transparent;
    background: #f5f6ff;
    color: #31333a;
    font-weight: normal;
}
.ui-widget.ui-widget-content{
    border-bottom-right-radius: 10px !important;
    border: 1px solid transparent;
    border-bottom-left-radius: 10px !important;
}
.ui-menu-item-wrapper{
    border: 1px solid transparent;
    transition: 0.2s ease all;
}
@media screen and (max-width:990px){
    html,body{
        overflow-x: hidden;
    }
    .main-menu-hold{
        padding: 15px 0;
    }
    .mobile-top-bar{
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
    .mobile-logo-hold{
        width: 40%;
        text-align: left;
    }
    .mobile-lang-selector{
        width: 50%;
        text-align: right;
    }
    .mobile-toggler{
        text-align: right;
        width: 10%;
    }
    .mobile-logo{
        display: block;
        width: 120px;
    }
    .mobile-logo img{
        display: block;
        width: 100%;
    }
    .logo, .lang-selector{
        display: none;
    }
    .menu-hold{
        display: block;
        position: absolute;
        top: 54px;
        right: 0;
        transform: translateX(100%);
        z-index: 99;
        width: 100%;
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,246,255,1) 100%);
        transition: 0.3s ease all;
    }
    .menu-hold.translate-menu{
        transform: translateX(0);
        transition: 0.3s ease all;
    }
    
    .main-menu-hold .left-menu, .main-menu-hold .right-menu{
        width: 100%;
    }
    .main-menu-hold .left-menu ul{
        padding: 15px 15px 0 15px;
    }
    .main-menu-hold .right-menu ul{
        padding: 0 15px 15px 15px;
    }
    .main-menu-hold .left-menu ul li{
        display: block;
        margin-right: 0;
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 12px;
        text-align: right;
    }
    .main-menu-hold .right-menu ul li{
        display: block;
        margin-left: 0;
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 12px;
        text-align: right;
    }
    .ui-selectmenu-button.ui-button{
        padding: 6px 25px 6px 36px;
        outline: none;
        width: auto;
        min-height: 30px;
        min-width: 150px;
        margin-right: 0;
        font-size: 16px;
        line-height: 16px;
        background-size: 24px;
        background-position: 10px center;
    }
    .ui-menu .ui-menu-item-wrapper {
        padding: 6px 25px 6px 37px;
    }
    .ui-selectmenu-text{
        margin-right: 0;
    }
    .ui-icon.RO{
        width: 24px;
        height: 20px;
        left: 10px;
    }
    .ui-icon.EN{
        width: 19px;
        height: 11px;
        left: 10px;
    }
    .copywright{
        font-size: 14px;
        line-height: 14px;
    }
    .ui-selectmenu-button.ui-button.ro{
        background: url(../img/flag-ro.png) #ffffff;
        background-size: 24px;
        background-position: 10px center;
        background-repeat: no-repeat;
    }
    .ui-selectmenu-button.ui-button.en{
        background: url(../img/flag-en.png) #ffffff;
        background-size: 22px;
        background-position: 9px center;
        background-repeat: no-repeat;
    }
    .main-menu-hold .right-menu #appendmenu ul li{
        margin-bottom: 0;
        font-size: 16px;
        line-height: 16px;
        text-align: left;
    }
    .main-menu-hold .right-menu #appendmenu ul{
        padding: 0 0 0 0;
    }
    .ui-selectmenu-button.ui-button{
        z-index: 99;
    }
    .menu-compensator{
        height: 61px;
    }
    
}

@media screen and (max-width:520px){
    .ui-selectmenu-button.ui-button{
        min-height: 30px;
    }
    .mobile-toggler{
        width: 15%;
    }
    .mobile-logo-hold{
        width: 35%;
    }
    .mobile-logo{
        width: 100px;
    }
    .perfect-flex{
        margin-left: 0;
        margin-right: 0;
    }
}