/* Reset CSS */

/*將有內距外距的元素歸零，避免不同瀏覽器內外距不同而錯位*/
body, h1, h2, h3, h4, h5, h6, p, blockquote, th, td, div, dl, dt, dd, ul, ol, li, pre, code, form, fieldset, legend, input, button, textarea {
	margin: 0;
	padding: 0;
}

/*重置頁面基本字型大小及行高*/
body,td,th {
	font-family: Arial, Verdana, Helvetica, sans-serif, "微軟正黑體", "新細明體";
	font-size: 100%;
	line-height: 1;
}
/* 重設 */
body,td,th {
	font-family: Arial, Verdana, Helvetica, sans-serif, "微軟正黑體", "新細明體";
	font-size:14px;
	line-height: 150%;
}

/*將標題的字型大小及粗細都重置*/
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}
/* 重設 */
h1 { font-size: 36px; line-height: 150%; }
h2 { font-size: 24px; line-height: 150%; }
h3 { font-size: 21px; line-height: 150%; }
h4 { font-size: 18px; line-height: 150%; }
h5 { font-size: 16px; line-height: 150%; }
h6 { font-size: 14px; line-height: 150%; }

/*將影像及欄位集的邊框歸零*/
img, fieldset {
	border: 0;
}

/*將清單樣式清除，其實只要list-style: none就好了，後面都是為了特定瀏覽器*/
ol, ul {
	list-style: none;
}

/*將表格的邊框設定為結合，小魚覺得分離好醜；其實一行就夠了，第二行是為了特定瀏覽器*/
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* 重設表格 */
table {
	border:2px solid #808080;
}
caption, td, th {
	border:1px solid #808080;
	padding: 3px;
}

/*重置表格註解及標題儲存格的對齊*/
caption, th {
	text-align: left;
}

/*將連結、底線重置；其實應該要再加上一個 del 刪除線的，但小魚常常用del就不重置了*/
a, ins {
	text-decoration: none;
}

/*部份瀏覽器在表單元素的字型樣式跟內文會不一樣，故設為繼承保持一致*/
input, button, textarea, select, optgroup, option {
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
}
/* 重設下列元素 */
form { margin: 3px 0 3px 0; }
input {
	font-size: 100%;
	padding: 3px;
	border: 1px solid #808080;
}
button {
	font-size: 13px;
	padding:5px 5px 0px 5px;
	line-height: 110%;
}
body:nth-of-type(1) button{
	font-size: 14px;
	padding:2px 5px 2px 5px;
	line-height: 120%;
}
textarea {
	padding-top:-5px;
	width:350px;
	min-width: 200px;
	border: 1px solid #808080;
	font-size: 100%;
	padding:3px;
	line-height: 150%;
}
select,optgroup,option {
	font-size: 100%;
	font-family: Arial, Helvetica, sans-serif, "微軟正黑體", "新細明體";
	padding: 1px 3px;
	border: 1px solid #808080;
}
input[type="checkbox"],input[type="radio"] {
    border: 0px;
}
ol {
   list-style: decimal;
   margin-left: 3%;
   padding: 0;
}
ul {
   list-style: disc;
   margin-left: 2.6%;
}
ul li {
	padding-left: 0.4%;
}
hr {
	background: none repeat scroll 0 0 #808080;
    border: thin none;
    height: 1px;
}

/*將這些瀏覽器可能會有字型外觀樣式的元素重置字型樣式及粗細*/
address, caption, cite, code, dfn, em, strong, th, var, optgroup {
	font-style: normal;
	font-weight: bold;
}

/*將註解的邊框及大小寫重置，沒用就不重置了*/
abbr {
	border: 0;
	font-variant: normal;
}

/*重置上標、下標的樣式*/
sup, sub {
	font-size: 100%;
	vertical-align: baseline;
}

/*將引用重置，避免樣式不同及引號*/
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}

/*最後也順便把這些會用到的元素也重設*/
code, kbd, samp {
	font-size: 100%;
}