@charset "UTF-8";

/*

	document   : css初始化 重复class类
	Created on : 2017-07-13
	Author     : 
	Description:
				css样式表的初始化，全局样式设置

 */

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

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

html,body,div,ul,ol,li,p,a,i,em,img,form,input,textarea,h1,h2,h3,h4,h5,h6 {
	margin: 0;
	padding: 0;
	-webkit-top-height-color: transparent; /* 点击高亮透明 */
	-webkit-text-size-adjust:none; /* 阻止旋转屏幕时自动调整字体大小 */
}

body {
	color: #000;
	font:14px/1.5 "Microsoft Yahei",arial,"Hiragino Sans GB",sans-serif;
	background-color: #fff;
	margin:0 auto; 
	min-height:100%;
	overflow-x: hidden;
	min-width: 1200px;

	/* 解决上下拉动滚动条时卡顿，慢 */
	-webkit-overflow-scrolling: touch;
	   -moz-overflow-scrolling: touch;
			overflow-scrolling: touch;
}

/*禁止复制*/
/*html, body {
  -webkit-user-select: none;
  user-select: none;
}*/

/* 禁止body滚动 */
body.hide {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

a {
	text-decoration: none;
	color: #000;
	background-color: transparent;
	-webkit-tap-highlight-color: transparent;
  	-webkit-touch-callout: none;
  	-webkit-user-select: none;
  	color: currentColor;
}

/*li {
	list-style-type: none;
}*/

img {
	border: 0;
	vertical-align: middle;
}

p {
	word-wrap: break-word;
}

em {
	font-style: normal;
	font-weight: normal;
}

input,button,select,textarea {
	resize: none; /* 禁止textarea拉伸 */
	outline: none;
	line-height: normal;
	-webkit-transform: translate3d(0,0,0);
	font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: 1px solid #ccc;
    padding: 1px;
}

input[type=text]:focus {
    border: 1px solid #ccc;
}

input[type="search"] {
	-webkit-appearance: none;
}

input[type="button"],
button {
	/*消除点击按钮出现阴影*/
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;

	background-color: transparent;
}

i,em{font-style:normal; font-family:"Microsoft Yahei";}
input,textarea,select{font-family:"Microsoft Yahei"; outline:none;}

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

/* 清除浮动 */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
	content: '';
	display: block;
	height: 0;
	line-height: 0;
	visibility: hidden;
	clear: both;
}
.clearfix{zoom:1}

/* 解决Input type = number 错乱问题 */
input[type=number]::-webkit-inner-spin-button,  
input[type=number]::-webkit-outer-spin-button { 	
	-webkit-appearance: none;
	   -moz-appearance: none; 
			appearance: none;
				margin: 0;
}

/* 针对于bootstap重置 */
a:focus,a:hover {
	color: currentColor;
	text-decoration: none;
}


/* 重复使用 */
.layout {
	position: relative;
}

.container-fluid {
	padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.w {
	display: block;
	width: 100%;
}

.h {
	display: block;
	height: 100%;
}
.wh {
	width: 100%;
	height: 100%;
}

ul.block { /* 解决ul没有高 */
	overflow: hidden;
	list-style: none;
}

.omit { /* 单行省略 */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space:nowrap;
}

/* 多行省略 */
.more_omit {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.bg-fff {
	background-color: #fff;
}

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

.w1200 {
	width: 1200px;
	margin: 0 auto;
}

.left {
	float: left;
}
.right {
	float: right;
}

