body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
input,
button,
textarea,
p,
blockquote,
th,
td,
form,
legend {
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

html {
	font: 12px 'Helvetica Neue', 'PingFang SC', STHeitiSC-Light, Helvetica, Arial, sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

a,
button,
input {
	-webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

a {
	text-decoration: none;
	background: transparent
}

a:active,
a:hover {
	outline: 0
}

table {
	border-collapse: collapse;
	border-spacing: 0
}

li {
	list-style: none;
}

b,
strong {
	font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 500;
}

address,
cite,
dfn,
em,
var {
	font-style: normal;
}

dfn {
	font-style: italic
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline
}

img {
	border: 0;
	vertical-align: bottom
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
	outline: 0;
}

button,
select {
	text-transform: none
}

select {
	-webkit-appearance: none;
	border: none;
}

input {
	line-height: normal;
}

input[type=checkbox],
input[type=radio] {
	box-sizing: border-box;
	padding: 0
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	height: auto
}

input[type=search] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
	-webkit-appearance: none
}

label,
input {
	vertical-align: middle;
}


/** 图标字体 **/

@font-face {
	font-family: 'layui-icon';
	src: url('../font/iconfont.eot?v=1.0.7');
	src: url('../font/iconfont.eot?v=1.0.7#iefix') format('embedded-opentype'), url('../font/iconfont.woff?v=1.0.7') format('woff'), url('../font/iconfont.ttf?v=1.0.7') format('truetype'), url('../font/iconfont.svg?v=1.0.7#iconfont') format('svg');
}

.layui-icon {
	font-family: "layui-icon" !important;
	font-size: 16px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


/** 基础通用 **/


/* 消除第三方ui可能造成的冲突 */

.layui-box,
.layui-box * {
	-webkit-box-sizing: content-box !important;
	-moz-box-sizing: content-box !important;
	box-sizing: content-box !important;
}

.layui-border-box,
.layui-border-box * {
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	box-sizing: border-box !important;
}

.layui-inline {
	position: relative;
	display: inline-block;
	display: inline;
	zoom: 1;
	vertical-align: middle;
}


/* 三角形 */

.layui-edge {
	position: absolute;
	width: 0;
	height: 0;
	border-style: dashed;
	border-color: transparent;
	overflow: hidden;
}


/* 单行溢出省略 */

.layui-elip {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}


/* 屏蔽选中 */

.layui-unselect {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.layui-disabled,
.layui-disabled:active {
	background-color: #d2d2d2 !important;
	color: #fff !important;
	cursor: not-allowed !important;
}


/* 纯圆角 */

.layui-circle {
	border-radius: 100%;
}

.layui-show {
	display: block !important;
}

.layui-hide {
	display: none !important;
}

.layui-upload-iframe {
	position: absolute;
	width: 0px;
	height: 0px;
	border: 0px;
	visibility: hidden;
}

.layui-upload-enter {
	border: 1px solid #009E94;
	background-color: #009E94;
	color: #fff;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}
