/* 基础设置 */
*{margin: 0;padding: 0;border:0px;list-style: none;}
a{text-decoration: none;}

/* 设置底色 */
body{
    background-color: #e8f1fa;
    overflow-x: hidden;
}
html{
    /* 当单击可滚动框中的链接时，平滑地（具动画效果）滚动位置，而不是直线跳转 */
    scroll-behavior: smooth;
}
/* 版心 */
.container{
    width: 1226px;
    margin: 0 auto;
}


/* 顶部导航 */
.head-top{
    width: 100vw;
    height: 40px;
    background-color: #252525;
}
.head-top .container{
    display: flex;
    justify-content: space-between;
}
.head-top-left,.head-top-right{
    display: flex;
    line-height: 40px;
}
.head-top-left>li>a,.head-top-right>li>a{
    font-size: 12px;
    color: #b0b0b0;
}
.head-top-left>li>a{
    padding: 0 10px;
    border-left:1px solid rgb(95, 95, 95) ;
}
.head-top-right>li>a{
    padding: 0 10px;
    border-left:1px solid rgb(95, 95, 95) ;
}
.head-top-right>li:first-child>a{
    padding-left: 0;
    border-left:0 ;
}
.head-top-left>li:first-child>a{
    padding-left: 0;
    border: 0;
}
.head-top-right li:last-child{
    width: 80px;
    background-color: #505050;
    text-align: center;
    position: relative;
}
.head-top-right li:last-child>a{
    border: 0;
}
.head-top ul>li>a:hover{
    color: #fff;
}
.sc{
    width: 280px;
    height: 0px;
    background-color: #ffffff;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 10;
    transition: 0.2s all linear;
    box-shadow: 0 0 2px black;
    overflow: hidden;
    text-align: center;
    line-height: 70px;
    font-size: 12px;
    color: #ffcdac;
}

/* 头部导航 */
.head-nav{
    height: 75px;
    width: 100%;
    background-color: #fff;
    position: relative;
    
}
.head-nav>.container{
    display: flex;
    align-items: center;
    justify-content:space-between;
    line-height: 70px;
}
.head-nav>.container ul{
    display: flex;
}

.head-nav>.container ul li a{
    color: #515151;
    margin-right: 30px;
    font-size: 16px;
}
.head-nav .container ul li:last-child a{
    margin-right: 0;
}
#item-nav>li>a:hover{
    color: #ff4d17;
}
#item-nav>li>div{
    position: absolute;
    left: 0;
}
#item-nav>li>div>.container{
    display: flex;
    /* border: 1px solid black; */
    transition: 1.2s all;
    opacity: 0;
    margin-top: 30px;
}
#item-nav>li>div>.container>span{
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 25px;
    /* background-color: #6e95ca; */
}
#item-nav>li>div>.container>span>img{
    width: 150px;
}
#item-nav>li>div>.container>span>span{
    color: #737373;
    font-size: 14px;
}
.item-children{
    width: 100%;
    height: 260px;
    background-color: rgb(255, 255, 255);
    left: 0;
    position: absolute;
    z-index: 5;
    transition: 0.5s ease-in-out all;
    box-shadow: 0 2.5px 5px rgb(78, 78, 78);
}
.head-logo{
    display: flex;
    align-items: center;
}
.head-logo img:nth-child(2){
    margin: 0 5px;
}
.nav-seach{
    width: 300px;
    height: 25px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 15px;
    padding: 0 10px;
    display: flex;
}
.nav-seach input{
    width: 300px;
    border: 0;
    padding: 0 20px;
    border-radius: 15px;
    margin-right: 20px;
    outline: 0;
}
.nav-seach-img{
    width: 30px;
    height: 25px;
    background-image: url(../huawei/img/k_s.png);
    background-position: 0 -24px;
    background-repeat: no-repeat;
    cursor: pointer;
}
/* 全局导航 */
.const-nav{
    position: fixed;
    right: 16px;
    bottom: 70px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px;
    z-index: 100;
}
.const-nav>li{
    width: 80px;
    height: 80px;
    padding-top: 10px;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
}
.const-nav>li>span{
    display: block;
    width: 100%;
}
.const-nav>li>span:first-child{
    font-size: 35px;
    margin-bottom: 5px;
}
.const-nav>li:last-child>span:first-child{
    font-size: 28px;
}
.const-nav>li>span:last-child{
    font-size: 12px;
    color: #737373;
}
.const-nav>li:hover span{
    color: #ff4d17;
}
#keys{
    display: none;
}
/* banner轮播图  */
#head-banner{
    display: flex;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

#head-banner img{
    width: 1920px;
}
#head-banner>img:not(.banner-one){
    display: none;
}
#head-banner>.container{
    top: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#head-banner>.container>ol{
    width: 180px;
    top: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 36px;
    background-color: rgb(255, 255, 255,0.9);
    position: relative;
}
#head-banner>.container>ol>li{
    display: flex;
    justify-content: space-between;
    height: 40px;
    line-height: 40px;
}
#head-banner ol>li>.item{
    width: 400px;
    height: 440px;
    background-color: rgb(255, 255, 255);
    top: 0;
    left: 180px;
    position: absolute;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 36px;
    transition: 1s all linear;
    display: none;
}
#head-banner ol>li>.item>ul{
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}
#head-banner ol>li>.item>ul>li{
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
}
#head-banner ol>li>.item img{
    width: 60px;
}
.iconfont{
    color: #737373;
}
#head-banner ol>li>.item span{
    color: #737373;
    font-size: 14px;
}
#head-banner ol>li:hover .item{
    display: block;
}
#head-banner ol>li>a{
    margin-left: 20px;
}
#head-banner ol>li>span{
    margin-right: 20px;
}
#head-banner ol>li>a{
    font-size: 14px;
    color: #737373;
}
.nav-bottem>span{
    font-size: 14px;
    color: #737373;
}
#head-banner>ul{
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
#head-banner>ul>li{
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border: 1px solid black;
    border-radius: 50%;
    cursor:pointer;
    box-shadow: 0 0 2px black;
}
#head-banner>ul>li:first-child{
    background-color: rgb(196, 196, 196);
}
#head-banner>ul>li:hover{
    background-color: rgb(196, 196, 196) !important;
}
#head-banner>ul li{
    background-color: #ffffff;
}

#head-banner>ul li:last-child{
    margin-right: 0;
}
#head-banner>.container>ol>li:hover a{
    color: #000000;
}


/* 内容区海报 */
.top-main{
    margin-top: 25px;
    text-align: center;
}


/* 主要内容区 */
.contain-main .container{
    display: flex;
    flex-wrap: wrap;
}
.container-top{
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contain-main .contain-caption{
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin-top: 40px;
    display:flex;
    justify-content: space-between;
}
.contain-main .contain-caption>span:first-child{
    color: #000000;
    font-size: 24px;
}
.contain-main .contain-caption>span:nth-child(2){
    color: #737373;
    font-size: 14px;
}
/* 产品获取焦点效果 */
.container-top li:hover{
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transform: translate3d(0,-2px,0);
}

.container-top li{
    width: 295px;
    height: 360px;
    transition: .2s all linear;
    background-color: #fff;
    cursor: pointer;
    margin-top: 12px;
}
/* .container-top li:last-child{
    margin: 0;
} */
.container-top .nav-top{
    height: 50%;
    text-align: center;
    margin-top: 50px;
}
.container-top .nav-top img{
    width: 200px;
}
.container-top .nav-bottem{
    text-align: center;
    overflow: hidden;
}
.container-top .nav-bottem p:first-child{
    font-weight: 500;
    margin-top: 20px;
}
.nav-bottem p:last-child{
    margin-top: 10px;
}
.contain-button{
    width: 1226px;
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}
.contain-button>li{
    width: 245px;
    height: 320px;
    background-color: #fff;
}
/* .contain-button>li:hover{
    box-shadow: 0 0 2px black;
    transform: translateY(-2px);
    transition: 0.5s all;
} */
/* 智能专区 */

.supScience{
    height: 720px;
    width: 1226px;
    margin-bottom: 30px;
    position: relative;
}
.science{
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
.caption-nav{
    display: flex;
}
.caption-nav>li{
    height: 40px;
    margin-right: 20px;
    font-size: 18px;
    transition: 0.35s border ease-in;
    cursor: pointer;
}
.caption-nav>li:first-child{
    color: rgb(255, 77, 6);
    border-bottom: 3px solid rgb(255, 77, 6);
}
.supScience>.science:first-child{
    z-index: 10;
}
/* 为你推荐 */
.caption-right{
    display: flex;
    align-items: center;
    margin-top: 5px;
}
.caption-right>li{
    width: 30px;
    text-align: center;
    cursor: pointer;
    height: 20px;
    line-height: 20px;
    border: 1px solid rgb(213, 213, 213);
    font-size: 24px;
    color: black;
    transition: 0.2s all linear;
}
.caption-right>li:first-child{
    color: rgb(213, 213, 213);
}
.groom{
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}
.groom>.supgroom{
    display: flex;
    position: absolute;
    left: 0;
    transition: 0.5s all ease;
}
.contain-button>li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}
.contain-button>li>img{
    width: 150px;
}
.contain-button>li>span{
    margin-top: 10px;
    color: rgb(255, 140, 0);
}

/* 热评产品 */
.comment{
    margin: 30px 0 20px 0;
}
.comment>li{
    position: relative;
}
.comment>li>img{
    margin-top: -30px;
}

.supcom{
    width: 100%;
    height: 90px;
    position: absolute;
    left: 0;
    bottom: 0;
    /* border:1px solid #000000; */
    overflow: hidden;
}
.com_box{
    width: 100%;
    height: 90px;
    position: absolute;
    left: 0;
    bottom: -90px;
    box-sizing: border-box;
    background-color: #ff7b00;
    padding: 10px 20px;
    font-size: 14px;
    transition: .2s all linear;
}
.com_box>p:first-child{
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}
.com_box>p:last-child{
    color: #efefef;
}
.comment>li{
    transition: .2s all linear;
}
.comment>li:hover{
    box-shadow: 0 15px 30px rgba(0, 0, 0,0.1);
    transform: translate3d(0,-2px,0);
}


/* 页脚 */
footer{
    color: #fff;
    height: 100px;
    font-size: 16px;
    background-color: #000000;
    text-align: center;
    margin-top: 50px;
    line-height: 30px;
    padding: 30px 0;
}