﻿/* Margin */

.m0 {
	margin: 0;
}

.m5 {
	margin: 5px;
}

.m10 {
	margin: 10px;
}

/* Margin-Left */

.ml5 {
	margin-left: 5px;
}

.ml10 {
	margin-left: 10px;
}

.ml40 {
	margin-left: 40px;
}

.ml60 {
	margin-left: 60px;
}

.ml80 {
	margin-left: 80px;
}

/* Margin-Right */

.mr5 {
	margin-right: 5px;
}

.mr10 {
	margin-right: 10px;
}

/* Margin-Top */

.mt5 {
	margin-top: 5px;
}

.mt10 {
	margin-top: 10px;
}

.mt20 {
	margin-top: 20px;
}

/* Margin-Bottom */

.mb5 {
	margin-bottom: 5px;
}

.mb10 {
	margin-bottom: 10px;
}

.mb20 {
	margin-bottom: 20px;
}

/* Padding */

.p0 {
	padding: 0;
}

.p1 {
	padding: 1px;
}

.p5 {
	padding: 5px;
}

.p10 {
	padding: 10px;
}

.p20 {
	padding: 20px;
}

/* Padding-Left */

.pl5 {
	padding-left: 5px;
}

.pl10 {
	padding-left: 10px;
}

.pl20 {
	padding-left: 20px;
}

.pl30 {
	padding-left: 30px;
}

/* Padding-Right */

.pr5 {
	padding-right: 5px;
}

.pr10 {
	padding-right: 10px;
}

.pr20 {
	padding-right: 20px;
}

.pr30 {
	padding-right: 30px;
}

/* Padding-Top */

.pt5 {
	padding-top: 5px;
}

.pt10 {
	padding-top: 10px;
}

.pt20 {
	padding-top: 20px;
}

.pt30 {
	padding-top: 30px;
}

/* Padding-Bottom */

.pb5 {
	padding-bottom: 5px;
}

.pb10 {
	padding-bottom: 10px;
}

.pb20 {
	padding-bottom: 20px;
}

.pb30 {
	padding-bottom: 30px;
}

/* Width */

.w25 {
	width: 25px;
}

.w30 {
	width: 30px;
}

.w40 {
	width: 40px;
}

.w50 {
	width: 50px;
}

.w60 {
	width: 60px;
}

.w70 {
	width: 70px;
}

.w80 {
	width: 80px;
}

.w90 {
	width: 90px;
}

.w100 {
	width: 100px;
}

.w120 {
	width: 120px;
}

.w150 {
	width: 150px;
}

.w180 {
	width: 180px;
}

.w200 {
	width: 200px;
}

.w250 {
	width: 250px;
}

.w300 {
	width: 300px;
}

.w350 {
	width: 350px;
}

.w400 {
	width: 400px;
}

.w450 {
	width: 450px;
}

.w500 {
	width: 500px;
}

.w30b {
	width: 30%;
}

.w50b {
	width: 50%;
}

.w70b {
	width: 70%;
}

.w80b {
	width: 80%;
}

.w98b {
	width: 98%;
}

.w100b {
	width: 100%;
}

/* Height */

.h40 {
	min-height: 40px;
	_height: 40px;
}

.h100 {
	min-height: 100px;
	_height: 100px;
}

.h200 {
	min-height: 200px;
	_height: 200px;
}

.h300 {
	min-height: 300px;
	_height: 300px;
}

.h400 {
	min-height: 400px;
	_height: 400px;
}

.h500 {
	min-height: 500px;
	_height: 500px;
}

/* 对齐&浮动 */

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.center {
	text-align: center;
}

.vt {
	vertical-align: top;
}

.vm {
	vertical-align: middle;
}

.fleft, .fl {
	float: left;
	display: inline;
}

.fright, .fr {
	float: right;
	display: inline;
}

/* 其它 */

.clear {
	clear: both;
}

.hand {
	cursor: pointer;
}

.fix {
	table-layout: fixed;
}

.hide, .none {
	display: none;
}

.absolute {
	position: absolute;
}

.relative {
	position: relative;
}

.clearfix {
	display: block;
}
	/*.clearfix {display:inline-block;}*/
	.clearfix:after {
		content: "\0020";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
	}

* html .clearfix {
	height: 1%;
	zoom: 1;
	overflow: hidden;
}

.both {
	display: block !important;
	float: none !important;
	clear: both;
	overflow: hidden;
	width: auto !important;
	height: 0 !important;
	margin: 0 auto !important;
	padding: 0 !important;
	font-size: 0;
	line-height: 0;
}

/* 字体 */

.fb, a.fb {
	font-weight: bolder;
}

.fn, a.fn {
	font-style: normal;
	font-weight: normal;
}

.fw {
	word-wrap: break-word;
	word-break: break-all;
}

/* 字体大小 */

.f12 {
	font-size: 12px;
}

.f14 {
	font-size: 14px;
}

.f16 {
	font-size: 16px;
}

.f18 {
	font-size: 18px;
}

.f24 {
	font-size: 24px;
}

/* 字体颜色 */

.fblue {
	color: #009;
}

.fgreen {
	color: #060;
}

.fpink {
	color: #f09;
}

.fyellow {
	color: #ee0;
}

.fgrey {
	color: #666;
}

.fred, a.fred {
	color: #c00;
}

.fwhite {
	color: #fff;
}

/* 背景颜色 */

.blue, .blue td, .blue th {
	background: #E8F5FE;
}

.green, .green td, .green th {
	background: #F2FDDB;
}

.pink, .pink td, .pink th {
	background: #FFE7F4;
}

.yellow, .yellow td, .yellow th {
	background: #FFFFDD;
}

.grey, .grey td, .grey th {
	background: #F7F7F7;
}

.red, .red td, .red th {
	background: #FFEEEE;
}

.highlight {
	background: #ff0;
}

/* 行高 */

.lh16, .lh16 a {
	line-height: 16px;
}

.lh20, .lh20 a {
	line-height: 20px;
}

.lh22, .lh22 a {
	line-height: 22px;
}

.lh24, .lh24 a {
	line-height: 24px;
}

.lh26, .lh26 a {
	line-height: 26px;
}

.lh28, .lh28 a {
	line-height: 28px;
}

.lh30, .lh30 a {
	line-height: 30px;
}

.lh40, .lh40 a {
	line-height: 40px;
}

/* 图片等比例控制 */

.thumb80 {
	max-width: 80px;
	max-height: 80px;
	width: expression(this.width > 80 && this.width > this.height ? 80 : true);
	height: expression(this.height > 80 ? 80 : true);
}

.thumb120 {
	max-width: 120px;
	max-height: 120px;
	width: expression(this.width > 120 && this.width > this.height ? 120 : true);
	height: expression(this.height > 120 ? 120 : true);
}