/*------------------------------------------------------------

* Filename: base.css
* Version: 1.0.0 (2008-03-24) 
* Website: http://
* Author: Medialand digi-tech. Inc. 米蘭數位科技 
* Contact: service@mail.medialand.com.tw
* Description: layout elements


== STRUCTURE: ==============================
* Page width: 990 px
* Number of columns: 2 (uninclude index)

+ MAIN-WRAPPER
( wrapper-left-bg)
+ SUB-WRAPPER
	+ HEADER
	  + branding
  	    - main-nav
	    - top-nav
	    - logged(deppends)
	  - page-visual
	
	+ CONTENT
	  - sidebar
	  - main-article
	    - page-title
		 - page-content
	    - pagebar
	  
	  
	+ FOOTER
	  - address
	  - guildline
( wrapper-right-bg )
============================================
-------------------------------------------------------------*/

/* CONTAINER */
#main-wrapper {
	margin: 0 auto;
	text-align: left;
	width: 1030px;
	background: url(../images/wrapper_bg.gif) repeat-y left top;
}
#sub-wrapper {
	width: 990px;
	float: left;
	background: White;
}
.wrapper-left-bg {
	width: 20px;
	height: 690px;
	background: url(../images/bg/bg_wrapper_left.gif) no-repeat left top;
	float: left;
}
.wrapper-right-bg {
	width: 20px;
	height: 690px;
	background: url(../images/bg/bg_wrapper_right.gif) no-repeat left top;
	float: left;
}

/* HEADER */
#header {
	position: relative;
	z-index: 100;	
}
.branding {
	height: 77px;
	background: url(../images/bg/bg_header.gif) repeat-x left bottom;
	border-bottom: 3px solid #ff7010;
	position: relative;
}

/* CONTENT */
#content{
	background: url(../images/bg/bg_content.gif) repeat-y left top;
	padding: 0 20px 0 15px;
	margin-top: -60px;
	position: relative;
	z-index: 50;	
	height: 1%;
}

/* FOOTER */
#footer {
	clear: both;
	
}




/* RIGHT COLUMN: big one */
#main-article {
	float: right;
	width: 720px;
	padding-bottom: 20px;
	margin-top: 60px;
}

/* LEFT COLUMN */
#sidebar {
	float: left;
	width: 210px;	
	padding-bottom: 50px;
}


/* COPYRIGHT */

.tjoin-phone {
	position: absolute;
	right: 15px;
	top: 8px;
	width:341px;
	height: 29px;
	background: url(../images/dec/dec_phone.gif) no-repeat left top;
	text-indent: -9999px
}
.guildline {
	padding: 0 15px;
	position: relative;
	color: #b5b5b5;
}
.guildline a{
	margin: 0 5px;
	color: #b5b5b5;	
}
.guildline span {
	position: absolute;
	right: 15px;
}
/* PAGEBAR */
.pagebar {
	background: url(../images/dec/dec_hrline_dot.gif) repeat-x left top;
	text-align: right;
	padding: 4px 10px;
	margin: 10px 0;
	position: relative;
	clear: both;
}
.pagebar p {
	line-height: 20px;
	height: 20px;
}
.pagebar ul {
	position: absolute;
	right: 0;

}
.pagebar li {
	float: left;
}

.pagebar-num {
	text-align: center;
}
.pagebar-num a {
	color: #868686;
	padding: 2px 5px;
	margin: 0 5px;
	height: 10px;
}
.pagebar img {
	margin: 0 2px;
}
.pagebar-num a:hover {
	color: #ef8c00;
	text-decoration: none;
}
.pagebar-pre a {
	background: url(../images/icon/icon_arrow02_left.gif) no-repeat left 6px;	
	*background: url(../images/icon/icon_arrow02_left.gif) no-repeat left 5px;		
	padding-left: 10px;
}
.pagebar-next a {
	background: url(../images/icon/icon_arrow02_right.gif) no-repeat right 6px;
	*background: url(../images/icon/icon_arrow02_right.gif) no-repeat right 5px;	
	padding-right: 10px;	
}
.pagebar-pre a:hover {
	background-position: left -14px;
	*background-position: left -15px;	
}
.pagebar-next a:hover {
	background-position: right -14px;
	*background-position: right -15px;	
}
.back-btn a {
	width: 67px;
	height: 22px;
	display: block;
	position: relative;
	margin-right: 20px;
}
.back-btn a span {
	background: url(../images/btn/btn_back.gif) no-repeat left top;
	width: 67px;
	height: 22px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.back-btn a:hover span {
	background-position: left -22px;
}
.pagebar p.back-btn {
	float: right;
	margin: 0 -15px 0 0;

}



/* HEADER */
#header a:link, #header a:visited {
	color: #595959;
	margin: 0 5px;
}
#header a:hover {
	color: Black;
}