.SP-footer {
  margin-top: 0px;
}
.all-page {
  background: #f9f9f9;
  padding-bottom: 30px;
}
.all-page .upside {
  position: relative;
  overflow: hidden;
}
.all-page .upside .banner-img {
  width: 100%;
  min-height: 400px;
}
.all-page .upside .upside-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
}
.all-page .upside .upside-layer .SP-container {
  height: 100%;
}
.all-page .upside .upside-layer .SP-container .table-layer {
  display: table;
  height: 100%;
  float: right;
}
.all-page .upside .upside-layer .SP-container .table-layer section {
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}
.all-page .upside .upside-layer .SP-container .table-layer section .upside-title {
  background: #fff; 
  font-size: 14px;
  color: #222;
  line-height: 48px;
  border-bottom: 1px solid #eee;
  padding: 0 20px;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel {
  position: relative;
  background: #fff;
  width: 300px;
  height: 265px;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .carousel-btn {
  visibility: hidden;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .carousel-indicators {
  bottom: 15px;
  text-align: left;
  padding-left: 15px;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .carousel-indicators span {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  position: relative;
  z-index: 2;
  behavior: url(../../css/common/ie-css3.htc);
  background: #999;
  margin: 0 3px;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .carousel-indicators span.active {
  background: #88110B;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .upside-items {
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .upside-items a {
  text-decoration: none;
  color: inherit;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .upside-items a:hover {
  color: #88110B;
}
.all-page .upside .upside-layer .SP-container .table-layer section .ft-carousel .more {
  position: absolute;
  bottom: 8px;
  right: 15px;
  display: inline-block;
  padding: 5px;
  font-size: 14px;
  color: #88110B;
  text-decoration: none;
}
.all-page .upside .upside-layer .SP-container .table-layer section .entrance {
  border-top: 1px solid #eee;
  background: #fff;
  height: 75px;
  overflow: hidden;
}
.all-page .upside .upside-layer .SP-container .table-layer section .entrance a {
  position: relative;
  display: inline-block;
  width: 50%;
  text-align: center;
  font-size: 14px;
  line-height: 120px;
  color: #666;
  text-decoration: none;
}
.all-page .upside .upside-layer .SP-container .table-layer section .entrance a.lesson {
  background: url("../../img/training/find-lesson.png") no-repeat center 10px;
}
.all-page .upside .upside-layer .SP-container .table-layer section .entrance a.lesson:hover {
  color: #88110B;
  background: url("../../img/training/find-lesson-active.png") no-repeat center 10px;
}
.all-page .upside .upside-layer .SP-container .table-layer section .entrance a.lesson:after {
  width: 0;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-right: 1px solid #eee;
}
.all-page .upside .upside-layer .SP-container .table-layer section .entrance a.teacher {
  background: url("../../img/training/find-teacher.png") no-repeat center 10px;
}
.all-page .upside .upside-layer .SP-container .table-layer section .entrance a.teacher:hover {
  color: #88110B;
  background: url("../../img/training/find-teacher-activer.png") no-repeat center 10px;
}
.all-page .content .units {
  background: #fff;
  margin-top: 20px;
}
.all-page .content .units .unit-title {
  border-bottom: 1px solid #eee;
  padding: 20px;
}
.all-page .content .units .unit-title span {
  display: inline-block;
  height: 40px;
  text-indent: 50px;
  line-height: 40px;
  font-size: 20px;
  color: #88110B;
}
.all-page .content .units .unit-title span.hot-lesson {
  background: url("../../img/training/hot-lesson.png") no-repeat left center;
}
.all-page .content .units .unit-title span.train-teacher {
  background: url("../../img/training/find-teacher-activer.png") no-repeat left center;
}
.all-page .content .units .unit-title a {
  display: inline-block;
  line-height: 40px;
  float: right;
  text-decoration: none;
  color: #88110B;
  font-size: 14px;
}
.all-page .content .units .unit-wrapper {
  padding: 0 5px 30px 20px;
  overflow: hidden;
  font-size: 0;
}
.all-page .content .units .unit-wrapper .unit-items {
  float: left;
  width: 33.333%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 15px;
  padding-right: 15px;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper {
  border: 1px solid #eee;
  border-radius: 5px;
  -moz-border-radius: 5px;
  position: relative;
  z-index: 2;
  behavior: url(../../css/common/ie-css3.htc);
  overflow: hidden;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .lesson-img-wrapper {
  position: relative;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .lesson-img-wrapper img {
  width: 100%;
  height: 317px;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .lesson-img-wrapper:hover .places {
  display: block;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .lesson-name {
  font-size: 16px;
  color: #222;
  height: 50px;
  line-height: 50px;
  padding-left: 20px;
  padding-right: 90px;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .lesson-name .cost {
  position: absolute;
  top: 0;
  right: 0;
  color: #666;
  float: right;
  padding-left: 32px;
  padding-right: 20px;
  display: inline-block;
  background: url("../../img/training/cost.png") no-repeat center left;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .enter-details {
  display: inline-block;
  font-size: 16px;
  color: #88110B;
  border: 1px solid #88110B;
  text-decoration: none;
  width: 140px;
  height: 38px;
  line-height: 38px;
  text-indent: 15px;
  border-radius: 38px;
  -moz-border-radius: 38px;
  position: relative;
  z-index: 2;
  behavior: url(../../css/common/ie-css3.htc);
  margin-left: 20px;
  margin-bottom: 20px;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .enter-details .enter-icon {
  width: 22px;
  height: 22px;
  margin: 9px 15px 0 0;
  display: inline-block;
  float: right;
  background: url("../../img/training/more.png") no-repeat center center;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .enter-details:hover {
  background: #88110B;
  color: #fff;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .enter-details:hover .enter-icon {
  background: url("../../img/training/more-active.png") no-repeat center center;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url("../../images/optBg.png") repeat;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p {
  font-weight: bold;
  font-size: 14px;
  color: #666;
  position: absolute;
  bottom: 25px;
  left: 20px;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p code {
  width: 24px;
  height: 24px;
  margin: 0 3px -6px 0;
  display: inline-block;
  background: url("../../images/icon1.png") no-repeat -53px -275px;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p span {
  position: static;
  color: #666;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p:hover {
  color: #88110B;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p:hover code {
  background: url(../../img/like_hover.png) no-repeat center center;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p:hover span {
  color: #88110B;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p.active {
  color: #88110B;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p.active code {
  background: url(../../images/icon1.png) no-repeat -53px -244px;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places p.active span {
  color: #88110B;
}
.all-page .content .units .unit-wrapper .unit-items .item-wrapper .places span {
  position: absolute;
  bottom: 25px;
  right: 20px;
  color: #fff;
  font-size: 14px;
}
.all-page .content .teacher .unit-wrapper .unit-items {
  width: 25%;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper {
  border: none;
  position: relative;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .img-layer {
  display: none;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper img {
  width: 100%;
  height: 330px;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info .teacher-name {
  font-size: 16px;
  color: #fff;
  margin-top: 15px;
  font-weight: bold;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info .grade {
  margin-top: 12px;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info .grade .profession {
  position: relative;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  padding-right: 12px;
  vertical-align: top;
  margin-right: 8px;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info .grade .profession:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #fff;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info .grade .score span {
  display: inline-block;
  width: 15px;
  height: 14px;
  margin-right: 3px;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info .grade .score span.bright {
  background: url("../../img/training/bright-star.png") no-repeat center center;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper .teacher-info .grade .score span.dark {
  background: url("../../img/training/dark-star.png") no-repeat center center;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover img {
  cursor: pointer;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer {
  display: block;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  background: #fff;
  border: 1px solid #88110B;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-radius: 5px;
  -moz-border-radius: 5px;
  behavior: url(../../css/common/ie-css3.htc);
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .teacher-introduction {
  height: 200px;
  padding: 10px 10px 0 10px;
  background: #88110B;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: justify;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .avatar {
  width: 90px;
  height: 90px;
  margin: -45px auto 0 auto;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -moz-border-radius: 50%;
  position: relative;
  z-index: 2;
  behavior: url(../../css/common/ie-css3.htc);
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .wrapper-name {
  text-align: center;
  color: #222;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .wrapper-grade {
  margin-top: 12px;
  text-align: center;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .wrapper-grade .profession {
  position: relative;
  display: inline-block;
  color: #666;
  font-size: 14px;
  padding-right: 12px;
  vertical-align: top;
  margin-right: 8px;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .wrapper-grade .profession:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #999;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .wrapper-grade .score span {
  display: inline-block;
  width: 15px;
  height: 14px;
  margin-right: 3px;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .wrapper-grade .score span.bright {
  background: url("../../img/training/bright-star.png") no-repeat center center;
}
.all-page .content .teacher .unit-wrapper .unit-items .item-wrapper:hover .img-layer .wrapper-grade .score span.dark {
  background: url("../../img/training/dark-star.png") no-repeat center center;
}
@media screen and (max-width: 1200px) {
  .all-page .content .units .unit-wrapper .unit-items .item-wrapper .lesson-img-wrapper img {
    height: 280px;
  }
}
