/* pages/science/science.wxss */

.science {
  width: 100%;
  padding: 0 15rpx;
  box-sizing: border-box;
}

.material,
.works,
.share {
  width: 100%;
  margin: 20rpx 0;
  border-radius: 25rpx;
  padding: 20rpx 0;
  box-sizing: border-box;
  background: #fff;
  position: relative;
}

.this-week {
    display: flex;
    padding: 0 25rpx;
    box-sizing: border-box;
}

.this-week image {
  width: 86rpx;
  height: 86rpx;
}

.lesson-name {
    display: flex;
    flex-direction: column;
    margin: 8rpx  16rpx;
}

.lesson-name text:nth-child(1) {
    height: 38rpx;
    font-size: 32rpx;
    font-weight: 600;
}

.lesson-name text:nth-child(2) {
    height: 30rpx;
    margin-top: 10rpx;
    font-size: 24rpx;
    color: #C3C3C3;
}


/* 预览图片 */
.material-con {
    margin-left: 10rpx;
    padding: 0 25rpx;
}

.science-img {
    display: flex;
    justify-content: space-between;
    margin-left: 53rpx;
    font-size: 28rpx;
    color: #444;
    margin-top: 30rpx;
}

/* 分享评论 */
.works,
.share {
    padding: 16rpx 25rpx;
}

.works .title,
.share .title {
    position:relative;
    width: 100%;
    text-align: center;
    font-size: 32rpx;
    font-weight: 600;
    border-bottom: 2rpx #dcdcdc solid;
    padding-bottom: 16rpx;
    background: #fff;
}

.xing {
    width: 20rpx;
    height: 20rpx;
    margin: 0 10rpx;
}

.uploading {
    position: absolute;
    right: 0;
    top: 10rpx;
    font-size: 24rpx;
}

.share-con,
.questions {
    position:relative;
    margin-top: 28rpx;
    padding-bottom: 58rpx;
    border-bottom: 2rpx #dcdcdc solid;
}

.share-con .head {
    position:relative;
    padding:20rpx 0;
}

.head-img {
    width: 86rpx;
    height: 86rpx;
    float: left;  
    margin-right: 18rpx; 
}

.head-img image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}


.picture {
    display: flex;
    justify-content: center;    
    margin: 24rpx 112rpx 17rpx 103rpx;

}
.picture image {
     width: 236rpx;
     height: 176rpx;
     border-radius: 15rpx;
 }

.picture image:nth-child(2) {
    margin-left: 8rpx;
}

.share_up {
    position: absolute;
    right: 0;
    top: 20rpx;
    height: 19rpx;
    width: 19rpx;
}

.icon {
    display: flex;
    align-items: center;
    margin: 0 112rpx 17rpx 103rpx;
}

.icon view {
    display: flex;
    align-items: center;
    margin-right: 60rpx;
}

.icon .zan {
    width: 26rpx;
    height: 23rpx;
}

.icon .weatch {
    width: 30rpx;
    height: 23rpx;
}

.icon .discuss {
    width: 32rpx;
    height: 29rpx;  
}

.icon view text {
    font-size: 24rpx;
    color: #878787;
    margin-left: 14rpx;
}


.more {
    margin-top: 18rpx;
    font-size: 28rpx;
    text-align: center;
    color: #787878;
}

.no-con {
    margin: 50rpx 0 ;
}

.state {
    text-align: center;
    font-size: 24rpx;
    color: #C0C0C0;
}

.upload-works {
    position: relative;
    width: 212rpx;
    height: 212rpx;
    margin: 0 auto;
}

.work-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 212rpx;
    height: 212rpx;
}

.uploading-works {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 67rpx;
    height: 51rpx;
    transform: translate(-50%, -50%);
}

.upload-works text {
    position: absolute;
    left: 50%;
    top: 70%;
    z-index: 1;
    font-size: 24rpx;
    color: #C0C0C0;
    transform: translate(-50%);
}





 
 /* 答疑讨论 */
 .questions {
    padding-bottom: 28rpx;
}

 .questions .head {
    padding:20rpx 0;
    position: relative;
 }


.dian {
     position: absolute;
     right: 45rpx;
     top: 40rpx;
     width: 20rpx;
     height: 20rpx;
     border-radius: 50%;
     background: #FD025F;
 }

 /* 标题定位到顶部 */
 .adsorb {
  position: fixed;
  left: 0;
  top: 72rpx;
}

/* 定位图片 */
.questions-one {
    position: fixed;
    right: 20rpx;
    bottom: 30rpx;
    width: 100rpx;
    height: 100rpx;
    border-radius: 50%;
}

.questions-one image {
    width: 100%;
    height: 100%;
}

.upload-one {
    position: fixed;
    right: 20rpx;
    bottom: 150rpx;
    width: 100rpx;
    height: 100rpx;
    border-radius: 50%;   
}

.upload-one image {
    width: 100%;
    height: 100%;
}

.row {
    position: absolute;
    right: 0;
    top: 0;
    width: 32rpx;
    height: 32rpx;
    text-align: center;
    line-height: 32rpx;
    color: #fff;
    background: #F73861;
    font-size: 24rpx;
    border-radius: 50%;
}

.canvas-box {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 100%;
    z-index: -2;
}