.year-index-course {
  .boss__add {
    font-size: 12px;
    color: #fff;
    text-align: center;
    height: 16px;
    line-height: 16px;
    text-decoration: underline;
    display: block;
    margin: 12px auto 0;
  }

  .course-conter {
    .course-item {
      width: 168px;
      padding: 4px;
      background-color: #fff;
      position: relative;
      border-radius: 2px;
      span {
        position: absolute;
        right: 4px;
        top: 4px;
        width: 60px;
        display: block;
        text-align: center;
        padding-left: 5px;
        border-radius: 0 0 0 10px;
        background-color: #eb1612;
        color: #fff;
        font-size: 12px;
      }
      a {
        width: 160px;
        height: 104px;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
  .course-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    .course-container {
      width: 168px;
      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;
    }

    .bargain-price {
      position: absolute;
      left: 4px;
      top: 10px;
      margin: 0;
      height: 18px;
      padding: 0 8px;
      border-radius: 0 9px 9px 0;
      font-size: 12px;
      color: #fff;
      line-height: 18px;
      background-color: #f01d0e;
    }

    .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;
      }

      .tag[data-color="green"]:before {
        background-color: #357345;
      }
    }

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

      &.price-group {
        font-size: 0;
        height: 30px;
      }

      .price-label {
        font-size: 12px;
      }

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

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

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

      &[data-layout="row"] {
        display: flex;

        .to-group {
          font-size: 12px;

          &:nth-child(1) {
            margin-right: 2px;
          }

          &:nth-child(2) {
            margin-left: 2px;
          }
        }
      }

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

      .to-buy {
        width: 55px;
        background-color: #ff8080;
      }

      .to-group {
        display: block;
        width: 100%;
        height: 22px;
        border-radius: 11px;
        box-sizing: border-box;
        font-size: 14px;
        color: #fff;
        text-align: center;
        line-height: 22px;
        background: linear-gradient(
          -90deg,
          rgba(235, 22, 18, 1) 0%,
          rgba(255, 0, 2, 1) 100%
        );

        &[data-status="study"] {
          background: #0099ff;
        }

        &[data-status="done"] {
          border: 1px solid #090f08;
          font-size: 12px;
          color: #090f08;
          background: #fee41d;
        }
      }

      .add-wish,
      .add-wish-success {
        width: 88px;
        margin-left: 5px;
        outline: none;
        color: #ff0002;
        background-color: #fff;
        border: 1px solid #ff0002;

        img {
          width: 12px;
          height: 11px;
          margin-right: 2px;
          position: relative;
          top: 1px;
        }
      }

      .add-wish-success {
        color: #fff;
        background: linear-gradient(
          90deg,
          rgba(235, 22, 18, 1) 0%,
          rgba(249, 41, 39, 1) 100%
        );
      }
    }
  }

  .bigcourse .course-container {
    height: 156px;
  }

  .freecourse .course-container {
    height: 177px;
  }

  .groupcourse .course-container {
    height: 195px;
  }
  .groupcourse[data-stage="2"] .course-container {
    height: 215px;
  }

  .progree-and-sale {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
  }

  .progress {
    width: 90px;
    height: 8px;
    border-radius: 4px;
    background-color: #e6e6e6;
  }

  .progress_bar {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: 4px 0 0 4px;
    background-color: #ff0002;
  }

  .sale-sum {
    flex: 1;
    margin: 0;
    font-size: 12px;
    color: #333;
    text-align: center;
    line-height: 1;
  }

  .ai-course__subtitle {
    width: 73px;
    height: 24px;
    margin: 15px auto 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #070f08;
    text-align: center;
    line-height: 22px;
    letter-spacing: 2px;
    background-color: #ffe300;
    border: 1px solid #070f08;
  }

  .more-button {
    display: block;
    width: 75px;
    height: 26px;
    margin: 15px auto 5px;
    padding: 0;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    line-height: 26px;
    cursor: pointer;
    outline: none;
    background-color: #0f6237;
    border: none;
    letter-spacing: 1px;
  }

  .sub__code_container {
    padding: 20px;
  }

  .save-image {
    display: block;
    width: 133px;
    height: 30px;
    margin: 20px auto 0 auto;
    background: rgba(83, 39, 250, 1);
    border-radius: 15px;
    font-size: 14px;
    color: #fff;
    -webkit-appearance: none;
    outline: 0;
    border: none;
  }

  .nav-right {
    width: 100px;
    height: 125px;
    background-image: url("https://cdn.julyedu.com/newyear20/H5/sd_fc_bj.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    right: 0;
    bottom: 20%;
    margin-top: -57px;
    z-index: 22;
    .nav-right__link {
      display: block;
      position: relative;
      font-size: 12px;
      font-weight: 500;
      color: #fff;
      text-align: center;
      top: 47px;
      line-height: 25px;
    }
    .nav-right__number {
      position: absolute;
      top: -5px;
      right: 5px;
      padding: 0 5px;
      border: 1px solid #f7d067;
      border-radius: 7px 7px 7px 0px;
      font-size: 12px;
      font-style: normal;
      color: #fee41d;
      background-color: #ff4f24;
      height: 16px;
      line-height: 14px;
    }
  }
  .nav-right-wish {
    background-image: url("https://cdn.julyedu.com/newyear20/H5/fanc-bx.png");
    .nav-right__link {
      top: 60px;
      left: 10px;
    }
  }
}
