.teacher-detail-top {
  padding-right: 29px;
  float: left;
  width: 100%;
  min-height: 212px;
  background: #eee;
  margin: 22px 0 40px;
}
.teacher-imgs {
  width: 18%;
  height: 212px;
  float: left;
  margin-right: 4%;
}
.teacher-imgs img {
  width: 100%;
  /*height: 100%;*/
}
.teacher-detail-right {
  float: left;
  width: 78%;
}
.teacher-detail-right h4 {
  font-size: 20px;
  color: #00498a;
  padding: 22px 0 14px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.teacher-detail-right h4:after {
  content: '';
  width: 1000px;
  height: 1px;
  background: #dcdcdc;
  position: absolute;
  right: 0;
  bottom: 0;
}
.teacher-detail-right h4 span {
  font-size: 14px;
  color: #000;
  display: inline-block;
  padding-left: 28px;
  font-weight: normal;
}
.teacher-detail-right table {
  font-size: 0;
}
.teacher-detail-right table td {
  display: inline-block;
  width: 46%;
  font-size: 14px;
  color: #000;
  vertical-align: top;
}
.teacher-detail-right table td.teacher-detail-td1 {
  padding-right: 5%;
  width: 54%;
}
.teacher-detail-right p {
  padding-left: 30px;
  margin-bottom: 12px;
  min-height: 26px;
}
.teacher-detail-right p.teacher-detail-p1 {
  background: url(../images/icon_email_nor.png) left 5px no-repeat;
}
.teacher-detail-right p.teacher-detail-p2 {
  background: url(../images/icon_phone_nor.png) left 5px no-repeat;
}
.teacher-detail-right p.teacher-detail-p3 {
  background: url(../images/icon_local_nor.png) left 5px no-repeat;
}
.teacher-detail-right strong {
  color: #00498a;
}
.teacher-detail-right .teacher-detail-p4 {
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 12px;
}
.info-teacher-head {
  white-space: nowrap;
  overflow: auto;
  padding-bottom: 1px;
  border-bottom: 2px solid #316ca0;
}
.info-teacher-head a {
  display: inline-block;
  padding: 10px 15px;
  font-size: 18px;
  color: #333;
}
.info-teacher-head a.current {
  background: #00498a;
  color: #fff;
}
.wrapper-info-tab .info-tab {
  display: none;
  padding: 15px 0;
}
.wrapper-info-tab .info-tab.on {
  display: block;
}
@media (max-width: 500px) {
  .teacher-imgs {
    width: 29%;
    height: auto;
  }
  .teacher-detail-right {
    width: 67%;
  }
  .teacher-detail-right h4 {
    font-size: 17px;
    padding: 0 0 6px;
    margin-bottom: 2px;
  }
  .teacher-detail-right table td.teacher-detail-td1,
  .teacher-detail-right table td {
    width: 100%;
  }
  .teacher-detail-right p {
    margin-bottom: 0;
  }
  .teacher-detail-right .teacher-detail-p4 {
    margin-top: 0;
  }
  .teacher-detail-top {
    padding-right: 0;
  }
  .teacher-detail-right h4 span {
    display: block;
    padding-left: 0;
    font-size: 12px;
  }
}

