/* +++ THIS STYLE SHEET MADE THE OLD-FASHIONED WAY: IN A TEXT EDITOR.  +++ */
/* +++ FOR MORE INFORMATION ON CSS, SEE THE LINKS PAGE OF THIS WEBSITE +++ */

body {
	margin: 0;
	padding: 0;
	background-color: gray;
	font-family: georgia, serif;
	}
#container {
	background-color: white;
	width: 775px;
	position: relative;
	margin: 10px auto;
	background-image: url(strip3.gif);
	background-repeat: repeat-y;
	}
#header {
	height: 80px;
	background-color: green;
	padding: 0;
	margin: 0;
	background-image: url(header.gif);
	background-repeat: no-repeat;
	}
#header h1 , #header h3 , #header h6 {
	display: none;
	}
#main {
	margin: 0 10px 1em 240px;
	padding: 0;
	min-height: 30em;
	}
#navbar {
	width: 200px;
	position: absolute;
	top: 80px;
	background-color: blue;
	font-family: verdana, sans-serif;
	}
#navbar a:link {
	color: white;
	}
#navbar {
	position: absolute;
	left: 0;
	font-size: 0.8em;
	font-weight: bold;
	background-color: rgb(218,248,175);
	font-family: verdana, sans-serif;
	}
#navbar a:link , #navbar a:visited {
	display: block;
	padding: 0.5em 0 0.5em 10px;
	margin: 0;
	text-decoration: none;
	border-top: 1px solid gray;
	color: rgb(0,153,0);
	width: 100%;
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 190px;
	}
html > body #navbar a {
	width: auto;
	}
#navbar a:hover {
	color: white;
	background: rgb(154,222,73);
	}
#footer {
	border-bottom: 10px solid gray;
	background-color: green;
	padding: 1em 0;
	color: rgb(218,248,175);
	font-family: verdana, sans-serif;
	}
#footer a:link, #footer a:visited {
	color: rgb(218,248,175);
	}
#footer a:hover	{
	color: white;
	}
#footer p	{
	text-align: center;
	margin: 0;
	font-size: 80%;
	}
#warning {
	display: none;
	}

p , ul , li {
	margin-top: 0;
	}
#main a:link {
	color: rgb(0,82,191);
	}
#main a:visited {
	color: rgb(101,5,154);
	}
#main a:hover {
	background-color: rgb(218,248,175);
	}
table {
	border-collapse: collapse;
	}
th {
	background-color: rgb(154,222,73);
	}
.yaxis	{	/* +++ FOR THE Y-AXIS OF TABLES +++ */
	background-color: rgb(154,222,73);
	font-weight: bold;
	}
	

.py     {
   font-family: "arial unicode ms", "lucida sans unicode", sans-serif !important;
   font-family: serif;
        }

ol li, ul li	{
	line-height: 1.5em;
	}

.smcaps	{
	text-transform: lowercase;
	font-variant: small-caps;
	/* only lowercase works for small-caps transformation,  */
	/* but I didn't want to use bc and bce in the real text */
	}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++ FOR THE MOUSEOVER TABLE RULES +++++++++++++++++++++++ */
/* +++  THIS USES JAVASCRIPT: tableruler.js                                 +++ */

tr.ruled	{
	background: #9cf;
	}
head:first-child+body tr.ruled	{
	background: #9cf; 
	}



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++  FOR THE WIDE PAGES   +++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


#widepage #container {
	width: auto;
	padding: 0;
	margin: 0;
	background-image: none;
	background-color: white;
	border-left: 15px solid rgb(218,248,175);
	}
#widepage #header {
	height: 80px;
	background-color: rgb(0,153,0);
	padding: 0;
	margin: 0;
	background-image: url(http://www.pinyin.info/header.gif);
	background-repeat: no-repeat;
	}
#widepage #main {
	padding-top: 2em;
	margin: 0;
	margin-left: 10px;
	}
#widepage #main h1 {
	margin-top: 0;
	}
#widepage #navbar {
	position: absolute;
	left: 0;
	top: 80px;
	font-size: 0.8em;
	font-weight: bold;
	background-color: rgb(218,248,175);
	width: 100%;
	padding-left: 10px;
	font-family: verdana, sans-serif;
	}
#widepage #navbar a:link , #widepage #navbar a:visited {
	padding: 0 1em;
	margin: 0;
	display: inline;
	text-decoration: none;
	color: rgb(0,153,0);
	width: auto;
	}
#widepage #navbar a:hover {
	color: white;
	background: rgb(154,222,73);
	}
#widepage #navbar img {
	display: none;
	}
#widepage h1, #widepage h2, #widepage h3, #widepage p, #widepage li	{
	max-width: 35em;
	}
#widepage #footer {
	border-bottom: none;
	}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++  FOR THE SIN WENZ BOOK+++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

#widepage #main img	{
	display: block;
	}

pre.sinwenz	{		/* THIS IS FOR THE SAMPLE READINGS, SUCH AS ZOUZOU.HTML */
	font-size: 16px;
	line-height: 1.5em;
	padding-right: 1em;
	font-family: georgia, serif;
	}
#swfooter {
padding: .5em;
border: 1px solid black;
background-color: rgb(166,184,208);
text-align: center;
	}
#swfooter ul {
margin-left: 0;
padding-left: 0;
display: inline;
} 
#swfooter ul li {
margin-left: 0;
padding: 3px 15px;
border-left: 1px solid black;
list-style: none;
display: inline;
}
#swfooter ul li.last	{
border-right: 1px solid black;
list-style: none;
display: inline;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++  FOR THE READINGS PAGES   +++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


#readingsindex ol li	{
	margin-top: 1.5em;
	margin-left: -2em;
	padding-top: .5em;
	border-top: 1px solid rgb(0,153,0);
	list-style: none;
	font-weight: bold;
	line-height: normal;
	}
#readingsindex ul li	{
	padding-top: .5em;
	border-top: none;
	font-weight: normal;
/*	vertical-align: middle;		*/
	margin-left: .5em;
	}

#readingsindex ul li a:link, #readingsindex ul li a:visited	{
	margin-left: .5em;
	}


.contents	{
	border: 1px solid gray;
	background-color: #FAEBD7;
	margin-top: 1em;
	padding-left: 3em;
	padding-right: 1em;
	}
h2	{
	font-style: italic;
	}
img#bookcover	{
	float: right;
	margin: 1em 0 .5em 1em;
	}
dd	{
	margin-top: 3em;
	}
.blurb	{
	padding: 1em 1em;
	margin-top: 1em;
	margin-bottom: 1em;
	background-color: rgb(166,184,208);
	line-height: 1.4em;
	border: .4em dotted rgb(103,139,175);
	}
.contents h3	{
	text-align: center;
	font-family: verdana, sans-serif;
	}
.sample	{	/* ++++ FOR THE "SAMPLE CHAPTER" NOTICES ++++ */
	background-color: yellow;
	padding: 0 .1em;
	font-size: .8em;
	font-family: verdana, arial, sans-serif;
	}

.spacer	{
	padding-left: 3em;
	}


#footer	{
	border-top: 2px solid #90EE90;
	padding-top: 1em;
	margin-top: 1em;
	font-family: verdana, arial, sans-serif;
	}


#packard ol	{
	font-weight: bold;
	font-family: verdana, sans-serif;
	}
#packard ol ol	{
	font-weight: normal;
	font-family: georgia, serif;
	}
#packard ol ol ol	{
	font-style: italic;
	}
#packard ol ol ol ol	{
	font-size: .8em;
	font-style: normal;
	}
#packard ol ol ol ol ol	{
	font-size: 1em;
	font-style: normal;
	}


#difficult ul li	{
	padding-bottom: 1em;
	}

#schrift ul	{
	list-style: none;
	}
#schrift ul ul	{
	list-style-type: circle;
	}

#vietnamese ol  {
list-style-type: upper-roman;
font-weight: bold;
}
#vietnamese ol ul   {
list-style-type: circle;
font-weight: normal;
}
#vietnamese ul ul   {
list-style-type: disc;
font-weight: normal;
}
#vietnamese ul ol   {
list-style-type: upper-alpha;
font-weight: normal;
}





/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++  FOR THE MPS2 BOOK   ++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

span.specialpinyin      {
font-size: 150%;
line-height: 100%;
font-weight: bold;
padding: 0 .3em;
font-family: "arial unicode ms", "lucida sans unicode", sans-serif;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++  FOR THE QUIZ   +++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.correct        {
	padding: 0 .2em;
background-color: rgb(218,248,175);
}
.incorrect      {
	padding: 0 .2em;
background-color: rgb(221,0,106);
}
#quiz b.choice	{
	text-decoration: underline;
	}




/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++  FOR THE BIG TABLE OF INITIALS AND FINALS   ++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


#bpmf   {
background-color: rgb(190,230,255);
}
#dtnl   {
background-color: rgb(255,236,247);
}
#gkh    {
background-color: rgb(241,255,218);
}
#zcs    {
background-color: rgb(232,222,255);
}
#zhchshr        {
background-color: rgb(240,202,255);
}
#jqx    {
background-color: rgb(255,236,247);
}
#noinitial      {
background-color: rgb(218,248,175);
}
#urows td, #irows td, #vrows td {
border-top: 2px solid gray;
}
#yaxiscol, .yaxisclass  {
font-weight: bold;
background-color: rgb(154,222,73);
}
.notemarker, #widepage sup	{
	font-family: "arial unicode ms", "times new roman", serif;
	color: red;
	vertical-align: top;
	}
ul#nomarker	{
	list-style-type: none;	
	}
ul#nomarker span.notemarker, ul#nomarker sup 	{
	padding-right: .5em;
	margin-left: -.5em;
	}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++  FOR THE BIG ROMANIZATION CROSS-CHARTS   ++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.thiscolumn	{
	background-color: rgb(218,248,175);
	}
.gr	{
	border-left: 2px solid rgb(232,222,255);
	}
.hpcol	{
	
	}



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++++++++++  FOR THE READINGS   ++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

#copyright, #subcopyright  {
	float: right;
	background-color: rgb(115,197,255);
	width: 25%;
	font-size: .9em;
	border: 1px solid rgb(0,153,0);
	margin-left: 1em;
	line-height: 1.3;
	padding: .5em .8em;
	font-family: verdana, sans-serif;
	}
#subcopyright  {
	clear: both;
	background-color: white;
	}
.note	{
	padding: 1em;
	margin: 0 0 .5em 1em;
	font-size: .8em;
	width: 55%;
	border: 1px solid gray;
	}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++  FOR PAGES WITH OTHER-LANGUAGE ALTERNATIVES    +++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
div.langswitch	{
	float: right;
	background-color: rgb(218,248,175);
	width: 25%;
	font-size: .9em;
	border: 1px solid rgb(0,153,0);
	margin-left: 1em;
	line-height: 1.3;
	padding: .5em .8em;
	font-family: verdana, sans-serif;
	}
div.langswitch li	{
	list-style-type: none;
	}
div.clearer {clear: both; line-height: 0; height: 0;}
	


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++  FOR 'CRISIS, OPPORTUNITY, DANGER' PAGE        +++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
#crisis h1 {
        height: 50px;
        padding: 0;
        margin: 0;
        background-image: url(/chinese/danger_opportunity_crisis.gif);
        background-repeat: no-repeat;
        }
#crisis h1 span {
        display: none;
        }
#crisis p       {
        text-indent: 2.2em;
        margin: 0;
        line-height: 1.5em;
        }
.weiji    {
    float: left;
    margin-right: 50px;
    width: 100px;
    height: 170px;
    }
div.weiji p   {
    font-size: 80%;
    text-align: center;
    margin-top: .3em;
        text-indent: 0;
    }
#crisis h3, #author     {
        padding-top: 1.5em;
        margin: 1em 0 0 0;
        border-top: 3px dotted rgb(218,248,175);
        }
#crisis #author {
        text-align: right;
        }



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++  FOR XINHUA PINXIE CIDIAN   +++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */



#xinhuapinxie h1			{
		  	font-size: 2.5em;
		  	color: black;
		  	margin-top: 2em;
		  	text-align: center;
		  	}
#xinhuapinxie h2			{
		  	font-size: 2.0em;
		  	color: blue;
		  	margin-top: 2em;
		  	padding-top: 2em;
		  	border-top: 3px dotted blue;
		  	letter-spacing: .2em;
		  	}
#xinhuapinxie h3			{
		  	font-size: 1.5em;
		  	color: green;
		  	margin-top: 2em;
		  	}
#xinhuapinxie h4			{
		  	font-size: 1.5em;
		  	color: brown;
		  	margin-top: 2em;
		  	padding-left: 1em;
		  	padding-top: 1em;
		  	border-top: 1px solid #ff565f;
		  	}
#xinhuapinxie .subhead	{
			font-weight: normal;
			}
#xinhuapinxie h5			{
		  	font-size: 1.0em;
		  	color: green;
		  	margin: 2em 0 0 0;
			padding-left: 0.5em;
			font-weight: normal;
		  	}
#xinhuapinxie .xpy		{
		  	color: #ff565f;
		  	word-spacing: .3em;
		  	font-family: "arial unicode ms", "lucida sans unicode", sans-serif !important;
		  	font-family: serif;
		  	}
#xinhuapinxie p			{
			line-height: 1.8em;
			}
#xinhuapinxie td			{
			padding: 0 1em 0.5em 0;
			}
