/*public style*/
li{
    list-style: none;
}
* {
    /*margin: 0;*/
    /*padding: 0;*/
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    margin: 0;
    padding: 0;
    font-size: 14px;
}
.header-topnav{
    /*height: 50px;*/
    font-size: 14px;
    background-color: #4693FD;
}
.header-topnav-wrapper{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    line-height: 50px;
    align-items: center;
}
.topnav-right{
    display: flex;
}
.topnav-right .divider{
    margin: 0 15px;
}
.topnav-info{
    margin-right: 20px;
}
.topnav-info *{
    margin-right: 10px;
    font-weight: lighter;
}
#login-link{
    border: 1px solid #fff;
    /* margin-right: 10px; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    /* background-color: red; */
    color: #fff;
}
#register-link{
    background: linear-gradient(0deg, #F79D0A 0%, #FE6A01 100%);
    color: #fff;
}
#register-link:hover{
    opacity: 0.9;
}
.login-before{
    /* display: none; */
    font-size: 12px;
}
.login-before a{
    color: #fff;
    padding: 4px 6px;
}
.login-before *{
    border-radius: 4px;
    /* padding: 4px 0; */
    color: #fff;
    /*width: 75px;*/
    display: inline-block;
    line-height: normal;
    text-align: center;
}
.header-inner{
    /* width: 1250px; */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#header-block{
    color: #fff;
    /* position: absolute;
    left: 0;
    right: 0;
    z-index: 2; */
}
#header-block ul{
    padding: 10px;
    list-style: none;
    margin: 0;
    white-space: nowrap;
}
#header-block a{
    text-decoration: none;
    white-space: nowrap;
}
.logo-outer a{
    display: block;
}
.logo-outer img{
    border: none;
}
.header-nav{
    margin-left: 17px;
    font-family: "MicroSoft Yahei" !important;
    /* overflow-x: scroll; */
}
.header-nav::-webkit-scrollbar{
    display: none;
}
.header-nav-list > li{
    display: inline-block;
    font-size: 16px;
    position: relative;
    margin-left: 30px;
}
.header-nav-list > li > a{
    color: #333;
    padding: 20px 0;
    display: inline-block;
}
.dropdown-wrapper{
    display: none;
    position:absolute;
    top: 100px;
    background: rgba(255, 255, 255, 1);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    box-shadow: 0px 10px 36px 0px rgb(5 17 71 / 20%);
    opacity: 0;
    z-index: 999;

}
.dropdown-wrapper ul{
    color: #333;
    padding: 15px;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
}
.dropdown-wrapper a{
    color: #333;
    font-size: 14px;
    white-space: normal;
}
.dropdown-wrapper a:hover{
    color: #f60;
}
.dropdown-wrapper:before{
    content: '';
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 1px;
}
.header-nav-list > li em{
    border-width: 6px 5px 0;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    /*position: absolute;*/
    /*right: 0px;*/
    /*top: 0;*/
    /*bottom: 0;*/
    /*margin: auto 0;*/
    margin-bottom: 3px;
    display: inline-block;
    height: 6px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.login-after{
    position: relative;
    min-width: 165px;
    display: none;
    text-align: left;
}
.login-after > a:hover{
    color: #fff;
}
.login-after > a{
    color: #fff;
}
.login-after > em{
    margin-bottom: 2px;
    content: '';
    border-bottom: none;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    border-left: 5px solid transparent;
    display: inline-block;
    vertical-align: middle;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.login-after > a > img{
    width: 20px;
    vertical-align: sub;
}
.user-info .user {
    padding: 12px;
    display: flex;
    align-items: center;
}

.user-info{
    background-color: #fff;
    font-size: 14px;
    text-align: left;
    z-index: 10;
    position: absolute;
    top: 110px;
    left: 50%;
    width: auto;
    display: none;
    border-radius: 3px;
    box-shadow: 0px 10px 36px 0px rgb(5 17 71 / 7%);
    line-height: normal;
    transform: translateX(-50%);
}
.user-info:before{
    content: '';
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 1px;
}
.user_div img {
    width: 57px;
}
.user_detail {
    width: 150px;
    height: 57px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-around;
    vertical-align: top;
    color: #333;
}
.user_list ul li {
    list-style: none;
    padding: 8px 15px;
    align-items: center;
    border-top: 1px solid #e5e5e5;
    color: #333;
}
.user_detail a{
    color: #333;
}
.user_div {
    padding: 0 12px 0 0;
    display: inline-block;
}
.spot {
    width: 4.8px;
    float: left;
    height: 4px;
    border-radius: 50%;
    color: #f7f7f7;
    margin-top: 9px;
    margin-right: 12px;
    background: #FE6700;
}
.user_list ul li a {
    color: #333;
}
.user_list ul{
    padding: 0;
}
.balance-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}
.balance-block #Deposit{
    color: #FE242E;
    letter-spacing: 1px;
}
.balance-block a{
    display: inline-block;font-size: 12px;color: white!important;padding: 3px 8px;background-color: #f60;border-radius: 3px;
    margin-left: 10px;
}
.language{
    color: #fff!important;
}
.img-meun,.m-logo{
    display: none;
}
.img-meun,.img-user{
    width: 24px;
}
.user-mobile{
    display: none;
}
.header-wrapper{
    background-color: #fff;
    box-shadow: 0px 4px 8px 0px rgb(0 0 0 / 8%);
}
.toggle-version a{
    color: #fff;
}
.toggle-version img {
    vertical-align: middle;
    margin-right: 2px;
}
.toggle-version span {
    border-bottom: 1px solid #fff;
}
.hidden-pc{
    display: none;
}


.nav-cell-box {
    margin-right: 16px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.nav-cell{
    position: relative;
    display: inline-block;
    line-height: 26px;
    height: 26px;
    border-radius: 26px;
    background: #2872D9;
    padding: 0 28px;
}
.nav-cell::before{
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    width: 18px;
    height: 26px;
    background: url("../img/lang.svg") no-repeat 50% 50% / 18px 18px;
}
.lang .nav-cell::before{
    background-image: url("../img/lang.svg");
}
.currency .nav-cell::before{
    background-image: url("../img/localCurrency.svg");
}
.nav-cell::after{
    content: '';
    position: absolute;
    top: 0;
    right: 9px;
    width: 9px;
    height: 26px;
    background: url("../img/cell-arrow.svg") no-repeat 50% 50% / 9px 6px;
    transform: rotateX(0deg);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.nav-cell-box:hover > .nav-cell::after{
    transform: rotateX(180deg);
}
.nav-cell-list {
    position: absolute;
    left: 50%;
    top: 100%;
    display: none;
    border-radius: 6px;
    flex-direction: column;
    background-color: #fff;
    z-index: 99;
    width: 165px;
    transform: translateX(-50%);
    box-shadow: 3px 3px 15px rgba(1, 1, 1, 0.1);
    opacity: 1; /* 默认完全不透明 */
    transition: opacity 0.5s ease; /* 平滑过渡效果 */
}
.nav-cell-list::before {
    content: "";
    position: absolute;
    top: -9px; /* 根据三角形的高度调整 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff; /* 白色三角形 */
}
.nav-cell-list a, .nav-cell-list span {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666666;
    font-weight: 400;
    font-size: 14px;
}
.nav-cell-list a, .nav-cell-list span img {
    margin-right: 5px;
}
.nav-cell-list a:hover, .nav-cell-list span:hover {
    color: #FC7114;
}
.nav-cell-box:hover > .nav-cell-list{
    display: flex;
}

.nav-cell-list2 {
    position: absolute;
    left: 50%;
    top: 100%;
    display: none;
    border-radius: 6px;
    flex-direction: column;
    background-color: #fff;
    z-index: 99;
    width: max-content;
    transform: translateX(-50%);
    box-shadow: 3px 3px 15px rgba(1, 1, 1, 0.1);
    opacity: 1;
    transition: opacity 0.5s ease;
    padding: 0 5px;
}
.nav-cell-list2::before {
    content: "";
    position: absolute;
    top: -9px; /* 根据三角形的高度调整 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff; /* 白色三角形 */
}
.nav-cell-list2 a, .nav-cell-list2 span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #666666;
    font-weight: 400;
    font-size: 14px;
}
.nav-cell-list2 span img,
.nav-cell-list2 a img {
    width: 22px;
    margin-right: 5px;
    margin-left: 15px;
}
.nav-cell-list2 a:hover, .nav-cell-list2 span:hover {
    color: #FC7114;
}
.nav-cell-box:hover > .nav-cell-list2 {
    display: flex;
}


@media (max-width: 1200px) {
    .header-topnav-wrapper{
        width: 100%;
        padding: 0 15px;
    }
    .header-wrapper{
        padding-left: 15px;
        overflow-x: auto;
    }
    .header-wrapper::-webkit-scrollbar{
        display: none;
    }
    .banner-wrapper{
        width: 100%;
        text-align: center;
    }
    .banner-text{
        left: 5%;
        font-size: 3.2vw;
    }
    .banner-text5{
        font-size: 2.5vw;
    }
}

@media (max-width: 768px) {
    .login-before *{
        display: unset;
    }
    #login-link{
        background-color: #FE6A01;
    }
    .banner-container {
        background: #fff;
        height: auto;
    }
    .banner-text{
        top: 34%;
        left: 5%;
        font-size: 3vw;
    }
    .banner-text5{
        font-size: 2.5vw;
    }
    .hidden-pc{
        display: block;
    }
    .header-nav{
        margin-left: 0;
    }

    .img-meun,.m-logo{
        display: block;
    }
    .toggle-version,.topnav-right .divider{
        display: none;
    }
    .header-topnav{
        height: 50px;
    }
    .header-topnav-wrapper{
        padding: 5px 12px;
        background-color: #fff;
        height: 100%;
        line-height: normal;
    }
    .login-after a > span{
        display: none;
    }
    .header-nav-list{
        padding-left: 0;
    }
    .header-nav-list > li > a{
        color: #333!important;
        padding: 12px 0 12px 20px;
        font-size: 14px;
    }
    .logo-outer,.topnav-info{
        display: none;
    }
    .mobile-hide {
        display: none;
    }
    #header-block ul {
        display: block;
    }
    .m-logo > img {
        height: 20px;
    }
    .nav-cell-list {
        top: 118%;
    }
    .nav-cell-list > a {
        height: 48px;
        border-bottom: 1px solid #EFEFEF;
    }
    .nav-cell::after {
        right: 4px;
    }
    .header-topnav .active {
        background-color: #1575FF;
    }
    .nav-cell {
        padding: 0 18px;
        background-color: #F5F5F5;
        width: 18px;
        height: 26px;
    }
 
    .nav-cell:hover {
        background-color: #1575FF;
    }
    .lang .nav-cell::before{
        background-image: url("../img/lang.png");
    }
    .lang:hover .nav-cell::before {
        background-image: url("../img/lang.svg");
    }
    .nav-cell::after {
        background-image: url("../img/lang2.svg");
        width: 6px;
    }
    .lang:hover .nav-cell::after { 
        background-image: url("../img/cell-arrow.svg");
    }
    .currency .nav-cell::before {
        width: 19px;
        background: url('../img/localCurrency.png') no-repeat 50% 50% / 20px 18px;
    }
    .currency:hover .nav-cell::before {
        background-image: url('../img/localCurrency.svg');
    }
    .nav-cell-list2 {
        top: 118%;
    }
   
    .currency:hover .nav-cell::after {
        background-image: url("../img/cell-arrow.svg");
        width: 6px;

    }
    .nav-cell-list2 span {
        height: 48px;
        border-bottom: 1px solid #EFEFEF;
    }
    .header-nav-list {
        display: flex;
        align-items: center;
    }
    .nav-cell-box {
        margin-right: 6px;
    }
    .login-after > a{
        color: #333;
    }
    .header-topnav-wrapper > a > img{
        vertical-align: middle;
    }
    .header-wrapper{
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #fff;
        z-index: 10;
        overflow: visible;
        padding-left: 0;
        background-color: rgba(0,0,0,0.2);
    }
    .header-inner{
        display: block;
        width: 100%;
        background-color: #fff;
    }
    .header-nav-list > li{
        display: block;
        border: 1px solid #ddd;
        margin-top: -1px;
        padding: 0;
        margin-left: 0;
        text-align: left;
    }
    /*.header-topnav-wrapper{*/
    /*    display: none;*/
    /*}*/
    .header-wrapper{
        display: none;
    }
    .dropdown-wrapper ul{
        width: 100% !important;
        text-align: left;
        padding: 15px 30px !important;
        line-height: 35px;
    }
    .dropdown-wrapper ul li{
        border-bottom: 1px dashed #ddd;
    }
    .dropdown-wrapper ul li:last-child{
        border: none;
    }
    .header-nav-list > li em{

        border-top: 6px solid #333!important;
        top: 20px;
        right: 24px;
        margin: 16px;
        float: right;
    }
    .dropdown-wrapper{
        -webkit-transform: unset;
        -moz-transform: unset;
        -ms-transform: unset;
        -o-transform: unset;
        transform: unset;
        position: unset;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        opacity: 1;
    }
    .dropdown-wrapper:before{
        display: none;
    }
    .login-after > em{
        border-top: 6px solid #333;
        display: none;
    }
    .login-after{
        width: auto;
    }
    .user-mobile{
        display: block;
    }
    .login-after > a{
        display: none;
    }
    .user-pc{
        display: none;
    }
    .user-info{
        right: -20px;
        left: unset;
        -webkit-transform: unset;
        -moz-transform: unset;
        -ms-transform: unset;
        -o-transform: unset;
        transform: unset;
        top: 42px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        box-shadow: 0px 4px 18px 0px rgb(0 0 0 / 8%);
    }
}

@media (max-width: 576px) {
    .login-content{
        width: 95%;
        margin: 20px auto;
    }
    .right-block > div{
        padding: 30px;
        background: #fff none;
    }
    .banner-text{
        top: 37%;
        left: 5%;
        font-size: 3vw;
    }
    .banner-text5{
        font-size: 2.5vw;
    }
}
