.course-list {
  &.no-margin {
    .course-item {
      margin-bottom: 0; 
    }
  }
  .course-item {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    .border-radius;
    border: 1px solid @border-color;
    background-color: #fff;
    @media (min-width: @screen-md-min) {
      .es-transup;
    }
    @media (max-width: @screen-xs-max) {
      margin-bottom: 20px;
      margin-left: -5px;
      margin-right: -5px;
    }
    // 用于近期直播
    &.course-default {
      background-color: @gray-lighter;
      padding: 50px 20px 55px;
      border: 1px dashed @gray-light;
      color: @gray-light;
      text-align: center;
      font-size: 24px;
      .box-shadow(none);
      &:hover {
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        .box-shadow(none);
      }
      >i {
        font-size: 72px;
        display: inline-block;
        margin-bottom: 18px;
      }
    }
    .course-img {
      position: relative;
      overflow: hidden;
      .border-top-left-radius();
      .border-top-right-radius();
      .tag-discount {
        position: absolute;
        right: 0;
        top: 0;
        width: 68px;
        height: 68px;
        background: url("@{img-src}tag_discount.png") no-repeat;
        background-image: -webkit-image-set(url("@{img-src}tag_discount.png") 1x,url("@{img-src}tag_discount@2x.png") 2x);
        &.free {
          background: url("@{img-src}tag_limitfree.png");
          background-image: -webkit-image-set(url("@{img-src}tag_limitfree.png") 1x,url("@{img-src}tag_limitfree@2x.png") 2x);
        }
      }
      .img-responsive {
        width: 100%;
        padding: 10px;
        @media (max-width: @screen-xs-max) {
          padding: 5px;
        }
      }
    }
    .tags {
      position: absolute;
      top: 0;
      left: 10px;
      .tag-live,
      .tag-serialing,
      .tag-finished {
        display: inline-block;
        width: 40px;
        height: 50px;
      }
      .tag-live {
        background: url("@{img-src}tag_live.png") no-repeat;
        background-image: -webkit-image-set(url("@{img-src}tag_live.png") 1x,url("@{img-src}tag_live@2x.png") 2x);
      }
      .tag-serialing {
        background: url("@{img-src}tag_serialing.png") no-repeat;
        background-image: -webkit-image-set(url("@{img-src}tag_serialing.png") 1x,url("@{img-src}tag_serialing@2x.png") 2x);
      }
      .tag-finished {
        background: url("@{img-src}tag_finished.png") no-repeat;
        background-image: -webkit-image-set(url("@{img-src}tag_finished.png") 1x,url("@{img-src}tag_finished@2x.png") 2x);
      }
    }
    .title {
      margin-top: 10px;
      padding: 0 10px;
      .text-overflow;
      @media (max-width: @screen-xs-max) {
        margin-top: 5px;
        padding: 0 5px;
      }
    }
    .metas {
      position: relative;
      padding: 10px;
      color: @gray-medium;
      @media (max-width: @screen-xs-max) {
        padding: 5px;
      }
      i {
        margin-right: 5px;
      }
      
      .comment {
        margin-left: 10px;
        @media (max-width: @screen-xs-max) {
          display: none;
        }
      }
    }
  }
  .course-date {
    position: relative;
    padding: 20px 0;
    text-align: center;
    z-index: 1;
    .date {
      margin-top: 20px;
      color: @gray;
    }
    &:before {
      position: absolute;
      content: '';
      left: -10px;
      right: -10px;
      top: 40px;
      height: 1px;
      background-color: @gray-light;
      z-index: -1;
    }
    .btn-circle {
      z-index: 1;
      background: @gray-light;
      border: none;
      color: #fff;
      text-shadow: 0 1px 1px rgba(73,73,73,.21);
      -webkit-box-shadow: inset 0 0 4px rgba(113,113,113,.3);
      -moz-box-shadow: inset 0 0 4px rgba(113,113,113,.3);
      box-shadow: inset 0 0 4px rgba(113,113,113,.3);
      >i {
        line-height: 40px;
      }
      &.btn-live {
        // background: @brand-primary;
      }
    }
  }
  .course-price-widget {
    float: right;
  }
}

.course-price-widget {
  .price {
    //不能用color-dange代替...便于主题重写
    color: @brand-danger;
    font-size: 14px;
    margin-right: 0;
  }

  .free {
    //不能用color-dange代替...便于主题重写
    color: @brand-success;
  }
  .discount {
    //不能用color-dange代替...便于主题重写
    color: @brand-warning;
  }
}
