@charset "utf-8";

* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

.bsBox {
	box-sizing: content-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
}

ul,
li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

a {
	text-decoration: none;
	color: #222;
}

::selection {
	background: #4612a4;
	color: #fff;
}

input {
	-webkit-appearance: none;
}

img {
	max-width: 100%;
	vertical-align: top;
	max-width: 100%;
}

html,
body {
	font-family: "PingFang SC", "Microsoft YaHei", -apple-system, Arial, sans-serif;
	line-height: 1.5;
	font-size: 16px;
	color: #222;
}

a:hover {
	color: #d80000;
}


/* 去除iphone按钮默认样式代码 */
input[type=button],
input[type=submit],
input[type=file],
button {
	cursor: pointer;
	-webkit-appearance: none;
}

.clearfix:after {
	display: block;
	content: "";
	clear: both;
}


.fl {
	float: left;
}

.fr {
	float: right;
}


/* 通用处理单行文字溢出代码 */
.text-1 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 通用处理多行文字溢出代码 */
.text-2 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	white-space: break-spaces;
	-webkit-box-orient: vertical;
	line-height: 1.7;
}

.text-3 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	white-space: break-spaces;
	-webkit-box-orient: vertical;
	line-height: 1.4;
}

.text-4 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	white-space: break-spaces;
	-webkit-box-orient: vertical;
	line-height: 1.5;
}


/* 通用滚动条代码 */
::-webkit-scrollbar {
	width: 10px;
	height: 1px;
}

::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, .3);
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	background: rgba(0, 0, 0, .1);
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
}

input[type="number"] {
	-moz-appearance: textfield;
}

.inputtest::-webkit-input-placeholder {
	/* WebKit, Blink, Edge */
	color: #666;
	font-size: 16px;
}

.inputtest:-moz-placeholder {
	/* Mozilla Firefox 4 to 18 */
	color: #666;
	font-size: 16px;
}

.inputtest::-moz-placeholder {
	/* Mozilla Firefox 19+ */
	color: #666;
	font-size: 16px;
}


.lazy {
	z-index: 3;
	position: relative;
}

@-webkit-keyframes rotate360 {
	0% {
		-webkit-transform: none !important;
		transform: none !important
	}

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

@keyframes rotate360 {
	0% {
		-webkit-transform: none !important;
		transform: none !important
	}

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

.rotate360 {
	-webkit-animation-name: rotate360;
	animation-name: rotate360;
	-webkit-animation-duration: .5s;
	animation-duration: .5s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-iteration-count: 1;
	animation-iteration-count: 1;
	-webkit-animation-direction: normal;
	animation-direction: normal;
	-webkit-animation-play-state: running;
	animation-play-state: running;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both
}

.lazybox {
	position: relative;
}

.lazybox:before {
	content: " ";
	position: absolute;
	left: 50%;
	top: 50%;
	border-radius: 50%;
	z-index: 1;
	pointer-events: none;
	-webkit-transition: all 320ms ease-out 0s;
	transition: all 320ms ease-out 0s;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-style: solid;
	border-width: 2px;
	border-color: rgba(0, 0, 0, .6) rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .1);
	-webkit-animation-name: rotate360;
	animation-name: rotate360;
	-webkit-animation-duration: 1.6s;
	animation-duration: 1.6s;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-direction: normal;
	animation-direction: normal;
	-webkit-animation-play-state: running;
	animation-play-state: running;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.lazybox.loading:before {
	-webkit-transition: all .1s ease-out 0s;
	transition: all .1s ease-out 0s;
	opacity: 0;
	visibility: hidden;
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
}

