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

.am-accordion.python-study__stage .am-accordion-item .am-accordion-header {
  height: 44px;
  padding-left: 13px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  background-color: #CFDBE5;
  border-radius: 4px;
}

.am-accordion.python-study__stage .am-accordion-item-active .am-accordion-header {
  border-radius: 4px 4px 0 0;
}

html:not([data-scale]) .am-accordion::before {
  background-color: #F4F5F6;
}

.am-accordion.python-study__stage .am-accordion-item {
  margin-top: 15px;

  .am-accordion-content {
    padding-bottom: 10px;
    border-radius: 0 0 4px 4px;
  }
}

.am-accordion.python-study__stage {
  .am-accordion-item:first-child {
    margin-top: 0;
  }
}

html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am-accordion-content .am-accordion-content-box::after {
  display: none;
}

.am-accordion.python-study__stage .am-accordion-item .am-accordion-header i {
  background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/subject-icon-arrow.png');
}

.python-study {
  height: 100%;
  background-color: #F4F5F6;
  padding-bottom: 15px;

  .dist-wrapper {
    background: #fff;
    margin: 20px 10px 30px;
  }

  .toapp {
    position: fixed;
    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: 9;
  }
}

.python-study__header {
  margin: 10px 10px 18px;
  border-radius: 5px;
  background-color: #fff;
  overflow: hidden;
}

.python-study__course {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 55px;
  padding: 0 12px;
  background-color: #4B41FF;

  &::after {
    content: '';
    position: absolute;
    left: -60px;
    top: 0;
    width: 146px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/pc/python-title-bg-1.png');
  }

  &::before {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -20px;
    width: 106px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/pc/python-title-bg-0.png');
  }
}

.python-study__course-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.python-study__course-contact {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
}

.python-study__progress {
  color: rgba(255, 255, 255, .8);
}

.python-study__progress {
  height: 66px;
  padding: 0 12px;
}

.python-study__progress-title {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  line-height: 39px;

  & > span {
    color: #999;

    span {
      color: #09f;
    }
  }
}

.python-study__progress-bar {
  position: relative;
  height: 3px;
  margin: 18px 0 15px;
  width: 98%;
  border-radius: 2px;
  background-color: rgba(207, 219, 229, .6);

  i {
    position: absolute;
    width: 10%;
    height: 100%;
    border-radius: 2px;
    background-color: #1A9BFC;
  }
}

.python-study__progress-tip {
  position: absolute;
  top: -26px;
  width: 36px;
  margin-left: -18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 18px;
  background-color: #1A9BFC;

  &::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    margin-left: -4px;
    border: 4px solid;
    border-color: #1A9BFC transparent transparent;
  }
}

.python-study__stage {
  padding: 0 10px 60px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #F4F5F6;
}

.python-study__pass {
  margin: 0 13px;
  padding-top: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 40px;
}

.python-study__pass-tag {
  display: inline-block;
  width: 62px;
  margin-left: 6px;
  border-radius: 11px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: rgba(26, 155, 252, 1);
  text-align: center;
  line-height: 21px;
  background-color: rgba(26, 155, 252, .1);;
}

.python-study__subject {
  height: 67px;
  margin: 0 8px 8px;
  padding: 6px;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: rgba(247, 248, 249, 1);

  &[data-status="lock"] {
    background-color: rgba(247, 248, 249, .6);
  }
}

.python-study__subject-icon {
  float: left;
  width: 55px;
  height: 55px;
  border-radius: 4px;
  background-color: #fff;
  overflow: hidden;
}

.python-study__subject-status {
  position: absolute;
  right: 17px;
  width: 21px;
  height: 21px;
  background-size: cover;

  &[data-status="complete"] {
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/subject-icon-0.png');
  }

  &[data-status="lock"] {
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/subject-icon-1.png');
  }
}

.python-study__subject-content {
  height: 100%;
  margin-left: 55px;
  padding: 0 33px 0 12px;
  position: relative;
}

.python-study__subject-title {
  max-width: 220px;
  width: 228px;
}

.python-study__subject-title {
  font-size: 14px;
  color: #333;
  line-height: 18px;

  &[data-status="lock"] {
    color: #525C65;
  }
}

.python-study__subject-tag {
  display: inline-block;
  padding: 0 4px;
  border-radius: 2px;
  font-size: 12px;
  color: #525C65;
  line-height: 18px;
  background-color: rgba(82, 92, 101, .1);
  position: absolute;
  bottom: 0;
}

.python-study__button {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-style: none;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background-color: #1A9BFC;
  z-index: 1;
}

.python-study__over {
  background-color: #ccc;
}

.study-end {
  width: 100%;
  background-color: #F4F5F6;
  padding-top: 15px;
  margin-bottom: -10px;
  text-align: right;
  margin-top: 20px;

  .tobuy {
    text-align: center;
    display: inline-block;
    width: 84px;
    height: 30px;
    line-height: 30px;
    background-color: #FC262D;
    border-radius: 15px;
    font-size:16px;
    color: #fff;
    margin-left: 10px;
  }
}