/* --------------------------------------------------
預設值
----------------------------------------------------*/

* {
	margin:0px;
	padding:0px;
	color: #4d4d4d;
	font-family: Verdana, "新細明體", "細明體", sans-serif;
	font-weight: normal;
	font-size: 12px;
}
input,select{
	vertical-align:middle;
	margin-right: 1px;
	margin-left: 1px;
}/* 輸入欄位和欄位名稱文字對齊 */
img {border:0px;}
div img { vertical-align: bottom; 
}

/* *img {border:0px;display: block;}/* for IE6 */
ul { list-style:none; }
li {vertical-align: bottom;}
.floatleft{float:left;}
.floatright{float:right;}
.clear{
	clear:both;
	margin: 0px;
	padding: 0px;
}
.center{ text-align: center; }
.left{ text-align: left; }
.right{ text-align: right; }
.bold{ font-weight: bold; }

input.txt{
	background-color: #f5f5f5;
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: #dddddd;
	border-left-color: #dddddd;
	height: 1.5em;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
}
a.acces_c {
	font-size: 8px;
	color: #FFFFFF;
	float: left;
	position: relative;
	left: -10px;
}
a.acces_l {
	font-size: 11px;
	color: #66cdda;

}
a.acces_o {
	font-size: 11px;
	color: #f8f8f8;
	
}
#copyright p, #copyright a{
	font-size: 12px;
	line-height: 1.8em;
	color: #4d5756;
	padding: 0;
	text-decoration: none;
}
#copyright a:hover{ text-decoration: underline; }

/* --------------------------------------------------
固定置中版型設定 
----------------------------------------------------*/

body {
	text-align: center; /* 這樣會讓容器在 IE 5* 瀏覽器內置中對齊。然後，文字會在 #container 選取器中設定為靠左對齊預設值 */
	background-image: url(../images/bg_body.gif);
	background-repeat: repeat-x;
	background-color: #aeded9;	
}
#container {
	width: 1003px;  /* 使用比完整 800px 少 20px 的寬度會允許使用瀏覽器邊框並且避免水平捲軸出現 */
	margin: 0 auto; /* 自動邊界 (搭配寬度) 會讓頁面置中對齊 */
	text-align: left; /* 這樣做會覆寫 Body 元素上的 text-align: center。 */
}
.bg_Index {
	background-image: url(../images/bg_index.jpg);
	background-repeat: no-repeat;
}

#leftside {
	float: left;
	width: 283px;
	text-align: right;
	padding-top: 126px;
	z-index: 1000;
}

#content {
	float: left;
	width: 720px;
}

#footer {
	float: left;
	width: 100%;
	background-color: #aeded9;
	padding-top: 36px;
	padding-bottom: 36px;
}

#content_inner_main {
	padding-right: 65px;
	padding-left: 5px;
	padding-bottom: 20px;
	overflow:hidden;
	padding-top: 53px;
}

#leftside h1 { margin-bottom: 38px; }

#functionlink {
	text-align: right;
	padding-right: 55px;
	padding-top: 17px;
	padding-bottom: 16px;
	padding-left: 20px;
	float: right;
	width: 330px;

}

#functionlink li { display: inline; }

#logopage {
	text-align: left;
	padding-top: 0px;
	padding-bottom: 1px;
	padding-left: 1px;
	clear: both;

}

#functionlink li a {
	float: left;
	background-image: url(../images/head_funlink.gif);
	background-repeat: no-repeat;
	margin-left: 10px;
	padding-left: 15px;
	background-position: 0px 2px;
	font-size: 11px;
	color: #080808;
	text-decoration: none;
	display: block;
}

#nav {
	padding-top: 0px;
	padding-left: 1px;
	float: left;
	padding-right: 0px;
	padding-bottom: 0px;
	z-index: 1000;
}

#nav li { float: left; }
#nav li a {
	display: block;

}

#copyright {
	float: left;
	margin-right: 25px;
	margin-left: 30px;
}

#footer_in { margin-left: 76px; }

#gotop {
	text-align: right;
	margin-top: 20px;
}

#language {
	padding-top:15px;
	padding-right: 20px;
}

#iconlink {
	float: left;
	width: 213px;
	background-image: url(../images/bg_iconlink.gif);
	background-repeat: no-repeat;
}

#iconlink li {
	float: left;
	padding-right: 5px;
	padding-bottom: 6px;
	margin: 0px;
	padding-top: 0px;
	padding-left: 0px;
}

#center {
	float: left;
	width: 450px;
}

#flahlink {
	float: right;
	text-align: right;
	padding-right:2px;
}

#outlink {
	background-image: url(../images/ind_bg_outlink.gif);
	background-repeat: repeat-x;
	float: left;
	vertical-align: middle;
	margin-top: 5px;
	margin-left:30px;
	text-align: center;
	width: 93%;
}

#outlink h2 {
	float: left;
	padding-top: 3px;
	padding-right: 10px;
	padding-left: 12px;
}

#outlink a { float: left; }

#outlink a img {
	padding: 3px;
	border: 1px solid #DBDBDB;
	margin-left: 2px;
	vertical-align: middle;
	margin-bottom: 7px;
	margin-top: 7px;
}

#rightside {
	float: right;
	width: 160px;
}

#searchtxtui label {
	display: block;
	margin-bottom: 12px;
}

#searchtxtui {
	padding-left: 16px;
	padding-bottom: 14px;
}

#montharea {
	padding-right: 15px;
	padding-left: 15px;
	background-image: url(../images/ind_bg_calarea.gif);
	background-repeat: no-repeat;
	background-position: center 18px;
	background-color: #FFFFFF;
}

#calendar h2 {
	padding-right: 10px;
	text-align: right;
	padding-top: 8px;
	padding-bottom: 8px;
}

#montharea p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 4px;
}

#montharea .week {
	color: #FFFFFF;
	text-align: center;
}

#montharea td {
	text-align: center;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing:-0.05em;
}

#montharea a {
	font-size: 10px;
	text-decoration: none;
	color: #000000;
}

#montharea a em {
	font-size: 10px;
	font-weight: bold;
	color: #91abba;
	font-style: normal;
	text-decoration: none;
}

#calendar {
	background-image: url(../images/ind_colbg.gif);
	background-repeat: repeat-y;
	padding-right: 5px;
	padding-left: 7px;
}

#montharea .today { background-color: #91abba; }

#montharea .today a { color: #FFFFFF; }

#newsletter {
	text-align: right;
	padding-right: 14px;
	background-image: url(../images/ind_colbg.gif);
	background-repeat: repeat-y;
	width: 150px;
}

#newsletter label {
	font-size: 12px;
	font-weight: bold;
	color: #4f4f4f;
	width: 42px;
	margin-right: 3px;
	text-align: right;
}

#newsletter h2 { padding-bottom: 10px; }

#newsletter .txt { margin-bottom: 3px; }

#newsletter a {
	font-weight: bold;
	color: #88beb7;
	text-decoration: underline;
}

#outlink h2 img {
	padding-top: 7px;
	padding-bottom: 7px;
}

#newsletter #btn {
	padding-top: 6px;
	padding-bottom: 11px;
	text-align: right;
}
.tag{
	position:absolute;
	top: 0px;
	left: 122px;
	z-index: 1;
}
#main_content_1, #main_content_2{
	background-color: #FFFFFF;
	padding-top: 10px;
	padding-bottom: 26px;
	position: absolute;
	top: 26px;
	left: 0px;
	width: 100%;
	z-index: 1;
}

#content_in_allnew {
	left: 5px;
	top: 0px;
	height: 270px;
	width:455px;
}


#centerdown {
	position: relative;
	z-index: 1;
	padding-left:30px;
}

#tablelist td {
	background-image: url(../images/bg_tddot.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	padding: 7px;
}

#tablelist a {
	color: #626262;
	text-decoration: none;
}
#tablelist a:hover{
	color: #000000;
	text-decoration: none;
}

.date {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #adadad;
}
/*---------------------------------------------------------
導覽列下拉選單
----------------------------------------------------------*/
 div.multi_drop_menus * {
 margin:0; padding:0;     /* removes margin and padding off all list elements */
 }
/* SET YOUR PREFERENCES!!! */
/* set your menu's font and colors here - the MENU MECHANICS  follow below */
div.multi_drop_menus {
	behavior:url(../scripts/csshover.htc);/* you must link to the hover.htc file for this menu to work in IE6 and earlier */
	/* need a copy? go to http://www.xs4all.nl/~peterned/htc/csshover.htc - copy the code into a text file and save it as csshover.htc */
 font-family: arial, sans-serif;   /* font family for menu */
	font-size:.8em;
	background-color:transparent;    /* colors the div - div fills the parent element for a horizontal menu - set to background-color:transparent; if not needed */
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 1px;
 }
div.multi_drop_menus ul {
 	/*border-left:1px solid #CCB;*/   /* creates dividing line to left of level 1's first menu item, revealing div color to left of menu */
	display:inline;						/* fixes margin-doubling bug in IE6 */
 	}

 div.multi_drop_menus a {
	color:#109e8c;                     		/* sets the color of all menu type */
	padding:0em;           		/*creates space top/bottom and left/right respectively around each menu item's text - set vert height in ems   */
 }
  div.multi_drop_menus li li a {
	color:#109e8c;
	padding: 8px;
 }
 div.multi_drop_menus a:hover {
 color:#000000;        				 /* type color of a hovered menu choice */
 }
div.multi_drop_menus ul li ul {
	width:122px;   						/* sets the width of menu levels 2 - 4 */

 }
div.multi_drop_menus li li {
	background-color:#FFFFFF; /* lines between menu choices - set to 0px if not wanted */
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #eeeeee;
	margin-left: -7px;
	background-image: url(../images/head_navdrop.gif);
	background-repeat: no-repeat;
	background-position: 107px 12px;
	padding-right: 8px;
	padding-left: 8px;

 }

div.multi_drop_menus.transparent ul ul li {
 /* note: the lower the value, the greater the transparency */
  opacity:0.9; /* CSS3 - range 0 to 1 */     
  -moz-opacity:0.9; /* Firefox- range 0 to 1  */
  filter:alpha(opacity=90);  /* IE- range 0 to 100  */
  }
/* ADDITIONAL PREFS FOR VERTICAL MENU - NO NEED TO TOUCH THESE IF LEVEL 1 IS HORIZONTAL */
div.multi_drop_menus.vertical ul {
 border-top:1px solid #CCB;     /* set the border-top of level 1 of the vertical menu - broken out separately so it can be different from top border of other levels */
 }
div.multi_drop_menus.vertical li {
 border-bottom:1px solid #CCB;  /* adds horizontal lines between menu choices - overrides main setting above for this feature */
 }
div.multi_drop_menus.vertical ul ul  {
 border-top:1px solid #CCB;       /* set the border-top of levels 2 - 4 of a vertical menu - set to 0 to remove */
 top:-1px;            /* set to negative value of border-top for perfect pop-out alignment - set to 0 if border is 0 - don't remove!*/
 }
 
/* end vertical menu preferences */
/* END MENU PREFERENCES */
 
/* YOU ARE STONGLY ADVISED NOT TO MODIFY THE CODE THAT FOLLOWS : ) */
/* the menu mechanics start here */
div.multi_drop_menus {
	float:left;
 	width:100%;
	}
div.multi_drop_menus ul {
 float:left; /* makes ul wrap li */
font-size:1em; /* prevents inheritence from maiin text style sheet */
}
div.multi_drop_menus li {
	float:left;  /*causes the list to align horizontally instead of stack */
	list-style-type:none; /* removes the bullet off each list item */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	z-index: 1000;
 }
div.multi_drop_menus a {
 display:block; /* makes link fill li so entire area is "hot" */
 text-decoration:none;  /* removes the underlining from the links */
 }
/* the horizontal menu ends here */
/* the drop-downs starts here */
div.multi_drop_menus ul li ul { 
 position:absolute;     /* positions the drop-down ul in relation to its relatively positioned li parent */
 border:0;         			/* stops inheritance from level 1 ul */
 margin-left:0px;        /* stops inheritance from level 1 ul */
 
 }
div.multi_drop_menus ul li ul li {
 width:100%;
 padding:0; /* stops inheritance */
 border-left:0; /* stops inheritance */
 border-right:0; /* stops inheritance */
 }
div.multi_drop_menus ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div.multi_drop_menus ul li:hover ul {
	display:block; /* shows the drop-down when the menu is hovered */
	z-index:1000; /* Safari needs this to display menu on top of other page elements */
	} 
/* pop-outs starts here */
0
 
/* extra styles for the vertical menu */
div.multi_drop_menus.vertical ul {
 border-left:0px; /* removes the border of the level 1 ul that can be used in the horizontal menu */
 margin-left:0;         /* removes left margin that is available on horizontal menu */
 }
.vertical ul { /* took off the id so the ul ul width setting in prefs was more specific */
 width:100%; 
}
div.multi_drop_menus.vertical li {
 position:relative; /* positioning context for the level 2 menu */
 width:100%;         /* set width of level 1 menu - MUST match left value in ul ul selector below */
 clear:left; /* makes the main menu stack - note: turning off floating (alternative way to create stacking) causes spacing problems in IE */
 border-right:0; /* removes right borders used by horiz level 1 */
}
div.multi_drop_menus.vertical ul ul  {
 position:absolute; /* make ul position relative to parent li for all menu levels */
 left:100%;         /* align level 2 with level 1 - MUST match li width in selector above */
 top:-1px; /* aligns the level 2 pop-out */
 }
/* levels 2 -4 width */
div.multi_drop_menus.vertical li li {

}
div.multi_drop_menus.vertical ul ul ul {
 left:100%;          /* align level 2 with level 3 and 3 with 4 - MUST match li width in selector above */
 }
 /* END MENU MECHANICS */
 
/* inevitable hacks for IE6  and < */
* html div.multi_drop_menus {
 z-index:1; /* IE6 won't respect high z-index on abs-pos'd child (ul li ul) without this on its parent rel-pos'd element */
 }				/* see http://www.last-child.com/conflicting-z-index-in-ie6/ */
* html div.multi_drop_menus ul li ul {
  z-index:400; /*ensures menu is on top of other page elements */
 }
* html div.multi_drop_menus a {
/* cannot find a way to get the top level 'a' to fill the unwidthed menu choices without drop-down in IE : ( */
} 
* html div.multi_drop_menus.vertical a {
/* now hasLayout in IE - works on the vert menu as container has width */
 zoom:100%;
 } 
 * html div.multi_drop_menus ul ul a { /* second level of horiz menu */
 zoom:100%;  /* now IE 'haslayout" - IE now makes background hot in horizontal menus */
 } 
  /* info on haslayout: 
  http://www.sitepoint.com/forums/showpost.php?p=2041209&postcount=24
  http://onhavinglayout.fwpf-webdesign.de/hack_management/
   */
 /* END OF LIST-BASED MENU */
 
/*---------------------------------------------------------
導覽列下拉選單2
----------------------------------------------------------*/
#nav * {
	margin:0; padding:0; /* remove the default margins and padding on the menu elements */
	}
#nav {
	behavior:url(../../lib/js_tools/csshover.htc);
	font-family:lucida, arial, sans-serif;
	/*border:1px solid #686;*/
	float:left; /* make the div enclose the ul */
	padding-left: 1px;
	}
#nav ul  {   
	/* border:2px solid red; */   /*  show the container */
	float:left; /* make the ul enclose the li's */
	}
#nav li  {   /* this div represents the container (left column, perhaps) that you drop the menu into - the menu will expand horizontally to fill the space available */
	/* border:2px solid blue; */   /* show the container */
	/* border-left:2px solid #ACA; a divider between the list items */
	list-style-type:none; /* removes the bullet off each list item */
	float:left; /* make the list items sit side by side */
	position:relative; /*positioning content for the nested ul (the drop-down) */
	background-color:#ffffff;
	z-index: 1000;
	}
#nav a {
	display:block; /* make the link fill the list item correctly */
	/*padding:.3em 6px;  pad the link text away from the edge of the list item */
	color:#a9a9a9; /* different text color for the hover */
	background-color:#3d3d3d;/* different background color for the hover */
	text-decoration:none;
	}
#nav li li a {
	background-image: url(../images/head_navdrop2r.gif);
	background-repeat: no-repeat;
	background-position: 97px 11px;
	padding-top: 6px;
	padding-right: 8px;
	padding-bottom: 6px;
	padding-left: 12px;
	line-height: 1.4em;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #353535;
	letter-spacing: 0px;
	}

#nav a:hover {
	background-image: url(../images/head_navdrop2.gif);
	background-repeat: no-repeat;
	background-position: 97px 11px;
	color:#4ea995; /* different text color for the hover */
	/*background-color:#c6e3d2; different background color for the hover */
	}
#nav .nav_a a{
	color:#a9a9a9;
	}
#nav .nav_a a:hover{color:#ffffff;
background-color:#5b8e7c;
border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #406457;
/*	background-image: url(../images/nav_a_hover.gif);
	background-repeat: no-repeat;
	background-position: 0px;*/
	}
	
#nav .nav_b a:hover {
	
	/*color:#151210;*/
	color:#ffffff;
background-color:#55798f;/* different background color for the hover */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #436071;
	}
#nav .nav_bs a:hover {
	background-image: url(../images/head_navdrop2.gif);
	background-repeat: no-repeat;
	background-position: 97px 11px;
	/*color:#151210;*/
	color:#ffffff;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #436071;
	
background-color:#55798f;/* different background color for the hover */
	}	
#nav .nav_c a:hover {
	/*color:#151210;*/
	color:#ffffff;
background-color:#b66257;/* different background color for the hover */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #965148;
	}
#nav .nav_d a:hover {
	/*color:#181916;*/
	color:#ffffff;
background-color:#8a985a;/* different background color for the hover */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #616b3f;
	}
#nav .nav_e a:hover {
	/*background-color:#d8c589; different background color for the hover */
background-color:#a4863d;
/*color:#211e15;*/
color:#ffffff;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #735e2b
	}
#nav .nav_f a:hover {
    background-color:#5ca89f;
    color:#ffffff;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #3e716b;
	}

#nav li ul {
	position:absolute; /* positions the drop-down relative the parent li positioning context */
	display:none; /* hides the drop-down (revealed when hovered - see below) */
	width:112px; /* set the width of the drop-down */
	left:-6px;
	z-index: 1000;
	border-bottom-width: 7px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	border-top-width: 7px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	padding-right: 14px;
	}
#nav li:hover ul {
	display:block; /* display the menu when hovered */
	}
#nav li ul li {
	width:100%;
	border-right-width: 7px;
	/*border-bottom-width: 1px;*/
	border-left-width: 7px;
	border-right-style: solid;
	/*border-bottom-style: solid;*/
	border-left-style: solid;
	border-right-color: #FFFFFF;
	/*border-bottom-color: #FFFFFF;*/
	border-left-color: #FFFFFF;
	/*padding-left:7px;*/
	}
#nav li ul li:first-child {
	border-left-width: 7px;
	border-left-style: solid;
	border-left-color: #FFFFFF;
	}
/* a hack for IE 6 - doesn't understand first-child \*/
* html #nav li ul {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	}
#content_in_allnews h2 {
	font-size: 13px;
	font-weight: bold;
}

#quicklink {
	padding-left: 130px;
	color: #88beb7;
	margin-bottom: 1em;
	
}

#quicklink a {
	color: #88beb7;
	text-decoration: none;
	margin-right: 1em;
	margin-left: 1em;
}
#quicklink a:hover {
	color: #51938A;
	text-decoration: underline;
}


#newsletter #errormsg p{
	font-size: 11px;
	font-weight: normal;
	color: #FF0000;
	line-height: 1.3em;
}
