/*

     G E N E R A L

Contains nothing specific to subsites but provides a general look that is modified by the subsite style sheets.

Colours:
	703400	letter
	e2e0e0	background
	402000  border of tables and cells
	e5e0e0	background of tables and cells
	e5e0e0	background of tables and cells


Some styles are used over multiple elements where the first and last need different margins.
In these cases the names are given as:
	Classname			for a single occurrence
	ClassnameBegin		for the first of a series
	ClassnameMiddle		for the ones between the first and last
	ClassnameEnd		for the last of a series

Reminder CSS:
H1 EM {...}  all descendant EM inside an H1
H1 > EM {...} direct child EM only.
E1 + E2 {...} E2 that is immediately preceded by an E1
OL + P    use to space P following a list.

:first-child   use to set space of first of list.
:first-letter
:first-line

*/


/*   B A S I C   */

body	{ color: #000000; background-color: #ffffff; font-family: "Lucida Grande", Helvetica, Geneva, sans-serif; margin: 0.0em; padding:  5.0em 1.5em 4.0em 2.0em; }

h1	{ color: #703400; font-size: 1.4em; text-align: center; margin-top: 1em; margin-bottom: 1em; }
h2	{ color: #703400; font-size: 1.2em; 					margin-top: 1em; margin-bottom: 0em; }
h3	{ color: #703400; font-size: 1.1em; 					margin-top: 1em; margin-bottom: 0em; }
h4	{ color: #703400; font-size: 1.0em; font-weight: bold;  margin-top: 1em; margin-bottom: 0em; }

hr	{ background-color: #703400; margin-top: 0.2em; margin-bottom: 0.1em; width: 100%; height: 0.1em; border-width: 0; }

p	{ margin-top: 0.5em; margin-bottom: 0; }

ul	{ padding: 0; margin-top: 1.0em; margin-left: 5.0em; }
ol	{ padding: 0; margin-top: 1.0em; margin-left: 5.0em; }
li	{ padding: 0; margin: 0.5em 0.0em 0.0em 0.0em; }

table	{ border: none; border-collapse: collapse; border-spacing: 0px; margin: 1.0em auto 1.0em auto; }
td 		{ text-align:   left; vertical-align: top; border: none; font-size: 1.0em;  padding: 0.2em 0.5em 0.2em 0.5em;  white-space: nowrap; }

a:link		{ color: #881e00; text-decoration: underline; }
a:hover		{ color: #ff0000; text-decoration: underline; }
a:active	{ color: #00aa00; text-decoration: underline; }
a:visited	{ color: #881e00; text-decoration: underline; }





/*   L I S T S   */

li > ul		{ margin-top: 0.0em; margin-left: 2.0em; }
li > ol		{ margin-top: 0.0em; margin-left: 2.0em; }
td > ul		{ margin-top: 0.0em; margin-left: 2.0em; }
td > ol		{ margin-top: 0.0em; margin-left: 2.0em; }




/*   I M A G E S   */

img				{ vertical-align: baseline; border: none; }
img.FloatRight	{ vertical-align: text-bottom; float: right; margin: 0.5em 0.0em 0.5em 2.0em; }
img.FloatLeft	{ vertical-align: text-bottom; float: left;  margin: 0.5em 2.0em 0.5em 0.0em; }
img.Border		{ vertical-align: text-bottom; border: solid 1px #8d5e11; }

p.ImageCaption	{ font-style: oblique; font-size: 0.9em; margin: 0.1em 1.0em 1.0em 1.0em; }



/*   T A B L E S   */
/* mnemonic alignment letters:  horizontally lcr (left-centre-right) vertically tmb (top-middle-bottom) wrapping w (default is no wrap) */
/* simple borders around all cells */

table.Simple	{ margin: 1.0em auto 1.0em auto; width: 100%; background-color: #f8f4f4; }
table.Simple50	{ margin: 1.0em auto 1.0em auto; width:  50%; background-color: #f8f4f4; }
table.Simple70	{ margin: 1.0em auto 1.0em auto; width:  70%; background-color: #f8f4f4; }
table.Simple90	{ margin: 1.0em auto 1.0em auto; width:  90%; background-color: #f8f4f4; }
td.Simple		{ white-space: nowrap; border: solid 1px #888888;}
td.Simple-r		{ white-space: nowrap; border: solid 1px #888888; text-align: right; }
td.Simple-c		{ white-space: nowrap; border: solid 1px #888888; text-align: center; }
td.Simple-w		{ white-space: normal; border: solid 1px #888888; }
td.SimpleHead	{ white-space: nowrap; border: solid 1px #888888; background-color: #d8d0d0; }
td.SimpleHead-c	{ white-space: nowrap; border: solid 1px #888888; background-color: #d8d0d0; text-align: center; }
td.SimpleHead-r	{ white-space: nowrap; border: solid 1px #888888; background-color: #d8d0d0; text-align: right; }

table.TextOrg	{ width: 100%; border: none; border-collapse: collapse; border-spacing: 0px; }
td.TextOrg-w	{ white-space: normal; }
td.TextOrg-r	{ text-align: right; }
td.TextOrg-c	{ text-align: center; }




/*   C H A R A C T E R   S T Y L E S  and punctuation   */

.Emphasis	{ color: #530e00; font-weight: 500; font-style: oblique; margin-right: 0.2em; }
.Definition	{ color: #007d00; font-weight: bold; }
.Term		{ color: #007d00; }
.Example	{ color: #631e00; }
.sub		{ font-size: 0.8em; vertical-align: -0.5em; }
.mid		{ font-size: 1.0em; vertical-align:  0.2em; }
.sup		{ font-size: 0.8em; vertical-align:  0.5em; }
.bold		{ font-weight: bold; }

.snbs		{font-size: 0.3em; }  /* small non-breaking space, for separating units from numbers as in "5 mm" and for use after punctuation */

.ClearLeft	{ margin-top: 0.5em; margin-bottom: 0; clear: left;  }
.ClearRight	{ margin-top: 0.5em; margin-bottom: 0; clear: right; }
.ClearBoth	{ margin-top: 0.5em; margin-bottom: 0; clear: both;  }
p.Centred	{ text-align: center; }

.Quote		{ color: #341616; font-style: oblique; padding-right: 0.2em; }
div.Quote	{ margin: 1.2em 4.0em 1.5em 3.0em; padding: 1.0em 4.0em 1.5em 3.0em; background-color: #f0f0f0; border: solid 1px #555555; }
p.Quote		{ color: #341616; margin: 0.0em 0.0em 0.0em 0.0em; }




/*   P R O G R A M   C O D E   and monospace items   */

.MonospacePre		{ color: #007000; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; margin-left: 0.2em; margin-right: 0.2em; }
div.MonospacePre	{ margin: 1.5em 2.0em 1.5em 2.0em; white-space: normal; background-color: #fff8f0; padding: 1em 1em 1em 1em; border: solid 1px #006600; }
p.MonospacePre		{ margin: 0.0em 0.0em 0.0em 0.0em; }

.Keyword	{ color: #2200cc; font-family: Monaco, Courier, monospace; }
.MenuChoice	{ color: #5555ff; font-weight: 500; font-family: Monaco, Courier, monospace; }

/* Transcript (now RevTalk) code */
.TSCode				{ color: #000000; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; margin: 0.2em 2.0em 0.0em 2.0em; }
.TSCodeBegin		{ color: #000000; white-space: pre; font-size: 0.8em; font-family: Monaco, Courier, monospace; margin: 0.5em 2.0em 0.0em 2.0em; }
.TSCodeMiddle		{ color: #000000; white-space: pre; font-size: 0.8em; font-family: Monaco, Courier, monospace; margin: 0.0em 2.0em 0.0em 2.0em; }
.TSCodeEnd			{ color: #000000; white-space: pre; font-size: 0.8em; font-family: Monaco, Courier, monospace; margin: 0.0em 2.0em 1.0em 2.0em; }
.TSFunction			{ color: #7F007F; }
.TSComment			{ color: #007F00; }
.TSCommand			{ color: #7F7F00; }
.TSProperty			{ color: #007F7F; }
.TSLiteral			{ color: #00007F; }
.TSControlStructure	{ color: #980517; }
.TSBold				{ font-size: 1.0em; font-weight: bold; }
.TSItalic			{ font-style: oblique; padding-right: 0.2em; }
.TSUnderlined		{ text-decoration: underline; }
.TSCodeBox			{ background-color: #fff0f0; border: solid 1px #e1a398; padding: 0.5em; margin: 1.0em; }

/* to be eliminated
.ProgramCode		{ color: #32820a; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; }
.ProgramCodeBold	{ color: #32820a; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; font-weight: bold; }
p.ProgramCode		{ color: #32820a; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; margin: 1.5em 2.0em 1.5em 2.0em; }
p.ProgramCodeBegin	{ color: #32820a; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; margin: 1.5em 2.0em 0.0em 2.0em; }
p.ProgramCodeMiddle	{ color: #32820a; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; margin: 0.0em 2.0em 0.0em 2.0em; }
p.ProgramCodeEnd	{ color: #32820a; white-space: pre; font-size: 1.0em; font-family: Monaco, Courier, monospace; margin: 0.0em 2.0em 1.5em 2.0em; }

*/
/*  ---  E  N  D  ---  */