@charset "utf-8";
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ul,
ol,
li,
button,
input {
	margin: 0;
	padding: 0;
}

body,
button,
input,
{
	outline: none;
}

ul,
ol,
dl
{
	list-style: none;
}
input,
button,
select,
textarea {
	outline:medium;
}

img{
	border: 0;
}

a {
	text-decoration: none;
	/*color: #333;*/
}

a:hover {
	text-decoration: none;
}


/*禁止页面内容被选中*/
/*body{
 	-webkit-user-select: none; 
 	-khtml-user-select: none;
	-moz-user-select: none; 
	-ms-user-select: none; 
	user-select: none; 
}*/

.clearfix:after {
	content: '.';
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/** html .clearfix {
	zoom: 1;
}

*+html .clearfix {
	zoom: 1;
}*/
.fl {
	float: left
}

.fr {
	float: right;
}
.pr {
	position: relative;
}
.pa {
	position: absolute;
}

.dn {
	display: none;
}

.db {
	display: block;
}

/*单行文字溢出隐藏*/
.oh1{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*2行文字溢出隐藏、或者多行*/
.oh2{
	overflow : hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/*放在img父级,让img上下居中/////////maigin属性会失效*/
/*同样适用于文字*/
.vm{
	display:table-cell;
	vertical-align: middle;
}

/*img缩放*/
.img_alls{
	-webkit-transition:all 0.5s;	/* Chromea 谷歌内核*/
	-moz-transition:all 0.5s;		/* ff 火狐内核 */
	-ms-transition:all 0.5s;		/* ie 内核 */ 
	-o-transition:all 0.5s;			/* Opera 欧朋内核 */
	transition:all 0.5s;
}

/*img父级hover时代码*/
.img_alls_parent:hover .img_alls{
	-webkit-transform: scale(1.2); 	/* Chromea 谷歌内核 */
	-moz-transform: scale(1.2); 	/* ff 火狐内核*/
	-ms-transform: scale(1.2);		/* ie 内核*/
	-o-transform: scale(1.2);		/* Opera 欧朋内核 */
	transform: scale(1.2); 
}
