﻿/*公共样式*/
button {
	cursor: pointer;
}

button:active {
	opacity: 0.8;
	/*透明度*/
	filter: alpha(opacity=80);
 	/* IE */
	-moz-opacity: 0.8;
 	/* 内核Mozilla */
	-khtml-opacity: 0.8;
 	/* 内核Safari */
}

input,button,select,textarea {
	outline: none;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}


h1, h2, h3, h4 {
	font-weight: normal;
}

li {
	list-style-type: none;
}

em,i {
	font-style: normal;
}

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

/*浮动*/
.ui-left {
	float: left;
}

.ui-right {
	float: right;
}

/*清除浮动*/
.clearfloat {
	clear: both;
}

.rel {
	position: relative;
}

/*超出省略号*/
.ellipsis {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ellipsis-2 {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
/*字体颜色*/
.red {
	color: #f54c18;
}

.orange {
	color: #f54c18;
}

.green {
	color: #3d8d36;
}

.en {
	font-family: verdana;
}

.cl-f90 {
	color: #f90;
}

.c48 {
	color: #484848;
}

.c6 {
	color: #666;
}

.c8 {
	color: #888;
}

.c9 {
	color: #999;
}
/*圆角*/
.radius-3 {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

/*阴影*/
.shadow {
	-webkit-box-shadow: 2px 2px 10px #9d9c9c;
  /* for safari or chrome */
	-moz-box-shadow: 2px 2px 10px #9d9c9c;
  /* for firefox */
	box-shadow: 2px 2px 10px #9d9c9c;
  /* for opera or ie9 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
  /* For IE 8 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
  /* For IE 5.5 - 7 */
}

.center {
	text-align: center;
}

/*字体大小*/
.f12 {
	font-size: 12px;
}

.f14 {
	font-size: 15px;
}

.f16 {
	font-size: 16px;
}

.f18 {
	font-size: 18px;
}

.f20 {
	font-size: 20px;
}

.f22 {
	font-size: 22px;
}

.f24 {
	font-size: 24px;
}

.f28 {
	font-size: 28px;
}

.f30 {
	font-size: 30px;
}

.bold {
	font-weight: 700;
}

/*公用3像素圆角*/
.radius {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}