@charset "utf-8";
@-ms-viewport {
		width: device-width;
}

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, tt, var,
b, u, i, center,
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;
	font-size: 100%;
	/* font: inherit; 會讓字體的一些設定如粗體失去作用，於20140714註解掉 */

	outline:0; /* html5doctor的設定 */
	background:transparent; /* html5doctor的設定 */
}
/* charlotte-20180129修改，覺得浪費了dl、dt、dd階層的作用，故而將這三個標籤拉掉了；20200901發現上標下標字會失去作用，故而拉掉sub、sup這二個標籤 */

/* 2018131新增，所有瀏覽器實現高度自適應 */
html {
	height: 100%;
}
body {
	height: 100%;
	min-width: 320px;
}
/* Box Model-讓內距及邊框不影響元素本身尺寸 */
*, *:before, *:after {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
}
dd {
	margin-bottom: 1.5em; /* 原作用於p, ul, ol, dl, table */
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul, li {
	list-style: none;
}
/* charlotte-20131015新增li */
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
/* charlotte-20200908修改，覺得浪費了q的引用作用，故而將這q標籤拉掉了，blockquote暫時繼續保留 */
table {
	/* border-collapse: collapse; charlotte-20131024修改，註解掉的border部份為設定表格無間距，但大部份情況下皆需要有間距，故捨之，另預設表格置中。
	border-spacing: 0; */
	margin:0 auto;
}

/* hr, input, select為html5doctor的設定 */

hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #eae9e9;
    margin:1em 0;
    padding:0;
}
img, input, select {
    vertical-align:middle;
}
/* charlotte-20131016新增img，解決html5圖片下方默認會有空白的問題 */

img {
	max-width: 100%; /* 20140515因應不同螢幕大小縮放 */
}

/* 完美清除浮動hack密技 */
.clearfix:before,
.clearfix:after {
     content: ".";
     display: block;
     height: 0;
     visibility: hidden;
}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;} /* IE < 8 */

/* 其他常用樣式 */
.fl{
	float: left;
}
.fr{
	float: right;
}
.tal{
	text-align: left;
}
.tac{
	text-align: center;
}
.clr{
	clear: both;
}

/*
   http://meyerweb.com/eric/tools/css/reset/ 
     v2.0 | 20110126
     License: none (public domain)
   http://html5doctor.com/html-5-reset-stylesheet/
     html5doctor.com Reset Stylesheet
     v1.6.1
     Last Updated: 2010-09-17
     Author: Richard Clark - http://richclarkdesign.com 
     Twitter: @rich_clark
*/