/*顶部栏*/
.navbar{
    background: #C83C23;
    max-width: 750px;
    margin: 0 auto;
    font-size: 100px;
}
.navbar-header a{
    display: block;
    padding: 10px;
}
.navbar-header img{
   width: auto;
    height: 32px;
}
/*底部菜单*/
.tabbar {
  height: 55px;
  background: #fff;
  position: fixed;
  width: 100%;
  max-width: 750px;
  bottom: 0;
  z-index: 99;
  box-shadow: 0px 0px 12px #d1d1d1;
  overflow: hidden;
}
.tabbar + .wrap {
  padding-bottom: 0.98rem;
}
.tabbar .item {
  float: left;
  width: 33.33%;
  text-align: center;
  color: #666666;
}
.tabbar .item.on {
  color: #ec1717;
}
.tabbar .item.on .icon-home {
  background-image: url(../img/tabbar/home-active.png);
}
.tabbar .item.on .icon-category {
  background-image: url(../img/tabbar/category-active.png);
}
.tabbar .item.on .icon-user {
  background-image: url(../img/tabbar/user-active.png);
}
.tabbar .name {
  font-size: 12px;
}
.tabbar .icon {
  display: inline-block;
    vertical-align: top;
    margin-top: 5px;
    margin-bottom: 4px;
    width: 26px;
    height: 26px;
    background-size: 100%;
}
.tabbar .icon-home {
  background-image: url(../img/tabbar/home.png);
}
.tabbar .icon-category {
  background-image: url(../img/tabbar/category.png);
}
.tabbar .icon-user {
  background-image: url(../img/tabbar/user.png);
}
/* 五项底部导航（社区/书籍模块） */
.tabbar5 .item{width:20%;}
.tabbar5 .tbico{display:block;width:22px;height:22px;margin:7px auto 2px;color:#8f8f8f;fill:none;stroke:currentColor;}
.tabbar5 .item.on .tbico{color:#ec1717;}
.tabbar5 .name{margin:0;font-size:12px;line-height:16px;}

/* 五项导航：flex 均分，避免浮动宽度偏差 */
.tabbar.tabbar5{display:flex;align-items:stretch;}
.tabbar.tabbar5 .item{float:none;flex:1 1 0;width:auto;min-width:0;padding:0;text-align:center;}
