@IMPORT url("../common.css");

/* Base */
body {
	background: #ffffff url("img/top_bar.png") repeat-x ;
	margin: 0;
	font-family: trebuchet ms, microsoft jhenghei, lihei pro, wenquanyi micro hei;
}
a {
	text-decoration: none;
	color: black;
}
a:hover {
	text-decoration: underline;
}



/* All Major Devisions */
.header, .menubar, .memberbar, .container, .brands, .footer {
}



/* Header */
.header {
	width: 980px;
	margin: 0 auto;
}
.header .sitelogo {
	float: left;
	width: 100px;
	height: 118px;
	margin: 10px 0 0;
	background-image: url("img/eglogo.png");
	background-repeat: none;
}
.header .links {
	float: right;
	margin: 10px 0 0;
}
.header .links h4{
	float: left;
	display: inline;
	margin: 4px 0;
	padding: 0 12px;
	border-left: 1px solid #AAA;
	font-size: 12px;
	font-weight: normal;
	color: #888;
}

.header .lang {
	float: left;
	display: block;
	margin: 2px 12px 0 0;
	font-size: 14px;
	font-weight: normal;
}
.header .lang.en { background-position: 0px 0px; }
.header .lang.tc { background-position: -30px 0px; }
.header .lang.sc { background-position: -60px 0px; }
.header .lang.en:hover, .header .lang.en.on { background-position: 0px -55px; }
.header .lang.tc:hover, .header .lang.tc.on { background-position: -30px -55px; }
.header .lang.sc:hover, .header .lang.sc.on { background-position: -60px -55px; }

.header form {
	display: inline;
}
.header .searchbox {
	float: left;
	display: block;
	width: 122px;
	height: 14px;
	margin: 0;
	border: 0;
	padding: 4px;
	background-image: url("img/top-searchbox-bg.png");
	background-repeat: none;
	background-position: 0px 0px;
	background-color: transparent;
}
.header .searchbtn {
	float: left;
	display: block;
	width: 14px;
	height: 14px;
	margin: 4px;
	border: 0;
	background-image: url("img/top-search-btn.png");
	background-repeat: none;
	background-position: center;
	background-color: transparent;
	color: transparent;
}

.header .cartlink {
	float: left;
	display: block;
	height: 55px;
	margin: 0 0 0 10px;
	background-image: url("img/viewcart.png");
	background-repeat: none;
}	
.header .cartlink.en { width: 76px; }
.header .cartlink.tc { width: 87px; }
.header .cartlink.sc { width: 87px; }
.header .cartlink.en { background-position: -0px -0px; }
.header .cartlink.tc { background-position: -90px -0px; }
.header .cartlink.sc { background-position: -190px -0px; }
.header .cartlink.en:hover { background-position: -0px -55px; }
.header .cartlink.tc:hover { background-position: -90px -55px; }
.header .cartlink.sc:hover { background-position: -190px -55px; }


.errmsg {
	color: red;
}

/* Menu Bar */
.menubar {
	list-content: none;
	clear: right;
	float: right;
	width: 80%;
	margin: 40px 0 0;
	border-bottom: 1px solid #CCC;
}
.menubar li {
	float: left;
	display: block;
}
.menubar li a {
	display: block;
	padding: 5px 0;
	color: #1060B0;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}
.menubar li a:hover {
	color: #000;
}

/* Member Bar */
.memberbar {
	margin: auto;
	/*width: 980px;*/
}
.memberbar p {
	float: right;
	display: block;
	margin: 0;
	height: 24px;
	text-align: right;
	font-size: 12px;
	font-weight: bold;
	color: #000000;
}
.memberbar p.loggedin {
	/*background: #ebdf95 url(img/member-bar-left.png) no-repeat left top;*/
	color: #000000;
}
.memberbar p.prefix {
	float: right;
	/*background: url(img/member-bar-right.png) no-repeat right top;*/
	margin: 0 8px 0 0;
	width: 4px;
	height: 24px;
	padding: 0;
}
.memberbar p .greeting {
	display: inline-block;
	margin: 3px 4px;
	height: 18px;
}
.memberbar p a {
	display: inline-block;
	background-image: url(img/navmenu-dot.png);
	background-repeat: no-repeat;
	background-position: left 5px;
	padding: 0 0 0 18px;
	margin: 3px 4px;
	height: 18px;
	color: #000;
}
.memberbar p.loggedin a {
	color: #000;
}

/* Container */
div.container {
	width: 940px;
	padding: 50px 10px 0;
	margin: auto;
}

div.container div.maincol,
div.container div.leftcol,
div.container div.rightcol {
	float: left;
	min-height: 1px;
}
div.container div.maincol {
	margin: 0 10px 0;
	overflow: hidden;
}
div.container div.maincol { width: 480px; }
div.container div.leftcol { width: 220px; }
div.container div.rightcol { width: 215px; }
div.container div.maincol.leftcol { width: 700px; }
div.container div.maincol.rightcol { width: 695px; }

div.container div.maincol h1 {
	clear: left;
	font-family: tahoma, wenquanyi micro hei, lihei pro, microsoft jhenghei;
	font-size: 20px;
	text-shadow: #DDD 2px 2px 3px;
}
div.container div.maincol h4 {
	clear: left;
	font-family: tahoma, wenquanyi micro hei, lihei pro, microsoft jhenghei;
	font-size: 14px;
	text-decoration: underline;
}
div.container .box {
	margin: 0 0 10px;
}



/* Brands */
.brands {
	width: 920px;
	margin: auto;
	padding: 20px;
	text-align: center;
}
.brands a {
	margin: 0 5px;
}
.brands a img {
	vertical-align: middle;
	width: 100px;
}



/* Footer */
.footer {
	border-top: 1px solid #CCCCCC;
	background-image: ;
	background-repeat: none;
	background-position: left bottom;
	width: 980px;
	height: 60px;
	margin: 20px auto;
}
.footer a.reflink {
	float: left;
	margin: 20px 0 0;
	padding: 0 10px;
	/*border-left: 2px solid #CCDDFF;*/
	font-size: 12px;
}
.footer a.reflink:first-child {
	margin-left: 10px;
	border-left: 0;
}
.footer .sitecopy {
	float: right;
	margin: 20px 20px 0;
	font-size: 12px;
	color: #7f7f7f;
}
.footer .sitecopy a {
	float: none;
	margin: 0;
}

/* refinfo content */
.refinfo {
	font-size: 12px;
	text-align: justified;
}


/* Directory Flow Bar */
ul.dir_flow {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.dir_flow li {
	float: left;
	display: block;
	background-image: url("img/to.png");
	background-repeat: no-repeat;
	background-position: right center;
	margin: 0 5px 5px 0;
	padding: 0 10px 0 0;
	font-size: 12px;
}
ul.dir_flow li a {
	color: #D50;
}
ul.dir_flow li a:hover {
	color: #000000;
}
ul.dir_flow:after {
	clear: left;
	margin-top: 10px;
}


ul.pages {
	clear: both;
	float: right;
	list-style: none;
	border: 1px solid #8fd3ef;
	margin: 2px 4px;
	padding: 1px;
}
ul.pages:hover {
	border-color: transparent;
}
ul.pages li {
	float: left;
	display: block;
	width: 17px;
	height: 17px;
	margin: 0 1px 0;
	text-align: center;
	font-size: 12px;
	color: #57bde7;
}
ul.pages li a {
	display: block;
	width: 15px;
	height: 15px;
	border: 1px solid transparent;
	text-decoration: none;
	color: #57bde7;
}
ul.pages li.current a {
	border-color: transparent;
	font-weight: bold;
	color: #000000;
}
ul.pages:hover li a {
	border-color: #8fd3ef;
	color: #187da6;
}
ul.pages li a:hover {
	border-color: #fe0077;
	color: #be0059;
}



/* article area */
div.article h4 {
	background: url("img/articlebg_lt.png") left top no-repeat;
	height: 40px;
	margin: 0 -40px;
	padding: 7px 15px;
	font-size: 18px !important;
	color: #57bde7;
}
div.article {
	background: url("img/articlebg_rb.png") right bottom no-repeat;
	padding: 0 40px 40px;
	text-align: justify;
	font-size: 13px;
}



/* tab panel */
.tabpanel ul.tabs,
.ui-tabs ul.ui-tabs-nav {
	list-style: none;
	margin: 0;
	height: 26px;
	padding: 0;
	overflow: visible;
}
.tabpanel ul.tabs li,
.ui-tabs ul.ui-tabs-nav li {
	float: left;
	background-image: url("img/tabontop30.png");
	background-repeat: no-repeat;
	background-position: right -30px;
	margin: 0 3px 0 0;
	height: 26px;
	
}
.tabpanel ul.tabs li a,
.ui-tabs ul.ui-tabs-nav li a {
	background-color: #FFF;
	background-image: url("img/tabontop30.png");
	background-repeat: no-repeat;
	background-position: left -30px;
	display: block;
	border-bottom: 0;
	margin: 0 5px 0 0;
	height: 20px;
	padding: 3px 3px 3px 8px;
	font-size: 12px;
	font-weight: bold;
	color: #999;
}
.tabpanel ul.tabs li.selected,
.ui-tabs ul.ui-tabs-nav li.ui-tabs-selected {
	background-position: right -0px;
	height: 27px;
}
.tabpanel ul.tabs li.selected a,
.ui-tabs ul.ui-tabs-nav li.ui-tabs-selected a {
	background-position: left -0px;
	height: 21px;
	color: #2060B0;
}
.tabpanel .tabcontent {
	border: 1px solid #2060B0;
}
.ui-tabs .ui-tabs-hide {
	display: none;
}


/* answer buttons */
.answers {
	text-align: right;
}
.answers input {
	cursor: pointer;
}
input.submit {
	background-image: url("img/submit_btn.png");
	background-repeat: no-repeat;
	color: transparent;
	width: 127px;
	height: 30px;
	border: 0;
}
input.submit.en { background-position: -260px 0px; }
input.submit.sc { background-position: -130px 0px; }
input.submit.tc { background-position: -0px 0px; }

input.home {
	background-image: url("img/btn_home.gif");
	background-repeat: no-repeat;
	color: transparent;
	width: 78px;
	height: 22px;
	border: 0;
	margin: 10px;
}
input.home.en { background-position: -0px -0px; }
input.home.sc { background-position: -0px -44px; }
input.home.tc { background-position: -0px -22px; }

input.agree,
input.disagree {
	background-image: url("img/agree_disagree_btn.png");
	background-repeat: no-repeat;
	color: transparent;
	width: 127px;
	height: 30px;
	border: 0;
	margin: 10px;
}
input.agree.en { background-position: -260px -0px; }
input.agree.sc { background-position: -130px -0px; }
input.agree.tc { background-position: -0px -0px; }
input.disagree.en { background-position: -260px -30px; }
input.disagree.sc { background-position: -130px -30px; }
input.disagree.tc { background-position: -0px -30px; }

input.ok {
	background-image: url("img/ok_btn.png");
	background-repeat: no-repeat;
	color: transparent;
	width: 127px;
	height: 30px;
	border: 0;
	margin: 10px;
}
input.ok.en { background-position: -260px -0px; }
input.ok.sc { background-position: -130px -0px; }
input.ok.tc { background-position: -0px -0px; }

input.retry {
	/*background-image: url("img/btn_retry.gif");*/
	background-image: url("img/btn_back.gif");
	background-repeat: no-repeat;
	color: transparent;
	width: 78px;
	height: 22px;
	border: 0;
	margin: 10px;
}
input.retry.en { background-position: -0px -0px; }
input.retry.sc { background-position: -0px -44px; }
input.retry.tc { background-position: -0px -22px; }

.btn_next {background:url(img/btn_next.gif) no-repeat; width:78px; height:22px; margin-left:10px; display:block;}
.btn_next.sc {background-position: 0 -44px}
.btn_next.tc {background-position: 0 -22px}
.btn_back {background:url(img/btn_back.gif) no-repeat; width:78px; height:22px}
.btn_back.sc {background-position: 0 -44px}
.btn_back.tc {background-position: 0 -22px}

table .hint {
	color: gray;
}