/* .wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 1240px;
} */

.wrapper{
   width:1240px;
   margin:0 auto;
}

.shortcut{
  background-color:black;
   height: 52px;
}
.shortcut .wrapper {
   background-color:black;
   height: 52px;

}
.shortcut .wrapper ul{
   float:right;
}
.shortcut .wrapper li {
   float:left;
   list-style: none;
   line-height: 52px;
   
}

.shortcut .wrapper li a{
   border-right:1px solid #666;
   padding:0 15px;
   color:#dcdcdc;
}
.shortcut .wrapper li a:hover{
   border-bottom: white;
}
.shortcut .wrapper li span{
   display:inline-block;
   width: 26px;
   height:35px;
   background-image: url("../images/phone.png");
   background-position: 32px -9px;
   vertical-align: middle;
   margin-right: 10px;
}


.header {
   width: 1240px;
   height: 70px;
   margin:30px auto; 
   border-bottom: 1px solid black;
}
.logo{
   width: 250px;
   height: 68px;
 
   float:left;
}
.logo h1{
width: 250px;
height: 68px;
}
/* 使字与盒子一样大--按盒子任意处均可选中超链接 */
.logo h1 a{
   display: block;
/* 记住超链接为行内元素 */
   width: 250px;
   height: 68px;
   background-image: url("../images/logo.png");
   background-size: contain;
   background-repeat: no-repeat;
   font-size: 0;
}


.nav{
   height: 70px;
   /* background-color:pink; */
   float:left;
   margin-left:40px;
}
.nav li{
   float:left;
   margin-right: 40px;
   line-height: 70px;

}
.nav li a{
   padding-bottom: 4px;
   color:black;
}
.header .nav li a:hover{
   border-bottom: 2px solid black;
}
.search{
   position:relative;
   float:left;
   width: 172px;
   height: 30px;
   margin-left:34px;
   margin-top: 20px;
   border-bottom: 2px solid #999;
}
.search input{
   width: 172px;
   height: 28px;
   padding-left:30px;
}

 .search input::placeholder{
     color: #999;

 }
 .search span{
   position:absolute;
   display: inline-block;
   width: 18px;
   height: 18px;
   background-image: url("../images/search.png");
   background-size: contain;
   background-repeat: no-repeat;
   top: 5px;
   left: 2px;
 }
.car{
   float:left;
   width: 23px;
   height: 33px;

   margin-left:30px;
   margin-top: 28px;
  
}
.car a{
   display: block;
   width: 23px;
   height: 33px;
   background-image: url("../images/car.png");
   background-size: contain;
   background-repeat: no-repeat;
   font-size:0px;
}

