html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

/*===== 清除默认的margin的属性值 =====*/
body,
blockquote,
dd,
dl,
figure,
form,
p,
pre,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
}

em,
i {
	font-style: normal
}

p {
	word-wrap: break-word;
}

/*===== 统一设置列表的margin和padding，以及列表表形式 =====*/
menu,
ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

/*===== 全局定义字体以及页面背景 =====*/
body {
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	background-color: #FFF;
	line-height: 1.5;
	transition: all 0.5s ease;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
input,
button,
select,
textarea {
	font-size: 18px;
	line-height: 1.4
}



/*===== 字体控制 =====*/
body,
input,
button,
select,
optgroup,
option,
textarea,
pre {
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'PingFangSC-Regular', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, 'WenQuanYi Micro Hei', SimSun, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/*===== 设置文本链接样式 =====*/
a,
a:link,
a:visited {
	text-decoration: none;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	cursor: pointer;
}

a:hover {
	text-decoration: none;

}

/*===== 去除个别浏览器图片底部的几个像素，以及设置图片形式链接无边框 =====*/
img {
	vertical-align: middle;
	max-width: 100%;
}

a img {
	border: 0 none;
}

/* 尽量同意按钮的大小，如果采用input方式做的按钮 */
input,
select,
textarea {
	outline: none !important;
	box-shadow: none !important;
}
/* 统一文本输入框、下拉、文本框的背景色，避免被用户设置系统颜色而破坏页面色彩 */
button,
button:focus {
	outline: none !important;
	box-shadow: none !important;
}
.clearfix{*zoom:1}
.clearfix:before,.clearfix:after{content:" ";display:table}
.clearfix:after{clear:both}
