@charset "UTF-8";

/**
 *
 *
 * 师资首页
 *
 *
 **/
/*banner*/
.sub-banner {
  height: 240px;
  box-sizing: content-box;
  padding-top: 70px;
}

.sub-banner img {
  width: 100%;
  height: 100%;
}

.filterx {
  /* margin-top: 90px; */
  background-color: #fff;
}

.filterx-type h4 {
  float: left;
  /* margin-top: 20px; */
  /* margin-left: 20px; */
  /* padding: 4px 0; */
  height: 28px;
  color: #D91E1F;
  font-weight: bold;
  line-height: 58px;
  font-size: 16px;
}

.filterx-type ul {
  /* padding-bottom: 24px; */
  /* margin-top: 10px; */
  padding: 15px 0;
  float: right;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-right: 15px;
}

.filterx-type li {
  height: 20px;
  font-size: 14px;
  color: #333;
  line-height: 20px;
  padding: 4px 12px;
  /* margin-top: 20px; */
  margin-left: 20px;
  text-align: center;
  box-sizing: content-box;
  flex: none;
  cursor: pointer;
}

.filterx-type ul li:first-child {
  padding-right: 0px;
  background: none !important;
    color: #333 !important;
    pointer-events: none;
}

.filterx-type li.active {
  background-color: #FC890D;
  border-radius: 4px;
  color: #fff;
}

.teacher-list {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
  padding-bottom: 30px;
}

.teacher-item {
  /* margin: 20px 20px 0 0;
  border-radius: 4px;
  height: 344px; */
  margin: 20px 20px 0 0;
  width: 580px;
  height: 188px;
  margin-right: 20px;
  padding: 20px;
  float: left;
  border-radius: 4px;
  background: white;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.12);
}

.teacher-item:nth-child(2n) {
  margin-right: 0;
}

/* .teacher-item:nth-child(4n + 4) {
  margin: 20px 0 0 0;
} */

.teacher-item a {
  display: block;
  position: relative;
  /* padding: 40px 40px 20px; */
  width: 100%;
  background-color: #fff;
}

.teacher-item a:hover .teacher-item-mask {
  opacity: 1;
}

.teacher-item .teacher-text {
  display: flex;
  flex-direction: column;
}

.teacher-item-bb {
  width: 70px;
  height: 70px;
  overflow: hidden;
  display: block;
  border-radius: 8px;
  float: left;
  margin-right: 1em;
}
.teacher-item .teacher-info {
  margin-top: 15px;
  padding-top:10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  border-top:1px solid #F7F7F7;

}

.teacher-item-banner {
  width: 100%;
  max-width: 100%;
  height: 100%;
  /*height: 200px;*/
  border-radius: 8px;
  display: block;
  object-fit: fill;
}

.teacher-item-mask {
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: 0.4s;
  position: absolute;
  top: 0;
  padding: 40px 20px;
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: #fff;
  width: 100%;
  line-height: 24px;
  overflow: hidden;
}

.teacher-item-title {
  margin-top: 5px;
  font-size: 16px;
  color: #333;
  line-height: 22px;
}

.teacher-item-motto {
  margin-top: 10px;
  font-size: 12px;
  color: #909399;
  line-height: 17px;
}

/**
 *
 *
 * 师资详情
 *
 *
 **/
.teacherDetail {
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 60px;
}

.teacherDetail-bannar {
  height: 240px;
  width: 100%;
  margin-top: 20px;
}

.contentx {
  margin: 20px 0 50px;
}

.contentx-left {
  float: left;
  padding: 20px;
  width: 700px;
  background-color: #fff;
}

.contentx-left-introduction {
  height: 200px;
  display: flex;
  overflow: hidden;
  padding-bottom: 20px;
  border-bottom: 1px solid #EEEEEE;
}

.contentx-left-introduction ._img {
  width: 200px;
}

.contentx-left-introduction ._content {
  width: 440px;
  padding-left: 20px;
}

.contentx-left-introduction ._name {
  width: 100%;
  height: 25px;
  font-size: 18px;
  color: #333;
  width: 100%;
  line-height: 25px;
}

.contentx-left-introduction ._text {
  margin-top: 11px;
  width: 100%;
  font-size: 12px;
  color: #909399;
  width: 100%;
  line-height: 17px;
}

.contentx-left-introduction ._text2 {
  margin-top: 17px;
  width: 100%;
  font-size: 14px;
  color: #333;
  width: 100%;
  line-height: 17px;
}

.contentx-right {
  float: left;
  width: 460px;
  background-color: #fff;
  padding: 20px 20px 10px 20px;
  margin-left: 20px;
}

.contentx-right .right-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 22px;
}

.contentx-right .course-items {
  margin-top: 10px;
}

.contentx-right .course-items a {
  display: block;
  border-bottom: 1px solid #eee;
}

.contentx-right .course-items a:last-child {
  border-bottom: none;
}

.contentx-right .course-item-h {
  display: flex;
  padding: 10px 0;
}

.contentx-right .course-item-h .img {
  width: 200px;
  height: 114px;
  flex: none;
}

.contentx-right .course-item-h .img img {
  width: 100%;
  height: 100%;
}

.contentx-right .course-item-h .info {
  padding: 0 10px;
  position: relative;
  flex: 1;
}

.contentx-right .course-item-h .info .title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 20px;
}

.contentx-right .course-item-h .info .price {
  margin-top: 10px;
  color: #909399;
}

.contentx-right .course-item-h .info .num {
  font-size: 14px;
  color: #D91E1F;
  position: absolute;
  bottom: 0;
  left: 10px;
}


.teach-banner {
  position: relative;
}

.teach-banner img {
  position: relative;
}



.teach-block {
  width:600px;margin: -50px auto;position: relative;z-index: 33;text-align: center;
}

.teach-block .avar {
  width: 100px;
  height: 100px;
  margin: 0 auto 5px;
}

.teach-block .avar img {
  width: 100%;height: 100%;border-radius: 50%;
}





/* 课程列表 */
.course-box {
  padding: 25px 0;
}

.course-box .course-title {
  font-size:20px;
  color: #333;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.course-box .course-title-msg {
  font-weight: bold;
  padding-left: 5px;
  height: 18px;
  border-left: 3px solid #67C23A;
}

.course-box .course-title-more {
  font-size: 14px;
}

.course-box .course-title-more a {
  color: #333;
}

.course-box .course-list {
  /* display: flex;
    flex-wrap: wrap; */
  /* display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(4, 1fr); */

  display: flex;
  flex-direction: row;
  margin-right: -2%;
  flex-wrap: wrap;
}



.cs-item {
  border-radius: 4px;
  background-color: #fff;
  margin: 20px 2% 0 0;
  position: relative;
  overflow: hidden;
  width: 23%;
   border: 1px solid #E7EBF3;
    box-sizing: border-box;
    cursor: pointer;

}

.cs-item:hover .cs-item-mask {
  opacity: 1;
}

.cs-item:nth-child(5n + 5) {
  /* margin: 20px 0 0 0;  */
}

.cs-item>a {
  width: 100%;
  height: 245px;
  display: block;
}

.cs-item-banner {
  height: 158px;
  width: 100%;
  border-radius: 4px 4px 0 0;
  display: block;
}

.cs-item-mask {
  width: 100%;
  height: 158px;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px 4px 0 0;
  transition: 0.3s;
  opacity: 0;
  display: flex;
}

.cs-item-mask img {
  width: 36px;
  height: 36px;
}

.cs-item-content {
  padding: 6px 10px 10px 10px;
}

.cs-item-status {
  height: 17px;
  font-size: 12px;
  line-height: 17px;
}

.cs-item-status.wait {
  color: #ffa400;
}

.cs-item-status.living {
  color: #0486fe;
}

.cs-item-status.end {
  color: #606266;
}

.cs-item-status.playback {
  color: #67c23a;
}

.cs-item-title {
 font-size: 15px;
  color: #333;
  line-height: 20px;
  margin-top: 6px;
  font-weight: bold;
  word-break: break-all;
}

.cs-item-type {
  font-size: 12px;
  color: #909399;
  line-height: 17px;
  margin-top: 5px;
}

.cs-item-price {
  height: 20px;
  line-height: 20px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 10px;
  width: 260px;
}

.cs-item-price span:nth-child(1) {
  color: #D91E1F;
  font-size: 14px;
}

.cs-item-price span:nth-child(2) {
  color: #909399;
  font-size: 12px;
}
