/* pages/member/course/CourseMemberUpdate/CourseMemberUpdate.wxss */
.top {
  margin-top: 16rpx;
  margin-bottom: 37rpx;
  display: flex;
  padding: 22rpx 50rpx 22rpx 12rpx;
  margin-left: 25rpx;
  margin-right: 25rpx;
  background-color: #fff;
  box-shadow: 0rpx 0rpx 13rpx 0rpx rgba(194, 194, 194, 0.31);
  border-radius: 10rpx;
}

.top .left {
  display: flex;
  width: 201rpx;
  height: 201rpx;
  border-radius: 10rpx;
  box-sizing: border-box;
}

.top .left image {
  border-radius: 10rpx;
  width: 100%;
  height: 100%;
}

.right {
  display: flex;
  flex: 1;
  margin-left: 37rpx;
  flex-direction: column;
  justify-content: space-between;
}

.right.title {
  color: #000;
  font-size: 28rpx;
  text-align: left;
}

.right .num {
  color: #999;
  font-size: 28rpx;
  margin-top: 17rpx;
  text-align: left;
}

.right .teacher {
  color: #999;
  font-size: 24rpx;
  text-align: left;
}

/* good-wrap */
.good-wrap {
  margin-top: 21rpx;
  width: 100%;
  padding-bottom: 33rpx;
}

.good-wrap .good-item {
  border-radius: 10rpx;

  /* padding: 0.75rem 0.25rem; */
  margin: 0 25rpx;
  background-color: #fff;
  box-sizing: border-box;
  padding-bottom: 32rpx;
  overflow: hidden;
}

.good-wrap .good-item .good-tit {
  font-size: 32rpx;
  color: #000;
  margin-left: 13rpx;
  margin-top: 25rpx;
}

.good-wrap .good-item .good {
  margin-top: 26rpx;
  display: inline-block;
  width: 328rpx;
  margin-right: 23rpx;
  box-shadow: 0rpx 0rpx 7rpx 0rpx rgba(133, 133, 133, 0.1);
  border-radius: 10rpx;
  margin-left: 12rpx;
}

.good-wrap .good-item .good .img {
  width: 100%;

  /* height: 197rpx; */
}

.good-wrap .good-item .good .img image {
  width: 100%;
  height: 100%;
  border-radius: 10rpx 10rpx 0 0;
}

.good-wrap .good-item .good .bt {
  background-color: #fff;
  border-radius: 10rpx;
  height: 131rpx;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.good-wrap .good-item .good .bt .head {
  color: #000;
  line-height: 30rpx;
  font-size: 28rpx;

  /* text-overflow: -o-ellipsis-lastline; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 5rpx;
  margin-left: 11rpx;
  height: 60rpx;
}

.good-wrap .good-item .good .bt .cash {
  color: #e20606;
  font-size: 12px;
  margin-bottom: 16rpx;
  margin-left: 11rpx;
}

.good-wrap .good-item .good:nth-child(2n-1) {
  margin-right: 0;
  margin-left: 0;
}

/* warp */
.wrap {
  margin-top: 34rpx;
  margin-left: 25rpx;
  margin-right: 25rpx;

  /* width: 100%; */
  display: flex;
  flex-wrap: wrap;
}

.wrap .item {
  /* height: 295rpx; */
  background-color: #fff;
  border-radius: 27rpx;
  border: solid 2rpx #ccc;
  margin-right: 21rpx;
  width: 220rpx;
  padding-top: 46rpx;
  padding-left: 20rpx;
  padding-right: 20rpx;
  padding-bottom: 20rpx;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 20rpx;
}

.wrap .item:nth-child(3n) {
  margin-right: 0;
}

.wrap .item .level {
  color: #000;
  font-size: 16px;
  text-align: center;
}

.wrap .item .al {
  margin-top: 29rpx;
  font-size: 22rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.wrap .item .amount {
  /* margin-top: 20rpx; */
  color: #ff7200;
  font-size: 12px;
}

.wrap .item .amount .num {
  font-size: 18px;

  /* max-width: 90rpx; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wrap .item .yel {
  margin-top: 14rpx;

  /* width: 195rpx; */

  /* height: 87rpx; */
  background-color: #fffbf3;
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ff7200;
  flex-wrap: wrap;
  flex-direction: column;
}

.wrap .item .yel .first {
  color: #333;
  display: flex;
  font-size: 20rpx;
  padding-top: 20rpx;

  /* padding-left: 10rpx;
  padding-right: 10rpx; */
  padding-bottom: 16rpx;
}

.wrap .item .yel .second {
  font-size: 22rpx;
  color: #ff7200;
}

.wrap .item .btn-recharge {
  display: inline-block;
  color: #fff;
  margin-top: 0.5rem;
  padding: 0 0.8rem;
  background-color: #ff7200;
  border-radius: 0.5rem;
}

.wrap .item:last-child {
  margin-right: 0;
}

.toBuy {
  width: 542rpx;
  height: 96rpx;
  background-color: #ff8b00;
  border-radius: 48rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36rpx;
  color: #fff;
  margin: 59rpx auto;
}
