
.class{
  margin-bottom: 30px;
  background-color: #fff;
}
.class .wrapper{
  height: 400px;
  background-color: #fff;
}
.class .class-img{
  margin-right: 30px;
}
.class .class-info h2{
  margin-bottom: 20px;
  font-weight: normal;
  font-size: 32px;
  color: #000;
}

.class .class-info h2 .info-icon{
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  text-align: center;
  background: url('../images/class-info-icon.png') no-repeat left;
  vertical-align: middle;
}

.class .class-info .class-price{
  width: 564px;
  height: 120px;
  margin-bottom: 5px;
  padding: 20px;
  background-color: #f2f8ff;
  box-sizing: border-box;
}
.class .class-info .class-price .price{
  margin-bottom: 5px;
  font-size: 14px;
  color: #666;
}
.class .class-info .class-price .price span{
  margin-right: 6px;
  font-size: 22px;
  color: #ff6b00;
}
.class .class-info .class-price .price  i{
  font-style: normal;
  font-size: 16px;
  color: #333;
}
.class .class-info .class-price p{
  font-size: 14px;
  line-height: 24px;
  color: #666;
}
.class .class-info .class-price .iconfont{
  margin-right: 8px;
}
.class .class-info .info{
  margin: 20px 0 14px;
  padding-left: 20px;
  font-size: 0;
}
.class .class-info .info span{
  font-size: 14px;
  color: #666;
}
.class .class-info .info p.total-time{
  margin-right: 24px;
}
.class .class-info .service{
  margin-bottom: 22px;
  padding-left: 20px;
  font-size: 0;
}
.class .class-info .service p {
  font-size: 14px;
  line-height: 24px;
  color: #666;
}
.class .class-info .service span i{
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: -3px 8px 0;
  border-radius: 2px;
  font-size: 12px;
  line-height: 14px;
  color: #fff;
  text-align: center;
  vertical-align: middle;
}
.class .class-info .service span:nth-child(1) i{
  font-size: 10px;
  background-color: #cb89ca;
}
.class .class-info .service span:nth-child(2) i{
  background-color: #6ac7cd;
}
.class .class-info .service span:nth-child(3) i{
  background-color: #e16c6c;
}
.class .class-info .service span:nth-child(4) i{
  font-size: 14px;
  background-color: #6acdb0;
}
.class .class-info .opt{
  margin-bottom: 10px;
  padding-left: 20px;
  font-size: 0;
}
.class .class-info .opt button{
  display: inline-block;
  width: 140px;
  height: 36px;
  margin-right: 30px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 36px;
  color: #fff;
  text-align: center;
}
.class .class-info .opt button.buy-btn{
  background-color: #ff6b00;
}
.class .class-info .opt button.buy-btn:hover{
  background-color: #ff6b00;
}
.class .class-info .opt button.cart-btn{
  background-color: #e52011;
}
.class .class-info .opt button.cart-btn:hover{
  background-color: #e52011;
}
.class .class-info .buyer{
  padding-left: 20px;
  font-size: 12px;
  color: #999;
}

.class-detail .wrapper{
  margin-bottom: 100px;
  background-color: #f7f8fa;
}
.class-detail .detail-con{
  width: 840px;
  padding-bottom: 52px;
  border: 1px solid #eee;
  background-color: #fff;
}
.class-detail .detail-con .class-tab{
  margin-bottom: 30px;
}
.class-detail .detail-con .class-tab ul {
  height: 60px;
  background-color: #f7f8fa;
}

.class-detail .detail-con .class-tab ul li{
  float: left;
  width: 280px;
  height: 60px;
  padding: 0 26px;
  border-top: 4px solid #f7f8fa;
  font-size: 14px;
  line-height: 56px;
  color: #000;
  text-align: center;
  background-color: #f7f8fa;
  cursor: pointer;
  box-sizing: border-box;
}
.class-detail .detail-con .class-tab ul li:hover{
  border-color: #3799ff;
  background-color: #fff;
}
.class-detail .detail-con .class-tab ul li.active{
  border-color: #3799ff;
  background-color: #fff;
}
.class-detail .detail-con .class-con .tab-con{
  display: none;
  padding: 0 40px;
  font-size: 14px;
  line-height: 28px;
  color: #333;
}
.class-detail .detail-con .class-con img{
  display: block;
  width: 750px;
  margin: 0 auto;
}
.class-detail .show-other{
  width: 328px;
}
.class-detail .show-other .class-reco{
  width: 100%;
  padding: 30px 20px;
  margin-bottom: 10px;
  background-color: #fff;
  box-sizing: border-box;
}
.class-detail .show-other .class-reco>p{
  position: relative;
  margin-bottom: 20px;
  padding-left: 10px;
  font-size: 16px;
  color: #333;
}
.class-detail .show-other .class-reco>p i{
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 2px;
  line-height: 18px;
  color: #fff;
  text-align: center;
  background-color: #cea5b3;
}
.class-detail .show-other .class-reco>p span{
  position: absolute;
  right: 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}
.class-detail .show-other .class-reco>p span:hover{
  color: #333;
}
.class-detail .show-other .course-item {
  position: relative;
  width: 290px;
  height: 280px;
  margin:  0 auto;
  padding: 24px 20px;
  border: 1px solid #eee;
  border-radius: 4px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  box-sizing: border-box;
}

.class-detail .show-other .course-item .co-tag {
  width: 73px;
  height: 20px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  background-color: #a6b0b8;
}

.class-detail .show-other .course-item .co-name {
  padding-top: 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  color: #30404b;
  cursor: pointer;
}

.class-detail .show-other .course-item .co-name span {
  font-weight: normal;
  font-size: 14px;
}

.class-detail .show-other .course-item .co-type {
  font-size: 12px;
  line-height: 26px;
  color: #999;
}

.class-detail .show-other .course-item .teacher-show {
  height: 83px;
  padding-top: 10px;
}

.class-detail .show-other .course-item .teacher-show ul li{
  float: left;
  width: 40px;
  margin-right: 10px;
}
.class-detail .show-other .course-item .teacher-show ul li img{
  width: 40px;
  height: 40px;
}
.class-detail .show-other .course-item .teacher-show ul li p{
  width: 100%;
  font-size: 12px;
  color: #999;
  line-height: 26px;
  text-align: center;
}

.class-detail .show-other .course-item .co-price {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 40px);
  height: 50px;
  padding: 0 20px;
  line-height: 52px;
  background-color: #f9fcff;
}

.class-detail .show-other .course-item .co-price .buyer {
  font-size: 12px;
  color: #333;
}

.class-detail .show-other .course-item .co-price .price {
  font-size: 16px;
  color: #ff6b00;
}

.class-detail .show-other .course-item .co-price i {
  font-style: normal;
  font-size: 12px;
}

.class-detail .show-other .course-item:hover{
  transform: translateY(-8px);
  box-shadow: 1px 1px 8px rgba(88, 145, 205, .3);
}

.class-detail .show-other .tips{
  width: 328px;
  padding: 30px;
  background-color: #fff;
  box-sizing: border-box;
}
.class-detail .show-other .tips p.tip-title{
  margin-bottom: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  color: #333;
}
.class-detail .show-other .tips p.tip-title i{
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 2px;
  line-height: 18px;
  color: #fff;
  text-align: center;
  background-color: #a5cec7;
}
.class-detail .show-other .tips ol li{
  font-size: 14px;
  line-height: 30px;
  color: #333;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}
.class-detail .show-other .tips ol li:before{
  display: inline-block;
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border-radius: 50%;
  background-color: #eee;
  vertical-align: middle;
}
.class-detail .show-other .tips ol li:hover{
  color: #000;
}