/* 公共样式 */

/* <!-- zindex
header 10 
轮播小圆点 1
轮播下面的一块 1
选择人物 2
手 1
联系方式 10

--> */

/* transition IE 10 以下不支持

transform IE 9 以下不支持

*/


@font-face {
    font-family: 'SourceHanSansCN-Heavy';
    src        : url('https://cdn.nfgood.com/SourceHanSansCN-Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style : normal;
}

.font-han-sans {
    font-family: 'SourceHanSansCN-Heavy';
}



* {
    margin : 0;
    padding: 0;
}

body,
html {
    height          : 100%;
    width           : 100%;
    background-color: #fff;
    min-width       : 1200px;
    font-family     : -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing : antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* html {overflow-x:hidden;} */

#root {
    overflow: hidden;
    position: relative;
}

img {
    /* width: 100%; */
    background-size: cover;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    outline    : none;
    /* behavior: url(../js/ie-css3.htc); */
}

.nav {
    width   : 1200px;
    height  : 100%;
    margin  : 0 auto;
    overflow: hidden;
    position: relative;
}

/* 框架样式 */
.header {
    width  : 100%;
    height : 90px;
    z-index: 20;
}

.header {
    position: fixed;
    left    : 0;
    bottom  : auto;
    top     : 0px;

    backdrop-filter        : blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color       : rgba(255, 255, 255, 0.76);
}

/* 定义logo样式 */
.header .nav>.nav-img {
    width : 160px;
    width : 160px;
    height: 90px;
}

.header .nav>.nav-img img {
    width: 100%;
}

.teach-header .nav>.nav-img {
    margin-right: 20px;
}


.header .nav>div,
.header .nav>ul {
    display       : inline-block;
    vertical-align: middle;
}

.header .nav>div,
.header .nav>ul {
    *display: inline;
    /* IE6、IE7识别 */
    _zoom   : 1;
    /* IE6识别 */
}



.header .menu-box {
    float   : right;
    position: relative;
}

.header .menu-items {
    padding  : 0 25px;
    font-size: 0;
}

.header .menu-item {
    display       : inline-block;
    vertical-align: middle;
}

.header .menu-item>a {
    width      : 90px;
    height     : 90px;
    line-height: 90px;
    display    : block;
    font-weight: 700;
    font-size  : 18px;
    color      : #333;
    text-align : center;
    opacity    : 0.6;
    cursor     : pointer;
}

.header .menu-item.active>a {
    opacity: 1;
}

.header .menu-box .menu-line {
    width        : 30px;
    height       : 5px;
    border-radius: 3px;
    background   : #ffcf4f;
    position     : absolute;
    left         : 0;
    bottom       : 22px;
    transform    : translateX(55px);
    transition   : left ease-in-out 300ms;
}




.header .nav-btn {
    float       : right;
    height      : 90px;
    line-height : 90px;
    margin-right: 20px;
}

.header .nav-btn a {
    height       : 40px;
    line-height  : 40px;
    background   : #FFCF4F;
    box-shadow   : 0px 3px 16px rgba(255, 207, 79, 0.8);
    border-radius: 30px;
    border       : none;
    display      : inline-block;
    padding      : 4px 40px 6px;
    font-weight  : 700;
    font-size    : 16px;
    color        : #333;
    cursor       : pointer;
}

.header .nav-btn .hide {
    display: none;
}

.header .nav-btn .nav-toindex {
    padding: 5px 20px 7px;
}

.header .nav-btn .user-logo {
    margin-top    : -2px;
    display       : inline-block;
    vertical-align: middle;
    width         : 28px;
    height        : 28px;
    border        : solid 2px rgba(255, 255, 255, 0.5);
    border-radius : 50%;
    overflow      : hidden;
}

.header .nav-btn .nav-login-load {
    margin-left: 6px;
    font-size  : 0;
}


.header .nav-btn .nav-login-load img {
    width : 6px;
    height: 8px;
}

.header .nav-btn .nav-login-load img+img {
    margin-left: 2px;
}

.header .nav-btn .nav-login:hover .nav-login-load img:nth-child(1) {
    animation: nav-login-load-img-run 600ms linear infinite alternate-reverse;
}

.header .nav-btn .nav-login:hover .nav-login-load img:nth-child(2) {
    animation: nav-login-load-img-run 600ms 300ms linear infinite alternate-reverse;
}

.header .nav-btn a span,
.header .nav-btn a img {
    display       : inline-block;
    vertical-align: middle;
}

.header .nav-btn-img {
    opacity       : 0.5;
    filter        : alpha(opacity=50);
    /* IE */
    -moz-opacity  : 0.5;
    /* 老版Mozilla */
    -khtml-opacity: 0.5;
    /* 老版Safari */
}

.header .nav-user {
    float      : right;
    height     : 90px;
    line-height: 90px;
}

@keyframes nav-login-load-img-run {
    from {
        opacity: 1;
    }

    to {
        opacity       : 0.5;
        filter        : alpha(opacity=50);
        /* IE */
        -moz-opacity  : 0.5;
        /* 老版Mozilla */
        -khtml-opacity: 0.5;
        /* 老版Safari */
    }
}







.footer {
    /* padding: 546px/1920 0; */
    padding: 28.4375% 0;
}

.footer .concat-box {
    display       : inline-block;
    vertical-align: middle;
}

.footer .concat-box.concat-wx {
    padding      : 10px;
    border-radius: 5px;
    background   : #fff;
}

.footer .concat-box.concat-wx+.concat-wx {
    margin-left: 14px;
}

.footer .concat-box .concat-wx-box {
    font-weight: 700;
    font-size  : 14px;
    text-align : center;
    color      : #000;
}

.footer .concat-box .concat-wx-box>img {
    width : 110px;
    height: 110px;
}

.footer .concat-box.concat-phone {
    margin-left: 45px;
}

.footer .concat-box .concat-phone-box {
    font-weight: 900;
    font-size  : 23px;
    color      : #000;
}

.footer .concat-box .concat-phone-box>img {
    margin-top    : -5px;
    margin-right  : 4px;
    display       : inline-block;
    vertical-align: middle;
    width         : 22px;
    height        : 23px;
}


.footer .section-nf {
    margin-top : 30px;
    font-weight: 400;
    font-size  : 14px;
    text-align : left;
    color      : rgba(0, 0, 0, 0.3);
}

.footer .section-nf h1 {
    display    : inline;
    font-size  : inherit;
    font-weight: inherit;
}

.footer .section-nf a:link,
.footer .section-nf a:visited {
    color: inherit;
}

.footer .section-nf a:hover {
    color: #576b95;
}

.footer .section-nf a:active {
    color: #576b95;
}

.footer .section-nf .about-us {
    color : rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.footer .section-nf .about-us:hover {
    color: #576b95;
}




.footer .nav-fotter-menus {
    float      : right;
    line-height: 160px;
}

.footer .nav-fotter-menus>li {
    display       : inline-block;
    vertical-align: middle;
    line-height   : 1;
}

.footer .nav-fotter-menus>li.line {
    height     : 54px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.footer .nav-fotter-menus>li a {
    padding    : 15px 30px;
    display    : block;
    font-weight: 400;
    font-size  : 14px;
    text-align : center;
    color      : rgba(0, 0, 0, 0.4);
}

.footer .nav-fotter-menus>li a:hover {
    color: #576b95;
}

.footer .nav-fotter-menus>li a .pdg {
    margin-top    : -3px;
    display       : inline-block;
    vertical-align: middle;
    width         : 15px;
    height        : 15px;
    position      : relative;
}

.footer .nav-fotter-menus>li a .pdg>img {
    display : block;
    width   : 100%;
    height  : 100%;
    position: absolute;
    top     : 0;
    left    : 0;
    opacity : 0;
}

.footer .nav-fotter-menus>li a .pdg>.n,
.footer .nav-fotter-menus>li a:hover .pdg>.h {
    opacity: 1;
}

.footer .nav-fotter-menus>li a:hover .pdg>.n {
    opacity: 0;
}






.dialog .dialog-bg {
    background-color       : rgba(255, 255, 255, 0.271);
    backdrop-filter        : blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position               : fixed;
    top                    : 0;
    right                  : 0;
    bottom                 : 0;
    left                   : 0;
    z-index                : 98;
}

.dialog.seller .dialog-bg {
    background-color: rgba(238, 254, 241, 0.271);
}

.dialog.supplier .dialog-bg {
    background-color: rgba(235, 250, 255, 0.271);
}

.dialog .dialog-modal {
    position : fixed;
    left     : 50%;
    top      : 50%;
    transform: translate(-50%, -50%);
    z-index  : 99;
}

.dialog .dialog-modal .dialog-modal-bg {
    display : block;
    width   : 760px;
    height  : 510px;
    position: absolute;
    top     : 0;
    left    : 0;
}

.dialog .dialog-modal .dialog-body {
    padding      : 120px;
    width        : 760px;
    height       : 510px;
    border-radius: 10px;
    box-sizing   : border-box;
    position     : relative;
    overflow     : hidden;
}

.dialog .dialog-modal .qr-code {
    margin : 0 auto;
    display: block;
    width  : 208px;
    height : 208px;
}

.dialog .dialog-modal .qr-title {
    margin-top : 20px;
    font-weight: 700;
    font-size  : 20px;
    line-height: 44px;
    text-align : center;
    color      : #333;
}

.dialog .dialog-close {
    cursor  : pointer;
    position: absolute;
    right   : -20px;
    top     : 24px;
}

.dialog .dialog-close img {
    display: block;
    width  : 40px;
    height : 40px;
    opacity: 0.2;
}

.dialog .dialog-bg {
    opacity   : 0;
    transition: all ease-in 500ms;
}

.dialog .dialog-modal {
    opacity   : 0;
    transform : translate(-50%, -50%) scale(0);
    transition: all cubic-bezier(0.175, 0.885, 0.32, 1.275) 500ms;
}

.dialog.seller .dialog-modal {
    transform: translate(50%, 50%) scale(0);
}

.dialog.supplier .dialog-modal {
    transform: translate(-150%, 50%) scale(0);
}

.dialog.show .dialog-bg {
    opacity: 1;
}

.dialog.show .dialog-modal {
    opacity  : 1;
    transform: translate(-50%, -50%) scale(1);
}






/* //滚动条凹槽的颜色，还可以设置边框属性 */
/* ::-webkit-scrollbar-track-piece{
    background-color: #f8f8f8
} */
/* //滚动条的宽度 */
/* ::-webkit-scrollbar{
    width: 8px;
    height: 8px
}  */
/* //滚动条的设置 */
/* ::-webkit-scrollbar-thumb{
    background-color: #dddddd;
    background-clip: padding-box;
    min-height: 28px;
    border-radius: 10px
}  */


/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width : 6px;
    /*对垂直流动条有效*/
    height: 6px;
    /*对水平流动条有效*/
}

/*定义滚动条的轨道颜色、内阴影及圆角*/
::-webkit-scrollbar-track {
    background-color: transparent;
}

/*定义滑块颜色、内阴影及圆角*/
::-webkit-scrollbar-thumb {
    border-radius   : 3px;
    background-color: rgba(0, 0, 0, 0.15);
}

/*定义两端按钮的样式*/
::-webkit-scrollbar-button {
    width           : 6px;
    height          : 6px;
    border-radius   : 3px;
    background-color: transparent;
}

/*定义右下角汇合处的样式*/
::-webkit-scrollbar-corner {
    background-color: transparent;
}