.teacher28box {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}
.back28 {
  line-height: 30px;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
}
.back28 span:hover {
  color: rgb(163, 0, 4);
}
.teachertypebox1 {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.teachertypebox1 input {
  display: block;
  width: 300px;
  height: 42px;
  border-radius: 21px;
  border: 1px solid #e9e9e9;
  background: #fff;
  box-sizing: border-box;
  padding: 0 50px 0 20px;
}

.teachertypebox1 input::placeholder {
  color: black;
}
.searchicon28 {
  position: absolute;
  right: 10px;
  top: 10px;

  width: 20px;
  height: 20px;
}
.cneterbox28 .right28 {
  flex: 1;
}
.cneterbox28 .lable {
  display: inline-block;
  width: 91px;
  line-height: 32px;
  margin-right: 20px;
}
.cneterbox28 {
  display: flex;
  align-items: start;
  margin-bottom: 14px;
}
.cneterbox28 .item {
  display: inline-block;
  height: 32px;
  line-height: 32px;
  padding: 0 20px;
  margin-right: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.active28style {
  color: rgb(163, 0, 4);
  background-color: rgba(163, 0, 4, 0.1);
}
.teachertypebox2 {
  display: flex;
  align-items: start;
  margin-bottom: 14px;
}
.teachertypebox2 .label {
  display: inline-block;
  width: 91px;
  line-height: 32px;
  margin-right: 20px;
}
.teachertypebox2 div .item {
  display: inline-block;
  height: 32px;
  line-height: 32px;
  padding: 0 20px;
  margin-right: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.teachertypebox3 {
  display: flex;
  align-items: start;
  margin-bottom: 14px;
}
.teachertypebox3 .label {
  display: inline-block;
  width: 91px;
  line-height: 32px;
  margin-right: 20px;
}
.teachertypebox3 div .item {
  display: inline-block;
  height: 32px;
  line-height: 32px;
  padding: 0 20px;
  margin-right: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.tearch28listbox {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 25px 0;
}
.tearch28listbox .item {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  border: 1px solid #a42a2f;
  border-radius: 4px;
  padding: 25px 0;
  background: #fff;
}
.tearch28listbox .item .bg28 {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 78px;
  /* background-size: 100% 100%; */
}
.tearch28listbox .item .ispay28 {
  position: absolute;
  z-index: 5;
  left: 14px;
  top: 14px;
  display: inline-block;
  padding: 0 8px;
  height: 28px;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  line-height: 28px;
  background: rgba(163, 0, 4, 0.6);
  border-radius: 4px;
}
.tearch28listbox .item img {
  width: 88px;
  height: 88px;
  border-radius: 74px;
  border: 1px solid #dddddd;
  overflow: hidden;
}
.tearch28listbox .item .name28 {
  display: block;

  font-weight: 500;
  font-size: 18px;
  line-height: 25px;
  text-align: center;
  margin: 20px 0;
}
.tearch28listbox .item .bottom {
  display: flex;
  align-items: center;
}
.tearch28listbox .item .bottom .icon28 {
  display: inline-block;
  margin: 0 10px;
}
.tearch28listbox .item:hover {
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.16);
}
