/* CSS Document */

body {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	background-color: #262626;
}
h1 {
	font-size: 150%;
}
h2 {
	font-size: 120%;
}
#container {
	width: 750px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	overflow: hidden; /* Fix Internet Explorer and the Expanding Box Problem */
}

/* @group header */

#header {
	height: 70px;
	padding: 0 10px 0 0;
}
.en #logo {
	background-image: url(../images/logo_en_381x67.gif);
	width: 385px;
}

#logo{
	background-image: url(../images/logo_230x67.gif);
	background-repeat: no-repeat;
	width: 230px;
	height: 67px;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
}

/* @group mainNav */

/* 設定首頁及關於我們顯示選取中，字體黑色 */
#home #mainNav .home a,
#contact #mainNav .contact a {
	color: #000000;
	text-decoration: none;
}
#mainNav {
	float: right;
	list-style-type: none;
	padding: 0px;
	margin-top: 25px;
	margin-right: 40px;
	margin-bottom: 0px;
	margin-left: 0px;
	display: inline;
}
#mainNav li {
	float: left;
}
#mainNav a {
	display: block;
	width: 70px;
	float: left;
	text-align: center;
	text-decoration: none;
	height: auto;
	color: #545454;
	font-size: 90%;
}
.en #mainNav a {
	width:70px;
}
#mainNav a:hover {
	color: maroon;
	text-decoration: underline;
}
#mainNav .contact {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: dotted;
	border-left-style: dotted;
}
#mainNav .english a{
	width: 65px;
}

/* @end */

/* @end */

/* @group title */

#title {
	height: 26px;
}
#titleNav {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 750px;
	height: auto;
	float: left;
}
#titleNav li {
	float: left;
}
#titleNav a {
	display: block;
	float: left;
	width: 250px;
	height: 26px;
	line-height: 26px;
	color: #ebebeb;
	background-color: black;
	text-decoration: none;
	text-align: center;
	font-size:120% ;
}
#titleNav .products a {
	width: 248px;
	border-left: 1px solid #3f3f3f;
	border-right: 1px solid #3f3f3f;
}

/* @end */

/* @group mainContent */

#mainContent {
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background: #FFFFFF;
}
#mainContent h1 {
	color: maroon;
	border-bottom: 1px dotted black;
	padding: 5px;
}
#mainContent h1 .date {
	font-size: 60%;
}
#mainContent .subtitle {
	background-color: #e5e5e5;
	color: #000;
}
#mainContent .contentFooter {
	border-bottom-width: 1px;
}
#mainContent a {
	text-decoration: none;
	color: #003399;
}
#mainContent a:hover{
	text-decoration: underline;
	color: maroon;
}
#mainContent li {
	padding-bottom: 10px;
}
#mainContent #contentLeft {
	width: 450px;
	float: left;
	padding-bottom: 20px;
}
#mainContent #contentRight {
	width: 220px;
	float: right;
	margin-bottom: 20px;
}

/* @end */

/* @group footer */

#footer { /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD;
	font-size: x-small;
	height: 80px;
	padding: 10px;
	clear: both;
}
#footer #footer_copyright {
	width: 390px;
	float: left;
}
#footer #footer_about {
	width: 330px;
	float: right;
}
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0;
}
#footer a {
	text-decoration: none;
	color: #3f3f3f;
}
#footer a:hover {
	text-decoration: underline;
	color: maroon;
}

/* @end */

/* @group others */

/* hide hack from Mac-IE5 \*/
* html .mybuggyelement { height: 1%; }
/* end hiding */

/* @end */
