@charset "utf-8";

/* 防止用戶自訂背景顏色對網頁的影響，添加讓使用者可以自訂字體 */
html {
	color: #555;
	 
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
    text-rendering: optimizelegibility;
}

/* 內外邊距通常讓各個流覽器樣式的表現位置不同 */
body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	margin: 0;
	padding: 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:500 14px/1.8 Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
}

/* 去除 IE6 input/button 多餘的空白 */
button, input {
    *width: auto;
    *overflow: visible;

    /* 讓 input 和 button 一樣高 */
    line-height:22px;
}

/* 去掉各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 圖片縮放鋸齒問題 */
img {
    -ms-interpolation-mode: bicubic;    
}

/* ie6 7 8(q) bug 顯示為行內表現 */
iframe {
	display: block;
}

/* 塊/段落引用 */
blockquote {
	margin: 1em 0;
	padding: 0.6em 1em;
	background: #f9f9f9;
    border-left: 0.4em solid #ddd;
}
blockquote blockquote {
	padding: 0 0 0 1em;
	margin-left: 2em;
}

/* Firefox 以外，元素沒有底線，需添加 */
acronym, abbr {
	border-bottom: 1px dotted;
	font-variant: normal;
}

/* 添加滑鼠問號，進一步確保應用的語義是正確的（要知道，交互他們也有潔癖，如果你不去掉，那得多花點口舌） */
abbr {
	cursor: help;
}

/* 一致的 del 樣式 */
del {
	text-decoration: line-through;
}

address, caption, cite, code, dfn, em, th, var {
	font-style: normal;
	font-weight: 400;
}

/* 去掉清單前的標識, li 會繼承，大部分網站通常用清單來很多內容，所以應該當去 */
ul, ol {
	list-style: none;
}

/* 對齊是排版最重要的因素, 別讓什麼都居中 */
caption, th {
	text-align: left;
}

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

/* 統一上標和下標 */
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: text-top\9;
}
:root sub, :root sup{
	vertical-align: baseline; /* for ie9 and other mordern browsers */
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}

/* 讓連結在 hover 狀態下顯示底線 */
a:hover {
	text-decoration: underline;
}

/* 預設不顯示底線，保持頁面簡潔 */
ins, a {
	text-decoration: none;
}

/* 專名號：雖然 u 已經重回 html5 Draft，但在所有流覽器中都是可以使用的，
 * 要做到更好，向後相容的話，添加 class="typo-u" 來顯示專名號
 * 關於 <u> 標籤：http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-u-element
 * 被放棄的是 4，之前一直搞錯 http://www.w3.org/TR/html401/appendix/changes.html#idx-deprecated
 * 一篇關於 <u> 標籤的很好文章：http://html5doctor.com/u-element/ 
 */
u, .typo-u {
	text-decoration: underline;
}

/* 標記，類似於手寫的螢光筆的作用 */
mark {
	background: #fffdd1;
}

/* 代碼片斷 */
pre, code {
	font-family: "Courier New", Courier, monospace;
	white-space: pre-wrap;
	word-wrap: break-word;
}
pre {
	border: 1px solid #ddd;
	border-left-width: 0.4em;
	background: #fbfbfb;
	padding: 10px;
}

/* 一致化 horizonal rule */
hr{border:none;border-bottom:1px solid #cfcfcf;margin-bottom:10px;*color:pink;*filter:chroma(color=pink);height:10px;*margin:-7px 0 2px;}

/* 底部印刷體、版本等標記 */
small, .typo-small, 

/* 圖片說明 */
figcaption {
	font-size: 12px;
	color: #888;
}

.clearfix:before, .clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both
}

.clearfix {
	zoom: 1
}

/* 保證塊/段落之間的空白隔行 */
.typo p, .typo pre, .typo ul, .typo ol, .typo dl, .typo form, .typo hr, .typo table,
.typo-p, .typo-pre, .typo-ul, .typo-ol, .typo-dl, .typo-form, .typo-hr, .typo-table {
	margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 500;
	font-weight: 800\9;
    font-family: Helvetica Neue, Microsoft Yahei,Hiragino Sans GB,WenQuanYi Micro Hei,sans-serif;
	color:#333;
}

/* 標題應該更貼緊內容，並與其他塊區分，margin 值要相應做優化 */
.typo h1, .typo h2, .typo h3, .typo h4, .typo h5, .typo h6,
.typo-h1, .typo-h2, .typo-h3, .typo-h4, .typo-h5, .typo-h6 {
	margin-bottom: 0.4em;
	line-height: 1.5;
}
.typo h1, .typo-h1 {
	font-size: 1.8em;
}
.typo h2, .typo-h2 {
	font-size: 1.6em;
}
.typo h3, .typo-h3 {
	font-size: 1.4em;
}
.typo h4, .typo-h4 {
	font-size: 1.2em;
}
.typo h5, .typo h6, .typo-h5, .typo-h6 {
	font-size: 1em;
}

/* 在文章中，應該還原 ul 和 ol 的樣式 */
.typo ul, .typo-ul {
	margin-left: 1.3em;
	list-style: disc;
}
.typo ol, .typo-ol {
	list-style: decimal;
	margin-left: 1.9em;
}
.typo li ul, .typo li ol, .typo-ul ul, .typo-ul ol, .typo-ol ul, .typo-ol ol {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 2em;
}
.typo li ul, .typo-ul ul, .typo-ol ul {
	list-style: circle;
}

/* 同 ul/ol，在文章中應用 table 基本格式 */
.typo table th, .typo table td, .typo-table th, .typo-table td .typo table caption{
	border: 1px solid #ddd;
	padding: 5px 10px;
}
.typo table th, .typo-table th {
	background: #fbfbfb;
}
.typo table thead th, .typo-table thead th {
	background: #f1f1f1;
}
.typo table .caption {
    border-bottom:none;
}

/* 去除 webkit 中 input 和 textarea 的預設樣式  */
.typo-input, .typo-textarea{
	-webkit-appearance:none;
	border-radius:0;
}

/* 高亮選中 */
::-moz-selection {background:#08c;color:#fff;}
::selection {background:#08c;color:#fff;}

/* TODO: 供著重號使用 */
.typo-em, .typo em, legend, caption {
	font-weight: 700;
}
.wrap{

	margin-top: 0px;
	 
	margin-bottom: 0px;
 
}
.ro td{
	min-width:60px;
	height:30px;
	text-align:center;
}
a{
	color:#000;
}
.sub{
	background:#f1f1f1;
	border:1px solid #ddd;
	padding:0 10px;
	cursor:pointer;
}
.ttm{
	width:150px!important;
}
