/* pc端（屏幕宽度 > 768px） */
@media screen and (min-width: 768px) {
	.web-title {
		width: auto;
		position: absolute;
		margin-left: 86px;
	}
	.logo-wrap .logo-img{
		width: 50px;
		height: 50px;
	}
	.web-title .logo-img-main{
		width: auto;
		line-height: 95px;
		font-size: 27px;
		font-weight: 600;
		color: #FFF;
	}
	.web-title .logo-img-active{
		width: auto;
		line-height: 95px;
		font-size: 27px;
		font-weight: 600;
		color: #000;
	}
	.carousel-title {
		font-size: 68px;
		text-shadow: #6c402f 3px 3px 5px;
	}
	
	.carousel-centered .margin-b-40 p{
		font-size: 34px;
		color: #000;
	}
	.service {
		padding: 50px;
	}
}

/* 手机端（屏幕宽度 < 768px） */
@media screen and (max-width: 767px) {
	.web-title {
		width: auto;
		position: absolute;
		left: 55px;
		top: 0px;
	}
	.logo-wrap .logo-img{
		width: 35px;
		height: 35px;
	}
	.web-title .logo-img-main{
		width: auto;
		line-height: 95px;
		font-size: 17px;
		font-weight: 600;
		color: #000;
	}
	.web-title .logo-img-active{
		width: auto;
		line-height: 95px;
		font-size: 17px;
		font-weight: 600;
		color: #000;
	}
	.carousel-title {
		font-size: 35px;
		text-shadow: #6c402f 3px 3px 5px;
	}
	
	.carousel-centered .margin-b-40 p{
		font-size: 27px;
		color: #000;
	}
	.service {
		padding: 20px;
	}
	
}



.hr {
	height: 0.02rem;
	margin: 0.1rem 0;
	border: medium none;
	border-top: 0.02rem solid #cacaca;
}

.a {
	color: #25a4bb;
	text-decoration: none;
}

//高度100%
.vh-100 {
	height: 100vh;
}

.h-100 {
	height: 100%;
}

.vw-100 {
	width: 100vw;
}

.w-100 {
	width: 100%;
}

.inline-block {
	display: inline-block;
}

.block {
	display: block;
}

.inline {
	display: inline;
}

// border
.border-none {
	border: none !important;
}

.border-radius-0 {
	border-radius: 0 !important;
}

.radius {
	border-radius: 50% !important;
}

.relative {
	position: relative !important;
}

.absolute {
	position: absolute !important;
}

.abs-left-top {
	position: absolute;
	left: 0;
	top: 0;
}

.abs-left-bottom {
	position: absolute;
	left: 0;
	bottom: 0;
}

.abs-right-bottom {
	position: absolute;
	right: 0;
	bottom: 0;
}

.abs-right-top {
	position: absolute;
	right: 0;
	top: 0;
}

.fixed {
	position: fixed !important;
}

.fixed-b {
	position: fixed !important;
	bottom: 0;
}

.static {
	position: static;
}

.auto-center {
	margin: 0 auto;
	display: block;
}

.text-left {
	text-align: left !important;
}

.text-center {
	text-align: center !important;
}

.text-right {
	text-align: right !important;
}

.text-justify {
	text-align: justify !important; //段落文字两端对齐
}

.text-through {
	text-decoration: line-through !important; // 删除线
}

.text-indent {
	text-indent: 2em;
	/* 设置段落首行缩进为2em */
}


.text-divider {
	display: inline-block;
	margin-right: 5px;
	margin-left: 5px;
	position: relative;
	transform: scaleY(0.6);

	&::after {
		content: "|";
		opacity: 0.4;
	}
}

.nowarp {
	white-space: nowrap !important;
}

.warp {
	white-space: warp !important;
}

.scroll-y {
	/* 使之可以滚动 */
	overflow-x: hidden;
	overflow-y: auto !important;
	/* 滚动弹性弹性、并且让整个body不会随滚动内容一起乱跑 */
	-webkit-overflow-scrolling: touch;

	// 隐藏滚动条
	&::-webkit-scrollbar {
		display: none;
		/* Chrome Safari */
	}
}

.scroll-x {
	overflow-y: hidden;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;

	// 隐藏滚动条
	&::-webkit-scrollbar {
		display: none;
		/* Chrome Safari */
	}
}

.overflow-hide {
	overflow: hidden !important;
}

.main-cont {
	overflow: auto;
	overflow-x: hidden;
}

.flex,
.flex-column {
	display: flex;

	&.inline {
		display: inline-flex;
	}

	//折行
	&.flex-nowrap {
		flex-wrap: nowrap;
	}

	&.flex-wrap {
		flex-wrap: wrap;
	}

	&.flex-wrap-reverse {
		flex-wrap: wrap-reverse;
	}

	//横向对齐方式
	&.row-left {
		justify-content: flex-start;
	}

	&.row-right {
		justify-content: flex-end;
	}

	&.row-center {
		justify-content: center;
	}

	&.row-between {
		justify-content: space-between;
	}

	&.row-around {
		justify-content: space-around;
	}

	//纵向对齐方式
	&.col-top {
		align-items: flex-start;
	}

	&.col-bottom {
		align-items: flex-end;
	}

	&.col-center {
		align-items: center;
	}

	&.col-baseline {
		align-items: baseline;
	}

	&.col-stretch {
		align-items: stretch;
	}

	// 纵向flex
	&.flex-column {
		flex-direction: column;

		//横向对齐方式
		&.row-center {
			align-items: center;
		}

		&.row-left {
			align-items: flex-start;
		}

		&.row-right {
			align-items: flex-end;
		}

		&.row-between {
			align-items: stretch;
		}

		&.col-center {
			justify-content: center;
		}

		&.col-top {
			justify-content: flex-start;
		}

		&.col-bottom {
			justify-content: flex-end;
		}
	}
}


.flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

// absolute 居中
.absolute-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}


// 浮动
.float-right {
	float: right;
}

.float-left {
	float: left;
}

.clear {
	clear: both;
}

// 字体尺寸
.f-mini {
	font-size: $font-mini !important;
}

.f-mid {
	font-size: $font-middle !important;
}

.f-large {
	font-size: $font-large !important;
}

// 字体
.f-bold {
	font-weight: 600;
}

// 字体颜色
.f-grey {
	color: $color-grey;
}

.f-white {
	color: #ffffff;
}

.f-red {
	color: $color-red;
}

.f-black {
	color: $color-black;
}

.f-dark-grey {
	color: rgba(32, 39, 47, 1);
}

.f-theme {
	color: $color-theme;
}

.f-countDowm {
	color: #fed5c3;
}

.f-h5-theme {
	color: $h5-color-theme !important;
}

.f-h5-grey {
	color: #c7c8c9;
}

.bg-grey {
	background: #f7f8fa;
}

.bg-theme {
	background: $color-theme;
}

.bg-white {
	background: #ffffff;
}

.bg-error {
	background: #b93511;
}

.bg-default {
	background: #cfd4d5;
}

.bg-h5-grey {
	background: $h5-color-bg !important;
}

.bg-h5-theme {
	background: $h5-color-theme !important;
}

.bg-h5-theme-red {
	&::after {
		background-color: #f00;
	}
}

.bg-h5-theme-blue {
	&::after {
		background-color: #00f;
	}
}

.tag {
	display: inline-block;
	margin-right: 10rpx;
	padding: 8rpx 15rpx;
	border: 1px #0ba4eb solid;
	border-radius: 30rpx;
	background-color: #beedf4;
	color: #0ba4eb;
	box-sizing: border-box;
	font-size: 0.8rem;
	min-width: 135rpx;
	text-align: center;
}

// 文本限制行数(防止文本溢出)
.ellipsis-1 {
	//单独写一个是为了编辑器能提示
	@include text-clamp(1);
}


.pointer {
	cursor: pointer;
}

// 外发光
.shadow {
	box-shadow: 1px 0 4px rgba(0, 0, 0, 0.2);
}

// 0.5像素下划线(h5)
.h5-underline {
	position: relative;

	&::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 1px;
		background-image: linear-gradient(0deg, transparent 50%, #eeeeee 50%);
	}
}

//iphone
.iphoneX_bottom {
	height: env(safe-area-inset-bottom);
}