* {
  margin: 0;
	padding: 0;
}

body {
	background-image: url("images/body_bg.png");
	background-repeat: repeat-x;
	background-color: #f7e6c0;
	color: #000;
}

/* header 區域 =================================================== */
header {
	height: 123px;
	padding-top: 18px;
	text-align: center;
}

header p { letter-spacing: 8px; }

/* nav 區域 ====================================================== */
nav {
	height: 33px;
	text-align: center;
}

nav a {
	color: #fff9f0;
	text-decoration: none;
	background-repeat: no-repeat;
	background-position: center bottom;
	/* a標籤不是block區塊, 是inline行中內容, 不能直接設定寬高 */
	display: inline-block;
	width: 120px;
	padding-top: 4px;
	padding-bottom: 6px;
	font-size: 17px;
	font-weight: bold;
	letter-spacing: 1px;
}

nav a:hover {
	background-image: url(./images/btn_hover.png);
}

nav a.active {
	background-image: url(./images/btn_hover.png);
	color: #ffeec7;
	font-size: 18px;
}

/* banner 區域 ==================================================== */
#banner {
	background-image: url(./images/banner/banner.png);
	background-repeat: no-repeat;
	background-position: center center;
	height: 300px;
}

/* main 區域 ====================================================== */
main {
	/* 背景>大小>邊界距離>定位>內容圖文 */
	background-image: url(./images/main_bg.png);
	width: 1200px;
	/*height: 300px;固定高度*/
	min-height: 300px;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

#content {
	float: left;
	width: 910px;
	margin: 20px;
}

#content h1 {
	background-image: url(./images/h1bg.png);
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
	margin-bottom: 20px;
}

aside {
	float: right;
	width: 210px;
	margin: 20px;
	text-align: center;
}

aside h2 {
	font-size: 16px;
	margin-bottom: 20px;
}

aside .TSimg {
	width: 200px;
	height: auto;  /*高度依原尺寸比例自動計算*/
	margin-bottom: 10px;

	/* border-width: 5px; */
	/* border-style: dashed; 虛線 */
	/* border-style: dotted; 點線 */
	/* border-style: solid;  實線 */
	/* border-color: #fff; */
  /*以下合併寫法*/
	border: 5px solid #fff;

	/* box-shadow: inset內陰影 水平偏移(往右為正) 垂直偏移(往下為正) 模糊擴散 實心擴展 顏色; */
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

/* footer 區域 ====================================================== */
footer {
  background-image: url(./images/footer.png);
	height: 63px;
	padding-top: 10px;
	text-align: center;
}

iframe {
	display: block;
	margin: 30px auto;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}