
@font-face {
    /* 自定义的字体名字 */
    font-family: 'HarmonyOS_Sans_SC';
    /*本地的字体地址*/
    src: url('./dsdigi1-webfont.eot'); /* IE9 Compat Modes */
    src: url('./dsdigi1-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fonts/HarmonyOS_Sans_SC_Regular.woff') format('woff'), /* Modern Browsers */
    url('./dsdigi1-webfont.woff2') format('woff2'), /* Modern Browsers */
    url('/fonts/HarmonyOS_Sans_SC_Regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/fonts/HarmonyOS_Sans_SC_Regular.svg') format('svg'); /* Legacy iOS */
    font-weight: normal;
    font-style: normal;
}

body{
    font-family:"HarmonyOS_Sans_SC", -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
    Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
    sans-serif;
}




/*设置导航栏*/
.header {
    width: 100%;
    height: 80px;
    background-color: black;
    position: fixed;
    z-index: 99999;
    /*将导航栏固定*/
}

.header .logo {
    height: 47px;
    color: white;
    display: flex;
    align-items: center;
    /*设置logo的位置*/
}

/*隐藏无序列表的"·"*/
.header ul {
    height: 80px;
    margin-left: 0px;
    width: 100%;
    list-style-type: none;
    display: flex;
    align-items: center;
}

/*设置li*/
.header ul li {
    height: 80px;
    width: 100px;
    margin-right: 30px;
    text-align: left;
    font-family: "SF Pro SC", "HanHei SC", "SF Pro Text", "Myriad Set Pro", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 10%;
}

.header ul a {
    /*去除项目下划线*/
    list-style: none;
    color: rgb(214, 214, 214);
    /*去除下划线*/
    text-decoration: none;
    font-size: 14px !important;
}
.header ul a:hover {
    color: #9440FF !important;
}

.active-a {
    color: #9440FF !important;
}

/*下拉框*/
.drop-menu {
    position: fixed;
    z-index: 99999;
    top: 80px;
    left: 0px;
    right: 0px;
    height: 0px;
    background: #232323;
    overflow: hidden;
    transition: all 0.5s ease-in-out;

}

.drop-menu .pc-menu-content{
    display: flex;
    max-width: 1600px;
    flex-wrap: wrap;
}

.drop-menu .pc-menu-content .menu-item{
    padding: 20px;
    width: 25%;
    bottom: 0px;
}


.drop-menu a{
    color: white;text-decoration: none;
}
.drop-menu a:hover{
    text-decoration: underline;
    font-size: 15px;
}


/*测试去掉show*/
.drop-menu-show {
    position: fixed;
    z-index: 99999;
    top: 80px;
    left: 0px;
    right: 0px;
    height: 700px;
    background: #232323;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}


/*监听屏幕1200px*/
@media screen and (max-width: 1200px) {
    .drop-menu .pc-menu-content .menu-item{
        width: 33.33%;
    }
}

@media screen and (max-width: 900px) {
    .drop-menu .pc-menu-content .menu-item{
        width: 50%;
    }
    .drop-menu-show {
        height: 90vh;
    }
}



.header-mobile {
    display: none;
    position: fixed;
    height: 60px;
    background: black;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 99999;

}
.main-content{
    min-height: 100vh;padding-top: 80px
}

.footer{
    background: black;
    padding: 5vw 0px;
    color: white;
}

.page-title{
    font-size: 2rem;
    color: black;
}

.cus-line-1{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cus-line-2 {
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-line-clamp:2;
}

.cus-line-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /*! autoprefixer: off */
    -webkit-box-orient: vertical;
}


@media screen and (max-width: 820px) {
    .header{display: none}

    .header-mobile {
        display: block;
    }
    .main-content{
        min-height: 100vh;padding-top: 60px
    }
    .mobile-menu{
        position: absolute;
        right: 20px;
        top: 0px;
        bottom: 0px;
        /*width: 44px;*/
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .video-container {
        height: 60vh;
        position: relative;
    }
    .video-container .caption {
        z-index: 99;
        position: relative;
        height: 60vh;
        display: flex;
        font-size: 20px;
        align-items: center;
        color: white;
    }

    .mobile-panel-open{
        overflow: hidden;background: black;
        position: fixed;top: 60px;left: 0px;right: 0px;
        height: calc(100vh - 60px);transition: all 0.5s;
        color: white;
    }
    .mobile-panel-close{
        display: none;
        overflow: hidden;background: black;position: fixed;top: 60px;left: 0px;right: 0px;height: 0;transition: all 0.5s;
    }

    .mobile-items .cus-item{
        border-bottom: 1px solid #D8D8D8;
        min-height: 75px;
        color: white;
        text-decoration: none;
        font-size: 18px !important;
        display: flex;
        align-items: center;
    }
    .mobile-items div a{
        height: 40px;
        color: white;
        text-decoration: none;
        font-size: 18px !important;
    }

}


/*两端显示控制*/
.pc-show {display: block;}
.mobile-show{display: none;}
@media screen and (max-width: 820px) {
    .pc-show{display: none;}
    .mobile-show {display: block;}
    .container{
        width: 100%;
        overflow-x: hidden;
    }
}
