/* body.lang-en {
    font-family: 'Dongle', sans-serif;
} */

body.lang-th {
    font-family: "Noto Sans Thai", sans-serif;
    font-size: 14px
}

body.lang-id {
    font-family: 'Dongle', sans-serif;
}

body.lang-zh-cn,
body.lang-zh-tw {
    font-family: "Noto Sans SC", sans-serif;
}

body.lang-pt {
    font-family: 'Dongle', sans-serif;
}

/* ปรับ font สำหรับแต่ละภาษา */
.custom-select option[value="th"],
body.lang-th .custom-select {
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-size: 11px !important;
}

.custom-select option[value="zh-tw"],
body.lang-zh-tw .custom-select,
.custom-select option[value="zh-cn"],
body.lang-zh-cn .custom-select {
    font-family: 'Noto Sans TC', sans-serif !important;
    font-size: 12px !important;
}

body.lang-zh-cn .navbar_menu span,
body.lang-zh-tw .navbar_menu span,
body.lang-zh-cn .navbar_btnlogin,
body.lang-zh-tw .navbar_btnlogin {
    font-size: 14px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 7px;
}

body.lang-zh-cn .navbar_btnGameTitle2,
body.lang-zh-tw .navbar_btnGameTitle2 {
    display: none;
}

body.lang-zh-cn .navbar_btnGameTitle,
body.lang-zh-tw .navbar_btnGameTitle {
    font-size: 45px;
    line-height: 55px;
    width: 130px;
    display: block;
    top: 20px;
}

/* home story  */
body.lang-th .content_topicLayout {
    font-size: 40px;
}

body.lang-th .content_topicLayout span {
    margin-top: 18px;
    margin-bottom: 0px;
}

body.lang-th .content_detail {
    font-family: "Noto Sans thai", sans-serif;
}

body.lang-th .content_detail h1 {
    font-size: 30px !important;
}

body.lang-th .content_detail h4 {
    font-family: "Noto Sans thai", sans-serif;
    font-size: 15px !important;
}

body.lang-zh-cn .content_topicLayout,
body.lang-zh-tw .content_topicLayout {
    font-size: 35px;

}

body.lang-zh-cn .content_topicLayout span,
body.lang-zh-tw .content_topicLayout span {
    margin-top: 18px;
    margin-bottom: 0px;
}

body.lang-zh-cn .content_detail,
body.lang-zh-tw .content_detail {
    font-family: "Noto Sans thai", sans-serif;
}

body.lang-zh-cn .content_detail h1,
body.lang-zh-tw .content_detail h1 {
    font-size: 30px !important;
}

body.lang-zh-cn .content_detail h4,
body.lang-zh-tw .content_detail h4 {
    font-family: "Noto Sans thai", sans-serif;
    font-size: 15px !important;
}

/* home features */
.content_featuresTopic,
.content_feaTitle {
    font-family: 'Dongle', sans-serif;
}

/* th  */
body.lang-th .features_detail {
    font-family: "Noto Sans thai", sans-serif;
}

body.lang-th .features_detail h1 {
    font-size: 28px !important;
}

body.lang-th .features_detail h2 {
    font-size: 22px !important;
}

body.lang-th .features_detail h4 {
    font-size: 16px !important;
}

/* cn,tw  */
body.lang-zh-cn .features_detail,
body.lang-zh-tw .features_detail {
    font-family: "Noto Sans TC", sans-serif;
}

body.lang-zh-cn .features_detail h1,
body.lang-zh-tw .features_detail h1 {
    font-size: 26px !important;
}

body.lang-zh-cn .features_detail h2,
body.lang-zh-tw .features_detail h2 {
    font-size: 20px !important;
}

body.lang-zh-cn .features_detail h4,
body.lang-zh-tw .features_detail h4 {
    font-size: 16px !important;
}

body.lang-zh-cn .content_featuresTopic span,
body.lang-zh-tw .content_featuresTopic span {
    font-size: 40px !important;
    padding-bottom: 5px;
}

/* id  */
body.lang-id .features_detail h2 {
    line-height: 25px;
}

body.lang-id #account .card-account .btn-login,
body.lang-en #account .card-account .btn-login,
body.lang-pt #account .card-account .btn-login,
body.lang-th #account .card-account .btn-login,
body.lang-zh-tw #account .card-account .btn-login,
body.lang-zh-ch #account .card-account .btn-login {
    font-family: 'Dongle', sans-serif;
    font-size: 25px;
}

/* navbar  */
body.lang-pt .navbar_leftLayout a:nth-of-type(1) .navbar_menu {
    min-width: 100px;
    width: 100%;
    padding: 0 15px;
}

/* Class  */
body.lang-th .class_titleLayout span,
body.lang-zh-cn .class_titleLayout span,
body.lang-zh-tw .class_titleLayout span,
body.lang-th .graph_mainLayoutClass span,
body.lang-zh-cn .graph_mainLayoutClass,
body.lang-zh-tw .graph_mainLayoutClass,
body.lang-th .graph_subLayoutClass,
body.lang-zh-cn .graph_subLayoutClass,
body.lang-zh-tw .graph_subLayoutClass,
body.lang-th .emblem_title,
body.lang-th .emblem_detailLv,
body.lang-zh-cn .emblem_title,
body.lang-zh-cn .emblem_detailLv,
body.lang-zh-tw .emblem_title,
body.lang-zh-tw .emblem_detailLv {
    font-family: 'Dongle', sans-serif;
}

body.lang-th .class_detailLayout,
body.lang-zh-cn .class_detailLayout,
body.lang-zh-tw .class_detailLayout {
    font-size: 15px;
    line-height: 25px;
}

body.lang-en .navbar_btnGameTitle2,
body.lang-th .navbar_btnGameTitle2,
body.lang-id .navbar_btnGameTitle2,
body.lang-pt .navbar_btnGameTitle2 {
    display: block;
}

body.lang-en .form-check-label,
body.lang-pt .form-check-label,
body.lang-id .form-check-label {
    font-size: 20px;
    font-family: 'Dongle', sans-serif;
    line-height: 20px;
}

body.lang-pt #account .card-account .btn-accept,
body.lang-en #account .card-account .btn-accept,
body.lang-id #account .card-account .btn-accept {
    font-family: 'Dongle', sans-serif;
    font-size: 23px;
    height: 40px;
    background-size: cover;
    width: 350px;
    padding: 0;
}

body.lang-th .form-check-label {
    font-size: 13px;
}

body.lang-zh-cn .form-check-label,
body.lang-zh-tw .form-check-label {
    font-size: 13px;
}



body.lang-en #account .card-account .card-header h2,
body.lang-id #account .card-account .card-header h2,
body.lang-pt #account .card-account .card-header h2 {
    font-family: 'Dongle', sans-serif;
    font-size: 60px !important;
}

body.lang-en .profile_name h4,
body.lang-id .profile_name h4,
body.lang-pt .profile_name h4,
body.lang-th .profile_name h4,
body.lang-zh-tw .profile_name h4,
body.lang-zh-cn .profile_name h4 {
    font-size: 40px !important;
    font-family: 'Dongle', sans-serif;
}


body.lang-en .profile_name h6,
body.lang-id .profile_name h6,
body.lang-pt .profile_name h6,
body.lang-th .profile_name h6,
body.lang-zh-tw .profile_name h6,
body.lang-zh-cn .profile_name h6 {
    font-size: 25px !important;
    font-family: 'Dongle', sans-serif;
}

body.lang-en .profile_layoutImg,
body.lang-id .profile_layoutImg,
body.lang-pt .profile_layoutImg,
body.lang-th .profile_layoutImg,
body.lang-zh-tw .profile_layoutImg,
body.lang-zh-cn .profile_layoutImg {
    font-family: 'Dongle', sans-serif;
}

body.lang-en .profile_name p,
body.lang-id .profile_name p,
body.lang-th .profile_name p,
body.lang-pt .profile_name p {
    font-size: 25px !important;
    line-height: 10px;
    font-family: 'Dongle', sans-serif;
}

body.lang-id .profile_name h4,
body.lang-pt .profile_name h4 {
    font-size: 40px !important;
    font-family: 'Dongle', sans-serif;
}


@media (max-width:576px) {
    body.lang-th .features_detail h1 {
        font-size: 20px !important;
    }

    body.lang-th .features_detail h2 {
        font-size: 18px !important;
    }

    body.lang-th .features_detail h4 {
        font-size: 14px !important;
    }

    body.lang-zh-cn .features_detail h1,
    body.lang-zh-tw .features_detail h1 {
        font-size: 20px !important;
    }

    body.lang-zh-cn .features_detail h2,
    body.lang-zh-tw .features_detail h2 {
        font-size: 18px !important;
    }

    body.lang-zh-cn .features_detail h4,
    body.lang-zh-tw .features_detail h4 {
        font-size: 14px !important;
    }

}

@media (max-width:425px) {
    body.lang-th .content_detail h1 {
        line-height: 25px;
        font-size: 20px !important;
    }

}

@media (max-width:400px) {
    body.lang-th .features_detail h1 {
        font-size: 18px !important;
    }

    body.lang-th .features_detail h2 {
        font-size: 16px !important;
    }

    body.lang-zh-cn .features_detail h1,
    body.lang-zh-tw .features_detail h1 {
        font-size: 18px !important;
    }

    body.lang-zh-cn .features_detail h2,
    body.lang-zh-tw .features_detail h2 {
        font-size: 16px !important;
    }

}