.banner{
  background: url('../images/ec-platform/banner_bg.jpg') no-repeat;
  background-size: cover;
  background-position: center center;
}
@media (max-width: 768px){
  .banner {
    background: url('../images/ec-platform/banner_bg_m.jpg') no-repeat;
    background-size: 100% 100%;
  }
}
/* main */
.main_sec{
  padding: 112px 0;
}
.menu_bar .menu{
  border-bottom: 1px solid #ECECEC;
}
.menu_item .label{
  display: block;
  line-height: 30px;
  padding: 0 20px;
  border-radius: 8px 8px 0px 0px;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}
.menu_item .label:hover{
  color: #00A6FD;
}
.menu_item .label.active{
  background: #00A6FD;
  font-weight: 700;
  color: #fff;
}
@media (min-width: 1200px){
  .menu_bar .menu{
    display: flex !important;
  }
}
@media (max-width: 1200px){
  .menu_bar{
    box-shadow:0px 5px 10px 0px rgba(0,148,219,0.1);
    border-radius:10px;
    padding:0 15px;
    overflow: hidden;
    position: relative;
  }
  .menu_bar .iconfont{
    position: absolute;
    right: 10px;
    top:50%;
    font-size: 20px;
    transform: rotate(180deg) translateY(-50%);
    transform-origin:50% 0;
    -webkit-transform-origin:50% 0;
    transition: all .3s ease-in-out;
    color:#00A6FD;
  }
  .menu_bar .menu{
    display: none;
    padding: 0;
    border: none;
  }
  .menu_bar .menu_item{
    margin-bottom: 0;
    border-bottom: 1px solid #D8D8D8;
  }
  .menu_item .label{
    padding: 0;
    height: 52px;
    line-height: 52px;
    text-align: center;
    border-radius: 0;
    background: #fff;
  }
  .menu_bar .selLabel .menu_item{
    color:#00A6FD;
  }
  .menu_bar .menu_item:last-child,
  .menu_bar .selLabel .menu_item{
    border-color: #fff;
  }
  .menu_bar .menu_item.active{
    background: #fff;
    color: #00A6FD;
  }
  .menu_bar .selLabel{
    display: block;
    position: relative;
  }
  .menu_bar.active .selLabel .menu_item{
    border-color:#D8D8D8;
  }
  .menu_bar.active .iconfont{
    transform: rotate(0deg) translateY(-50%);
    -webkit-transform: rotate(0deg) translateY(-50%);
  }
}
.content{
  padding-top: 90px;
}
/* 最新的 */
.newest_item{
  padding-top: 10px;
  margin-bottom: 40px;
  cursor: pointer;
  background: #FFFFFF;
  box-shadow: 0px 10px 20px 0px rgba(158,156,156,.1);
  border-radius: 4px;
  transition: all .3s ease-in-out;
  position: relative;
  overflow: hidden;
}
.newest_item .line{
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 10px;
}
.newest_item:hover{
  box-shadow: 0px 10px 20px 0px rgba(0,166,253,.1);
}
.newest_item .img_box{
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newest_item .img_box img{
  height: 60px;
  object-fit: contain;
}
.newest_item .desc_box{
  padding: 16px;
}
.newest_item .desc{
  height: 64px;
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;    
  display: -webkit-box;
  text-overflow:ellipsis;    
  -webkit-line-clamp:4;
  -webkit-box-orient: vertical;
}
@media (max-width: 768px){
  .main_sec{
    padding: 56px 0;
  }
  .content{
    padding-top: 56px;
  }
  .newest_item{
    padding-top: 0;
    padding-left: 6px;
    margin-bottom: 28px;
    display: flex;
  }
  .newest_item .line{
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    height: 100%;
  }
  .newest_item .img_box{
    width: 100px;
    flex-grow: 0;
    flex-shrink: 0;
  }
  .newest_item .img_box img{
    width: 100%;
  }
  .newest_item .desc{
    padding: 0;
  }
}
/* 服务商详情 */
.detail_wrapper{
  box-shadow: 0px 10px 20px 0px rgba(158,156,156,0.1000);
}
.detail_wrapper .header{
  padding: 32px 60px 38px;
  background: url('../images/ec-platform/ec_bg.png') no-repeat;
  background-size: 100% 100%;
}
.logo_wrapper .img_box{
  width: 130px;
  height: 130px;
  margin-right: 36px;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
}
.logo_wrapper .img_box img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.desc_wrapper{
  color: #fff;
  margin-right: 180px;
}
.desc_wrapper .title{
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 14px;
}
.desc_wrapper .desc{
  line-height: 22px;
  margin-bottom: 10px;
}
.desc_wrapper .link{
  line-height: 22px;
}
.desc_wrapper .link:hover{
  text-decoration: underline;
}
.detail_wrapper .body{
  padding: 40px 54px;
  font-size: 14px;
  line-height: 22px;
  color: #333;
}
.code_wrapper{
  margin-left: auto;
}
.code_wrapper .img_box{
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  background: #fff;
}
.code_wrapper .img_box img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.code_wrapper .desc{
  text-align: center;
  color: #fff;
}

@media (max-width: 768px){
  .detail_wrapper .header{
    padding: 24px 30px;
    flex-direction: column;
    background: url('../images/ec-platform/ec_bg_m.png') no-repeat;
    background-size: 100% 100%;
  }
  .logo_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  .logo_wrapper .img_box{
    width: 56px;
    height: 56px;
    margin-right: 20px;
  }
  .logo_wrapper .title{
    display: block;
    color: #fff;
  }
  .logo_wrapper .scan_code{
    display: block;
  }
  .logo_wrapper .btn{
    color: #75F5FF;
    text-decoration: underline;
  }
  .logo_wrapper .btn:focus{
    box-shadow: none;
    outline: none;
  }
  .desc_wrapper .title{
    display: none;
  }
  .code_wrapper{
    display: none;
  }
}
/* 弹窗 */
.code_dialog .modal-dialog{
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  max-width: 200px !important;
}

/* pagination */
.pagination_sec{
  border-radius: 10px;
  margin-top: 60px;
  overflow: hidden;
}
.pagination_inner .page_item {
  width: 50%;
  transition: all .3s;
  background: #F0F6FA;
}
.pagination_inner .page_item:hover{
  background: #00A6FD;
  color:#fff;
}
.pagination_inner .page_item a{
  padding: 36px;
} 

.pagination_inner .page_pre .iconfont{
  transform: rotate(90deg);
}

.pagination_inner .page_next a{
  justify-content: flex-end;
}
.pagination_inner .page_next .iconfont{
  transform: rotate(-90deg);
}
.pagination_inner .page_pre_text{
  max-width: 250px;
}
.pagination_inner .page_pre .page_pre_text{
  margin-left: 28px;
}
.pagination_inner .page_next .page_pre_text{
  margin-right: 28px;
}
@media(max-width:768px){
  .pagination_inner .page_item a{
    padding: 20px 10px;
  } 
  .pagination_inner .page_pre .page_pre_text{
    margin-left: 10px;
  }
  .pagination_inner .page_next .page_pre_text{
    margin-right: 10px;
  }
}