/* 小程序默认样式调整 */
image {
	display: block;
	width: inherit;
	height: inherit;
}

text {
	display: block;
	text-align: left;
}

textarea, input {
	width: initial;
  border: none;
  font-family: inherit;
  outline: none;
  resize: none
}

view {
	display: block;
}

ul, li {
	padding-inline-start: 0;
  list-style: none;
}

input, button, select, textarea {
  border: none;
  // font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,Hiragino Sans GB,Microsoft Yahei,sans-serif;
  touch-action: none;
  outline: none;
  resize: none;
}

.black_style {
	background: url('https://daifeiclub.com/image/pics/pageBG.png') no-repeat center center;
	background-size: cover;
}

.blacks_style {
	background: url('https://daifeiclub.com/image/pics/roomBG.png') no-repeat center center;
	background-size: cover;
}

.white_style {
	background-image: -webkit-linear-gradient($F6F6F6, $ECECEC);
	background-image: -ms-linear-gradient($F6F6F6, $ECECEC);
	background-image: -o-linear-gradient($F6F6F6, $ECECEC);
	background-image: linear-gradient($F6F6F6, $ECECEC);
}

/* arrow */
.arrow {
  position: relative;
	padding-right: 32rpx;

  &:after {
    position: absolute;
    right: 2rpx;
    top: 50%;
    display: block;
    content: '';
    width: 16rpx;
    height: 16rpx;
		border-radius: 4rpx;
    border-left: 4rpx solid $B0B0B0;
    border-bottom: 4rpx solid $B0B0B0;
    transform: translateY(-50%) scaleY(1) rotateZ(-135deg);
  }
}

/** omit **/
.omit {
	white-space: nowrap;
	text-overflow: ellipsis;
	display: block;
	overflow: hidden;
}

.lineClamp2 {
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

/** clearfix **/
.clearfix {
	zoom: 1;
	
	&::before,
	&::after {
		display: table;
		content: "";
		line-height: 0;
		clear: both;
		visibility: hidden;
		font-size: 0;
		height: 0
	}
}

/** flex **/
.flex {
	display: flex;

	.item {
		width: 100%;

		&.right {
			text-align: right;
			padding-right: 40rpx;
		}

		&.left {
			padding-left: 40rpx;
		}
	}
}

/** symbol **/
.symbol {
	font-size: 24rpx;
	visibility: visible;
	
	&::before {
		content: '¥';
		font-size: 24rpx;
		margin-right: 8rpx;
	}
}

/* transition */
.transition {
  -webkit-transform-origin: left top;
  transform-origin: left top;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease
}

/* color */
.mc {
	color: $mc;
}

.success {
	color: $green;
}

.error {
	color: $red;
}

.inline_block {
	display: inline-block;
}

.inline {
	display: inline;
}

.no_data {
	text-align: center;
	font-size: 26rpx;
	padding: 60rpx 0;
	font-weight: 400;
	line-height: 1;
	color: $notFound;
}

.t-g-r {
	text-align: right;
}

/* list */
.list {
	.range {
		margin: -10px 0 0 -10px;
		
		.package {
			float: left;
			width: 33.3333%;
			
			.packageBlock {
				margin: 10px 0 0 10px;
			}
		}
	}
}

/* load-more */
.load-more {
	color: $cc;
	font-size: 28rpx;
	line-height: 100rpx;
	text-align: center;
}

/* copyright */
.copyright {
	margin: 48rpx auto 26rpx auto;
	width: 540rpx;
	height: 32rpx;
}


/* uniapp-form */
.uniapp-form {
	position: relative;
	overflow: hidden;
	
	.uni-form-group {
		& + .uni-form-group {
			margin-top: 32rpx;
		}
		
		.uni-form-item {
			background-color: $white;
			position: relative;
			overflow: hidden;
			padding: 36rpx 32rpx;
			display: flex;
			align-items: center;
			
			& + .uni-form-item::before {
				content: '';
				position: absolute;
				top: 0;
				right: 0;
				left: 32rpx;
				height: 2rpx;
				background-color: $ECECEC;
			}
			
			.title {
				min-width: 180rpx;
				font-size: 32rpx;
				font-weight: 400;
				width: 180rpx;
				color: $ccc;
				color: $bg-0;
			}
			
			.content {
				text-align: right;
				font-size: 30rpx;
				font-weight: 400;
				color: $B18181;
				flex: 1;
					
				.uni-input {
					> text {
						text-align: right;
					}
				}
			}
				
			.uni-input-placeholder,
			.input-placeholder,
			.uni-textarea-placeholder,
			.textarea-placeholder {
				color: $ddd;
			}
			
			.tips {
				margin-top: 10rpx;
				text-align: right;
				color: $ccc;
				
				> text {
					display: inline-block;
					text-align: center;
					min-width: 50rpx;
					color: $mc;
					
					& + text {
						min-width: 76rpx;
					}
				}
			}
		}
		
		.uni-form-button {
			margin: 32rpx;
		}
	}
}

// 小队弹框
.team_dialog {
	padding: 58rpx 34rpx;
	.th {
		display: flex;
		align-items: center;
		.l {
			display: flex;
			align-items: center;
			padding-right: 30rpx;
			overflow: hidden;
			flex: 1;
			.name {
				line-height: 48rpx;
				font-size: 34rpx;
				font-weight: 500;
				color: $bg-0;
			}
			.attr {
				background-color: $mc;
				border-radius: 4rpx;
				margin-left: 8rpx;
				padding: 0 10rpx;
				font-size: 22rpx;
				font-weight: 400;
				height: 32rpx;
				color: $white;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}
		.share {
			background-color: transparent;
			display: flex;
			align-items: center;
			justify-content: center;
			min-width: 48rpx;
			font-size: 48rpx;
			height: 48rpx;
			width: 48rpx;
			color: $bg-0;
			&::after {
				content: none;
			}
		}
	}
	.tr {
		line-height: 42rpx;
		font-size: 30rpx;
		font-weight: 400;
		margin: 48rpx 0;
		color: $B18181;
	}
	.admin {
		.title {
			margin-bottom: 28rpx;
			font-size: 32rpx;
			font-weight: 400;
			line-height: 1;
			color: $bg-0;
		}
		.admin_list {
			.item {
				display: inline-block;
				vertical-align: top;
				& + .item {
					margin-left: 30rpx;
				}
				.photo {
					position: relative;
					height: 90rpx;
					width: 90rpx;
					.pic {
						border-radius: 50%;
					}
					.ide {
						position: absolute;
						bottom: -13rpx;
						left: 50%;
						margin-left: -13rpx;
						background-color: $F3F3F3;
						height: 26rpx;
						width: 26rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						border-radius: 50%;
						.iconfont {
							font-size: 22rpx;
							line-height: 1;
							color: $mc;
						}
					}
				}
				.nickname {
					line-height: 32rpx;
					margin-top: 14rpx;
					font-size: 22rpx;
					font-weight: 400;
					color: $J49494;
					display: flex;
					align-items: center;
					position: relative;
					width: 90rpx;
					.name {
						text-align: center;
						flex: 1;
					}
					.ico {
						position: absolute;
						margin-top: -10rpx;
						right: -24rpx;
						height: 20rpx;
						width: 20rpx;
						top: 50%;
					}
				}
			}
		}
	}
	.btns {
		margin-top: 46rpx;
		.item {
			background-color: $F8F8F8;
			border-radius: 34rpx;
			height: 68rpx;
			color: $bg-0;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 26rpx;
			& + .item {
				margin-left: 80rpx;
			}
			&.active {
				background-color: $mc;
				color: $white;
			}
			&.disable {
				background-color: $F8F8F8;
				color: $ccc;
			}
		}
	}
}

// 海报
.playbill_overlay {
	.playbill_contenter {
		position: relative;
		height: calc(100vh);
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		.playbill_contenter__cell {
			text-align: center;
			flex: 1;
			.press {
				position: relative;
				.pic {
					background-color: $ccc;
					width: 100%;
				}
				.txt {
					-webkit-background-image: linear-gradient(transparent, rgba($color: $bg-0, $alpha: 0.5));
					-moz-background-image: linear-gradient(transparent, rgba($color: $bg-0, $alpha: 0.5));
					-o-background-image: linear-gradient(transparent, rgba($color: $bg-0, $alpha: 0.5));
					background-image: linear-gradient(transparent, rgba($color: $bg-0, $alpha: 0.5));
					justify-content: center;
					align-items: center;
					display: flex;
					position: absolute;
					font-size: 32rpx;
					height: 142rpx;
					color: $white;
					z-index: 2;
					bottom: 0;
					right: 0;
					left: 0;
				}
			}
			.go_back {
				border: 2rpx solid $ccc;
				display: inline-block;
				border-radius: 80rpx;
				padding: 10rpx 50rpx;
				margin-top: 48rpx;
				color: $ccc;
			}
		}
	}
}