/*头部*/
#header {
  z-index: 999;
  background:-webkit-linear-gradient(to left, #ed4b4b, #ea3232); 
  background:linear-gradient(to left, #ed4b4b, #ea3232);

  position: relative;
  height: 3rem;
  display: block;
}

#header h1 {
  color: #fff;
  font-size: 1.3rem;
  line-height: 3rem;
  text-align: center;
  font-weight: bold;
  background: url('../images/nhead.jpg') no-repeat 50% 50%;
  -webkit-background-size: auto 3rem;
  background-size: auto 3rem;
}

#header .header_r {
  position: absolute;
  top: 0;
  right: 0;
}

#header .header_l a {
  width: 3rem;
  height: 3rem;
  display: block;
  padding: 0 0.2rem;
  text-indent: -999em;
  overflow: hidden;
}

#header .header_l {
  position: absolute;
  top: 0;
  left: 0;
}

#header .header_l .logo {
  position: absolute;
  content: '';
  top: 50%;
  left: 14px;
  display: inline-block;
  width: 39px;
  height: 23px;
  background-image: url("images/logo.png");
  background-position: 0px 0px;
  background-size: 100% auto;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-indent: -999em;
  overflow: hidden;
}

.category-list{
    width: 100%;
    background: #fff;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    display: -webkit-flex;
    display: -o-flex;
    display: flex;
    font-family: '微软雅黑';
    padding-top: 5px;
}
.category-list-l{
  width:102px;
  font-size: 14px;
  border-right: 1px solid #f1ecec;
  border-top: 1px solid #f1ecec;
  text-align: center;
}
.category-list-l ul li{
  height: 3.2rem;
  border-bottom: 1px solid #f1ecec;
}
.category-list-l ul li a{
  color: #333;
  display: flex;
  height: 3.2rem;
  padding: 0 10px;
  justify-content: center;
  align-items: center;
  border-left: 2px solid transparent;
}
.category-list-l ul li.on a{
  color: #ed4b4b;
  border-left: 2px solid #ed4b4b;
  background: #fef8f8;
}
.category-list-r{
  flex: 1;
  padding:0 8px;
}
.category-ad{
  
}
.category-ad img{
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(100, 100, 100,.3)
}

.category-con-list{
  padding: 8px 0 ;
}
.category-con-list h3{
  color: #444;
  font-size: 14px;
  line-height: 2rem;
}
.category-con-list ul li{
  box-sizing: border-box;
  float: left;
  width: 50%;
  padding-bottom: 8px;
}
.category-con-list ul li:nth-child(2n+1){
  padding-right: 4px;
}
.category-con-list ul li:nth-child(2n){
  padding-left: 4px;
}
.category-con-list .category-con{
  display: none;
}
.category-con-list ul li>a:first-child{
  display: -webkit-flex;
  display: flex;
  height: 4rem;
  border-radius: 8px;
  border: 1px solid #f1ecec;
  padding:8px;
  justify-content: center;
  align-items: center;

}
.category-con-list ul li a img{
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
.category-con-list ul li p{
 text-align:center;
 font-size:14px;
 padding:5px 0 0px;
}
.category-con-list ul li p a{display:block}