/*----------------------------------------------------------------------------*\
 * STYLESHEET:  pub
 * PURPOSE:     Bibliographic style sheet for pub.htm and related pages.
 * TYPE:        text/css  CSS Level 2
 * DATE:        1999/02/11  T.W.H.
 *              1999/07/28  T.W.H.  Added IMG.text
 *              2005/01/26  T.W.H.  Added BODY background-image
 *              2007/02/17  T.W.H.
\*----------------------------------------------------------------------------*/

/*
 * The "quotes" values defined here are for "curly" American English quote
 * marks.  This determines the "open-quote" and "close-quote" values for the
 * "content" property of the ":before" and ":after" pseudo-elements of the
 * "SPAN" elements defined later.
 */
   BODY { quotes:           "\201C" "\201D" "\2018" "\2019";
          color:            black;
          background-color: white;
          background-image: url("../general/back.gif"); }

   HR   { margin-top:       1em;
          margin-bottom:    1em; }

   DIV.banner { text-align: center;
                margin:     auto; }

   H1        { text-align:       center; 
               margin-left:      auto;
               margin-right:     auto;
               margin-top:       1em;
               margin-bottom:    0em; }

   H2.biblio { width:            100%;
               margin-left:      0em;
               margin-right:     0em;
               margin-top:       1em;
               margin-bottom:    0em;
               padding-left:     0em;
               padding-right:    0em;
               padding-top:      0em;
               padding-bottom:   0em; }

   LI       { margin-top:     1em;
              margin-bottom:  0em; }

   P        { text-indent:    0em;
              padding-left:   0em;
              padding-right:  0em;
              padding-top:    0em;
              padding-bottom: 0em;
              margin-left:    0em;
              margin-right:   auto;
              margin-top:     1em;
              margin-bottom:  0em; }

   P.indent { text-indent:    0em;
              padding-left:   2em;
              padding-right:  0em;
              padding-top:    0em;
              padding-bottom: 0em;
              margin-left:    0em;
              margin-right:   auto;
              margin-top:     1em;
              margin-bottom:  0em; }

   P.biblio { text-indent:   -2em;
              padding-left:   2em;
              padding-right:  0em;
              padding-top:    0em;
              padding-bottom: 0em;
              margin-left:    0em;
              margin-right:   0em;
              margin-top:     1em;
              margin-bottom:  0em; }

   EM       { font-style:     italic; }

   STRONG   { font-weight:    bold; }

   SPAN.title-book           { font-style: italic; }
   SPAN.title-journal        { font-style: italic; }
   SPAN.title-periodical     { font-style: italic; }
   SPAN.title-proceedings    { font-style: italic; }
   SPAN.title-film           { font-style: italic; }
   SPAN.title-paper          { text-decoration: underline; }
   SPAN.title-patent         { text-decoration: underline; }
   SPAN.filterpattern        { text-decoration: underline; }
/*
 * Netscape 4 doesn't support the ":before" and ":after" pseudo-elements.
 * Neither does Safari 1.3.2 or 2.0.4
 * Neither does InternetExplorer:mac 5.2
 * Neither does OmniWeb 4.5
 * Mozilla 1.7.12 supports them just fine.
 */
   SPAN.title-article           { }
   SPAN.title-article:before    { content: open-quote; }
   SPAN.title-article:after     { content: close-quote; }
   SPAN.title-report            { }
   SPAN.title-report:before     { content: open-quote; }
   SPAN.title-report:after      { content: close-quote; }
   SPAN.title-chapter           { }
   SPAN.title-chapter:before    { content: open-quote; }
   SPAN.title-chapter:after     { content: close-quote; }
   SPAN.title-poster            { }
   SPAN.title-poster:before     { content: open-quote; }
   SPAN.title-poster:after      { content: close-quote; }
   SPAN.title-note              { }
   SPAN.title-note:before       { content: open-quote; }
   SPAN.title-note:after        { content: close-quote; }
   SPAN.title-panel             { }
   SPAN.title-panel:before      { content: open-quote; }
   SPAN.title-panel:after       { content: close-quote; }
   SPAN.title-collection        { }
   SPAN.title-collection:before { content: open-quote; }
   SPAN.title-collection:after  { content: close-quote; }
   SPAN.title-slideshow         { }
   SPAN.title-slideshow:before  { content: open-quote; }
   SPAN.title-slideshow:after   { content: close-quote; }
   SPAN.title-speech            { }
   SPAN.title-speech:before     { content: open-quote; }
   SPAN.title-speech:after      { content: close-quote; }
   SPAN.title-uri               { }
   SPAN.title-uri:before        { content: open-quote; }
   SPAN.title-uri:after         { content: close-quote; }
   
   SPAN.keywords                { display: none; }
/*
 * Table stuff.
 */
   TD { text-align:     left;
        vertical-align: top; }
   TH { text-align:     left;
        vertical-align: top; }

   P.th      { font-weight:    bold;
               text-align:     left;
               text-indent:    0em;
               padding-left:   0em;
               padding-right:  0em;
               padding-top:    0em;
               padding-bottom: 0em;
               margin-left:    0em;
               margin-right:   auto;
               margin-top:     1em;
               margin-bottom:  0em; }

   P.td-term { text-indent:    0em;
               text-align:     left;
               padding-left:   0em;
               padding-right:  0em;
               padding-top:    0em;
               padding-bottom: 0em;
               margin-left:    2em;
               margin-right:   1em;
               margin-top:     1em;
               margin-bottom:  0em; }

   P.td-desc { text-indent:    0em;
               text-align:     left;
               padding-left:   0em;
               padding-right:  0em;
               padding-top:    0em;
               padding-bottom: 0em;
               margin-left:    0em;
               margin-right:   auto;
               margin-top:     1em;
               margin-bottom:  0em; }

/*
 * To hide the border that Netscape normally draws around images.  The
 * border="0" attribute is deprecated in HTML4.  Setting the style to
 * "border-width: 0;", or "border-style: none;" should work, but Netscape 4
 * chokes on that.  I can get the desired effect by setting the color equal
 * to the background color, but the CSS validator issues unwanted warnings if
 * they're exactly equal.
 */
   IMG.borderless { border-width:     0em;
                    border-style:     none; }
                    
   IMG.listitem   { clear:            both;
                    float:            left;
                    border-width:     0em;
                    border-style:     none;
                    margin-right:     1em;
                    margin-bottom:    1em; }
/*
 * Anchor styles.  Netscape 4 applies the text-decoration for A:visited to
 * all anchors, whether they've been visited or not.  Color works as it
 * should for A:link and A:visited.  Netscape 4 ignores A:hover and
 * A:active, unfortunately.  The default value for "text-decoration" is often
 * "underline", but that conflicts with bibliography semantics, so it's
 * explicitly overriden here.
 */
   A:link    { color:            blue;
               background-color: transparent;
               text-decoration:  none;
               text-transform:   inherit; }
   A:visited { color:            purple;
               background-color: transparent;
               text-decoration:  none;
               text-transform:   inherit; }
   A:hover   { color:            blue;
               background-color: yellow;
               text-decoration:  none;
               text-transform:   inherit; }
   A:active  { color:            black;
               background-color: lime;
               text-decoration:  none;
               text-transform:   inherit; }
/*
 * Anchors to stand out as "text buttons" at the end of bibliography entries.
 * I reserve these for linking to on-line editions of documents or order
 * forms.  This make it easy to see what documents are available on-line.
 * Anchors within the proper fields of the bibliography are rendered as normal
 * anchors, which look more like plain text.
 */
   A.textbtn:link    { color:            blue;
                       background-color: silver;
                       font-weight:      bold;
                       text-decoration:  none;
                       text-transform:   none; }
   A.textbtn:visited { color:            purple;
                       background-color: silver;
                       font-weight:      bold;
                       text-decoration:  none;
                       text-transform:   none; }
   A.textbtn:hover   { color:            blue;
                       background-color: yellow;
                       font-weight:      bold;
                       text-decoration:  none;
                       text-transform:   none; }
   A.textbtn:active  { color:            black;
                       background-color: lime;
                       font-weight:      bold;
                       text-decoration:  none;
                       text-transform:   none; }
/*
 * INPUT.
 */
   INPUT             { color:            #000;
                       background-color: #ddf; }

