/**
 * 改文件在 index.html 文件中引用，必须放置在 static 目录中
 */
body {
	-webkit-text-size-adjust: 100% !important;
	/* 页面字号不受微信设置大字号导致页面错位 */
}

.body-loading {
	top: 50%;
	left: 50%;
	color: #fff;
	z-index: 9999;
	display: flex;
	position: fixed;
	font-size: 13px;
	max-width: 250px;
	min-width: 100px;
	min-height: 100px;
	align-items: center;
	border-radius: 5px;
	flex-direction: column;
	justify-content: center;
	transform: translate(-50%, -50%);
	background-color: transparent !important;
}

.body-loading .thorui-loading-line {
	bottom: 0;
	width: 4px;
	position: absolute;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

@-webkit-keyframes line-grow {
	0% {
		height: 0;
	}

	100% {
		height: 75%;
	}
}

@keyframes line-grow {
	0% {
		height: 0;
	}

	100% {
		height: 75%;
	}
}

.loading {
	position: fixed;
	height: 100%;
	width: 100%;
	line-height: 100vh;
	text-align: center;
	color: #999;
	background: #fefefe;
	font-size: 12px;
}

/* Timer*/
.timer {
	display: block;
	position: relative;
	width: 24px;
	height: 24px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: unset;
	box-shadow: inset 0 0 0 2px #eee;
	border-radius: 50%;
	/* Not necessary- its only for layouting*/
}

.timer:after,
.timer:before {
	position: absolute;
	content: "";
	background-color: #eee;
}

.timer:after {
	width: 10px;
	height: 2px;
	top: 11px;
	left: 11px;
	-webkit-transform-origin: 1px 1px;
	-moz-transform-origin: 1px 1px;
	transform-origin: 1px 1px;
	-webkit-animation: minhand 2s linear infinite;
	-moz-animation: minhand 2s linear infinite;
	animation: minhand 2s linear infinite;
}

.timer:before {
	width: 8px;
	height: 2px;
	top: 11px;
	left: 11px;
	-webkit-transform-origin: 1px 1px;
	-moz-transform-origin: 1px 1px;
	transform-origin: 1px 1px;
	-webkit-animation: hrhand 8s linear infinite;
	-moz-animation: hrhand 8s linear infinite;
	animation: hrhand 8s linear infinite;
}

uni-body {
	transition: opacity .1s linear;
}

@-webkit-keyframes minhand {
	0% {
		-webkit-transform: rotate(0deg)
	}

	100% {
		-webkit-transform: rotate(360deg)
	}
}

@-moz-keyframes minhand {
	0% {
		-moz-transform: rotate(0deg)
	}

	100% {
		-moz-transform: rotate(360deg)
	}
}

@keyframes minhand {
	0% {
		transform: rotate(0deg)
	}

	100% {
		transform: rotate(360deg)
	}
}

@-webkit-keyframes hrhand {
	0% {
		-webkit-transform: rotate(0deg)
	}

	100% {
		-webkit-transform: rotate(360deg)
	}
}

@-moz-keyframes hrhand {
	0% {
		-moz-transform: rotate(0deg)
	}

	100% {
		-moz-transform: rotate(360deg)
	}
}

@keyframes hrhand {
	0% {
		transform: rotate(0deg)
	}

	100% {
		transform: rotate(360deg)
	}
}
