/* General style-sheet: applies to all CSS browsers but NN4 and IE4 */

/*        FONTS and COLOURS        */

/* Serif fonts for body text */
BODY       {font-family:"DejaVu Serif","Century Schoolbook L",
                        "URW Bookman L","Bitstream Charter",
                        Georgia,"Bookman Old Style",Palatino,
                        "New York","New Century Schoolbook",
                        "Times New Roman",Times,serif}

/* Broad Sans fonts for Chapter Titles and small print */
H1.TITLE, P.ADDRESS
           {font-family:"DejaVu Sans",Verdana,Geneva,
                        Arial,Helvetica,sans-serif}

/* Narrow Sans fonts for Section Headings */
H1.SECT1, H2.SECT2, H3
           {font-family:"Trebuchet MS","Luxi Sans",Geneva,
                        Arial,Helvetica,sans-serif;
            font-weight:normal}

H1.TITLE   {font-weight:bold; color:#2D5884; background-color:inherit}
     
DIV.INDEX DL DT
           {font-weight:bold}

P.ADDRESS  {font-weight:bold; font-size:0.7em}

P.ADDRESS SPAN, DIV.ANSWER B, DIV.INDEX DL DL DT
           {font-weight:normal; color:black; background-color:transparent}
/* But links must stay link colour - beware of CSS specificity rules! */
DIV.INDEX DL DT A
           {font-weight:normal}

DIV.FORMALPARA B
           {font-style:italic}   /* for Examples */

A:link          {color:#003366; background-color:transparent}
A:visited       {color:#660044; background-color:transparent}

A:link:hover, A:visited:hover, A:link:hover VAR, A:visited:hover VAR,
A:link:hover SPAN SUP, A:visited:hover SPAN SUP
                {color:inherit; background-color:#E6ECF9}
                /* Child selectors are workround for Konqueror bug */


/* Dimensions and Layout */

HTML, BODY {margin:0; padding:0}

DIV.TITLEPAGE, DIV.CHAPTITLE
           {position:relative; margin-left:0.5em; height:120px;
            margin-top:0.5em; border:1px white solid}
           /* Border is a bodge for Mozilla, Explicit colour is for Konqueror,
              'position:relative' makes this a positioned block */

BODY       {font-size:0.83em}  /* Optimised for IE5 on 800 x 600 display */

H1         {font-size:1.35em; margin-top:1em; margin-bottom:0}
H1.TITLE   {font-size:1.4em; position:absolute; left:98px;
            padding-left:0.5em; text-indent:-0.5em;
            margin-top:3.5em}
           /* 'position:absolute' is relative to DIV.TITLEPAGE etc
              'left:98px' is workaround for IE5 bug
              'margin-top:3.5em' is for IE4 only, overridden by
              'top:84px; margin-top:-0.9em' for other browsers */
H1.SECT1   {clear:left}

H2         {font-size:1.1em; margin:1.2em auto 0 auto}

IMG#LOGO   {float:left; vertical-align:bottom}

DIV.SECT1, DIV.BIBLIOMIXED, DIV.QANDASET, DIV.SITEIND, DIV.FOOTNOTES
           {margin:0 1.5em 0 0.5em;
            clear:left; border:1px white solid}
          /* RH margin is changed to 11.5em by css-sbar.css
             for CSS browsers other than MSIE4 and NN4 */
          /* Border is a bodge for Mozilla; explicit colour is for Konqueror */
	  
P, LI      {margin:0.75em 0 0 1em}
DIV.QUESTION P 
           {margin:1.2em auto 0 auto}
P.HIVIS    {display:none} /* Aural/high-visibility link */

P, LI, DT  {font-size:1em}
          /* explicit font size is workaround for IE5 bug */

SPAN.INLINEMEDIAOBJECT IMG
           {margin:1em 1em 1em 1em;
            border-width:1px; border-style:solid;
            border-color:#6C6C6C #E3E3E3 #E3E3E3 #6C6C6C}
          /* Top margin greater than that of adjacent P
             to allow for leading on text */

LI, LI P, P.CONTIN
           {margin-top:0.25em}
            
LI.QMARK   {list-style-image: url("qmark.gif")}
  
DIV.FORMALPARA P
           {margin-left:3em; margin-right:2em; font-size:0.9em}
          /* Examples are inset both sides and smaller type */
   
P.ADDRESS  {clear:both; margin-top:1em; margin-bottom:0;
            text-align:center}

UL         {margin-top:0; margin-bottom:0}

SMALL      {font-size:83%}

DIV.QUESTION BIG   {font-size:1em}

DIV.FOOTNOTE-REF   {float:left; width:1em; padding-left:1em}
DIV.FOOTNOTE-BODY  {margin-left:2em}
DIV.FOOTNOTE-BODY P {margin-top:0; margin-bottom:1em}

A[name="FOOTNOTE"], A[name="FTN.FOOTNOTE"]
                   {text-decoration:none}

DIV.INDEX DL DT    {margin-top:1em}
DIV.INDEX DL DL    {margin:0; position:static; border:0} /* margin-top:0 */
DIV.INDEX DL DL DT {margin-top:0.5em; margin-left:1em; text-indent:-1em}
DIV.INDEX DL DL DL {margin:0; position:static; border:0} /* margin-top:0; margin-bottom:0 */

DIV.fixed          {margin-left:0.5em} /* for IE4; overridden by !IMPORTANT
                    margin setting in css-sbar for other CSS browsers */
