.teacher {
  width: 100%;
  max-width: 1920px;
  margin: 50px auto 0 auto;
  background: #f7f7f7;
  padding-bottom: 1px;
}

.teacher .banner,
.teacher .teacher-banner {
  width: 100%;
}

.teacher .banner img,
.teacher .teacher-banner img {
  width: 100%;
}

.teacher .teacher-banner {
  position: relative;
}

.teacher .teacher-banner .teacher-detail {
  position: absolute;
  height: 100%;
  top: 0;
  left: 50%;
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.teacher .teacher-banner .teacher-detail .fl {
  width: 22.225%;
  max-width: 320px;
  height: 100%;
  position: relative;
  margin-left: 2.1%;
}

.teacher .teacher-banner .teacher-detail .fl img {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}

.teacher .teacher-banner .teacher-detail .fr {
  width: 70%;
  height: 100%;
}

.teacher .teacher-banner .teacher-detail .fr h2 {
  font-size: 30px;
  line-height: 34px;
  height: 34px;
  color: #ffffff;
  position: relative;
}

.teacher .teacher-banner .teacher-detail .fr h2 img {
  position: absolute;
  width: auto;
  height: 100%;
  max-height: 28px;
  left: -2.4%;
  top: 50%;
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.teacher .teacher-banner .teacher-detail .fr h2 span {
  margin-right: 1%;
  padding: 0 1.5%;
  font-size: 16px;
  font-weight: normal;
  color: #ffe5c2;
  height: 32px;
  line-height: 32px;
  border-radius: 17px;
  border: solid 1px #ffe5c2;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.teacher .teacher-banner .teacher-detail .fr h2 span:hover {
  color: #333333;
  background: #ffe5c2;
}

.teacher .teacher-banner .teacher-detail .fr h2 span:first-child {
  margin-left: 3.5%;
}

.teacher .teacher-banner .teacher-detail .fr h3 span {
  font-size: 18px;
  color: #ffe5c2;
  line-height: 20px;
  height: 20px;
  margin-bottom: 1.1%;
}

.teacher .teacher-banner .teacher-detail .fr h3 span img {
  width: auto;
  height: 100%;
  float: left;
  margin-right: 1%;
}

.teacher .teacher-banner .teacher-detail .fr h3 p {
  font-size: 16px;
  line-height: 30px;
  color: #e1e6ff;
  font-weight: normal;
}

.teacher .teacher-banner .teacher-detail .fr h3:nth-child(2) {
  margin: 4% 0;
}

.teacher .teacher-banner .teacher-detail .fr h3:last-child {
  margin-bottom: 0;
}

.teacher .choose {
  background: #ffffff;
  box-shadow: 0px 0px 49px 0px rgba(206, 206, 206, 0.15);
  margin: 40px auto 60px auto;
  padding: -moz-calc(1.7% - 10px) 1.7%;
  padding: -moz-calc(1.7% - 10px) 1.7%;
  padding: calc(1.7% - 10px) 1.7%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.teacher .choose div {
  white-space: nowrap;
}

.teacher .choose div li {
  float: left;
  margin: 10px 0;
}

.teacher .choose div li a {
  font-size: 16px;
  color: #333333;
  padding: 10px 20px;
  border-radius: 18px;
  line-height: 1;
}

.teacher .choose div li a:hover {
  color: #e02727;
  text-decoration: none;
}

.teacher .choose div li a.actived {
  color: #e02727;
  background-color: #fff1f1;
  text-decoration: none;
}

.teacher .choose div:first-child {
  font-size: 20px;
  font-weight: bold;
  line-height: 56px;
  padding-right: 10px;
}

.teacher .teacher-tab {
  background: #ffffff;
  box-shadow: 0px 0px 49px 0px rgba(206, 206, 206, 0.15);
  margin: 40px auto;
  padding: 1.7% 2.11%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.teacher .teacher-tab a {
  font-size: 20px;
  line-height: 1;
  margin-right: 8%;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
}

.teacher .teacher-tab a::after {
  position: absolute;
  display: block;
  content: '';
  width: 0;
  height: 3px;
  background-color: #e02727;
  left: 50%;
  margin-left: -10px;
  bottom: -11px;
  opacity: 0;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.teacher .teacher-tab a.actived {
  font-weight: bold;
  color: #e02727;
}

.teacher .teacher-tab a.actived::after {
  width: 20px;
  opacity: 1;
}

.teacher .teacher-tab a:hover {
  text-decoration: none;
}

.teacher .teacher-list {
  display: none;
}

.teacher .teacher-list li {
  width: 22.225%;
  max-width: 320px;
  margin-right: -moz-calc((100% - 88.9%) / 3);
  margin-right: -moz-calc((100% - 88.9%) / 3);
  margin-right: calc((100% - 88.9%) / 3);
  margin-bottom: 40px;
  float: left;
  background-image: linear-gradient(0deg, #f2f4f3 0%, #e5e6e6 50%, #d8d8d8 100%);
  position: relative;
}

.teacher .teacher-list li div {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}

.teacher .teacher-list li div h2 {
  position: relative;
}

.teacher .teacher-list li div h2 a {
  position: absolute;
  left: 0;
  bottom: 22.5%;
  font-size: 20px;
  color: #ffffff;
  line-height: 1;
  padding-left: 6%;
}

.teacher .teacher-list li div h2 a::after {
  display: block;
  content: '';
  width: 5px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-image: linear-gradient(0deg, #ff2e11 0%, #f30c0c 100%);
}

.teacher .teacher-list li div p {
  background: rgba(8, 11, 21, 0.6);
  height: 0;
  padding-bottom: 1px;
  overflow: hidden;
  -ms-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.3s;
}

.teacher .teacher-list li div p span {
  width: 27%;
  height: 34px;
  border-radius: 17px;
  border: solid 1px #ffe5c2;
  font-size: 15px;
  color: #ffe5c2;
  line-height: 34px;
  text-align: center;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -ms-transform: scale(0.7);
  -moz-transform: scale(0.7);
  -webkit-transform: scale(0.7);
  -o-transform: scale(0.7);
  transform: scale(0.7);
  opacity: 0;
}

.teacher .teacher-list li div p span:hover {
  color: #333333;
  background-color: #ffe5c2;
}

.teacher .teacher-list li div h6 {
  background: rgba(8, 11, 21, 0.6);
  padding: 3.4% 0 6% 0;
  -ms-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.teacher .teacher-list li div h6 a {
  text-indent: 6%;
  font-size: 15px;
  line-height: 1;
  color: #ffffff;
  font-weight: normal;
  padding-right: 14%;
  position: relative;
  margin-bottom: 6%;
}

.teacher .teacher-list li div h6 a::after {
  display: block;
  content: '';
  position: absolute;
  width: 18px;
  height: 13px;
  background: url(../../images/news2/st-icon.png) no-repeat center center;
  background-size: 100%;
  top: 50%;
  margin-top: -6.5px;
  right: 6%;
  -ms-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.teacher .teacher-list li div h6 a:last-child {
  margin-bottom: 0;
}

.teacher .teacher-list li div h6 a:hover {
  color: #ffe5c2;
}

.teacher .teacher-list li div h6 a:hover::after {
  background: url(../../images/news2/st2-icon.png) no-repeat center center;
  background-size: 100%;
}

.teacher .teacher-list li:nth-child(4n) {
  margin-right: 0;
}

.teacher .teacher-list li:hover p {
  height: 36px;
}

.teacher .teacher-list li:hover p span {
  opacity: 1;
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.teacher .teacher-list li:hover h6 {
  padding: 6% 0;
}

.teacher .teacher-list.actived {
  display: block;
}

.teacher .lesson-cont .lesson-tab {
  padding-bottom: 30px;
  display: none;
}

.teacher .lesson span {
  font-size: 16px;
  line-height: 1;
  margin: 0 2.6%;
  cursor: pointer;
}

.teacher .lesson span.actived {
  color: #e02727;
}

.teacher .lesson-list {
  margin-top: 40px;
}

.teacher .lesson-list li {
  width: 22.85%;
  max-width: 329px;
  float: left;
  margin-bottom: 30px;
  margin-right: -moz-calc((100% - 91.4%) / 3);
  margin-right: -moz-calc((100% - 91.4%) / 3);
  margin-right: calc((100% - 91.4%) / 3);
  background-color: #ffffff;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.teacher .lesson-list li a {
  padding-bottom: 7%;
}

.teacher .lesson-list li a div {
  position: relative;
}

.teacher .lesson-list li a div span {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 14px;
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #ffffff;
  text-indent: 8px;
  padding-right: 5.5%;
}

.teacher .lesson-list li a div span img {
  float: left;
}

.teacher .lesson-list li a h3 {
  font-size: 20px;
  line-height: 1;
  padding: 0 5.5%;
  margin-top: 6.1%;
}

.teacher .lesson-list li a p {
  margin: 0 5.5%;
  margin-top: 6.1%;
  font-size: 14px;
  line-height: 1;
}

.teacher .lesson-list li a p span,
.teacher .lesson-list li a p i {
  display: block;
  font-size: 14px;
  color: #666666;
  line-height: 1;
}

.teacher .lesson-list li a p i {
  margin: 0 2.5%;
}

.teacher .lesson-list li a h2 {
  padding: 0 5.5%;
  font-size: 26px;
  color: #e02727;
  line-height: 1;
  margin-top: 9%;
}

.teacher .lesson-list li a h2 i {
  font-size: 20px;
  font-weight: bold;
}

.teacher .lesson-list li a h2.free {
  font-size: 20px;
  color: #21d585;
}

.teacher .lesson-list li a h2.free span {
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
}

.teacher .lesson-list li a h2.free span i {
  font-size: 16px;
  color: #e02727;
  font-weight: normal;
}

.teacher .lesson-list li a:hover {
  text-decoration: none;
}

.teacher .lesson-list li a:hover p span,
.teacher .lesson-list li a:hover p i {
  color: #e02727;
}

.teacher .lesson-list li:hover {
  -ms-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -o-transform: translateY(-10px);
  transform: translateY(-10px);
  box-shadow: 0px 0px 30px 0px rgba(206, 206, 206, 0.4);
}

.teacher .lesson-list li:nth-child(4n) {
  margin-right: 0;
}

.teacher .lesson-cont .lesson-tab.actived {
  display: block;
}

.teacher .lesson-list-tab ul {
  display: none;
}

.teacher .lesson-list-tab ul.actived {
  display: block;
}

.teacher .page {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  margin: 80px auto;
  clear: both;
}

.teacher .pageTest {
  width: 100%;
  height: 100%;
}

.teacher .pageTest .pagingUl {
  float: left;
  height: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.teacher .pageTest .pagingUl div {
  height: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #f4f5f7;
  border: solid 1px #d8d8d8;
  border-radius: 8px;
  float: left;
  margin: 0 10px;
  transition: all 0.3s;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.teacher .pageTest .pagingUl div a {
  padding: 0 15px;
  height: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 16px;
}

.teacher .pageTest .pagingUl div a:hover {
  text-decoration: none;
}

.teacher .pageTest .pagingUl .activP {
  background-color: #e02727;
}

.teacher .pageTest .pagingUl .activP a {
  color: #ffffff;
}
footer{
  margin-top: 0;
}
@media screen and (max-width: 1440px) {
  .teacher .choose {
    margin: 30px auto 50px auto;
  }
  .teacher .choose div:first-child {
    font-size: 18px;
    line-height: 46px;
  }
  .teacher .choose div li {
    margin: 8px 0;
  }
  .teacher .choose div li a {
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 18px;
  }
  .teacher .teacher-list li div h2 a {
    font-size: 18px;
  }
  .teacher .teacher-list li div h6 a {
    font-size: 13px;
  }
  .teacher .teacher-list li div p span {
    height: 28px;
    font-size: 12px;
    line-height: 28px;
  }
  .teacher .page {
    margin: 60px auto;
    height: 36px;
  }
  .teacher .page .pageTest .pagingUl div {
    border-radius: 6px;
    margin: 0 8px;
  }
  .teacher .page .pageTest .pagingUl div a {
    padding: 0 14px;
    line-height: 36px;
    font-size: 15px;
  }
  .teacher .teacher-list li:hover p {
    height: 30px;
  }
  .teacher .teacher-banner .teacher-detail .fr h2 {
    font-size: 26px;
    line-height: 30px;
    height: 30px;
  }
  .teacher .teacher-banner .teacher-detail .fr h2 span {
    font-size: 14px;
    height: 28px;
    line-height: 28px;
  }
  .teacher .teacher-banner .teacher-detail .fr h3 span {
    font-size: 16px;
    line-height: 18px;
    height: 18px;
  }
  .teacher .teacher-banner .teacher-detail .fr h3 p {
    font-size: 14px;
    line-height: 28px;
  }
  .teacher .teacher-banner .teacher-detail .fr h3:nth-child(2) {
    margin: 3% 0;
  }
  .teacher .teacher-tab {
    margin: 30px auto;
  }
  .teacher .teacher-tab a {
    font-size: 18px;
  }
  .teacher .lesson-list li a h3 {
    font-size: 18px;
  }
  .teacher .lesson-list li a p,
  .teacher .lesson-list li a p span,
  .teacher .lesson-list li a p i {
    font-size: 12px;
  }
  .teacher .lesson-list li a h2 {
    font-size: 22px;
  }
  .teacher .lesson-list li a h2 i {
    font-size: 16px;
  }
}

@media (max-width: 1280px) {
  .teacher .teacher-tab a {
    font-size: 16px;
  }
  .teacher .teacher-tab a.actived::after {
    width: 18px;
    height: 2px;
    margin-left: -9px;
    bottom: -8px;
  }
  .teacher .lesson span {
    font-size: 14px;
  }
  .teacher .choose {
    margin: 30px auto 40px auto;
  }
  .teacher .lesson-list {
    margin-top: 30px;
  }
  .teacher .lesson-list li a h3 {
    font-size: 16px;
  }
  .teacher .lesson-list li a p i {
    margin: 0 1.5%;
  }
  .teacher .lesson-list li a h2 {
    font-size: 20px;
  }
  .teacher .lesson-list li a h2 i {
    font-size: 14px;
  }
  .teacher .lesson-list li:hover {
    -ms-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -webkit-transform: translateY(-6px);
    -o-transform: translateY(-6px);
    transform: translateY(-6px);
    box-shadow: 0px 0px 20px 0px rgba(206, 206, 206, 0.4);
  }
  .teacher .choose div:first-child {
    font-size: 16px;
    line-height: 42px;
  }
  .teacher .choose div li {
    margin: 6px 0;
  }
  .teacher .choose div li a {
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 18px;
  }
  .teacher .teacher-list li div h2 a {
    font-size: 16px;
  }
  .teacher .teacher-list li div h6 a {
    font-size: 12px;
  }
  .teacher .teacher-list li div h6 a::after {
    background: url(../../images/news2/st-icon.png) no-repeat center center;
    background-size: auto 11px;
  }
  .teacher .teacher-list li div h6 a:hover::after {
    background: url(../../images/news2/st2-icon.png) no-repeat center center;
    background-size: auto 11px;
  }
  .teacher .teacher-list li div p span {
    height: 26px;
    font-size: 12px;
    line-height: 26px;
  }
  .teacher .page {
    margin: 40px auto;
    height: 32px;
  }
  .teacher .page .pageTest .pagingUl div {
    margin: 0 8px;
  }
  .teacher .page .pageTest .pagingUl div a {
    padding: 0 12px;
    line-height: 32px;
    font-size: 14px;
  }
  .teacher .teacher-list li:hover p {
    height: 28px;
  }
  .teacher .teacher-banner .teacher-detail .fr h2 {
    font-size: 20px;
    line-height: 26px;
    height: 26px;
  }
  .teacher .teacher-banner .teacher-detail .fr h2 img {
    height: 20px;
  }
  .teacher .teacher-banner .teacher-detail .fr h2 span {
    font-size: 12px;
    height: 24px;
    line-height: 24px;
  }
  .teacher .teacher-banner .teacher-detail .fr h3 span {
    font-size: 14px;
    line-height: 16px;
    height: 16px;
  }
  .teacher .teacher-banner .teacher-detail .fr h3 p {
    font-size: 12px;
    line-height: 26px;
  }
  .teacher .lesson-list li a h2.free {
    font-size: 18px;
  }
  .teacher .lesson-list li a h2.free span {
    font-size: 14px;
    line-height: 18px;
  }
  .teacher .lesson-list li a h2.free span i {
    font-size: 14px;
  }
}
