/*
	TODO will need to remove settings on HTML since we can't namespace it.
	TODO with the prefix, should I group by selector or property for weight savings?
*/

/* Tools */
.hidden {
	display: block !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

.nobr {
	white-space: nowrap !important;
}

.wrap {
	white-space: normal !important;
}

.ta-left {
	text-align: left !important;
}

.ta-center {
	text-align: center !important;
}

.ta-right {
	text-align: right !important;
}

.va-top {
	vertical-align: top;
}

.va-middle {
	vertical-align: middle;
}

.fl,
.left {
	float: left !important;
}

.fr,
.right {
	float: right !important;
}

.f-none {
	float: none !important;
}

.f-fix {
	float: left;
	width: 100%;
}

.no-display {
	display: none;
}

.no-margin {
	margin: 0 !important;
}

.no-padding {
	padding: 0 !important;
}

.no-bg {
	background: none !important;
}

.pt_r {
	position: relative;
}

.pt_a {
	position: absolute;
}

.pt_f {
	position: fixed;
}


/* fonts字体  */
body {
	font-size: 12px;
	font-family: "微软雅黑", arial, helvetica, clean, sans-serif;
	*font-size: small;
	/* for IE6/7 */
	*font: x-small;
	/* for IE Quirks Mode */
}



/*清除浮动*/
.clear:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
}

.clear {
	zoom: 1;
}

/* for IE */



/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF. 
*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
	font-size: 12px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,
img {
	border: 0;
}

/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
b,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style: normal;
	font-weight: normal;
}

/*
	TODO Figure out where this list-style rule is best set. Hedger has a request to investigate.
*/
li {
	list-style: none;
}

a {
	text-decoration: none;
	color: #000000;
}

a:hover {
	text-decoration: none;
}

caption,
th {
	text-align: left;
}

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

q:before,
q:after {
	content: '';
}

abbr,
acronym {
	border: 0;
	font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
	vertical-align: text-top;
}

sub {
	vertical-align: text-bottom;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

/*to enable resizing for IE*/
input,
textarea,
select {
	*font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
	color: #000;
}

a {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}

.text_ellipsis {
	width: 100%;
	line-height: inherit;
	font-size: inherit;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow-wrap: normal;
	word-break: break-word;
}