.block {
  margin-top: 0px;
}

.sidebar .section {
  padding: 14px 8px 0;
}
.sidebar .block.block-entity-display h2 {
  font-size: 22px;
  color: #212121;
}

.sidebar .block {
  background-color: #ffffff;
}

.main-content .section {
  padding: 0 8px;
}

body.path-frontpage .main-content .section {
  padding: 14px 8px 0;
}

@media screen and (max-width: 850px) {
  .dialog-off-canvas-main-canvas {
    overflow: hidden;
  }
  /*
    首页手机样式适配
  */
  .header_top-nav,
  .header_center-menu,
  .bd-hot-categories,
  .h1-title,
  .news-wrapper,
  .ad1,
  .nongji-video .h4-title,
  .wrapper-right,
  .w-left_center-right2,
  .new-article,
  /* .nongji-tv_live .h5-title, */
  .live-text,
  .article_box .picScroll_left,
  .mobile-header .search-bittom .search-input .ntes-nav-select-arr,
  .zhigu-advertising.front-top-banner2,
  .zhigu-advertising.front-top-banner3,
  .news-subtitle{
    display: none!important;
  }
  .mobile-header,
  .mobile-nav_header,
  .index-icons_nav,
  .zhigu-advertising-container.index-ad--center,
  .mobile-index-news-title{
    display: block;
  }

  .zhigu-advertising-container.front-top,
  .zhigu-advertising.front-top-banner1{
    width: 100%;
  }

  .mobile-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    height: 60px;
  }
  .mobile-header .mobile-logo{
    width: auto;
    height: 40px;
  }
  .mobile-header .mobile-logo img{
    width: auto;
    height: 40px;
  }
  .mobile-header .search-bittom{
    position: relative;
    padding-right: 40px;
    width: 50%;
    height: 40px;
    box-sizing: border-box;
    background-color: #f5f6f8;
    border: solid 1px #eff0f1;
    border-radius: 4px;
  }
  .mobile-header .search-bittom .search-input{
    width: 100%;
    padding: 0 0 0 10px;
    background: none;
    border-radius: 0;
  }
  .mobile-header .search-bittom .search-input .keywords{
    padding-right: 0;
    font-size: 14px;
  }
  .mobile-header .search-bittom .search-button{
    position: absolute;
    right: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-header .search-bittom .search-button .buttons{
    width: 36px;
    height: 16px;
    display: block;
    font-size: 0;
    background: url(/themes/custom/zhigu_theme/images/icons/ico_serach@2x.png) no-repeat 50% 0;
    background-size: auto 100%;
  }
  .mobile-header .link_app{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    background-color: #0087fc;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
  }

  .mobile-nav_header{
    height: 50px;
    padding: 0 10px;
    line-height: 50px;
    position: relative;
    padding-right: 40px;
  }
  .mobile-nav_header .menu-button{
    position: absolute;
    width: 40px;
    height: 100%;
    right: 0;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
  }
  .mobile-nav_header .menu-button::before{
    content: '';
    position: absolute;
    width: 40px;
    height: 30px;
    background-color: #fff;
    box-shadow: -6px 4px 20px #ccc;
  }
  .mobile-nav_header .menu-button::after{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    right:0;
    z-index:1;
    background-color:#fff;
  }
  .mobile-nav_header .menu-button .bar{
    position: relative;
    z-index: 2;
    width: 22px;
    height: 2px;
    margin: 2px auto;
    background-color: #202020;
    border-radius: 4px;
    transition: 0.3s;
  }
  .mobile-nav_header .menu-button .bar:nth-of-type(1){
    margin-top: 0;
  }
  .mobile-nav_header .menu-button .bar:nth-of-type(3){
    margin-bottom: 0;
  }
  .mobile-nav_header .menu-button.cross .bar:nth-of-type(1){
    transform: translateY(10px) rotate(-45deg);
  }
  .mobile-nav_header .menu-button.cross .bar:nth-of-type(3){
    transform: translateY(-10px) rotate(45deg);
  }
  .mobile-nav_header .menu-button.cross .bar:nth-of-type(2){
    opacity: 0;
  }

  .get_nav-all{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background-color: rgba(0, 0, 0,0.5);
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
  }
  .get_nav-all .bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0,0.5);
  }
  .get_nav-all .nav-alls{
    position: relative;
    z-index: 1002;
    width: 100%;
    background-color: #fff;
    border-radius: 8px 8px 0 0;
  }
  .get_nav-all .nav-alls .title{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    font-size: 18px;
    font-weight: 500;
  }
  .get_nav-all .nav-alls .title img{
    position: absolute;
    width: 30px;
    right: 20px;
  }
  .get_nav-all .nav-alls ul{
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
  }
  .get_nav-all .nav-alls ul li{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 34px;
    background-color: #eaeff3;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
  }
  .get_nav-all .nav-alls ul li:not(:nth-child(3n)){
    margin-right: 12px;
  }

  .mobile-nav_header .nav-menu{
    float: left;
    width: 96%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .mobile-nav_header .nav-menu a{
    /* margin-left: 16px; */
    /* font-size: 16px; */
    font-weight: 500;
    font-size: 0.9375rem;
  }
  .mobile-nav_header .nav-menu a.active{
    font-weight: 600;
  }
  .mobile-nav_header .nav-menu a.active:after{
    content:'';
    position:absolute;
    width:100%;
    height:4px;
    background-color:#d40000;
    left:0;
    bottom:-8px;
    border-radius:4px;
  }
  .mobile-nav_header .nav-menu a.news24{
    color: #f9560e;
  }
  .mobile-nav_header .nav-menu a.bigdata{
    color: #0087fc;
  }

  .index-icons_nav{
    padding: 0 10px;
    margin-top: 15px;
    width: 100%;
  }
  .index-icons_nav ul{
    display: flex;
    width: 100%;
    align-items: center;
    align-content: center;
    justify-content: center;
  }
  .index-icons_nav ul li{
    text-align: center;
    margin: 0 12px;
  }
  .index-icons_nav ul li img{
    width: 50px;
    height: 50px;
  }
  .index-icons_nav ul li span{
    display: block;
    width: 100%;
  }

  .wrapper-box .wrapper-left{
    width: 100%;
  }

  .wrapper-box .wrapper-left .w-left_center-right1{
    margin-left: 10px;
    margin-right: 10px;
  }

  .index-ad--center{
    position: relative;
    flex-wrap: wrap;
  }
  .index-ad--center::before{
    content: '';
    margin: auto;
    width: calc(100% - 20px);
    height: 3px;
    background-color: #ebebeb;
  }
  .index-ad--center .zhigu-advertising.front-top-banner2{
    display: block!important;
    margin: 10px 0 0 0;
    width: 100%;
  }

  .mobile-index-news-title{
    margin: 0 10px;
    font-size: 18px;
    font-weight: 500;
  }

  .news_cont li:not(:last-child){
    padding-bottom: 15px;
    border-bottom: solid 8px #f8f8f8;
  }

  .mobile-header .login_link{
    width: 24px;
    height: 24px;
  }
  .mobile-header .users{
    display: flex;
    align-items: center;
    height: 40px;
  }
  .mobile-header .incons{
    margin-top: 0;
    width: 34px;
    height: 34px;
    border-radius: 100%;
  }
  /* .mobile-header .users .hide-login{
    right: 10px;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 20;
  } */
  /* .mobile-header .users .hide-login:before{
    left: inherit;
    right: 0;
  }
  .mobile-header .users .hide-login::after{
    left: inherit;
    right: 2px;
  } */

  .mobileHeader-expandContainer{
      position: fixed;
      top: 52px;
      width: 100%;
      box-sizing: border-box;
      z-index: 100;
      right: inherit;
      left: 0;
      border: none;
      padding: 0;
  }
  .mobileHeader-expandContainer:before,
  .mobileHeader-expandContainer:after{
      display:none;
  }
  .mobileHeader-expand{
      background-color:#fff;
      overflow: hidden
  }
  .mobileHeader-expandBackdrop{
      background-color: hsla(0,0%,7%,.65);
        bottom: 0;
        left: 0;
        position: fixed;
        right: 0;
        top: 52px;
        z-index: -1;
  }
  .mobileHeader-expand a{
      display: flex;
      align-items: center;
      height: 56px;
      color: #8590a6;
      margin: 0 16px;
      font-size: 16px;
      font-weight: 400;
  }
  .mobileHeader-expand a:not(:last-child){
      border-bottom: solid 1px #ebebeb;
  }

  .mobileHeader-expand a img{
      /* width: 20px; */
      /* height: auto; */
      margin-right: 10px;
  }

  .newsapp-side a.kefu .kefu_t{
      font-size: 11px;
  }


}

@media screen and (min-width: 851px) {
  #frontpage-content-header-left {
    /* width: 75%; */
    width: 100%;
    float: left;
  }

  #frontpage-content-header-right {
    width: 25%;
    float: right;
    display: none;
  }

  #frontpage-content-header-left .section,
  #frontpage-content-header-right .section {
    padding: 15px 8px 0;
  }
  .zhigu-advertising-container.index-ad--center{
    display: none;
  }
  .zhigu-advertising.front-focus1{
    margin-top: 10px;
  }
  .zhigu-advertising.front-focus2 .front-focus2-item{
    margin-top: 0;
  }
}
