.min_w {
  width: 1200px;
  margin: 0 auto;
}

.dis {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.teacher h1 {
  font-size: 20px;
  height: 23px;
  line-height: 23px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f4f4f4;
  position: relative;
  font-weight: 700;
}

.teacher h1 span {
  width: 60px;
  height: 30px;
  font-size: 14px;
  font-weight: 400;
  position: absolute;
  right: 0;
  bottom: 12px;
  line-height: 30px;
  text-align: center;
  color: #666;
  border: 1px solid #e5e5e5;
}

.teacher h1 span:hover {
  border-color: #ef2555;
  background: #ef2555;
  color: #ffffff;
}

.teacher h1 span:hover a {
  color: #ffffff;
}

.teacher h1 span a {
  color: #000000;
}

.teacher {
  background-color: #ededed;
  padding: 60px 0;
  margin: 40px auto 0;
}

.teacher_box {
  padding: 20px 25px 20px 36px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  background-color: #f5f5f5;
}

.teacher .show {
  width: 490px;
position: relative;
}

.teacher .show .detail {
  width: 490px;
opacity: 0;
transition: all .5s;
position: absolute;
}

.teacher .show .detail>.dis {
  width: 490px;
  position: relative;
}

.teacher .show .detail.active {
opacity: 1;
transition: all .5s;
}

.teacher .lists {
  width: 620px;
}

.teacher .lists h1 {
  border: none;
}

.teacher .lists_ul {
  height: 245px;
  width: 620px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.teacher .lists .teacher_container {
  overflow: hidden;
  position: relative;
}

.teacher .lists_ul li {
  width: 120px;
  height: 120px;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  box-sizing: border-box;
  position: relative;
  background-color: #000000;
  cursor: pointer;
}

.teacher .lists_ul li.active {
  background-color: none;
  background-image: linear-gradient(0deg,
      #666666 0%,
      #595959 44%,
      #4c4c4c 100%);
  opacity: 1;
}

.teacher .lists_ul li:hover span {
  opacity: .3;
}

.teacher .lists_ul li.active span {
  opacity: 0;
}

.teacher .lists_ul li p {
  position: absolute;
  bottom: 0;
  background-color: #ff0033;
  height: 0;
  width: 100%;
  line-height: 30px;
  text-align: center;
  color: #ffffff;
}

.teacher .lists_ul li.active p {
  height: 30px;
}

.teacher .lists_ul li span {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000000;
  opacity: .6;
}

.teacher .lists_ul li img {
  width: 150%;
}

.teacher .left {
  width: 250px;
}

.teacher .left .name {
  /* width: 67px; */
  height: 22px;
  font-size: 22px;
  line-height: 20px;
  color: #ff123f;
  margin-top: 50px;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 28px;
  display: inline-block;
  font-weight: 700;
}

.teacher .left .name::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background-color: #ff123f;
  position: absolute;
  bottom: 0;
  right: 3px;
}

.teacher .left p {
  display: flex;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.teacher .left p span {
  width: 70px;
  font-weight: 700;
  text-align: right;
  line-height: 20px;
  font-size: 14px;
}

.teacher .left p i {
  width: 180px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 14px;
}

.teacher .left .div_btn {
  width: 190px;
  height: 35px;
  justify-content: space-between;
}

.teacher .left .div_btn a,
.teacher .left .div_btn span {
  line-height: 35px;
  width: 90px;
  background-color: #595959;
  border-radius: 17px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}

.teacher .left .div_btn a:hover,
.teacher .left .div_btn span:hover {
  background-color: #ff0033;
}

.teacher .right {
  width: 265px;
  height: 425px;
  background: url(../images/S.png) no-repeat;
  position: absolute;
  right: 0;
  top: -70px;
  justify-content: center;
  align-items: center;
}

.teacher .right img {
  width: 100%;
}

.teacher .right .img {
  width: 260px;
  height: 390px;
  overflow: hidden;
  border-radius: 147px;
  overflow: hidden;
}

.teacher .right span {
  display: block;
  width: 100%;
  height: 200px;
  background-image: linear-gradient(0deg, #e4e4e4 42%, transparent 80%);
  border-bottom-left-radius: 130px;
  border-bottom-right-radius: 130px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.teacher .next,
.teacher .prev {
  width: 25px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: none;
  cursor: pointer;
  transition: all 3s;
}

.teacher .prev {
  position: absolute;
  width: 25px;
  height: 50px;
  top: 90px;
  left: 0;
  cursor: pointer;
  background: url(../images/prev1.png) no-repeat;
}

.teacher .next {
  left: auto;
  right: 0;
  background: url(../images/next1.png) no-repeat;
}

.teacher .next:hover {
  background: url(../images/next1.png) no-repeat;
}

.teacher .prev:hover {
  background: url(../images/prev1.png) no-repeat;
}

.teacher_container:hover .next,
.teacher_container:hover .prev {
  display: block;
  transition: all 3s;

}