
/* 
 ----------------------------------------------------------------------------
  Please check for cross-browser compatibility prior to making changes
  MINIMUM BROWSER CHECK :: IE5.x/IE6/Firefox/Safari

  CSS Document - layout.css
 ---------------------------------------------------------------------------- 
*/


/* undo some default styling of common (X)HTML browsers
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#e5e5e5 url("../images/bkgd-spacer.gif") top repeat-x;
	text-align:center; 
	font:12px/20px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#59595a;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.6em; color:#8b0b04; }
h2	{ font-size:1.6em; color:#8b0b04; }
h3	{ font-size:1.1em; color:#000; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#666; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#2f86af; text-decoration:underline; outline:none; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}
	
.hr { background:url("../images/hr.gif") no-repeat; height: 21px; margin:15px 0 15px 21px;}
.specs {text-align: right; font-style: italic; margin-bottom:0;}

/* ----- global form elements ----- */ 


input, textarea, select { 
	background-color:#ededed !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #999;
	height:20px;
	line-height:20px;
	vertical-align: middle;
	font-size:1.0em;
}
	
select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:90px; overflow:auto; }

#contact-business { display: none; } /* do not remove */ 

#column-right p.message {
  margin: 0px;
  margin-bottom: 10px;
  padding: 0px;
  font-weight: normal;
  color: Red;
}

p.message span {
  font-weight: bold;
  color: Red;
}

.FormContainor {
  padding: 0px 0px 20px 30px;
}

.FormContainor .column {
  float: left;
  width: 270px;
  padding-bottom: 15px;
}

.FormContainor .textbox {
  border: solid 1px #999;
  padding: 0px 0px 0px 5px;
  width: 240px;
	color: #59595a;
}

.FormContainor .textarea {
  border: solid 1px #999;
  padding: 0px 0px 0px 5px;
  width: 510px;
	color: #59595a;
}

.FormContainor label {
  display: block;
  padding: 0px 0px 0px 5px;
}

.FormContainor label span {
  font-weight: bold;
  color: Red;
}

.FormContainor .FormErrorPanel {
  font-style: italic;
  color: Red;
  padding-bottom: 10px;
}

.FormContainor .FormErrorPanel span {
  display: block;
  line-height: 120%;
}

.FormContainor .SubmitButton {
  display: block;
	background: #8B0B04 url("../images/submit.gif") no-repeat 0 0;
	width: 95px;
	height: 31px;	
  margin-top: 10px;
	border: none;
	cursor: pointer;
}

/* ----- main contact form ----- */ 
 
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}
	
#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select { width:170px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 243px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/spacer.gif") repeat-y;
	width:916px;
	margin:0 auto;
	text-align:left;
	}
	
	#wrap-sub {
		background:url("../images/spacer-sub.gif") repeat-y;
		width:916px;
		margin:0 auto;
		text-align:left;
		}
	
#masthead {
	position:relative;
	background:url("../images/masthead.gif");
	height:152px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:29px;
		width:146px;
		top:29px;
		height:105px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- hd-left ----- */

#hd-left { width: 609px; float:left; }

/* ----- hd-right ----- */

#hd-right { width: 307px; float:left; font-size: 1.1em; font-weight:bold;}

	#map { background:url("../images/map.jpg") no-repeat; height: 281px;}
	
	#map p { color:#fff; margin:0 36px 0 26px; padding-top:66px;}
	
	/* multi column list */
	#map ul { padding:0px 0 0 35px; margin-top: 15px; color:#fff;} 
		#map ul li { 
			background:transparent url("../images/bullet-map.png") 0px 8px no-repeat;
			padding-left:13px;  /* pushes text to the right to display bg img */
			float:left;
			width:100px;
			line-height:20px; 
			}
			
			#map-sub { background:url("../images/map-sub.jpg") no-repeat; height: 312px;}
	
			#map-sub p { color:#fff; margin:0 36px 0 26px; padding-top:66px;}
			
			/* multi column list */
			#map-sub ul { padding:0px 0 0 35px; margin-top: 15px; color:#fff;} 
				#map-sub ul li { 
					background:transparent url("../images/bullet-map.png") 0px 8px no-repeat;
					padding-left:13px;  /* pushes text to the right to display bg img */
					float:left;
					width:100px;
					line-height:20px; 
					}


/* ----- quote ----- */

#quote { height: 137px;}

	#quote p { color:#fff; font: 20px/24px Georgia, "Times New Roman", Times, serif; text-align:center; margin: 0 96px 0 98px; padding-top:27px; letter-spacing: -.05em;}


/* ----- hm-left ----- */

#hm-left { width: 457px; float:left; }

	#hm-left h2 { background:url("../images/hm-hdr-about.gif") no-repeat; width: 371px; height:33px; margin: 0 0 21px 47px; padding-left: 29px;}
	
	#hm-left p { margin: 0 39px 10px 47px;}
	
	#about-img { background:url("../images/img-hm2.jpg") no-repeat; height:162px; margin: 30px 0 0 45px; }

/* ----- hm-right ----- */

#hm-right { width: 459px; float:left; }

	#hm-right h2 { background:url("../images/hm-hdr-services.gif") no-repeat; width: 377px; height:33px; margin: 0 0 21px 40px; padding-left: 29px;}
	
	#hm-right p { margin: 0 40px 10px 40px;}
	
	#hm-right ul { padding-left:5px; }
		#hm-right ul li { 
			background:transparent url("../images/bullet-hm.gif") 0px 6px no-repeat;
			padding:0 0 5px 10px; /* pushes text to the right to display bg img */
			}
			
	#hm-right-left { width: 215px; float:left; }
	
		#hm-right-left p { margin: 0 0px 0px 40px;}
	
	#hm-right-right { width: 244px; float:left; }
		
		#hm-right-right ul{ margin: 0px 0 0 0;}


/* ----- column-left ----- */

#column-left {
	width:306px;
	float:right;
	}
	
	#column-left h2, #column-left h3, #column-left p, #column-left ul { margin:0 24px 10px 39px; }
	#column-left h2 { background:url("../images/hdr-sub-left.gif") no-repeat; height:33px; padding-left: 29px;}
	#column-left h3 { font-size:1.2em; color:#8b0b04;}
	#column-left ul li {padding-bottom: 10px; font-size: 11px; line-height: 14px;}
	#column-left ul li strong {display: block; font-size: 12px;line-height: 16px;}
	
	#img-history { background:url("../images/img-about.jpg") no-repeat; height: 100px; margin:0 0 0 39px; }
	
	#rd { background:url("../images/rd.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#rd1 { background:url("../images/rd1.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#rd2 { background:url("../images/rd2.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#rd3 { background:url("../images/rd3.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#rd4 { background:url("../images/rd4.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#loc-hk { background:url("../images/loc_hong_kong.jpg") no-repeat; height: 131px; margin:0 0 0 39px;}
	
	#loc-ningbo { background:url("../images/loc_ningbo.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#loc-shanghi { background:url("../images/loc-shanghi.jpg") no-repeat; height: 225px; margin:0 0 0 39px; }
	
	#rd-office { background:url("../images/rd-office.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#img-services { background:url("../images/img-services.jpg") no-repeat; height: 131px; margin:350px 0 0 39px; }
	
	#img-services1 { background:url("../images/img-services.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#office { background:url("../images/office.jpg") no-repeat; height: 131px; margin:0 0 0 39px; }
	
	#a-list { width: 238px; margin:0px 0 0 39px; background:url("../images/about-list-spacer.gif") repeat-y; }
		
		#a-list ul { padding:10px 0 0 15px; font-weight:bold; font-size: 1.1em;}
		#a-list ul li { 
			background:transparent url("../images/bullet-hm.gif") 0px 8px no-repeat;
			padding:0 0 3px 15px; /* pushes text to the right to display bg img */
			}
	
		#a-list-hd { background:url("../images/about-list-hdr.gif") no-repeat; height: 9px; }
		
		#a-list-ft { background:url("../images/about-list-ft.gif") no-repeat; height: 15px; }

		#a-list a:link,#a-list a:visited { color:#59595a; }
		#a-list a:hover,#a-list a:active { color:#8b0b04; }	
		
	.caption { font-size:.80em; padding:5px 0 15px 0; font-weight:bold; line-height: 1.5em;}
				
/* ----- column-right ----- */

#column-right {
	width:610px;
	float:right;
	}

	#column-right p { margin:0 42px 10px 28px; }
	#column-right h1 { background:url("../images/hdr-sub-right.gif") no-repeat; height:33px; margin: 0 0 10px 28px; padding-left: 29px;}
	#column-right h2 { font-size:1.4em; color:#666; margin: 15px 0 10px 28px; }
	#column-right h3 { margin: 15px 0 0 28px; font-style: italic; }
	#column-right h3 strong {font-style: normal;}
	
	#column-right ul { padding:0 42px 5px 35px; }
		#column-right ul li { 
			background:transparent url("../images/bullet-hm.gif") 0px 7px no-repeat;
			padding:0 0 7px 10px; /* pushes text to the right to display bg img */
			}
			
	/* multi column list */
	#column-right ul.multi { padding:0 42px 5px 35px; } 
		#column-right ul.multi li { 
			background:transparent url("../images/bullet-hm.gif") 0px 7px no-repeat;
			padding:0 50px 7px 10px;
			float:left;
			width:200px;
			line-height:20px; 
			}
			
	#location-map { background:url("../images/map.gif") no-repeat; height: 336px; margin:0 0 0 28px;}
	
	#img-hope { background:url("../images/jv-hope.jpg") no-repeat; height: 145px; margin:0 0 0 94px; }
	#img-yesheng { background:url("../images/jv-yesheng.jpg") no-repeat; height: 145px; margin:0 0 0 60px; }
	#img-hq { background:url("../images/jv-hq.jpg") no-repeat; height: 145px; margin:0 0 0 28px; }
	
	#c-left { width: 270px; float:left; }
	#c-right { width: 270px; float:left; }
	
	
/* chart */

#column-right .chart { width:540px; margin:5px 0 0 28px;}
#column-right .chart table { width:100%; margin-bottom:10px;}
#column-right .chart table th, .chart table td { margin:0; padding: 8px 20px; text-align:left; }
#column-right .chart table th { background:#e5e5e5; border-bottom:1px solid #b5b5b5; letter-spacing:1px;padding: 10px 20px; }
#column-right .chart table th h2 { margin:0; font-size: 1.1em; text-transform: uppercase;}
#column-right .chart table td { border-bottom:1px solid #e4e2dd; }
#column-right .chart table tr.head td { border:none; }
#column-right .chart table td p {text-transform: uppercase; padding-top:15px; margin:0; font-weight: bold; color:#000; border: none;}
#column-right .chart table tr.alt { background:#f3f2f2; }
#column-right .chart .pdf-image {text-align:center;}
	
	
	

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/btn-wrap.gif");
	height:50px;
	clear:both;
	width:100%; /* fix for Safar */
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic { height:225px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/banner-hm.jpg"); }

#header-graphic-sub { height:256px; } /* sets height for all non-flash headers */

	body#about #header-graphic-sub { background:url("../images/banner-history.jpg"); }
		body#history #header-graphic-sub { background:url("../images/banner-history.jpg"); }
		body#overview #header-graphic-sub { background:url("../images/banner-overview.jpg"); }
		body#people #header-graphic-sub { background:url("../images/banner-people.jpg"); }
		body#jv #header-graphic-sub { background:url("../images/banner-jv.jpg"); }
	body#services #header-graphic-sub { background:url("../images/banner-services.jpg"); }
	body#locations #header-graphic-sub { background:url("../images/banner-locations.jpg"); }
	body#contact #header-graphic-sub { background:url("../images/banner-contact.jpg"); }
	body#sitemap #header-graphic-sub { background:url("../images/banner-services.jpg"); }
	
/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:20px; } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }


/* ----- subhead framework with varying heights ----- */

#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.jpg") ;
	}


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:916px;
	height: 83px;
	margin:0 auto;
	text-align:left;
	color:#7c7d7f;
	background:url("../images/footer-logo.gif") no-repeat;
	}

#footer a:link, #footer a:visited { color:#7c7d7f; text-decoration:none;}

#footer a:hover, #footer a:active { color:#000; }

#footer ul {padding:25px 0 40px 172px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	display: inline;
	line-height:1.75em;
	}

	#footer li.first { border: none; }


#foor-logo {float:left;}

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:609px; 
	height:56px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:56px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; }

#nav-01 { width: 97px; margin-left: 13px;}
#nav-02 { width: 120px;}
#nav-03 { width: 111px;}
#nav-04 { width: 120px;}
#nav-05 { width: 146px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -13px -56px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -110px -56px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -230px -56px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -341px -56px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -461px -56px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -13px -56px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -110px -56px no-repeat; }
	body#overview #nav-02 { background:url("../images/nav.jpg") -110px -56px no-repeat; }
	body#people #nav-02 { background:url("../images/nav.jpg") -110px -56px no-repeat; }
	body#jv #nav-02 { background:url("../images/nav.jpg") -110px -56px no-repeat; }
body#services #nav-03 { background:url("../images/nav.jpg") -230px -56px no-repeat; }
body#locations #nav-04 { background:url("../images/nav.jpg") -341px -56px no-repeat; }
body#contact #nav-05 { background:url("../images/nav.jpg") -461px -56px no-repeat; }

/* Son of Suckerfish: Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;			/* Fixes one px spacing for border-right in FF */
	background-color:#737374;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	}

#nav li ul li { 
	height:25px; 				/* Height of each drop down nav item */
	border:1px solid #4b4c4f;
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:25px;				/* Height of each drop down nav item, should match above */
	line-height:25px;			/* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:5px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:.95em;
	color:#FFFFFF;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; background-position: 0 0;}

/* Hover styles for drop down items */
#nav-02 ul a:hover { 
	background-image:none;
	background-color:#4b4c4f;
	color:#FFFFFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li { width:160px; }		



