/*///////////////////////////////////////////////////////////////////////////
//////
/////		Remember to put all HTML docs in quirks mode for IE using:
////		Put IE into quirks mode 
///			above the doctype declaration.
//			Developed with the help of Stu Nicholls' experiments at: http://cssplay.co.uk/
/
///////////////////////////////////////////////////////////////////////////
////
///  Layout Skeleton
*/
html {
	height:100%; 
	max-height:100%; 
	padding:0; 
	margin:0; 
	border:0; 
	overflow:hidden; /*to get rid of scroll bars in IE */
}

body {
	height:100%;
	max-height:100%;
	overflow:hidden;
	padding:0;
	margin:0; 
	font-size:62.5%;
	font-family:Helvetica, Arial, sans-serif;
	border-top-width:0;
	border-bottom-width:0;
	background-color:#FFFFFF;
}

#topnav {
	position:absolute;
	top:140px; /*adjust based on height of banner image*/
	left:0px;
	display:block;
	width:250px;
	text-align:left;
	background-color:#FFFFFF;
	overflow:hidden;
	margin:0;
	padding-left:15px;
	list-style-type:none;
	line-height:1.8em; 
	z-index:200;
}	
	
#header { 
	height:140px; /*adjust based on height of banner image*/
	color:#FFF;
	background-color:#4D4200;
	background-image:url(../images/yang_banner.jpg);
	background-repeat:no-repeat;
	background-position:left top;
	position:absolute;
	margin:0; 
	left:0;
	top:0;  
	display:block; 
	width:100%;
	z-index:200; 
	overflow:hidden;
	border:none;
}

#main {
	overflow:auto;	
	background-color:#FFFFFF;
	position:absolute;
	top:140px; /*adjust based on height of banner image*/
	bottom:0;
	right:0;
	left:0;
}

* html #main {
	position:absolute;
	border-top:#4E4824 solid 140px;
	top:0px;
	height:100%;
	width:100%;
	z-index:3;
}

#wrapper {
	min-width:900px;
	padding:0;
	margin:0;
	border:none;
	float:left;
}	

* html #wrapper {
	width:900px;
}	

#sidenav {
	float:left;
	height:100%;
	width:250px;
	background-color:#FFFFFF;
	text-align:left;
	margin:0;
	padding:0;
}	

#content {
	margin:0 0 0 253px;
	padding:0 0 10px 0;
	background-color:#FFFFFF;
}	

#subnav {
	width:563px; 
	margin:0 auto 0 20px;
}	

#text {
	width:563px;
	margin:0 auto 0 20px;
	padding:0;
	text-align:justify;
}

#footnotes {
	width:563px;
	margin:0 auto 0 20px;
	padding:0;
	text-align:justify;
}

.footer {
	width:563px;
	margin:1em auto 0 20px;
	padding:0;
	text-align:left;
	font-size:1.2em;
}			

/*/////////////////////////////////
/////
/// INDEX STYLES
*/

#index #main { /*note these styles do not include a banner; see Rambo for example with banner*/
	top:0; 
	padding-top:4em;
}

* html #index div#main { 
	border-top-width:0;
	top:0;
	padding-top:4em;
}

#index div#sidenav {
	margin-top:100px;
}

#index #topnav {
	top:0;
	padding-top:140px;
}	


/*/////////////////////////////////
/////
/// TOP NAV STYLES
*/
#topnav {
	color:#F17E93;
}

#topnav #searchbox {
	position:relative;
	top:0px;
}	

#topnav #searchbox #searchForm {
	margin:0 0 0 5px;
	padding:5px 0 10px 0;
}

#topnav input#term {
	margin:0;
	padding:0;
	width:145px;
}	

#topnav input#submit {
	position:absolute;
	left:160px;
	top:4px;
}	

#topnav ul {
	margin:0;
	padding:1em 30px 0 0;
	list-style-type:none;
	line-height:1.8em;
}

#topnav ul li {
	font-size:1.2em;
	display:inline;
	margin:0;	
	padding:0;
}	

#topnav ul li a {
	margin:0.5em 0 0 0;
	padding:1px 5px 1px 0.5em;
	display:inline;
}	

#topnav ul li a:link, #topnav ul li a:active, #topnav ul li a:visited {
	text-decoration:underline;
	color:#655B22;
}

#topnav ul li a:hover, #topnav ul li a:focus {
	text-decoration:none;
	color:#666666;
}

#index #topnav .index, #help #topnav .help, #print #topnav .print {
	color:#666666;
	text-decoration:none;
}	


/*////////////////////////////////////////////////////////////////////////
////
///	 SIDE NAV STYLES
*/

#sidenav {
	background:#FFFFFF;
}

#sidenav h1 {
	color:#675A49;
	font-size:1.4em;
	font-weight:bold;
	font-style:italic;
	text-indent:-3000px;
	background-image:url(../images/yang_TOC.gif);
	background-repeat:no-repeat;
	background-position:left top;
	position:relative;
	top:4.4em;
	left:0;
	height:25px;
	width:135px;
	margin:0 15px 3.2em 18px;
	padding:0 15px 0 20px; 
}	
	/*color:#675A49;
	font-family:Garamond, Times, Times New Roman, serif;
	font-size:2.0em;
	font-weight:bold;
	margin:0;
	padding:4.6em 15px 0 20px; 
	font-style:italic; 
}	*/

#sidenav ul {
	margin:0;
	padding:1.5em 15px 0 0px;
	list-style-type:none;
	line-height:1.8em;
}

#sidenav ul li {	
	font-size:1.2em;
	display:inline; /*for correct display in IE6*/
}

#sidenav ul li a {
	margin:0.5em 0 0 0;
	padding:3px 5px 1px 20px;
	display:block;
}

#sidenav ul li a:link, #sidenav ul li a:active, #sidenav ul li a:visited {
	color:#4E4824;
	text-decoration:none;
}

#sidenav ul li a:hover, #sidenav ul li a:focus {
	color:#4E4824;
	background-color:#D0AF64;
	text-decoration:none;
}	

#sidenav ul#links-out {
	font-family:Georgia, Times, Times New Roman, serif;
	line-height:1.5em;
}

#sidenav ul#links-out li {
	font-size:1.1em;
	margin:1px 0;	
	padding:0;
}	

#sidenav ul#links-out li a:link, #sidenav ul#links-out li a:active, #sidenav ul#links-out li a:visited {
	text-decoration:none;
	color:#666666;
}	

#sidenav ul#links-out li a:hover, #sidenav ul#links-out li a:focus {
	background-color:#FFFFFF;
	text-decoration:none;
	color:#4E4824;
}

#dedication #sidenav .dedication, #acknowledgments #sidenav .acknowledgments, #chapter1 #sidenav .chapter1, #chapter2 #sidenav .chapter2, #chapter3 #sidenav .chapter3, #chapter4 #sidenav .chapter4, #chapter5 #sidenav .chapter5, #chapter6 #sidenav .chapter6, #chapter7 #sidenav .chapter7, #conclusion #sidenav .conclusion, #terms #sidenav .terms, #bibliography #sidenav .bibliography {
	color:#4E4824;
	background-color:#D0AF64;
}

/*////////////////////////////////////////////////////////////////////////
////
///	 SUBNAV STYLES
*/

#subnav h1 {
	color:#675A49;
	font-size:1.4em; 
	line-height:1.4em;
	font-weight:bold;
	text-align:left;
	margin:0; 
	padding:1.4em 0 0 0;
}

#subnav h2 {
	color:#90867A;
	font-size:1.8em; 
	line-height:1.8em;
	font-weight:normal;
	text-align:left;
	margin:-0.2em 0 0 0;
	padding:0;
}

#dedication #subnav h2, #conclusion #subnav h2, #acknowledgments #subnav h2, #bibliography #subnav h2, #terms #subnav h2, #print #subnav h2, #help #subnav h2 {
	padding-top:1em;
	padding-bottom:.2em;
}

#help #subnav h2 {
	padding-bottom:0;
}	 

/*#subnav ul {
	margin:0;
	padding:1em 0 1em 15px;
	list-style-type:none;
	display:block;
	font-size:1.2em;
	line-height:2em;
}

#subnav ul li a:link, #subnav ul li a:active, #subnav ul li a:visited {
	color:#4E4824;
	text-decoration:none;
}

#subnav ul li a:hover, #subnav ul li a:focus {
	color:#000000;
	text-decoration:none;
}	

#subnav ul li ul {
	margin:0;
	padding:0 0 0 12px;
	list-style-type:none;
	font-size:1em; 
}*//*1 x 1.2em = 1.2em*/ 

/*////////////////////////////////////////////////////////////////////////
////
///	 CONTENT STYLES
*/

#content a:link, #content a:active, #content a:visited {
	text-decoration:underline;
	color:#4E4824;
}

#content a:hover, #content a:focus {
	text-decoration:none;
	color:#666666;
}

#text p {
	font-size:1.3em;
	line-height:1.8em;
}

#text p.center-text {
	text-align:center;
}	

#bibliography p {
	padding-left:15px;
	text-indent:-15px;
}

#terms p {
	padding-left:33px;
}	

.paranum {	
	color:#90867A;
	float:right; 
	text-align:right;	
	font-size:.846em; /*1.3em x .846 = 1.1em*/
	font-weight:bold;
	padding-top:0.2em; 
	margin-right:-20px; 
	position:relative; 
	left:30px;
}

#text h3 {
	font-weight:bold;
	font-size:1.4em;
	line-height:1.4em;
	text-align:left;
	margin:2.5em 0 0 0;
	padding:0;
}

#text h3#top {
	margin:1em 0;
}	

#terms #text h3 {
	text-transform:uppercase;
	color:#90867A;
}	

#text h4 {
	color:#675A49;
	font-size:1.3em;
	line-height:1.3em;
	font-weight:bold;
	text-align:left;
	margin:1.5em 0 0 0;
	padding:0;
}
	
/*#text h5 {
	font-size:1.2em;
	line-height:1.5em;
	font-weight:bold;
	text-align:left;
	margin:1em 0 -0.7em 0;
	padding:0;
}*/

#text h3 em {
	font-style: normal;
}

#text .footnotelink {
	font-size:.786em; /*1.4em x .786 = 1.1em*/
	position:relative;
	top:-0.4em;
	margin:0 2px;
}

h3 .footnotelink {
	font-weight:normal;
	/*font-size:.786em; 1.4em x .786 = 1.1em*/
}	

blockquote .footnotelink {
	font-size:.917em; /*1.2em x .917 = 1.1em*/
}	

#text a.footnotelink:link, #text a.footnotelink:visited, #text a.footnotelink:active {	
	text-decoration: underline;
	color:#4E4824;
}

#text a.footnotelink:hover, #text a.footnotelink:focus {	
	text-decoration: none; 
	color:#666666;
}
 	
blockquote {
	width:400px;
	margin:0 85px;
	font-size:1.2em;
	line-height:1.6em;
}

blockquote.another {
	margin-top:1em;
}	

blockquote.epigraph {
	margin-top:1.2em;
}	

.name {
	text-align:right;
}

a.toplink {
	display:block;
	text-align:right;
	margin:0;
	padding:0;
}

#text a.toplink {
	font-size:1.2em;
	margin-bottom:1em;
}


/*///////////////////////////////////////////////////////////////////////////
////
///  RESOURCEBOX AND LINKBOX STYLES
*/

#index #text img{
border:none;
}

p img, blockquote img, table img, div img {
	border:2px solid #4E4824;
}

.resourcebox {
	margin:0;
	padding:0.5em; 
	background-color:#4E4824;
	border:1px solid #4E4824; 	
	text-align:left; 
	font-size:.846em; /*1.3em x .846 = 1.1em*/ 
	line-height:1.6em; 
}

.linkbox {
	margin:0;
	padding:0.5em; 
	background-color:#4E4824;
	border:1px solid #4E4824; 	
	text-align:left; 
	font-size:.846em; /*1.3em x .846 = 1.1em*/ 
	line-height:1.6em; 
}

.left {
	float:left;
	margin:0.5em 1em 0.5em 0;
}

.right {
	float:right;
	margin:0.5em 0 0.5em 1em;	
}

.center {
	float:left;
	text-align:center;
	margin:0.5em auto 0.5em auto;
}

.middle {
	float:left;
	text-align:left;
	margin:0.5em auto 0.5em auto;
}		

.wide {
	width:180px;
}

.tall {
	width:154px;
}

.thumb_map {
	width:196px;
}

.resourcebox img {
	text-align:center;
}

.resourcebox .caption {
	background: url(../images/icon_magnify.gif) no-repeat 1px 6px;
	color:#EAAE4A; 
	display:block;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align:left;
	text-indent:18px;
	padding:0.5em 2px 0 2px;
}

table .resourcebox .caption {
	font-size:1.3em; /*.846em x 1.3 = 1.1em*/
	line-height:1.6em; 	
	padding:0.5em 2px 0 2px;	
}

* html table .resourcebox .caption {
	font-size:.786em; /*may have to adjust this; logically should be .917 em*/
}

.linkbox .link {
	background: url(../images/icon_window.gif) no-repeat 2px 6px;
	color:#EAAE4A; 
	display:block;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align:left;
	text-indent:18px;
	padding:0.5em;
}

#text  .linkbox .link a:link, #text  .linkbox .link a:active, #text  .linkbox .link a:visited {
	text-decoration:underline;
	color:#EAAE4A; 
}

#text  .linkbox .link a:hover, #text  .linkbox .link a:focus {
	text-decoration:none;
	color:#FFFFFF;
}

table .linkbox .link {
	font-size:1.3em; /*.846em x 1.3 = 1.1em*/
	line-height:1.6em; 	
	padding:0.5em;
}

* html table .linkbox .link {
	font-size:.786em; /*may have to adjust this; logically should be .917 em*/
}


/*/////////////////////////////////////////////////////////////////
////
///  LIST STYLES
*/

ul.helper {
	list-style-type:none;
	margin:-1.3em 0 1em 0;
	padding:0 0 0.5em 0;
}

ul.helper li {
	font-size:1.3em;
	line-height:1.8em;
}	
	
ul.printer {
	list-style-type:none;
	margin:1em 0 0 0;
	padding:0;
}

ul.printer li {
	font-size:1.3em;
	line-height:1.8em;
	padding:0 0 0.5em 0;
}		

dl {
	margin:0;
	padding:0;
	font-size:1.3em;
	line-height:1.8em;
}	

dt {
	float:left;
	width:80px;
	padding:0.5em 0;
}	

dl#abbrev dt {
	font-size:1.3em;
	line-height:1.8em;
}	

dd {
	margin-left:90px;
	padding:0.5em 0;
}	

dl#abbrev dd {
	font-size:1.3em;
	line-height:1.8em;
}	

ul#glossary {
	margin:1.5em 0 0 0;
	padding:0;
	color:#F17E93;	
}	

ul#glossary li {
	list-style-type:none;
	display:inline;
	font-size:1.3em;
	line-height:1.8em;
	padding:2px 2px 2px 1px;
	text-transform:uppercase;
}	

ul#glossary li a:link, ul#glossary li a:active, ul#glossary li a:visited {
	font-weight:bold;
	color:#655B22;
	text-decoration:none;
}

ul#glossary li a:hover, ul#glossary li a:focus {
	color:#666666;
	text-decoration:underline;
}


/*/////////////////////////////////////////////////////////////////
////
///  TABLE STYLES
*/

table.box {
	border:none;
	text-align:center;
	margin:10px auto;
	padding:0;
}	

table.box tr {
	text-align:center;
	margin:0;
	padding:0;
}
	
table.box tr td {
	padding:0 0 1em 0;
	margin:0;
	border:none;
	vertical-align:top;
	text-align:center;
}	


/*/////////////////////////////////////////////////////////////////
////
///  FOOTNOTE STYLES
*/

#footnotes p {
	font-size:1.2em;
	line-height:1.6em;
}	

#footnotes h3 {
	font-size:1.4em;
	font-weight:bold;
	padding-top:1.5em;
	margin:0;
}	


/*///////////////////////////////////////////////////////////////////////////
////
///  DETAIL STYLES
*/

body.detail {
	background-image:url(../images/spacer.gif); 
	background-repeat:repeat-x;
	background-color:#FFFFFF;
	margin:0; 
	padding:0; 
	font-size:62.5%;
	overflow:auto;
	width:100%;
}

#detailWrapper {
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	overflow:auto;
}	

#detailHeader {
	height:140px;
	border:none;
	background-image:url(../images/yang_banner.jpg);
	background-repeat:no-repeat;
	background-position:left top;
	color:#FFFFFF;
	background-color:#4D4200;
	margin:0 !important;
	padding:0 !important;
	overflow:hidden;
}

#detailBody {
	margin:25px;
	padding-bottom:10px;
}

#detailBody img {
	border:#ccc solid 2px;
}

#detailBody #detailText {
	float:left;
	width:275px;
	padding-right:25px;
}	

#detailBody h1 {
	font-size:1.3em;
	line-height:1.8em;
	font-weight:bold;
	width:250px;
	margin-right:0;
	padding-right:0;
}	

#detailBody p {
	font-size:1.3em;
	line-height:1.8em;
	width:250px;
	margin-right:0;
	padding-right:0;
}

#detailBody p.credit {
	margin:1em 0;
	font-size:1.2em;
	line-height:1.6em;
}

#detailBody a:link, #detailBody a:active, #detailBody a:visited {
	text-decoration:underline;
	color:#4E4824;
}

#detailBody a:hover, #detailBody a:focus {
	text-decoration:none;
	color:#666666;
}


/*///////////////////////////////////////////////////////////////////////////
////
///  BOOK INFO STYLES
*/

#bookinfo {	
	text-indent:-1500px;
	overflow:hidden;
	color:#000000;
} 

#index #bookinfo {
	display:none;
}


/*///////////////////////////////////////////////////////////////////////////
////
///  Detail Pages
*/

#image p {
width: 100%;
}
/*	Set All <table> and <td> Tags	*/
.tblDetail {
border-left: 1px solid #666;
border-right: 1px solid #666;
margin: 0;
font-size:1.2em;/*was 1.1*/
}

.tblDetail td{
border-bottom: #666 solid 1px;
border-top: #666 solid 1px;
text-align: left;
/*top-right-bottom-left*/
padding: 2px 10px 2px 10px;
line-height:1.8em;
}

/*	Center *All Table <td>*/
.tdCenter td{text-align:center;}

/*	Table Captions or Headers*/
.tblHeader td {
border-top: 0px none;
background-color:#4E4824;
text-align:center; 
font-weight: 600;
color: #EAAE4A;
/*top-right-bottom-left*/
padding: 2px 10px 5px 10px; /*was 0px 0px 5px 0px;*/
font-size: 1em;/*was 1*/
line-height:1.4em;
}

.tblDetail caption {
border-top:	1px solid #666;
font-size: 1.2em; /*was 1.2*/
background-color:#4E4824;
text-align:left; 
font-weight: bold;
color:#F17E93;
/*top-right-bottom-left*/
padding:10px;
margin:0;
}

/*individual table styles*/

/*	table 4.x	*/
#tblFour .name{width: 150px;}
#tblFour .ming{width: 120px; text-align:center;}
#tblFour .qing{width: 120px; text-align:center;}
/*	table 5.x	*/
#tblFive {width:410px;}
#tblFive .prefecture{width: 205px; text-align:center;}
#tblFive .number{width: 205px; text-align:center;}
/*	table 6.x	*/
#tblSix .year{width: 80px; text-align:center;}
#tblSix .taels{width: 330px; text-align:center;}
#tblSix .tax{width: 120px; text-align:center;}
#tblSix .percent{width: 120px; text-align:center;}
#tblSix .china{width: 100px;}
#tblSix .holland{width: 100px;}
#tblSix .total{width: 100px;}
#tblSix .output{width: 100px;}

#tblSix .furnaces{width: 100px;}
#tblSix .copper{width: 100px;}
#tblSix .strings{width: 100px;}
#tblSix .interest{width: 100px;}
/*	table 7.x	*/
#tblSeven { width: 550px; text-align:left;}
#tblSeven .terms{width: 125px; text-align:left;}
#tblSeven .content{text-align:left;}
#tblSeven tr.tblHeader td{text-align:left;}
/* #tblSeven td {line-height:}*/ 

/*	Table Row BG Color	*/
.odd {background-color: #D0AF64;}

td.vtop 
{
	vertical-align: top; padding-top:2px;
}

/*#tblSeven br
{
	margin: 10px 0;
}*/


/*///////////////////////////////////////////////////////////////////////////
////
///  SEARCH STYLES
*/
	

body#search blockquote.g {	
	margin-left:0px;
}

body#search p.g{
	margin-bottom:0px;
}

body#search td.s {
	padding-top:0px;
	margin:0px;
	font-size:13px;
	/*line-height:20px;*/
}

body#search blockquote.g table {
	margin:0px;
}

body#search span.l {
	padding:0px;
	margin:0px;
}

body#search span.b {
	font-size:13px;
}

body#search span.s {
	font-size:12px;
}

body#search div.n {
	margin-top:20px;
}	

body#search table#resultsText {
	margin-top:10px;
}	
/* --  used for searches that return no results, and others */   
body#search span.p {
	font-size:12px;
}		

