.custom-logo-link,
.custom-logo-link img {
    display: block;
    width: 100%;
}

.custom-logo-link img {
    max-width: 136px;
}

@media (max-width: 1024px) {
    .custom-logo-link,
    .custom-logo-link img {
        max-width: 102px;
    }
    .custom-logo-link img {
        width: 102px;
        height: 18px;
    }
}


.sidebar {
    width: 320px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--white);
    border-right: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
}

.sidebar .custom-logo-link {
    border-bottom: 1px solid #F0F0F0;
    padding: 32px 16px;
}

.sidebar .scrollable-area,
.site-menu .scrollable-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    scrollbar-width: thin;
    scrollbar-color: #8d8d8d transparent;
}

/* For WebKit browsers like Chrome, Safari */
.sidebar .scrollable-area::-webkit-scrollbar,
.site-menu .scrollable-area::-webkit-scrollbar {
    width: 8px;
}

.sidebar .scrollable-area::-webkit-scrollbar-thumb,
.site-menu .scrollable-area::-webkit-scrollbar-thumb {
    background-color: #8d8d8d;
    border-radius: 4px;
}

.sidebar .scrollable-area::-webkit-scrollbar-track,
.site-menu .scrollable-area::-webkit-scrollbar-track {
    background-color: transparent;
}

.languages {
    margin-bottom: 16px;
}

.languages .sub-menu{
    display: none;
}

.nav-horizontal {
    border-top: 1px solid #F0F0F0;
    padding-top: 16px;
}

.nav-horizontal .menu-item a, .languages a {
    color: #595959;
    display: block;
    border: 1px solid transparent;
    text-decoration: none;
    position: relative;
    text-align: start;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    padding: 12px 16px;
    margin-bottom: 4px;
    transition: var(--transition);
}

.section-menu_list .nav-horizontal .menu-item a{
    margin-bottom: 0;
}

.nav-horizontal .menu-item-has-children {
    cursor: pointer;
}

.nav-horizontal .menu-item-has-children.open {
    border-radius: 8px;
    background: #FAFAFA;
    margin-bottom: 4px;
}

.nav-horizontal .menu-item-has-children.open>a {
    color: var(--primary);
}

.nav-horizontal .menu-item-has-children>a:after, .languages .menu> .menu-item>a:after {
    content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNSA1TDkgMSIgc3Ryb2tlPSIjMjYyNjI2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K');
    position: absolute;
    top: 21px;
    transform: translateY(-50%);
    right: 16px;
}

.nav-horizontal .menu-item-has-children.open > a::after,
.languages .menu> .menu-item.open >a:after {
    content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDVMNSAxTDkgNSIgc3Ryb2tlPSIjNjgzMEYyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K');
}

.nav-horizontal .current-menu-item>a,
.nav-horizontal .menu-item a:hover {
    color: var(--primary);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: #FAFAFA;
}

.nav-horizontal .current-menu-item>a:hover {
    color: var(--primary);
    border-radius: 8px;
    background: #F5F5F5;
    border: 1px solid #F0F0F0;
}

.nav-horizontal .menu-item-has-children.open .menu-item a:hover,
.nav-horizontal .menu-item-has-children.open .current-menu-item>a {
    color: var(--primary);
    border-radius: 8px;
    background: #F5F5F5;
}

.nav-horizontal .menu-item-has-children.open .current-menu-item>a:hover {
    color: var(--primary);
    border-radius: 8px;
    background: #F0F0F0;
}

.nav-horizontal .sub-menu {
    display: none;
    overflow: hidden;
    padding: 12px 16px;
    transition: max-height 0.5s ease-in-out;
}

.nav-horizontal .sub-menu.open {
    background: #FAFAFA;
}

.languages a {
    display: flex!important;
    align-items: center;
}
.hide{
    display: none;
}

.en>a:before{
    content: "";
    width: 24px;
    height: 18px;
    background: url("../images/flags/GB-UKM.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 12px;
}

.hi>a:before{
    content: "";
    width: 24px;
    height: 18px;
    background: url("../images/flags/India.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 12px;
}

.ja>a:before{
    content: "";
    width: 24px;
    height: 18px;
    background: url("../images/flags/Japan.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 12px;
}

.ko>a:before{
    content: "";
    width: 24px;
    height: 18px;
    background: url("../images/flags/Korea.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 12px;
}


.th>a:before{
    content: "";
    width: 20px;
    height: 20px;
    background: url("../images/flags/Thailand.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 16px;
}

.vi>a:before{
    content: "";
    width: 20px;
    height: 20px;
    background: url("../images/flags/Vietnam.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 16px;
}

.id>a:before{
    content: "";
    width: 20px;
    height: 20px;
    background: url("../images/flags/Indonesia.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 16px;
}

.ms>a:before{
    content: "";
    width: 20px;
    height: 20px;
    background: url("../images/flags/Malaysia.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 16px;
}

.bn>a:before{
    content: "";
    width: 20px;
    height: 20px;
    background: url("../images/flags/BN-I.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    margin-right: 16px;
}

.languages .menu-item-has-children>a {
    transition: var(--transition);
}

.languages .menu-item-has-children:not(.open)>a:hover {
    color: var(--primary);
    border-radius: 8px;
    background: #F5F5F5;
}

.languages .open {
    border-radius: 8px;
    background: #F5F5F5;
}

.languages .open.menu-item-has-children>a,
.languages .current_page_item>a{
    color: var(--primary);
}

.languages .sub-menu {
    padding: 0px 16px 12px 16px;
}

.languages .open .menu-item>a {
    transition: var(--transition);
}

.languages .open .menu-item>a:hover {
    color: var(--primary);
    border-radius: 8px;
    background: #F0F0F0;
}

.sidebar .bottom-area {
    border-top: 1px solid #F0F0F0;
    padding: 16px;
}

.sidebar .bottom-area .btn-primary{
    width: 100%;
    font-size: 18px;
}

.sidebar .bottom-area .login-wrap{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 16px;
}

.sidebar .bottom-area .btn-login {
    color: var(--primary);
    font-weight: 500;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.sidebar .bottom-area .btn-login:hover {
    color: var(--black);
}

@media (max-width: 1024px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        flex-direction: row;
        border-right: none;
        z-index: 10;
        border-bottom: 1px solid #F0F0F0;
    }

    .sidebar .languages {
        display: none;
    }

    .sidebar .nav-horizontal {
        display: none;
    }

    .sidebar .bottom-area {
        border-top: none;
        padding: 0;
    }

    .sidebar .btn-primary,
    .sidebar .login-wrap {
        display: none;
    }
    .sidebar .custom-logo-link{
        display: flex;
        align-items: center;
        border-bottom: none;
        padding: 0;
        margin-left: 32px;
    }
}

/********** Nav-horizontal start **********/
/********** Nav-horizontal end **********/

/********** Sub-menu start **********/
/********** Sub-menu end **********/

.anim-button {
    line-height: 0;
    padding: 16px;
    cursor: pointer;
}

@media (min-width: 1025px) {
    .anim-button {
        display: none;
    }
}

/********** Site menu start **********/
.site-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    z-index: 1001;
    transition: .4s;
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.32);
    will-change: transform;
    overflow-y: auto;
}

body.menu-open nav.site-menu {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

html[lang="ar"] body nav.site-menu{
    right: 100%;
    left: auto;
}

html[lang="ar"] body.menu-open nav.site-menu{
    transform: translateX(100%);
}

.site-menu_wrap {
    display: flex;
    flex-direction: column;
    width: calc(100% - 64px);
    height: fit-content;
    min-height: 100%;
    background: var(--white);
}

.site-menu .top-block {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
    border-bottom: 1px solid #F0F0F0;
    padding: 23px 23px 23px 32px;
}

.site-menu .top-block img {
    max-width: 100px;
}

body.menu-open .closeBtn {
    position: sticky;
    top: 0;
    right: 0;
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background-color: var(--primary);
}

html[lang="ar"] body.menu-open .closeBtn{
    /*left: 0;*/
    /*right: auto;*/
}
.site-menu .bottom-area{
    position: sticky;
    bottom: 0;
    margin: 0 16px;
    /*width: 100%;*/
    background: #ffffff;
    padding: 20px 0;
}

.site-menu .user-menu {
    padding: 16px;
}

.site-menu .menu-item a {
    padding: 12px 16px;
    display: block;
    border-bottom: none;
    text-decoration: none;
    position: relative;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}
.site-menu .languages .menu-item a{
    margin-bottom: 16px;
}

.site-menu a.open {
    color: var(--primary);
    border-radius: 8px 8px 0 0!important;
    background: #FAFAFA;
    margin-bottom: 0;
}

.site-menu .open .current-menu-item {
    color: var(--primary);
}

.site-menu .current-menu-item>a {
    color: var(--primary);
    border-radius: 8px;
    background: #FAFAFA;
}

.site-menu .menu-item-has-children>a:after {
    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNOCAxMEwxMiAxNEwxNiAxMCIgc3Ryb2tlPSIjMjYyNjI2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=');
    position: absolute;
    top: 25px;
    transform: translateY(-50%);
    right: 16px;
}

.site-menu .menu-item-has-children>a.open:after {
    content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDVMNSAxTDkgNSIgc3Ryb2tlPSIjNjgzMEYyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K');
    right: 23px;
}

.site-menu .languages .menu-item-has-children>a.open:after{
    right: 16px;
}

.site-menu .sub-menu.open {
    border-radius: 0 0 8px 8px;
    background: #FAFAFA;
    padding: 12px 16px;
    margin-bottom: 4px;
    display: block;
}

.site-menu .sub-menu a {
    height: 0;
    padding: 0;
    overflow: hidden;
}

.site-menu .sub-menu.open a {
    height: 100%;
    padding: 12px 16px;
    margin-bottom: 4px;
}

.site-menu .btn-primary{
    width: 100%;
    font-size: 18px;
}

.site-menu .login-wrap{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 16px;
}

.site-menu .btn-login {
    color: var(--primary);
    font-weight: 500;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.site-menu .btn-login:hover {
    color: var(--black);
}


/********** Site menu end **********/

/********** Lang menu start **********/
header .languages{
    /*display: none;*/
    position: relative;
}

header .js-lang-select-holder {
    display: flex;
    /*justify-content: center;*/
    align-items: center;
}

header .js-lang-select-holder .ion-ios-arrow-down {
    color: var(--neutrals-300)
}

header .js-lang-select-holder .flag, header .js-lang-select-dropdown .flag {
    max-width: 27px;
    margin-right: 10px;
}

.ar header .js-lang-select-holder .flag, header .js-lang-select-dropdown .flag {
    margin-left: 10px;
    margin-right: inherit;
}

header .js-lang-select-holder .flag img {
    width: 27px;
}

header .js-lang-select-dropdown{
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: #ffffff;
    /*padding: 10px;*/
    border-radius: 8px;
    border: 1px solid var(--primary);
}

header .js-lang-select-dropdown.active{
    display: block;
}

header .js-lang-select-dropdown .lang-item a{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}
header .js-lang-select-dropdown .lang-item a:hover{
    background: #F8F8FC;
    border-radius: 8px;
    text-decoration: none;
}
header .js-lang-select-dropdown .lang-item a:hover .name{
    color: var(--primary);
}
header .js-lang-select-dropdown .lang-item:not(:last-child){
    border-bottom: 1px solid #F0F0F0;
}

header .js-lang-select-dropdown .flag img{
    width: 27px;
}

header .js-lang-select-dropdown .lang-item .name{
    color: #444444;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.035px;
    min-width: 125px;
}
/********** Lang menu end **********/
.site-menu .languages{
    /*position: absolute;*/
    /*bottom: 0;*/
    /*border-top: 1px solid #0A1A18;*/
    /*padding: 32px;*/
    width: 100%;
    margin-bottom: 0;
    /*border-bottom: 1px solid #F0F0F0;*/
}
.site-menu .languages .title{
    color: #F0F0F0;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.56px;
    margin-bottom: 16px;

}
.site-menu .js-lang-select-holder {
    display: none;
    /*display: flex;*/
    /*align-items: center;*/
    /*color: #ffffff;*/
    /*font-size: 25px;*/
}

.site-menu .js-lang-select-holder .flag, header .js-lang-select-dropdown .flag {
    margin-right: 10px;
}

.site-menu .js-lang-select-holder .flag img {
    width: 30px;
}

.site-menu .js-lang-select-dropdown{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.site-menu .js-lang-select-dropdown.active{
    display: block;
}

.site-menu .js-lang-select-dropdown .lang-item a{
    display: flex;
    align-items: center;
}

.site-menu .js-lang-select-dropdown .flag img{
    width: 30px;
}

.site-menu .js-lang-select-dropdown .lang-item .name{
    display: none;
}


/*hide page Become a Partner*/
.nav-horizontal .menu-item-has-children:nth-child(6) .menu-item:nth-child(4) {
    display: none;
}
.footer .menu-item-has-children:nth-child(6) .menu-item:nth-child(2) {
    display: none;
}