.detail-box {
  position: relative;

  .toapp {
    position: absolute;
    right: 0;
    top: 117px;
    width: 82px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    background: linear-gradient(-90deg, $bg_active 0%, $bg_0078FF 100%);
    border-radius: 16px 0 0 16px;
    font-size: 12px;
    color: $white;
    z-index: 1;
  }

  .detail-header {
    height: 44px;
    line-height: 44px;
    padding: 0 15px;
    background-color: $bg_f7f9fc;
    display: flex;
    justify-content: space-between;

    .shopping-cart, .return {
      font-size: 18px !important;
    }

    .herder {
      font-size: 16px;
      color: $color_202426;
    }
  }

  .course-content {
    margin: 15px 12px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid $sp_e7eaf1;
    display: flex;
    justify-content: space-between;

    .cover {
      width: 42.2%;
      height: 108px;

      img {
        border-radius: 3px;
        width: 100%;
        height: 100%;
      }
    }

    .info {
      width: 52.3%;
      position: relative;
      display: block;

      .title {
        font-size: 16px;
        color: $color_333;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .contact {
        font-size: 14px;
        color: $color_666;
        margin-top: 10px;
      }

      .des {
        position: absolute;
        bottom: 0;

        .course-price {
          .new {
            color: $red;
            font-size: 16px;
          }

          .old {
            color: $color_999;
            font-size: 12px;
            display: inline-block;
            margin-left: 15px;
            text-decoration: line-through;
          }
        }

        .isbuy {
          display: inline-block;
          width: 66px;
          height: 27px;
          background-color: $bg_ccc;
          color: $white;
          border-radius: 3px;
          font-size: 12px;
          text-align: center;
          line-height: 27px;
        }
      }
    }
  }

  .promise {
    padding: 15px 12px;
    height: 66px;

    label {
      float: left;
      display: block;
      text-align: center;
      font-size: 12px;
      width: 54px;
      height: 18px;
      background-color: $bg_333;
      color: $white;
      border-radius: 6px 0 6px 0;
    }

    p {
      width: 75%;
      float: left;
      margin-left: 15px;
      font-size: 12px;
      color: $color_333;
    }
  }

  .group, .vip {
    margin: 0 12px;
    padding: 10px 12px;
    text-align: center;
    color: $white;
    font-size: 12px;
    border-radius: 6px 6px 0 0;
  }

  .group {
    background-color: $bg_82BBFB;
  }

  .vip {
    background: linear-gradient(-90deg, $bg_EBA216 0%, $bg_EBC05A 100%);
  }

  .share-ranking {
    height: 60px;
    line-height: 25px;
    padding: 15px 12px;
    border-top: 8px solid $bg_f5f5f5;
    display: flex;
    position: relative;
    font-size: 12px;

    .title {
      font-size: 14px;
      margin-right: 12px;
    }

    .ranking-mess {
      margin-right: 20px;

      img {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        vertical-align: middle;
      }

      i {
        display: inline-block;
        margin-left: 5px;
        color: $color_333;
        font-style: normal;
      }
    }

    .ranking-ellipsis {
      width: 22px;
      height: 22px;
      border-radius: 50%;
    }

    .share {
      position: absolute;
      right: 12px;
      padding: 5px 6px;
      border: 1px solid $red;
      border-radius: 3px;
      color: $red;
      background-color: $bg_fff;
    }
  }

  .course-detail {
    border-top: 8px solid $bg_f5f5f5;
    margin-bottom: 50px;

    .am-whitespace-md {
      height: 0;
    }

    .am-tabs-default-bar-tab {
      width: auto !important;
    }

    .am-tabs-default-bar-content {
      border-bottom: 1px solid $sp_e7eaf1;
      display: flex;
      justify-content: space-around;
    }

    .am-tabs-default-bar-tab-active {
      color: $active;
      border-bottom: 1px solid $active !important;
    }

    .am-tabs-default-bar-underline {
      display: none;
    }

    .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
      background-color: $bg_fff !important;
    }

    .introduce {
      padding: 15px 12px;
      font-size: 14px;
      color: $color_555;
    }

    .outline {
      padding: 15px 0 15px 12px;
      background-color: $bg_f5f5f5;

      .stagebox {
        margin-bottom: 15px;
      }

      .stage {
        font-size: 14px;
        color: $color_333;
      }

      .classhour {
        height: 33px;
        background-color: $bg_fff;
        color: $color_4B4B4B;
        line-height: 33px;
        font-size: 14px;
        padding-left: 10px;
        margin-top: 10px;
        margin-bottom: 5px;
        position: relative;
      }

      .points {
        font-size: 12px;
        color: $color_666;
        margin-left: 10px;
        margin-top: 10px;
      }

      .red {
        color: $color_FE2F2F;
      }

      .icon-right-22 {
        position: absolute;
        right: 22px;
      }

      .iconiconfront-74 {
        font-size: 19px;
      }

      .icondanseshixintubiao-23 {
        display: inline-block;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: $bg_active;
        color: $white;
        text-align: center;
        line-height: 22px;
        font-size: 14px;
        top: 6px;
        margin-left: 5px;
      }

      .live {
        color: $active;
        font-size: 12px;
      }

      .btn-right-10 {
        position: absolute;
        right: 10px;
        top: 6px;
        display: inline-block;
        min-width: 44px;
        padding: 0 5px;
        height: 22px;
        line-height: 22px;
        text-align: center;
        color: $white;
        font-size: 12px;
        border-radius: 11px;
      }

      .audition {
        background: linear-gradient(90deg, $bg_0078FF 0%, $bg_active 100%);
      }

      .singleset {
        background-color: $bg_FE2F2F;
      }
    }
  }

  .popup-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 1;

    .content {
      width: 300px;
      position: relative;
      background-color: $white;
      padding-top: 20px;
      border-radius: 3px;
    }

    .close {
      color: #fff;
      font-size: 22px;
      position: relative;
      left: 50%;
      margin-left: -11px;
    }

    .btn {
      position: absolute;
      bottom: 24px;
      left: 83px;
      width: 135px;
      height: 30px;
      border-radius: 3px;
      font-size: 16px;
      color: $white;
      text-align: center;
      line-height: 30px;
    }

    .btn-18B4ED {
      background-color: $bg_18B4ED;
    }

    .btn-FF4000 {
      background-color: $bg_FF4000;
    }

    .header {
      color: $active;
      height: 24px;
      line-height: 24px;
      text-align: center;

      i {
        font-size: 24px;
      }

      span {
        font-size: 18px;
        margin-left: 10px;
        vertical-align: text-bottom;
      }
    }

    .audition-box {
      height: 144px;
      text-align: center;
      margin: 212px auto 22px auto;

      .audition-header {
        font-size: 16px;
        color: $color_333;
      }

      .audition-dec {
        font-size: 14px;
        color: $color_666;
        margin-top: 10px;
      }
    }

    .singleset-payment {
      height: 305px;
      margin: 140px auto 22px auto;
      padding: 17px 20px;

      .price-box {
        padding-bottom: 15px;
        border-bottom: 1px solid $sp_ddd;

        span {
          font-size: 12px;
          color: $color_666;
        }

        p {
          height: 22px;
          line-height: 22px;
          color: $color_FF4000;
          font-size: 22px;
          text-align: center;
          margin-top: 5px;
        }
      }

      .course-info {
        font-size: 14px;

        p {
          height: 14px;
          line-height: 14px;
          margin-top: 10px;
          color: $color_333;

          span {
            color: $color_666;
          }
        }
      }

      .payment-type {
        margin-top: 20px;

        label {
          display: inline-block;
          width: 100%;
          border-bottom: 1px solid $sp_ddd;
          color: $color_666;
          font-size: 12px;
          padding-bottom: 5px;
        }

        p {
          height: 22px;
          line-height: 22px;
          margin-top: 10px;
          position: relative;

          .iconzhifubaox- {
            font-size: 22px;
            color: #01aaef;
          }

          .iconweixinzhifu {
            font-size: 22px;
            color: #3baf34;
          }

          span {
            display: inline-block;
            margin-left: 10px;
            color: $color_333;
            font-size: 14px;
            vertical-align: text-bottom;
          }
          .icondanseshixintubiao-5 {
            position: absolute;
            right: 0;
            font-size: 24px;
          }
          .redioed {
            color: #4cd964;
          }
          .redio {
            color: $border_ccc;
          }
        }
      }
    }

    .zero {
      height: 147px;
      margin: 213px auto 22px auto;
      text-align: center;

      .header {
        color: $active;
        height: 24px;
        line-height: 24px;

        i {
          font-size: 24px;
        }

        span {
          font-size: 18px;
          margin-left: 10px;
          vertical-align: text-bottom;
        }
      }

      .dec {
        height: 14px;
        line-height: 14px;
        color: $color_666;
        font-size: 14px;
        margin-top: 15px;
      }
    }

    .payment-success {
      height: 258px;
      margin: 143px auto 22px auto;
      padding: 20px 24px;

      .dec {
        height: 33px;
        line-height: 20px;
        color: $color_666;
        font-size: 14px;
        margin-top: 12px;
      }

      .btn-18B4ED {
        bottom: 70px;
      }
    }
  }

}