/* 顶部广告 start */
.header{
    width: 100%;
    height: 80px;
    overflow: hidden;
}

/*
    面试常见的CSS问题：
        1. 内容居中问题：一个大盒子中有个小盒子，如何让小盒子在大盒子中垂直和水平居中？
            1. 弹性盒子模型
            2. 定位
            3. 表格
*/

.header img{
    /* width: 100%; */
    height: 80px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/* 顶部广告 end */

/* nav顶部导航栏 start*/
.nav{
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #333;
    display: flex; 
    justify-content: center;
}
.wrap{
    width: 1226px;
    margin: 0 auto;
}
 .nav .wrap .nav_left {
    float: left;
 }
 .nav .wrap .nav_right {
    float: right;
 }
 .nav .wrap  li{
    float: left;
    position: relative;
    
 }
 .nav span{
    color: #424242;
    margin: 0 3.6px;
 }
 .nav a {
    color: #b0b0b0;
 }
 .download{
    width: 124px;
    height: 0;
    background-color: #fff ;
    box-shadow: 0 1px 5px #aaa;
    position: absolute;
    left: 50%;
    top: 40px;
    margin-left: -62px;
    overflow: hidden;
 }

 .download img{
    height: 90px;
    margin: 18px auto 0;
 }
 .download p{
    color: #333;
    font-size: 14px;
    line-height: 14px;
 }
 .nav_left li:hover > .download{
    height: 148px;
    z-index: 2;
 }
 .stri{
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -8px;
    display: none;
 }
 .nav_left li:hover > .stri{
    display: block;
 } 
 .cart{
    width: 120px;
    height: 40px;
    background-color: #424242;
    margin-left: 5px;
 }
 .cart:hover a{
    color: orange;
 }
 .cart:hover{
    background-color: #fff;
 }
 .cart_list{
    width: 316px;
    height: 0px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgb(0, 0, 0,0.15);
    position: absolute;
    right: 0;
    top: 40px;
    overflow: hidden;
    line-height: 100px;
 }
 .cart:hover > .cart_list{
    height: 100px;
    z-index: 2;
 }
/* nav顶部导航 end */

/* 白色导航栏  start*/
.white_nav{
   width: 100%;
   height: 100px;
   background-color: #fff;
   position: relative;
}
.logo{
   width: 55px;
   height: 55px;
   background-color: #ff6700;
   float: left;
   margin-top: 22.5px;
   overflow: hidden;
   position: relative;
   border-radius: 10px;
}
.logo>img{
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   transition: all 0.2s;
}
.mi_home{
   left: -55px;
}
.mi_logo{
   left: 0;
}
.logo:hover > .mi_home{
   left: 0;
}
.logo:hover > .mi_logo{
   left: 55px;
}

.nav_bar {
   width: 875px;
   height: 100px;
   line-height: 100px;
   float: left;
}
.nav_bar li{
   float: left;
   
}
.nav_bar a{
   color: #333;
   padding: 0 10px;
}
.nav_bar ul li img{
   margin-top: 22.5px;
}
.search{
   width: 296px;
   height: 100px;
   float: right;
}
.search input{
   width: 244px;
   height: 50px;
   float: left;
   border: 1px solid #e0e0e0;
   box-sizing: border-box;
   outline: none;
   margin-top: 25px;
   padding: 0 10px;
}
.search button{
   width: 52px;
   height: 50px;
   float: right;
   border: 1px solid #e0e0e0;
   margin-top: 25px;
}
.search button:hover{
   background-color: #ff6700;
   color: #fff;
}
.nav_bar li:hover a{
   color: #ff6700;
}
.white_nav_list{
   width: 100%;
   height: 229px;
   background-color: #fff;
   border-top: 1px #e0e0e0 solid;
   position: absolute;
   left: 0;
   top: 100px;
   /* overflow: hidden; */
   display: none;
   
}
.white_nav_list li{
   line-height: normal;
   border-right: 1px #e0e0e0 solid;
}
.phone:hover .white_nav_list{
   display: block;
   z-index: 2;
}


/* 白色导航栏 end */

/* banner图 start */
.banner{
   width: 100%;
   height: 460px;
   /* background-color: #fff; */
}
.banner_img{
   width: 100%;
   height: 460px;
}
.banner .wrap{
   position: relative;
}
.banner_left{
   width: 234px;
   height: 420px;
   padding: 20px 0;  
   background-color: rgba(105, 101, 101, 0.5);
   position: absolute;
   left: 0;
   top: 0;
}
.banner_left>ul>li{
   height: 42px;
   line-height: 42px;
   text-align: left;
   padding-left: 30px;
   font-size: 14px;
}
.banner_left>ul>li>a{
   color: #fff;
}
.banner_left i{
   float: right;
   padding-right: 20px;
}

.banner_left>ul>li:hover{
   background-color: #ff6700;
}
.banner_list{
   width: 300px;
   height: 460px;
   background-color: #fff;
   position: absolute;
   left: 234px;
   top: 0;
   display: none;
}
.banner_list>ul>li{
   width: 150px;
   height: auto;
   margin-top: 20px;
   line-height: normal;
   text-align: center;
   float: left;
}
.banner_left>ul>li:hover .banner_list{
   display: block;
}
/* banner图 end */

/* 广告图ad  start*/
.ad{
   width: 100%;
   height: 170px;
   padding: 14px 0;
   background-color: #fff;
}

.ad .ad_left{
   width: 228px;
   height: 164px;
   background-color: #5f5750;
   padding: 3px;
   float: left;
}
.ad_left>ul>li{
   width: 76px;
   height: 82px;
   float: left;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0.7;
   box-sizing: border-box;
}
.ad_left i{
   font-size: 24px;
   margin-bottom: 4px;
   display: block;
   color: #fff;
}
.ad_left p{
   font-size: 14px;
   color: #fff;
}
.ad_left li:hover{
   opacity: 0.5;
}
.ad_right{
   float: left;
}
.ad_right img{
   width: 316px;
   height: 170px;
   padding-left: 14.6px;
}
/* 广告图ad  end*/

/* 内容 start*/
.content{
   width: 100%;
   height: 674px;
   /* background-color: #fff; */
}
.title{
   height: 60px;
   line-height: 60px;
}
.title .title_left{
   float: left;
}
.title p{
   float: right;
   color: #333;
}
.content_left{
   height: 614px;
   transition: all 0.3s linear;
}
.content_left>a>img{
   float: left;
}
.content_left>a>img:hover{
   transform: translateY(-2px);
   box-shadow: 0 15px 30px rgb(0, 0, 0,0.15);
}
.content_left li{
   width: 228px;
   height: 297px;
   background-color: #fff;
   float: left;
   margin-left: 20px;
   margin-bottom: 20px;
}
.content_left li:hover{
   transform: translateY(-2px);
   box-shadow: 0 15px 30px rgb(0, 0, 0,0.15);
}
.content_left .name{
   font-size: 18px;
   color: #333;
}
.content_left .description{
   font-size: 14px;
   color: #333;
}
.content_left .price{
   font-size: 15px;
   color: #ff6700;
}

/* 内容 end*/