/* ==================
          布局
 ==================== */

/*  -- flex弹性布局 -- */


.flex {
	display: flex;
}

.flex-sub {
	flex: 1;
}

.flex-twice {
	flex: 2;
}

.flex-treble {
	flex: 3;
}

/* nvue 默认 column */
.flex-direction-row {
	flex-direction: row;
}

.flex-direction-column {
	flex-direction: column;
}


.flex-wrap {
	flex-wrap: wrap;
}

.align-start {
	align-items: flex-start;
}

.align-end {
	align-items: flex-end;
}

.align-center {
	align-items: center;
}

.align-stretch {
	align-items: stretch;
}

.justify-start {
	justify-content: flex-start;
}

.justify-end {
	justify-content: flex-end;
}

.justify-center {
	justify-content: center;
}

.justify-between {
	justify-content: space-between;
}

.justify-around {
	justify-content: space-around;
}

/* ==================
         position
 ==================== */
.pos-relative {
	position: relative;
}

.pos-center {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	justify-content: center;
	align-items: center;
}

.pos-top-center {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	justify-content: center;
	align-items: center;
}

/* ==================
         线
 ==================== */
.border-1rpx-black {
	border-width: 1rpx;
	border-style: solid;
	border-color: #000000;
}
.border-1rpx-bottom-black {
	border-width: 1rpx;
	border-style: solid;
	border-color: rgba(0,0,0,0.7);
}
.border-1rpx-red {
	border-width: 1rpx;
	border-style: solid;
	border-color: #FF0000;
}

/* ==================
         蒙层 透明度
 ==================== */
.mask-bg-07 {
	background-color: rgba(0, 0, 0, 0.7);
}

/* ==================
          文本
 ==================== */


.text-18px {
	font-size: 18px;
	/* line-height: 36px; */
}

.text-16px {
	font-size: 16px;
	/* line-height: 32px; */
}

.text-11px {
	font-size: 11px;
	/* line-height: 22px; */
}

.text-12px {
	font-size: 12px;
}

.text-13px {
	font-size: 13px;
	/* line-height: 23px; */
}

.text-14px {
	font-size: 14px;
	/* line-height: 28px; */
}

.text-15px {
	font-size: 15px;
	/* line-height: 30px; */
}

.text-22px {
	font-size: 22px;
	height: 22px;
	line-height: 22px;
}

.text-26px {
	font-size: 26px;
	/* line-height: 52px; */
}

.text-38px {
	font-size: 38px;
	/* line-height: 52px; */
}

.text-18px-before::before {
	font-size: 18px;
}

.text-20px-before::before {
	font-size: 20px;
}

.text-22px-before::before {
	font-size: 22px;
}


/* .text-price::before {
	content: "¥";
	font-size: 80%;
	margin-right: 4upx;
} */

.text-cut {
	text-overflow: ellipsis;
	/* white-space: nowrap; */
	overflow: hidden;
}

.text-lines1 {
	/** 显示的行数 **/
	lines: 1;
}

.text-lines2 {
	/** 显示的行数 **/
	lines: 2;
}

.text-bold {
	font-weight: bold;
}

.text-medium {
	font-weight: 400;
}


.text-center {
	text-align: center;
}

.text-content {
	line-height: 1.6;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}


.text-red,
.line-red,
.lines-red {
	color: #e54d42;
}

.text-orange,
.line-orange,
.lines-orange {
	color: #f37b1d;
}

.text-yellow,
.line-yellow,
.lines-yellow {
	color: #fbbd08;
}

.text-olive,
.line-olive,
.lines-olive {
	color: #8dc63f;
}

.text-green,
.line-green,
.lines-green {
	color: #39b54a;
}

.text-cyan,
.line-cyan,
.lines-cyan {
	color: #1cbbb4;
}

.text-blue,
.line-blue,
.lines-blue {
	color: #0081ff;
}

.text-purple,
.line-purple,
.lines-purple {
	color: #6739b6;
}

.text-mauve,
.line-mauve,
.lines-mauve {
	color: #9c26b0;
}

.text-pink,
.line-pink,
.lines-pink {
	color: #e03997;
}

.text-brown,
.line-brown,
.lines-brown {
	color: #a5673f;
}

.text-grey,
.line-grey,
.lines-grey {
	color: #8799a3;
}

.line-mGrey {
	color: #EAEAEA;
}

.text-gray,
.line-gray,
.lines-gray {
	color: #aaaaaa;
}

.text-black,
.line-black,
.lines-black {
	color: #333333;
}

.text-white,
.line-white,
.lines-white {
	color: #ffffff;
}

/* 蓝紫 */
.make-line-bPurple::after,
.make-lines-bPurple::after {
	border-color: rgba(151, 151, 255, 1);
}

.make-line-bPurple,
.make-lines-bPurple,
.make-text-bPurple {
	color: rgba(151, 151, 255, 1);
}


.make-bg-bPurple {
	background-color: rgba(151, 151, 255, 1);
}


.bg-gray {
	background-color: #f0f0f0;
	color: #333333;
}

.bg-grey {
	background-color: #8799a3;
	color: #ffffff;
}

.bg-grey-mid {
	background-color: #CDCDCD;
	color: #ffffff;
}

/*  -- 内外边距 -- */

.margin-0 {
	margin: 0;
}

.margin-12px {
	margin: 12px;
}

.margin-17px {
	margin: 17px;
}

.margin-24px {
	margin: 24px;
}



.position-relative {
	position: relative;
}

.position-absolute-center {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	justify-content: center;
	align-items: center;
}



.position-absolute-center-bottom {
	position: absolute;
	/* top: 0; */
	bottom: 0;
	left: 0;
	right: 0;
	/* justify-content: center; */
	align-items: center;
}

.position-absolute-center-top {
	position: absolute;
	top: 0;
	/* bottom: 0; */
	left: 0;
	right: 0;
	/* justify-content: center; */
	align-items: center;
}

.position-absolute-center-around {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	justify-content: space-around;
	align-items: center;
}

.position-absolute-right-top {
	position: absolute;
	right: 0;
	top: 0;
}


/* 自定义导航栏的图片大小 */
.png-more {
	width: 20px;
	height: 20px;
}

.png-more-black {
	width: 16px;
	height: 16px;
}