/**
 * 滚动条
 */
::-webkit-scrollbar-thumb {
	background-color: rgba(50, 50, 50, 0.6)
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	background-color: #f5f5f5;
}

::-webkit-scrollbar {
	width: 6px;
	height: 6px;
	background-color: #f5f5f5;
}

a {
	border: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-tap-highlight-color: transparent;
	outline: none;
	text-decoration: none;
	out-line:none;
	color:inherit;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
}

ul,
ol {
	list-style: none;
}
/*清除浮动代码*/ 
.clearfloat:after{display:block;clear:both;content:"";visibility:hidden;height:0} 
.clearfloat{zoom:1} 
/*强制换行*/
.force-wrap {
	word-wrap: break-word;
	word-break: normal;
	word-break: break-all;
}

/*强制不换行*/
.no-wrap {
	white-space: nowrap;
	text-overflow: ellipsis;
}

/**
 * 保留3行
 */
.wrap-4 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

/*竖线*/
.ui-line-left-h,
.ui-line-right-h,
.ui-line-top-w,
.ui-line-bottom-w {
	position: relative;
}

.ui-line-left-h:before,
.ui-line-right-h:before,
.ui-line-top-w:before,
.ui-line-bottom-w:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	content: "";
	opacity: 1;
	border: none;
}

.ui-line-left-h:before {
	height: 100%;
	width: 0;
	right: auto;
	transform: scaleX(0.5);
	border-left: 1px solid rgba(0, 0, 0, .1);
}

.ui-line-right-h:before {
	height: 100%;
	width: 0;
	left: auto;
	transform: scaleX(0.5);
	border-left: 1px solid rgba(0, 0, 0, .1);
}

/*横线*/
.ui-line-top-w:before {
	width: 100%;
	height: 0;
	bottom: auto;
	transform: scaleY(0.5);
	border-top: 1px solid rgba(0, 0, 0, .1);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}

.ui-line-bottom-w:before {
	width: 100%;
	height: 0;
	top: auto;
	transform: scaleY(0.5);
	border-top: 1px solid rgba(0, 0, 0, .1);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}

.ui-required:before {
	content: "*";
	color: red;
	vertical-align: middle;
	font-size: 1.2em;
	padding: .2em;
}

.ui-tpl {
	height: 0 !important;
	overflow: hidden !important;
	width: 0 !important;
	position: fixed !important;
	z-index: -1 !important;
	opacity: 0 !important;
}

.ui-absolute,
.ui-relative,
.ui-fixed {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	box-sizing: border-box;
}

.ui-absolute {
	position: absolute;
}

.ui-relative {
	position: relative;
}

.ui-fixed {
	position: fixed;
}

.ui-flex {
	display: flex;
}

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

/**
 * 细线框
 */
.ui-line-round {}

.ui-line-round>* {
	position: relative;
	z-index: 1;
}

.ui-line-round:before {
	z-index: 0;
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	transform: scale(0.5, 0.5) translate(-50%, -50%);
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 100px;
	width: 200%;
	height: 200%;
	box-sizing: border-box;
}

.ui-line-round.radius4:before {
	border-radius: 8px;
}

/*垂直布局*/

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

.ui-center {
	vertical-align: middle;
	/*垂直居中*/
	white-space: normal;
	/*强制换行*/
	word-break: break-all;
	/*英文强制换行*/
	text-align: center;
	align-items: center;
}

.ui-center>* {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

.ui-center:before {
	content: "";
	display: inline-block;
	height: 100%;
	width: 0;
	vertical-align: middle;
	visibility: hidden;
}

.ui-center-flex {
	text-align: center;
	justify-content: center;
	align-items: center;
}

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

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

.f1 {
	flex: 1;
}

.f2 {
	flex: 2;
}

.f3 {
	flex: 3;
}

.f4 {
	flex: 4;
}

.f5 {
	flex: 5;
}

.f6 {
	flex: 6;
}

.f7 {
	flex: 7;
}

.f8 {
	flex: 8;
}

.f9 {
	flex: 9;
}

.f10 {
	flex: 10;
}

.f11 {
	flex: 11;
}

.f12 {
	flex: 12;
}

.event-none {
	pointer-events: none;
}

.event-none input {
	color: #999 !important;
	background: #F2F2F2;
}

/*内联块元素*/

.ui-inline-block {
	font-size: 0;
}

/*内联数量*/

.i2 ,
.i3{
	width: 50%;
	font-size: 16px;
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
}
.i3{
	width: 33.33%;
}

/*旋转动画*/
@keyframes loading {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(1turn);
		transform: rotate(1turn);
	}
}
