html, body, #root {
  height: 100%;
}

.yarn-wish {
  height: 100%;
  background-color: #BA2C21;
  padding-bottom: 35px;

  .banner {
    width: 100%;
    margin-bottom: 30px;
  }

  .course-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    .course-container {
      width: 158px;
      margin: 15px 0 0 0;
      text-align: center;
      position: relative;
    }

    .group-num {
      width: 66px;
      height: 16px;
      position: absolute;
      left: 10px;
      top: 10px;
      line-height: 16px;
      background: #CA161C;
      opacity: 0.8;
      border-radius: 1px;
      font-size: 12px;
      color: #fff;
      text-align: center;
    }

    .coupon-course__footer {
      .course-title {
        padding-left: 10px;
        font-size: 15px;
        color: #333;
        font-weight: 500;
        margin-top: 7px;
      }

      .btn {
        display: inline-block;
        width: 138px;
        height: 24px;
        text-align: center;
        line-height: 24px;
        border-radius: 2px;
        font-size: 12px;
        outline: none;
        border: none;
        letter-spacing: 1px;
      }

      .big-course {
        background-color: #FEE41D;
        border: 1px solid #090F08;
        color: #090F08;
        margin-top: 10px;
      }

      .to-study {
        background-color: #09f;
        color: #fff;
        position: absolute;
        left: 10px;
        bottom: 10px;
      }

      .free-study {
        background: linear-gradient(-90deg, #EB1612 0%, #F92927 100%);
        color: #fff;
        margin-top: 10px;
      }

      .free-course-num {
        font-size: 12px;
        color: #070F08;
        margin-top: 7px;
        letter-spacing: 1px;

        span {
          font-size: 14px;
          color: #FF0002;
        }
      }
    }

    .type {
      text-align: left;
      padding-left: 7px;
      margin-top: 3px;

      .tag {
        display: inline-block;
        padding: 0 6px;
        height: 14px;
        line-height: 15px;
        text-align: center;
        font-size: 12px;
        color: #FFF;
        position: relative;
        z-index: 0;
      }

      .time {
        display: inline-block;
        height: 15px;
        line-height: 15px;
        padding: 0 6px;
        margin-left: 5px;
        position: relative;
        font-size: 12px;
        color: #555;
        text-align: center;
        z-index: 0;
      }

      .time:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: #E6E6E6;
        transform: skewX(-20deg);
        z-index: -1;
      }

      .tag:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: #FF0002;
        transform: skewX(-20deg);
        z-index: -1;
      }
    }

    .price {
      text-align: left;
      padding-left: 5px;
      margin-top: 3px;
      color: #FF0002;
      font-size: 12px;

      .new-price {
        font-size: 18px;
      }

      .old-price {
        font-size: 12px;
        color: #666;
        margin-left: 8px;
      }
    }

    .status {
      text-align: left;
      padding-left: 5px;
      position: absolute;
      bottom: 10px;

      .status-btn {
        display: inline-block;
        height: 22px;
        line-height: 22px;
        border-radius: 2px;
        text-align: center;
        font-size: 12px;
        color: #fff;
      }

      .to-buy {
        width: 148px;
        background-color: #FF8080;
      }

    }
  }


  .groupcourse .course-container {
    height: 195px;
  }

  .notData {
    margin: 100px auto 0;
    text-align: center;

    img {
      width: 56px;
      height: 49px;
    }

    p{
      font-size: 16px;
      color: #fff;
      margin-top: 20px;
    }
  }
}

