.teacher-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 860px;
  background: no-repeat center;
}
.teacher-banner-intro {
  box-sizing: border-box;
  width: 1200px;
  height: 500px;
  padding: 82px 40px 0;
  background-color: rgba(255, 255, 255, 0.8);
}
.teacher-banner-title {
  position: relative;
  width: 250px;
  margin: 0 auto 112px;
  font-size: 50px;
  line-height: 46px;
  text-align: center;
}
.teacher-banner-title::after {
  position: absolute;
  top: 106px;
  left: 48px;
  width: 160px;
  height: 2px;
  background-color: #ffc21d;
  content: "";
}
.teacher-banner-des {
  font-size: 20px;
  line-height: 40px;
  text-align: center;
}

.search-box {
  position: relative;
  width: 1200px;
  margin: auto;
}

.teacher-search {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 260px;
  height: 40px;
}
.teacher-search-input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0 50px 0 20px;
  font-size: 14px;
  line-height: 38px;
  border: 1px solid #bfbfbf;
  border-radius: 20px;
  outline: 0;
  transition: border 0.2s ease;
}
.teacher-search-input:hover, .teacher-search-input:focus {
  border-color: #ffc21d;
}
.teacher-search-btn {
  position: absolute;
  right: 14px;
  width: 26px;
  height: 38px;
  background: url("../images/icon_search.png") center no-repeat;
  border: 0;
  outline: 0;
  cursor: pointer;
}
.teacher-search-btn:active {
  transform: scale(0.85);
}

.search-navbox {
  box-sizing: border-box;
  width: 1200px;
  margin: 30px auto 60px;
  padding: 20px 50px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 24px 0 rgba(161, 161, 161, 0.24);
}
.search-nav {
  display: flex;
  font-size: 16px;
}
.search-nav-left {
  box-sizing: border-box;
  width: 90px;
  margin: 3px 5px;
  padding: 5px;
  text-align: center;
}
.search-nav-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 985px;
}
.search-item {
  min-width: 52px;
  margin: 3px 5px;
  padding: 5px 15px;
  text-align: center;
  cursor: pointer;
}
.search-item.active {
  color: #fff;
  background-color: #ffc21d;
  border-radius: 16px;
}

.teacher-wrapper {
  position: relative;
  margin-bottom: 100px;
}
.teacher-wrapper .nodata {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  font-size: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
}
.teacher-container {
  min-height: 400px;
}
.teacher-list {
  position: relative;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  height: 220px;
  margin-bottom: 25px;
  padding: 10px 96px 10px 60px;
  background-image: linear-gradient(155deg, #f6f6f7 0%, #e6e7e9 100%);
  border-radius: 20px;
}
.teacher-list.top {
  background-image: linear-gradient(155deg, #fffcf4 0%, #fff4db 100%);
}
.teacher-img {
  width: 190px;
  height: 190px;
  overflow: hidden;
  border-radius: 50%;
}
.teacher-img img {
  width: 100%;
}
.teacher-right {
  position: relative;
  width: 810px;
  padding-top: 20px;
}
.teacher-flag {
  position: absolute;
  top: 0;
  right: 24px;
  width: 82px;
  height: 61px;
  color: #fff;
  font-size: 16px;
  line-height: 46px;
  text-align: center;
  background: url("../images/flag.png") no-repeat center;
}
.teacher-title {
  display: flex;
  align-items: center;
  height: 60px;
  margin-bottom: 20px;
  border-bottom: 1px solid #bfbfbf;
}
.teacher-title span {
  margin-right: 20px;
}
.teacher-name {
  font-weight: bold;
  font-size: 28px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.teacher-tag {
  max-width: 280px;
  height: 30px;
  padding: 0 16px;
  line-height: 30px;
  text-align: center;
  background-color: #ffeab0;
  border-radius: 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.teacher-txt {
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.teacher-txt .sort {
  font-weight: bolder;
}
.teacher-bubblesbox {
  position: relative;
  height: 50px;
}
.teacher-bubblesbox .more {
  position: absolute;
  top: 4px;
  right: 0;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}
.teacher-bubblesbox .more:hover {
  color: #ffc21d;
}
.teacher-bubblesbox .more:hover + .showbubbles {
  display: block;
}

.showbubbles {
  position: absolute;
  top: 30px;
  z-index: 99;
  display: none;
  box-sizing: border-box;
  width: 820px;
  padding: 12px 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: -1px 6px 10px 0 rgba(0, 0, 0, 0.1);
}
.showbubbles::after {
  position: absolute;
  top: -14px;
  right: 49%;
  width: 0;
  height: 0;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #fff;
  border-left: 15px solid transparent;
  content: "";
}

.dropback {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.7);
  inset: 0;
}
.dropback-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 18px;
}
.dropback-inner p {
  margin-top: 40px;
  text-indent: 15px;
}

.loader {
  --d: 22px;
  width: 4px;
  height: 4px;
  color: #ffc21d;
  border-radius: 50%;
  box-shadow: calc(1 * var(--d)) calc(0 * var(--d)) 0 0, calc(0.707 * var(--d)) calc(0.707 * var(--d)) 0 1px, calc(0 * var(--d)) calc(1 * var(--d)) 0 2px, calc(-0.707 * var(--d)) calc(0.707 * var(--d)) 0 3px, calc(-1 * var(--d)) calc(0 * var(--d)) 0 4px, calc(-0.707 * var(--d)) calc(-0.707 * var(--d)) 0 5px, calc(0 * var(--d)) calc(-1 * var(--d)) 0 6px;
  -webkit-animation: l27 1s infinite steps(8);
          animation: l27 1s infinite steps(8);
}

@-webkit-keyframes l27 {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes l27 {
  100% {
    transform: rotate(1turn);
  }
}