@charset "utf-8";
/*----TITLE: Chuan Yi Electric WEBSITE | AUTHOR: William | UPDATED: 2011/11/16 by GEO William----*/
body {
	font: 100%/1.4 "新細明體";
	margin: 0;
	padding: 0;
	color: #000;
}

/* ~~ 元素/標籤選取器 ~~ */
ul, ol, dl { /* 由於瀏覽器之間的差異，最佳作法是在清單中使用零寬度的欄位間隔及邊界。為了保持一致，您可以在這裡指定所要的量，或在清單包含的清單項目 (LI、DT、DD) 上指定所要的量。請記住，除非您寫入較為特定的選取器，否則在此執行的作業將重疊顯示到 .nav 清單。 */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* 移除上方邊界可以解決邊界可能從其包含的 Div 逸出的問題。剩餘的下方邊界可以保持 Div 不與接在後面的元素接觸。 */
	padding-right: 15px;
	padding-left: 15px; /* 將欄位間隔加入至 Div 內元素的兩側 (而不是 Div 本身)，即可不需執行任何方塊模型的計算作業。具有側邊欄位間隔的巢狀 Div 也可當做替代方法。 */
}
a img { /* 這個選取器會移除某些瀏覽器在影像由連結所圍繞時，影像周圍所顯示的預設藍色邊框 */
	border: none;
}

/* ~~ 網站連結的樣式設定必須保持此順序，包括建立滑過 (Hover) 效果的選取器群組在內。~~ */
a:link {
	color:#414958;
	text-decoration: underline; /* 除非您要設定非常獨特的連結樣式，否則最好提供底線，以便快速看出 */
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* 這個選取器群組可以讓使用鍵盤導覽的使用者，也和使用滑鼠的使用者一樣擁有相同的滑過體驗。 */
	text-decoration: none;
}

.searchBtn{
	padding: 2px 10px;
}

/* ~~ 這個容器環繞著所有其他的 Div，並依百分比設定其寬度 ~~ */
.container {
	width: 100%;
	background: #FFF;
	margin: 0; /* 兩側的自動值與寬度結合後，版面便會置中對齊。如果將 .container 的寬度設為 100%，就不需要這麼做。 */
}

/* ~~ 頁首沒有指定的寬度，而會橫跨版面的整個寬度。頁首包含影像預留位置，必須由您自己的連結商標加以取代 ~~ */
.header {
	background: #CCCCCC url(../images/index_header_bg.jpg) repeat-x left top;
	height: 83px;
	border-style: none;
}

.headerItem {
	list-style: none;
	margin: 0px auto 0px 0px;
	height: 50px;
	width: 980px;
	padding-top: 0px;
	padding-left: 30px;
}
.headerItem li {
	float: left;
	display: block;
	margin: 0px;
	padding: 0px;
}
.headerItem li.logo {
	height: 36px;
	width: 118px;
	background: url(../images/ChuanYi_logo2.png) no-repeat;
	margin-top: 30px;
}
.headerItem li.logo a {
 height: 36px;
 width: 118px;
 display:block;
}
.headerItem li.systemTitle {
	height: 28px;
	width: 302px;
	background: url(../images/intro_header_title.png);
	margin: 38px 0px 0px 10px;
}
.headerItem li.systemMainBg{
	background: url(../images/index_header_main_bg.png) no-repeat center center;
	height: 83px;
	width: 310px;
	margin-left: 150px;
}
.navigation{
	margin: 0px;
	padding: 0px;
	height: 30px;
	width: 100%;
	background: #000;
}

/* ~~ 這是版面的欄位。~~ 

1) 欄位間隔只會置於 Div 的頂端或底部。這些 Div 內的元素在兩側會有欄位間隔，可讓您不需進行「方塊模型計算」。請記住，如果對 Div 本身加入任何側邊的欄位間隔或邊框，在計算「總」寬度時，就會將這些加入您定義的寬度。您也可以選擇移除 Div 中元素的欄位間隔，然後在其中放置沒有寬度的第二個 Div，並依設計所需放置欄位間隔。

2) 尚未為這些欄位提供邊界，因為它們全都是浮動的。如果必須加入邊界，請避免將其放在浮動方向的一側 (例如將右邊界放在設定為向右浮動的 Div 上)。在許多時候，您都可以改用欄位間隔。對於必須違反此規則的 Div，您應該在 Div 的規則中加入 "display:inline" 宣告，以防止某些版本的 Internet Explorer 將邊界加倍。

3) 因為可在文件中多次使用類別 (也可對單一的元素套用多個類別)，所以已為欄位指定類別名稱，而非 ID。例如，您可在必要時將兩個側邊列 Div 堆疊起來。如有需要，也可以將這些名稱輕鬆地變更為 ID (只要您在每份文件中只使用一次)。

4) 如果想要將導覽放在左方而非右方，只要將這些欄設定為往反方向浮動 (全部往左，而非全部往右)，它們就會以相反順序呈現。您不需要在 HTML 原始碼中移動 Div。

*/
.sidebar1 {
	float: right;
	max-width: 300px;/* 建議您使用最大寬度，如此版面在大型螢幕上就不致於過寬，讓行保持比較方便閱讀的長度。IE6 並不適用這項宣告。 */
	min-width: 180px;/* 建議您使用最小寬度，如此版面在大型螢幕上就不致於過窄，讓行在側欄中保持比較方便閱讀的長度。IE6 並不適用這項宣告。 */
	background: #CCCCCC;
	padding: 0px 0px 10px;
	margin: 0px;
	width: 20%;
	/* [disabled]border-left: 1px solid #666; */
}
.sidebar1 h3{
	background: #656565 url(../images/sidebar1_h3_bg.png) no-repeat -1px top;
	font: bold 15px/30px "微軟正黑體";
	color: #FFF;
	padding: 0px;
	height: 30px;
	text-indent: 10px;
	margin: 0px;
}
.sidebar1 ul{
	list-style: none;
	margin: 0px;
	padding: 0px;
}
ul.sidebarInstantInfo{
	list-style: none;
	padding-left: 10px;
	padding-bottom: 10px;
}
ul.sidebarInstantInfo li{
	font: 13px/25px "新細明體";
	height: 25px;
}
ul.sidebarInstantInfo li p{
	float: left;
	width: 85px;
	text-align: left;
	max-width: 150px;
	min-width: 40px;
	margin: 0px;
	padding: 0px;
	display: block;
}
ul.sidebarInstantInfo li a{
	color: #06C;
	text-decoration: underline;
	font: 13px/25px Arial, Helvetica, sans-serif;
}
.sidebarHotlink{
}
.sidebarHotlink a{
	background: url(../images/sidebarHotlink_btn_bg.png) repeat-x left top;
	font: 13px/30px "新細明體";
	display: block;
	height: 28px;
	text-decoration: none;
	text-align: center;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-left: 1px solid #CCC;
	border-top: 1px solid #FFF;
	padding: 0px;
	width: 98%;
	margin: 2px auto;
}
.sidebarHotlink a:hover{
	background: url(../images/sidebarHotlink_btn_bg_hover.png) repeat-x left top;
	color: #000;
	border-top: 1px solid #999;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
	border-left: 1px solid #999;
}

.content {
	padding: 10px 0 0px;
	min-width: 800px;/* 建議您使用最小寬度，如此版面在大型螢幕上就不致於過窄，讓行在側欄中保持比較方便閱讀的長度。IE6 並不適用這項宣告。 */
	float: left;
	margin: 0px;
	max-width: 90%;
	width: 80%;
	background: url(../images/content_lineRight_bg.png) repeat-y right top;
}
.content2 {
	padding: 10px 0;
	float: left;
	margin: 0px;
	width: 100%;
}


/* ~~ 這個群組選取器會在 .content 區域空間中提供清單 ~~ */
.content ul, .content ol { 
	padding: 0 15px 15px 40px; /* 這個欄位間隔反映出上方標題和段落規則中的右方間隔。當欄位間隔位於下方時，便可將清單中的其他元素間隔開來；當位於左方時，則可藉此建立縮排。這些動作均可依需要進行調整。 */
}

.content h1,
.content2 h1{
	font: bold 20px/30px "微軟正黑體";
	color: #000;
	margin: 0px;
	text-indent: 0px;
	width: auto;
	padding: 0px 0px 10px 20px;
}
.appSuccess{
	background: url(../images/Success_icon.png) no-repeat left top;
	height: 50px;
	width: 180px;
	margin-right: auto;
	margin-left: auto;
	font-size: 15px;
	line-height: 50px;
	padding-left: 55px;
	text-align: left;
}

.signOutSuccess{
	background: url(../images/Success_signOut_icon.png) no-repeat left top;
	height: 50px;
	width: 110px;
	margin-right: auto;
	margin-left: auto;
	font-size: 15px;
	line-height: 50px;
	padding-left: 65px;
	text-align: left;
}

/* ~~ 頁尾 ~~ */
.footer {
	padding: 10px 0;
	position: relative;/* 這會為 IE6 提供 hasLayout 以進行適當的清除動作 */
	clear: both; /* 這個 clear 屬性可以強制 .container 辨識欄結束於何處以及包含欄的位置 */
	border-top: 1px solid #CCC;
	font-size: 12px;
	color: #666;
}

/* ~~ 其他 float/clear 類別 ~~ */
.fltrt {  /* 這個類別可用來讓元素在頁面中浮動，浮動的元素必須位於頁面上相鄰的元素之前。 */
	float: right;
	margin-left: 8px;
}
.fltlft { /* 這個類別可用來讓元素在頁面左方浮動，浮動的元素必須位於頁面上相鄰的元素之前。 */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* 這個類別可放置在 <br /> 或空白的 Div 上，當做接在 #container 內最後一個浮動 Div 後方的最後一個元素 (如果從 #container 移除或取出 #footer) */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
	margin: 0px;
	padding: 0px;
}
