/* 初始化 */
* {
    /* 消除默认边距 */
    margin: 0;
    padding: 0;
    /* 保证盒子大小不受到边框边距等影响 */
    box-sizing: border-box;
}
/* 确保统一字体应用到整个页面 */
html, body {
    /* 清除浏览器默认字体 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    padding-top: 6rem;
    padding-left: 21rem;
}
/* 清除富文本li标签超出父元素问题  */
li {
    /*margin-left: 2rem !important;*/
}
:root{
    --gl-main-color: #022559;
    --gl-active-color: #B4272B;
}
.rich-text * {
    margin: revert;
    padding: revert;
}
/*!* 根据站点设置字体 *!*/
html {
    font-family: Graphik Webfont-apple-system, Helvetica Neue, Droid Sans, Arial, sans-serif;
}
/*html[lang="zh_cn"] {*/
/*    font-family: PingFang SC ,Lantinghei SC ,icrosoft YaHei ,Helvetica Neue, Hiragino Sans GB ,微软雅黑 ,sans-serif;*/
/*}*/
/*html[lang="ja"] {*/
/*    font-family: Noto Sans Japanese, Meiryo, Hiragino Kaku Gothic Pro, MS PGothic, Yu Mincho, YuGothic ,sans-serif;*/
/*}*/
/*html[lang="kr"] {*/
/*    font-family: Noto Sans KR ,Helvetica Neue ,Pretendard ,Apple SD Gothic Neo ,맑은 고딕 ,돋움, sans-serif;*/
/*}*/
img {
    /* 图片在img标签内等比例缩放显示 */
    object-fit: contain;
}
a {
    text-decoration: none;
    color: #666;
}
div {
    /*color: #222222;*/
    font-size: 1.6rem;
    font-weight: normal;
}
span {
    display: inline-block;
}
input:focus {
    outline: none;
    border: none;
}
body {
    /* 将整个body看成flex容器 */
    /*min-width: 1340px;*/
    display: flex;
    /* 主轴垂直,不换行 */
    flex-flow: column nowrap;
}
/* 超出一行省略号显示 */
.text_1 {
    white-space: nowrap;          /* 不允许换行 */
    overflow: hidden;             /* 隐藏超出的部分 */
    text-overflow: ellipsis;      /* 超出的部分显示省略号 */
}
.detail_bread_link_icon {
    width: 0.5rem;
    height: 0.9rem;
    margin: 0 0.5rem;
}
/* 超出多行省略号显示 */
.text_n {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 控制显示2行 */
    overflow: hidden;
    text-overflow: ellipsis;
}
::-webkit-scrollbar {
    width: 0.5rem; /* 水平滚动条的宽度 */
    height: 0.5rem; /* 垂直滚动条的高度 */
}
::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}
::-webkit-scrollbar-button {
    background-color: #ddd;  /* 设置按钮背景颜色 */
    height: 0.5rem;             /* 设置按钮高度 */
    width: 1rem;              /* 设置按钮宽度 */
}

/*禁止滚动*/
.headerNo-scroll {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* 登录弹框 */
.loginBox-body {
    z-index: 2;
    position: fixed;
    top: 20%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    .getCodeBtn {
        height: 0.8rem;
        border-radius: 0.04rem;
        background: #022559;
        text-align: center;
        line-height: 0.8rem;
        color: #fff;
    }

    .loginBox-btn-box {
        margin-top: 1.3rem;
        width: 100%;
        display: flex;
        justify-content: center;

        .loginBox-btn {
            font-size: 0.26rem;
            width: 5.9rem;
            height: 0.7rem;
            border-radius: 2.49rem;
            background: #022559;
            text-align: center;
            line-height: 0.7rem;
            color: #fff;
        }

    }

    .loginBox-ipt {
        margin-top: 0.7rem;
        font-size: 0.22rem;
        font-weight: 600;
    }

    .loginBox-ipt-box {
        margin: 0.3rem 0;

        .loginBox-ipt-box-icon {
            width: 0.3rem;
            height: 0.2455rem;
            margin-right: 0.1rem;
        }

        .loginBox-ipt-box-icons {
            height: 0.36rem !important;
        }

        .nut-input {
            background: #f7f7f7;
            font-size: 0.22rem !important;
            padding: 0.2rem 0.2rem;
        }

        .input-text {
            font-size: 0.24rem;
        }

        .nut-input--border {
            border: 0.02rem solid #DCDFE6 !important;
            border-radius: 0.04rem;
        }

    }

    .loginBox-content {
        position: relative;
        width: 100%;
        height: 10.8rem;
        border-radius: 8px;
        /*background-image: url("/mobile/img/index/loginBg.png");*/
        /*background-size: 100% 100%;*/
        background-color: #fff;
        padding: 0.4rem;

        .loginBox-title {
            font-size: 0.52rem;
            font-weight: 600;
            color: #022559;
            margin-top: 0.2rem;
        }

        .loginBox-log {
            position: absolute;
            top: 0.37rem;
            right: 0.27rem;
        }

    }
}

/* 遮罩层 */
.HeaderMenuBoxOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .6;
}