@import url("common.css");
/* 页头 */
.header{
    display: flex;
    align-items: center;
    background-color: #009688;
    color: #fff;
    height: 4.6rem;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
}
.header a{
    color: #fff;
}

.header .menu {
    flex: 1;
    font-size: 2.5rem;
    text-align: center;
  }

  .header .logo {
    flex: 6;
    font-size: 2rem;
    text-align: center;
    height: 4.5rem;
    line-height: 4.5rem;
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header .logo img{
      width: 3rem;
      height: 3rem;
      line-height: 3rem;
      margin-right: 0.5rem;
      margin-bottom: 0.5rem;
  }

  .header .logo .logo-text{
      display: inline-block;
      max-width: 17.5rem;
      height: 3.2rem;
      line-height: 3.2rem;
      padding: 0 1rem;
      border-radius: 1.6rem;
      background: #fff;
      color: #009688 !important;
      font-size: 1.5rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: middle;
  }

  .header .city {
    flex: 1.7;
    color: white;
    text-align: center;
    font-size: 1.8rem;
  }

  .header .city i{
      margin-left: 0.5rem;
      color: #f8f8f8;
  }

  /* =================================主体================================= */
  .main {
    position: absolute;
    top: 4.6rem;
    left: 0;
    right: 0;
  }


  /* 顶部导航 */
  .main .nav-head-bg{
      background-color: #eee;
      margin-top: 0.5rem;
  }
  .main .nav-head{
    padding-top: 1rem;
    padding-left: 1rem;
    padding-bottom: 3rem;
    display: flex;
    flex-flow: row nowrap;
    overflow-y:auto;
    height: 2rem;
    line-height: 2rem;
  }
  .main .nav-head::-webkit-scrollbar {
    display: none;
  }

  .main .nav-head a{
    color: #666;
}
.main .nav-head span{
    margin-left: 1rem;
    color: #ccc;
}

  .main .nav-head li{
      margin-right: 1rem;
      flex: 1 0 auto;
  }

  /* 轮播图区 */
  .main .lunboImg{
    margin-top: -0.5rem;
  }

  /* 主导航区 */
  
  .main .nav {
    padding: 1rem;
    display: flex;
    flex-flow: row wrap;
    background: #eee;
  }

  .main .nav img {
    height: 4rem;
    width: 4rem;
  }
  
  .main .nav li {
    flex: 1 0 20%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    margin: 0.5rem auto;
  }

  .main .nav a{
      color: #666;
  }

/* 推荐-HEAD */
.main .tujian-head {
  margin-top: 1rem;
  width: 100%;
  height: 4rem;
  line-height: 4rem;
  background: #eee;
  border-bottom: 2px solid #009688;
  display: flex;
  justify-content: space-between;
}

.main .tujian-head div:first-child{
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 1rem;
  color: #666;
}
.main .tujian-head a{
margin-right: 1rem;
color: #aaa;
}

.main .tujian-nav {
  background-color: #eee;
  display: flex;
  flex-flow: row nowrap;
  justify-content: left;
  overflow-y:auto;
  height: 4rem;
  line-height: 4rem;
  border-bottom: 1px solid #ccc;
}

.main .tujian-nav::-webkit-scrollbar {
  display: none;
}

.main .tujian-nav .tujian-nav-item{
  height: 4rem;
  width: 6rem;
  flex: 1 0 auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.main .tujian-nav .tujian-nav-item a{
  color: #aaa;
}


/* 实体门店 */
.main .stores {
  padding: 1.2rem 0rem 1.2rem 0.8rem;
  display: flex;
  flex-flow: row nowrap;
  background: #eee;
  overflow-y:auto;
  height: 11rem;
}

.main .stores::-webkit-scrollbar {
  display: none;
}

.main .stores .store{
  height: 8rem;
  width: 8rem;
  flex: 1 0 auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.main .stores .store .store-d{
  width: 7rem;
  height: 7rem;
  line-height: 7rem;
  background: #ddd;
  text-align: center;
  font-size: 1.5rem;
  border-radius: 0.5rem;
}
.main .stores .store .store-d a{
  color: #666;
  display: block;
  width: 100%;
  padding: 0 .4rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.main .stores .store span{
  height: 3rem;
  line-height: 3rem;
  display: flex;
  justify-content: center;
  color: #c2c2c2;
}
.main .stores .store i{
  color: #ccc;
  margin-right: 0.3rem;
  height: 3rem;
  line-height: 3rem;
}


/* 服务推荐 */
.main .tuijian {
  font-size: 1.1rem;
  color: #555;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding-left: 1rem;
  background-color: #eee;
}

.main .tuijian .item{
  flex: 1 1 40%;
  flex-basis: calc(50%-10rem);
  padding: 0.8rem;
  background: #fff;
  /* 将每个商品的描述再转flex  */
  display: flex;
  flex-flow: column nowrap;
  margin-top: 1rem;
  margin-right: 1rem;
  border-radius: 0.8rem;
}

.main .tuijian .item img {
  width: 100%;
  height: 100%;
}

.main .tuijian .item p{
  margin-top: 1.2rem;
  height: 1.1rem;
  line-height: 1rem;
  color: #ccc;
  font-weight: bolder;
}

.main .tuijian .item .record {
  display: flex;
  justify-content: space-between;
}

.main .tuijian .item .record div:first-of-type {
  color: #c2c2c2;
  
}
.main .tuijian .item .record span{
  color: #ff6700;
  font-weight: bolder;
}

.main .tuijian .item .record div:last-of-type a  {
  background-color: #f6f6f6;
  border-radius: 1rem;
  padding: 0.2rem 1rem;
  color: #666;
}

.main .tuijian .service-more{
  margin-top: 1rem;
  height: 5rem;
  line-height: 5rem;
  font-size: 1.5rem;
  flex: 1 1 100%;
  text-align: center;
  background: #eee;
}
.main .tuijian .service-more a{
  color: #c2c2c2;

}

/* 广告图片1 */
.main .ad1{
  margin-top: 1rem;
  flex: 1 1 100%;
  text-align: center;
  background: #eee;
}
.main .ad1 img{
  width: 100%;
  height: 100%;
  /*border-radius: 1rem;*/
}

/* 案例推荐 */
.main .tuijian-anli {
  font-size: 1rem;
  color: #555;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding-left: 1rem;
  background-color: #eee;
  padding-bottom: 1rem;
  margin-top: -1rem;
}

.main .tuijian-anli .item-anli{
  flex: 1 1 30%;
  flex-basis: calc(30%-3rem);
  background: #fff;
  display: flex;
  flex-flow: column nowrap;
  margin-top: 1rem;
  margin-right: 1rem;
  /* margin-bottom: 1rem; */
  border-radius: 0.2rem;
  text-align: center;
}

.main .tuijian-anli .item-anli img {
  width: 100%;
  height: 100%;
}

.main .tuijian-anli .item-anli h3{
  font-size: 1rem;
  margin-top: 0.5rem;
}

.main .tuijian-anli .item-anli a{
  color: #666;
}

.main .tuijian-anli .item-anli .anli-click {
  display: flex;
  justify-content: center;
  color: #ccc;
}

.main .tuijian-anli .item-anli .anli-click span{
  color: #ff6700;
  font-weight: bolder;
}

/* 广告图片2 */
.main .ad2{
  margin-top: 1rem;
  flex: 1 1 100%;
  text-align: center;
  background: #eee;
}
.main .ad2 img{
  width: 100%;
  height: 100%;
  /*border-radius: 1rem;*/
}

/* 知识导购 */
.main .tuijian-news{
margin: -1rem 0rem 1rem -1rem;
display: flex;
flex-flow: column wrap;
background-color: #eee;
padding-bottom: 1rem;
}

.main .tuijian-news .item-new{
  margin: 1rem 1rem 0rem 2rem;
  padding: 1.5rem;
  background-color: #fff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.main .tuijian-news .item-new .item-new-left {
  margin-right: 1.5rem;
}

.main .tuijian-news .item-new .item-new-left a{
  color: #929292;
}

.main .tuijian-news .item-new .item-new-left h3{
  font-size: 1.2rem;
  font-weight: bolder;
  color: #929292;
}

.main .tuijian-news .item-new .item-new-left p{
  color: #c2c2c2;
  width: 100%;
}

.main .tuijian-news .item-new .item-new-left div{
  color:#c2c2c2
}

.main .tuijian-news .item-new .item-new-left i{
  margin-right: 0.5rem;
}

.main .tuijian-news .item-new img{
  width: 11rem;
  height: 8rem;
  border-radius: 1rem;
}


.main .tuijian-news .service-more-new {
  margin-top: 1rem;
  height: 5rem;
  line-height: 5rem;
  font-size: 1.5rem;
  flex: 1 1 100%;
  text-align: center;
  background: #eee;
}
.main .tuijian-news .service-more-new a{
  color: #c2c2c2;

}


/* 专题推荐导航 */
.main .tujian-nav-zt {
  background-color: #eee;
  display: flex;
  flex-flow: row nowrap;
  justify-content: left;
  overflow-y:auto;
  height: 4rem;
  line-height: 4rem;
  border-bottom: 1px solid #ccc;
}

.main .tujian-nav-zt::-webkit-scrollbar {
  display: none;
}

.main .tujian-nav-zt .tujian-nav-item-zt{
  height: 4rem;
  width: 8rem;
  flex: 1 0 auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.main .tujian-nav-zt .tujian-nav-item-zt a{
  color: #aaa;
}

/* 关键词推荐 */
.main .tujian-keywords{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  background-color: #eee;
  margin-top: -1rem;
  padding: 1rem 0rem;
}

.main .tujian-keywords .item-keyword{
  width: 11rem;
  background-color: #F6F6F6;
  margin: 0.5rem;
  padding: 0.3rem;
  border-radius: 0.8rem;
  text-align: center;
}

.main .tujian-keywords .item-keyword a{
  color: #929292;
}

/* 广告图片3 */
.main .ad3{
  margin-top: 1rem;
  flex: 1 1 100%;
  text-align: center;
  background: #eee;
}
.main .ad3 img{
  width: 100%;
  height: 100%;
  /*border-radius: 1rem;*/
}


/* 公共栏目 */
.main .layui-tab-content-ul{
  display: flex;
  flex-flow: row wrap;
  flex: 1 1 80%;
}
.main .layui-tab-content-ul li{
padding: 0.5rem 0.5rem;
color: #aaa;
}
.main .layui-tab-content-ul li a{
  color: #aaa;
}
.main .layui-tab-content-ul li a:hover{
  color: #ff6700;
}

/* 底部推荐 */
.main .tuijian-bottom,
.tuijian-bottom{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  background-color: #eee;
  margin-top: 1rem;
  padding: 1rem 0rem;

}

.main .tuijian-bottom li,
.tuijian-bottom li {
  flex: 1 0 25%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  margin: 0.5rem auto;
}

.main .tuijian-bottom a,
.tuijian-bottom a{
  color: #aaa;
}

.main .service-more-bottom,
.service-more-bottom{
  margin-top: -1rem;
  text-align: center;
  background: #eee;
  padding-bottom: 3rem;
}
.main .service-more-bottom h3,
.service-more-bottom h3{
  font-size: 1rem;
  background-color: #eee;
  color: #ccc;
  
}

  /* =================================页脚================================= */
  .footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #666;
    background-color: #eee;
    box-shadow: 0 0 6px #aaa;
    height: 4.6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
  }

  .footer > div {
    display: flex;
    flex: 1 1 20%;
    height: 100%;
  }

  .footer > div:hover {
    cursor: pointer;
  }

  .footer > div > a{
    display: flex;
    width: 100%;
    height: 100%;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    color: #666;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    outline: none;
    transition: background-color .2s ease,color .2s ease;
  }

  .footer > div > a:hover{
    color: #009688;
  }

  .footer > div > a.active{
    color: #009688;
    background: rgba(0,150,136,.08);
  }

  .footer > div > a:active{
    background: rgba(0,150,136,.12);
  }

  .footer > div > a .fa {
    font-size: 2rem;
  }

  .footer > div > a > span {
    font-size: 1rem;
  }
