/**index.wxss**/
@import '../../../app.wxss';

.top {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bg {
  width: 100%;
  height: 0;
  position: relative;
  overflow: hidden;
  padding-bottom: 60%;
  background: #eee;
  z-index: 1;
}

.nav {
  width: 100%;
  position: relative;
  overflow: visible;
}

.nav > view {
  padding: 0 40rpx;
  position: relative;
  overflow: visible;
}

.top .list {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 20rpx;
  z-index: 2;
  box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05);
  transform: translateY(-135rpx);
  -webkit-transform: translateY(-135rpx);
}

.top .list > view {
  padding: 0 40rpx;
}

.top .list > view > view {
  align-items: center;
  border-top: 1rpx solid #f0f0f0;
}

.top .list > view:first-child > view {
  border: none;
}

.top .list .text {
  margin-left: 25rpx;
  padding: 25rpx 0 20rpx 0;
}

.top .list > view:last-child .text {
  padding-bottom: 25rpx;
}

.top .list .text view {
  align-items: center;
}

.top .list .text view text {
  display: block;
  line-height: 42rpx;
  font-size: 32rpx;
}

.top .list .text > text {
  display: block;
  line-height: 34rpx;
  font-size: 22rpx;
  color: #999;
}

.projectList {
  width: 100%;
  position: relative;
  overflow: visible;
  margin-top: -90rpx;
}

.projectList > text {
  width: 100%;
  display: block;
  font-size: 32rpx;
  line-height: 42rpx;
  text-indent: 40rpx;
  font-weight: bold;
}

.projectList .list {
  width: 100%;
  position: relative;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  white-space: nowrap;
  overflow-y: visible;
  padding: 30rpx 0;
}

.projectList .list::-webkit-scrollbar {
  display: none;
  color: transparent;
  opacity: 0;
}

.projectList .list > view {
  width: 490rpx;
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 20rpx;
  box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05);
  margin-right: 40rpx;
}

.projectList .list > view:first-child {
  margin-left: 40rpx;
}

.projectList .list text {
  padding: 0 20rpx;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.projectList .name {
  font-size: 25rpx;
  line-height: 40rpx;
  margin-top: 18rpx;
  font-weight: bold;
}

.projectList .date {
  font-size: 16rpx;
  line-height: 32rpx;
}

.projectList .listImg {
  padding: 20rpx;
  position: relative;
  overflow: hidden;
}

.projectList .listImg > view {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #eee;
  height: 0;
  border-radius: 10rpx;
  padding-bottom: 60%;
}

.projectList .listImg > view text {
  display: inline-block;
  font-size: 20rpx;
  line-height: 36rpx;
  color: #fff;
  padding: 0 15rpx;
  background: #bb9c79;
  border-radius: 36rpx;
  position: absolute;
  left: 20rpx;
  bottom: 20rpx;
  z-index: 2;
}

.projectList .listImg > view image {
  z-index: 1;
}
