body {
  min-height: calc(100vh - 4rem);
  background: #f0f0f0;
}

#main {
  font-family: "AlibabaPuHuiTiRegular";
  font-size: 0.6rem;
}

#main img,
#main input,
#main select,
#main textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  border: none;
  vertical-align: top;
}

#main * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
/* 滚动槽 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: none;
}
.dis-f {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dis-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dis-c {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fix_tab {
  display: none;
  position: fixed;
  left: 0;
  top: 2rem;
  background-color: #ffffff;
  width: 100%;
  z-index: 999;
}
.consultant-choose {
  background-color: #fff;
  position: relative;
  left: 0;
  right: 0;
  width: 100%;
  display: inline-block;
}
.choose_tab > li {
  position: relative;
  width: 33.3%;
  text-align: center;
  height: 1.9rem;
  line-height: 1.65rem;
  border-bottom: 1px solid #f3f3f3;
}
.choose_tab span {
  font-size: 0.65rem;
  background-image: url(https://m.igo.cn/liuxue/img/icon/triangle-down.png);
  background-size: 0.55rem;
  background-position: right 6px;
  background-repeat: no-repeat;
  padding-right: 1rem;
  -webkit-transition: background-image 0.3s;
  transition: background-image 0.3s;
}
.choose_tab > li.active span {
  background-image: url(https://m.igo.cn/liuxue/img/icon/triangle-up.png);
}
.slide_box {
  position: absolute;
  display: none;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  top: 1.9rem;
  height: 10rem;
  z-index: 889;
  background-color: #fff;
  border-top: 1px solid #d4d4d4;
  overflow-y: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.slide_box p {
  color: #232323;
  font-size: 0.6rem;
  line-height: 1.5rem;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #d4d4d4;
  display: block;
  padding-left: 0.7rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.slide_box p.active {
  color: #ff123f;
}
.hide {
  display: none;
}
.show {
  display: block;
}
.choose_consultant_show {
  margin-top: 0.25rem;
  background-color: #fff;
  padding: 0 0.5rem 4.6rem;
  display: inline-block;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.consultant_item {
  border-bottom: 1px dashed #d4d4d4;
  font-size: 0.65rem;
  padding: 0.6rem 0;
  position: relative;
  width: 100%;
  float: left;
}
.constant-item-pic {
  border: 1px solid #d4d4d4;
  float: left;
  margin-right: 0.5rem;
  margin-top: 0.2rem;
}
.consultant-item-info {
  width: 8.5rem;
  float: left;
  line-height: 1rem;
  font-size: 0.65rem;
}
.consultant-item-info p {
  font-size: 0.6rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.consultant-item-case {
  position: absolute;
  right: 0;
  top: 1rem;
  color: #bd141d;
  font-size: 0.65rem;
  text-align: center;
}
.consultant-item-case .p1 {
  font-size: 0.7rem;
  font-weight: bold;
}
.choose_consultant_show > .consultant_item:last-child {
  border-bottom: none;
}
#main .t_keyword {
  padding: 0.5rem;
}
#main .t_keyword > div {
  height: 1.5rem;
  align-items: stretch;
  border-radius: 1.5rem;
  overflow: hidden;
}
#main .t_keyword input {
  width: 7rem;
  flex-shrink: 0;
  font-size: 0.55rem;
  color: #000;
  background-color: #f4f4f4;
  padding-left: 0.3rem;
}
#main .t_keyword input::placeholder {
  color: #666666;
}
#main .t_keyword .t-search {
  width: 3rem;
  background-color: #ff123f;
  color: #ffffff;
}
#main .t_keyword .totalbox {
  font-size: 0.55rem;
  color: #666666;
}
#main .t_keyword em {
  font-style: normal;
  color: #ff123f;
  font-family: "AlibabaPuHuiTiMedium";
  padding: 0 4px;
}
#main .teacherList {
  padding: 0.2rem;
}
#main .teacherList > div {
  background-color: #ffffff;
  padding: 0.2rem;
  min-height: 5rem;
}
#main .teacherList ul {
  flex-wrap: wrap;
  min-height: 1rem;
}
#main .teacherList li {
  background: #535353 url(https://www.igo.cn/images/t_bg.jpg) no-repeat top
    center;
  background-size: cover;
  width: 49.6%;
  position: relative;
  margin-bottom: 0.1rem;
}
#main .teacherList .teacImg {
  width: 100%;
  height: 9rem;
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: bottom center;
}
#main .teacherList .info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #f2f2f2;
  font-size: 0.45rem;
  padding: 0.7rem 0.2rem 0 0.5rem;
  display: none;
}
#main .teacherList .info.s{
  display: block;
}
#main .teacherList .name {
  font-family: "AlibabaPuHuiTiMedium";
  color: #ffffff;
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}
#main .teacherList .position {
  margin-bottom: 0.2rem;
}
#main .teacherList .position p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#main .teacherList .info img {
  width: 0.45rem;
  margin-right: 0.2rem;
}
#main .teacherList .txt p {
  margin-bottom: 0.15rem;
}
#main .teacherList .txt p:nth-child(1),
#main .teacherList .txt p:nth-child(2) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#main .teacherList .txt p:nth-child(3) {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 几行后显示不开省略 */
  -webkit-line-clamp: 3;
}
#main .teacherList .btnbox {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
}
#main .teacherList .btnbox > div {
  background: #ff595a;
  color: #ffffff;
  width: 4rem;
  height: 1.2rem;
  font-family: "AlibabaPuHuiTiMedium";
  border-radius: 1.2rem;
  font-size: 0.5rem;
}
#main .loading-indicator,
#main .loading-more {
  text-align: center;
}
#main .loading-indicator img,
#main .loading-more img {
  width: 3rem;
}
@font-face {
  font-family: "AvantiBold";
  src: url(https://m.igo.cn/zt/gaokao_product/font/AvantiBold.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiBold";
  src: url(https://m.igo.cn/zt/gaokao_product/font/Alibaba-PuHuiTi-Bold_0.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiRegular";
  src: url(https://m.igo.cn/zt/gaokao_product/font/AlibabaPuHuiTiRegular.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiMedium";
  src: url(https://m.igo.cn/zt/gaokao_product/font/Alibaba-PuHuiTi-Medium.ttf);
}
