.flex-between {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.topbar {
  width: 100%;
  height: 4.5rem;
  line-height: 4.5rem;
  background-color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  z-index: 1000;
}

.topbar .back-btn {
  margin-left: 1.2rem;
  text-align: center;
}

.topbar h3 {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin: 0 3.6rem 0 0;
  line-height: 4.5rem;
  color: #222;
  font-size: 1.8rem;
  text-align: center;
}

.topbar .right-btn {
  margin-right: 1.2rem;
}

.topbar .right-btn img {
  width: 1.8rem;
  overflow: hidden;
  vertical-align: middle;
}

/* 旧的 tabbar 样式 start */
/* 
.tabbar {
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #d1d1d1;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1100;
}

.tabbar > a {
  width: 20%;
  padding: .9rem 0 .4rem;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-flex-basis: 20%;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.tabbar > a.selected .tabbar-text {
  color: #ff5d38;
}

.tabbar .tabbar-post-tab {
  position: relative;
}

.tabbar .tabbar-icon {
  width: 2rem;
  height: 2rem;
  background-size: contain;
  background-repeat: no-repeat;
}

.tabbar .tabbar-icon.tabbar-icon-home {
  background-image: url(../images/zhaopin_tabbar_home.png);
}

.tabbar .tabbar-icon.tabbar-icon-home-selcted {
  background-image: url(../images/zhaopin_tabbar_home_selected.png);
}

.tabbar .tabbar-icon.tabbar-icon-enter {
  background-image: url(../images/zhaopin_tabbar_enter.png);
}

.tabbar .tabbar-icon.tabbar-icon-enter-selcted {
  background-image: url(../images/zhaopin_tabbar_enter_selcted.png);
}

.tabbar .tabbar-icon.tabbar-icon-post {
  width: 3.8rem;
  height: 3.8rem;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -60%);
  transform: translate(-50%, -60%);
  background-image: url(../images/zhaopin_tabbar_post.png);
}

.tabbar .tabbar-icon.tabbar-icon-discover {
  background-image: url(../images/zhaopin_tabbar_discover.png);
}

.tabbar .tabbar-icon.tabbar-icon-discover-selcted {
  background-image: url(../images/zhaopin_tabbar_discover_selcted.png);
}

.tabbar .tabbar-icon.tabbar-icon-search {
  background-image: url(../images/zhaopin_tabbar_search.png);
}

.tabbar .tabbar-icon.tabbar-icon-search-selcted {
  background-image: url(../images/zhaopin_tabbar_search_selected.png);
}

.tabbar .tabbar-icon.tabbar-icon-profile {
  background-image: url(../images/zhaopin_tabbar_profile.png);
}

.tabbar .tabbar-icon.tabbar-icon-profile-selcted {
  background-image: url(../images/zhaopin_tabbar_profile_selected.png);
}

.tabbar .tabbar-text {
  margin-top: .2rem;
  font-size: 1.1rem;
  color: #333;
}
*/
/* 旧的 tabbar 样式 end */

.tabbar {
  width: 100%;
  height: 4.9rem;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.tabbar::before {
  content: "";
  width: 100%;
  height: 7.66rem;
  background: url(../images/zhaopin_tabbar_bg@3x.png) no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  padding-bottom: 0;
  padding-bottom: calc(constant(safe-area-inset-bottom) - 1.2rem);
  padding-bottom: calc(env(safe-area-inset-bottom) - 1.2rem);
}

.tabbar > a {
  width: 20%;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-flex-basis: 20%;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.tabbar > a.selected .tabbar-text {
  color: #333;
}

.tabbar .tabbar-icon-wrapper {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.tabbar .tabbar-icon-wrapper .content {
  width: 4.6rem;
  height: 4.6rem;
  position: absolute;
  left: 0%;
  top: 0%;
  background-color: #fff;
  border-top-left-radius: 2.1rem;
  border-top-right-radius: 2.1rem;
  -webkit-box-shadow: 0px 1px 5px 0px #d8d8d8;
  box-shadow: 0px 1px 5px 0px #d8d8d8;
}

.tabbar .tabbar-post-tab {
  position: relative;
}

.tabbar .tabbar-post-tab .tabbar-text {
  font-size: 1.2rem;
  -webkit-transform: scale(0.92667);
  transform: scale(0.92667);
}

.tabbar .tabbar-icon {
  width: 2.3rem;
  height: 2.3rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.tabbar .tabbar-icon.tabbar-icon-home {
  background-image: url(../images/zhaopin_tabbar_home.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-home-selected {
  background-image: url(../images/zhaopin_tabbar_home_selected.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-company-enter {
  background-image: url(../images/zhaopin_tabbar_company_enter.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-commpany-enter-selected {
  background-image: url(../images/zhaopin_tabbar_company_enter_selected.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-post {
  width: 4.6rem;
  height: 4.6rem;
  position: absolute;
  left: 50%;
  top: 0%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-image: url(../images/zhaopin_tabbar_post.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-discover {
  background-image: url(../images/zhaopin_tabbar_discover.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-discover-selected {
  /* width: 2.5rem; */
  width: 100%;
  height: 2.3rem;
  background-image: url(../images/zhaopin_tabbar_discover_selected.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-profile {
  background-image: url(../images/zhaopin_tabbar_profile.png?v=2);
}

.tabbar .tabbar-icon.tabbar-icon-profile-selected {
  background-image: url(../images/zhaopin_tabbar_profile_selected.png?v=2);
}

.tabbar .tabbar-text {
  margin-top: .2rem;
  font-size: 1.1rem;
  color: #666;
}

.more-icon {
  display: inline-block;
  width: 1rem;
  height: 1.1rem;
  margin-bottom: .2rem;
  background: url(../images/zhaopin_more_icon@3x.png) no-repeat;
  background-size: cover;
  vertical-align: middle;
}
