/* 防止用戶自定義背景顔色對網頁的影響，添加讓用戶可以自定義字體 */

html {

	color: #333; 

	font: 12px, "微軟雅黑", Arial,sans-serif;

	-webkit-text-size-adjust: 100%;

	-ms-text-size-adjust: 100%;

	/* filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    filter: gray;
    -webkit-filter: grayscale(1);  */


}

/* 内外邊距通常讓各個浏覽器樣式的表現位置不同 */

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video 

	{

	margin: 0;

	padding: 0;

	border: 0;

	outline:0;

}

/* 重設 HTML5 标簽, IE 需要在 js 中 createElement(TAG) */

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section

	{

	display: block;

}

/* HTML5 媒體文件跟 img 保持一緻 */

audio,canvas,video {

	display: inline-block;

	*display: inline;

	*zoom: 1;

}

/* 要注意表單元素并不繼承父級 font 的問題 */

body,button,input,select,textarea {

	font-size: 12px;

}

input,select,textarea,button {

	font-size: 100%;

	outline: none;

	border: none;

	margin: 0;

	padding: 0;

}

/* 去掉各Table  cell 的邊距并讓其邊重合 */

table {

	border-collapse: collapse;

	border-spacing: 0;

}

/* IE bug fixed: th 不繼承 text-align*/

th {

	text-align: inherit;

}

/* 去除默認邊框 */

fieldset,img {

	border: 0;

}

/* ie6 7 8(q) bug 顯示為行内表現 */

iframe {

	display: block;

}

/* 去掉 firefox 下此元素的邊框 */

abbr,acronym {

	border: 0;

	font-variant: normal;

}

/* 一緻的 del 樣式 */

del {

	text-decoration: line-through;

}

address,caption,cite,code,dfn,em,th,var {

	font-style: normal;

	font-weight: 700;

}

/* 去掉列表前的标識, li 會繼承 */

ol,ul {

	list-style: none;

}

/* 對齊是排版最重要的因素, 别讓什麼都居中 */

caption,th {

	text-align: center;

}

blockquote, q {

	quotes: none;

}

blockquote:before, blockquote:after,

q:before, q:after {

	content: '';

	content: none;

}

/* 統一上标和下标 */

sub,sup {

	font-size: 75%;

	line-height: 0;

	position: relative;

	vertical-align: baseline;

}

sup {

	top: -0.5em;

}

sub {

	bottom: -0.25em;

}

/* 默認不顯示下劃線，保持頁面簡潔并改變字體顔色 */

ins,a {

	text-decoration: none;

	color: #000;

}

.clear{

	clear: both;

}

.fn-clear {

	*zoom: 1; /* for IE6 IE7 */

}

/* 隐藏, 通常用來與 JS 配合 */

body .fn-hide {

	display: none;

}

.show {

	display: block;

}

.hide {

	display: none;

}

/* 設置内聯, 減少浮動帶來的bug */

.fn-left, .fn-right {

	display: inline;

}

body{

	min-width: 320px;

	overflow-x: hidden;

	background: #FFFFFF; 

	font-family: "微軟雅黑", Arial, sans-serif;

}

h1,h2,h3,h4,h5,h6{

	font-weight: normal;

	font-size: inherit;

}

.container { 

	width: 95%;

	max-width: 1600px;

	margin: 0 auto;

}

a { 

	color: inherit;

	cursor: pointer;

	font: inherit;

	transition:all 0.5s ease 0s;

}

i{

	font-style: normal;

}



.fl { 

	float: left; 

}

.fr { 

	float: right;

 }

.clearfix:after { 

	content: ""; 

	display: block;

	height: 0;

	clear: both;

	visibility: hidden;

}

.clearfix{

	*zoom: 1;

}

