/*Global Styles Styles*/

/*Html5 tags for all browsers*/
header, nav, article, footer, address {  
    display: block;  
}

/* tags */

html,body {
	font-family : Arial, sans-serif;
	font-size : 12px;
	padding : 0px;
	margin : 0px;
	background-color: #BBB;
	color : #000;
	height:100%; /* needed for container min-height */
}

body {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	height:auto !important; /* real browsers */
	//height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
    background-color: #DDD;
    background-image:url("img/bkg.png") ;
    width:760px;
    margin-left:auto;
    margin-right:auto;
}

a {
	color : #369;	
}

img {
	border : 0;
}

hr{ 
	display: none;
}

h1 {
	font-weight : bold;
	font-size : 28px;
	line-height : 28px;
	margin-top : 0px;
	margin-bottom : 18px;
}

h2 {
	font-weight : bold;
	font-size : 18px;
	color : #336699;
	margin-top : 10px;
	margin-bottom : 8px;
}

h3 {
	font-weight : bold;
	font-size : 14px;
	margin-top : 10px;
	margin-bottom : 8px;
}

h4 {
	font-weight : bold;
	font-size : 12px;
	margin-top : 0px;
	margin-bottom : 4px;
}

/*Header Styles*/

header{ 
	text-align:left;
	margin-left:14px;
	margin-right:14px;
	color: #369; 
	background-color:#FFF;
}

header h1{
	margin:0;
	padding:10px 20px;
	font-weight: bold;
	font-size : 16px; 
	height: 64px;
	line-height: 64px;
	vertical-align: middle;
}

header nav ul{
	color: #DDD;
	font-weight: bold;
	font-size: 11px; 
	border-top: 1px solid #147;
	border-bottom: 1px solid #147;
	line-height:24px;
	letter-spacing: 1px;	
	margin:0;
	padding: 0 0 0 62px;
	height: 24px;
	list-style: none;
	background-color: #336699;
	background-image:url("img/btn_bkg.png");
}

header nav a {	
	color: #DDD;
	text-decoration: none;
}

header nav  a.selected{	
	color: #8AD;	
}

header nav li {
	float: left;
	position: relative;
	border-left: 1px solid #147;
	border-right: 1px solid #147;
	height: 24px;
	width:100px;
	margin-right: -1px;
	text-align: center;
	background-image:url("img/btn_bkg.png");
}

header nav li ul {
	display: none;
	margin:0;
	padding:0;
	position: absolute;
	top: 25px;
	left: -1px;	
}

/*
#navigation li>ul {
	top: auto;
	left: auto;
}
	
header nav li:hover ul, #navigation li.over ul {
	display: block;

}

header nav li li {
	display: block;	
	background-color: #336699;	
	border-top: 1px solid #147;
	border-bottom: 1px solid #147;
	margin-top: -1px;
	z-index: 99;
}
*/

header nav li:hover a, #navigation li.over a{
	display: block;
    width: 100%;
}

header nav a:hover {
	background-color: #69C;
	color: #fff;
	background-image:url("img/btn_hvr.png");
}

header hr, .hr{
	display:block;
	height: 32px;
	background: url(img/naviback.png);
	background-color: #DDD;
	border: 0;
	margin: 0;
	padding: 0;	
}

.zh{  
	background: url(img/cn.png) no-repeat;
	background-position: 0px 2px;
}
  
.en{  
	background: url(img/gb.png) no-repeat;
	background-position: 0px 2px;
}

#language {
	position:absolute; /* needed for top positioning*/
	top: 48px;
	right:12px;    
	text-align : left;	
	width: 4em;
	margin: 10px 0 10px 0px;
	padding-left: 20px;
	text-decoration: none;
}

/* Content styles*/

#main {
	margin-left:24px;
	margin-right:24px;
	padding-left:12px;
	padding-right:12px;
	padding-top:12px;
	text-align: justify;	
	overflow : auto;
	padding-bottom: 48px; /* bottom padding for footer */
}

article  p {
 text-align: justify;
 margin-bottom:12px;
}

/* footer */

footer{
	position:absolute;
	bottom:0; /* stick to bottom */
	font-size : 10px;
	width : 732px;
	margin-left: 14px;
	margin-right: 14px;
	margin-bottom: 0px;
	padding-bottom: 8px;
	padding-top: 8px;  
	text-align : center;
	border-top : 1px solid #CCC;
	background-color:#FFF;
}

footer p{
	margin:0;
}

#homelink, #toplink{   
	position:absolute;
	bottom:16px; /* stick to bottom */
	width : 64px;
}

#homelink{
	left:0;
}

#toplink{
	right:0;
	background: url(../img/top_pf.gif) no-repeat;
	background-position: 25% 50%;  
}

/* tables */
#prod{
	margin-left:14px;
	margin-right:14px;
	margin-top: 0px;
	padding-left:66px;
	padding-right:66px;
	padding-top:0px;
	text-align: justify; 
	background-color: #FFF;
}

#prod table{
z-index :10;
}

.prod{
	background-color: #e2e6ea;
	border-color: #999999;
	border-width: 1px;
	border-spacing: 0px;
	border-style: solid;
	padding: 6px;
	text-align: center;
}

#tab_news{
	width: 100%;
}

#tab_news tr{
	line-height : 20px;
}

/* others */

.map{ 
	border: 1px solid #69C;
	margin:0px 0px 0px 2px;
}

.contactbox{
	clear:left;
	padding:0;
	margin:0 2px 0 0;
	width: 290px;
	float: left;
}

.contactbox h2, .contactbox h4{
	width: 290px;
	margin-top:0;
}

.contactbox h4{
	line-height: 20px;
	}

.contactbox p, .contactbox address{
	width: 280px;
	margin-top:0;
}

#img_right{
	margin-left: 36px;
	border: 1px solid #69C;
}

#img_left{
	margin-left: 14px;
	border: 1px solid #69C;
}
