/* Display Assignments */
/* =================== */

banner, bodymatter, bookinfo, bookx, booktitle, chaptitle, caption,
closer, creator, dateline, dedication, definition, ending,
endmatter, epigraph-book, epigraph-chap, frontmatter, glossary,
glossarytitle, glossarycommentary, gloss, image, imageblock, letter,
list, note, notemark, notes, notescommentary, notestitle, opener, p,
parttitle, quote, salute, sectitle, signed, stanza, subtitle,
subsectitle, term, themebreak, verse, verseauthor, verseline,
versetitle {display: block;}

code, distinct, foreign, ling-emph, ling-emph-strong, link, noteref,
other, sub, sup, title, word-as-word {display: inline;}

publisher, imprint, copyright, description, contributor, bookdate,
identifier, subject {display: none;}

/* Block */
/* ===== */

bookx {font-family: serif;
       background-color: #FFFDD0;
       width: 35.0em;
       line-height: 1.2;
       margin: 5px auto;
       padding-top: 10px;
       padding-right: 1.5em;
       padding-left: 1.5em;
       padding-bottom: 2.0em;
       border-width: 5px;
       border-color: #0082B8;
       border-style: groove;}

bookinfo {padding-top: 10.0em;
          padding-bottom: 10.0em;}

bookinfo booktitle:first-child {font-size: 2.00em;
                                font-weight: bolder;
                                color: #000088;
                                text-align: center;
                                margin: 0.67em 0.00em;}

booktitle + booktitle {font-size: 1.50em;
                       font-weight: bolder;
                       color: #0000CC;
                       text-align: center;
                       margin: 0.83em 0.00em;}

creator[role="aut"]:before {content: "by "}

creator[role="aut"] {font-size: 1.50em;
                      font-weight: bolder;
                      color: #880000;
                      text-align: center;
                      margin: 0.83em 0.00em;}

creator[role="ill"]:before {content: "Illustrated by "}

creator[role="ill"] {font-size: 1.50em;
                      font-weight: bolder;
                      color: #008800;
                      text-align: center;
                      margin: 0.83em 0.00em;}

creator[role="trl"]:before {content: "Translated by "}

creator[role="trl"] {font-size: 1.50em;
                      font-weight: bolder;
                      color: #000088;
                      text-align: center;
                      margin: 0.83em 0.00em;}

parttitle {font-size: 2.00em;
           color: #000088;
           margin-top: 3.0em;}

chaptitle {font-size: 1.50em;
           text-align: center;
           color: #0000CC;
           margin-top: 2.0em;
           margin-bottom: 1.0em;}

sectitle {font-size: 1.17em;
          margin: 1.00em 0.00em;}

subsectitle {font-size: 1.00em;
             color: #FF0000;
             margin: 1.17em 0.00em;}

parttitle,
chaptitle,
sectitle,
subsectitle,
subtitle {font-weight: bolder;
          text-align: center;}

subtitle {font-style: italic;
          color: #000088;}

parttitle + subtitle {font-size: 1.50em;
                      margin-top: 0.83em;
                      margin-bottom: 3.0em;}

chaptitle + subtitle {font-size: 1.17em;
                      margin: 1.00em 0.00em;}

sectitle + subtitle {font-size: 1.00em;
                      margin: 1.17em 0.00em;}

subsectitle + subtitle {font-size: 0.83em;
                      margin: 1.33em 0.00em;}

p {text-indent: 1.00em;}

epigraph-book {color: #008800;
               margin: 1.0em;}

epigraph-chap {color: #008800;
               margin: 1.0em;}

letter {border: thin silver solid;
        color: #0000CC;
        margin: 4.0em}

opener dateline {text-align: right;}

opener salute {margin-top: 2.0em;
               margin-bottom: 1.0em;}

letter closer salute {text-align: left;
                      margin-left: 4.0em;
                      margin-bottom: 2.0em;}

letter closer signed {text-align: left;
                      margin-left: 4.0em;}

banner {text-align: center;
        font-weight: bold;
        color: #CC4444;
        margin: 1.0em;}

banner p {text-indent: 0.0em;}

dedication {text-align: center;
            font-weight: bold;
            color: #FF0000;
            margin-top: 0.0em;
            margin-bottom: 10.0em;}

dedication p {text-indent: 0.0em;}

closer {text-align: right;
        margin-top: 1.5em;}

quote {margin-left: 2.00em;
       margin-right: 2.00em;
       margin-top: 1.00em;
       margin-bottom: 1.00em;}

verse {margin-left: 2.00em;
       margin-right: 2.00em;
       margin-top: 1.00em;
       margin-bottom: 1.00em;}

stanza {margin-top: 1.00em;}

versetitle {font-size: 1.00em;
            font-weight: bolder;
            text-align: center;
            color: #00CC00;
            margin: 1.17em 0.00em;}

verseauthor {font-size: 1.00em;
             font-weight: bolder;
             text-align: center;
             color: #008800;
             margin: 1.17em 0.00em;}

verseline {color: #880000;
           font-style: italic;}

verseline[indent="0"] {text-indent:  0.0em;}
verseline[indent="1"] {text-indent:  2.0em;}
verseline[indent="2"] {text-indent:  4.0em;}
verseline[indent="3"] {text-indent:  6.0em;}
verseline[indent="4"] {text-indent:  8.0em;}
verseline[indent="5"] {text-indent: 10.0em;}
verseline[indent="6"] {text-indent: 12.0em;}

notes {margin-top: 2.0em;
       margin-bottom: 2.0em;}

notestitle {font-size: 1.50em;
            text-align: center;
            color: #0000CC;
            margin: 0.83em 0.00em;}

notescommentary {margin-bottom: 2.0em;}

notescommentary p {font-style: italic;}

note {font-size: smaller;
      margin-top: 1.0em;}

notemark {float: left;}

glossary {margin-top: 2.0em;
          margin-bottom: 2.0em;}

glossarytitle {font-size: 1.50em;
               text-align: center;
               color: #0000CC;
               margin: 0.83em 0.00em;}

glossarycommentary {margin-bottom: 2.0em;}

glossarycommentary p {font-style: italic;}

gloss {font-size: smaller;
       margin-top: 1.0em;}

term:after {content: " :"}

term {float: left;
      font-weight: bolder;
      padding-right: 1.75em;}

definition p {text-indent: -1.0em;
              margin-left: 2.0em;}


/* Image */
/* ===== */

imageblock {width: 190px;
            border: thin silver solid;
            margin: 1.0em;
            padding: 1.0em;}

image {height: 275px;
       width: 188px;
       background-image: url("image.jpg");
       background-repeat: no-repeat;
       background-position: center;}

caption {font-weight: bold;
         color: #008888;
         font-style: italic;}

caption p {text-indent: 0.0em;
           padding-top: 0.5em;}

         
/* Inline */
/* ====== */

code {font-family: monospace;}

distinct, foreign, ling-emph, title, word-as-word {font-style: italic;}

ling-emph-strong {font-weight: bolder;}

link {text-decoration: underline;}

link[hiddenlink~="yes"] {text-decoration: inherit;}

notemark, noteref, sub, sup {font-size: smaller;}

noteref, notemark {font-weight: bold;
                   color: #FF0000;}

notemark + p {text-indent: 0.5em;}

sub {vertical-align: sub;}

sup, noteref, notemark {vertical-align: super;}

ending {margin-top: 2.0em;
        margin-bottom: 5.0em;}

ending p {text-indent: 0.0em;
          text-align: center;
          font-weight: bold;
          font-variant: small-caps;
          color: #000088;
          padding-top: 1.0em;
          padding-bottom: 0.0em;}


/* 'vhireq' Attribute Stylings */
/* =========================== */

other[vhireq~="serif"]          {font-family: serif;}
other[vhireq~="sans-serif"]     {font-family: sans-serif;}
other[vhireq~="cursive"]        {font-family: cursive;}
other[vhireq~="fantasy"]        {font-family: fantasy;}
other[vhireq~="monospace"]      {font-family: monospace;}

other[vhireq~="larger"]         {font-size: larger;}
other[vhireq~="smaller"]        {font-size: smaller;}

other[vhireq~="italic"]         {font-style: italic;}

other[vhireq~="small-caps"]     {font-variant: small-caps;}

other[vhireq~="bolder"]         {font-weight: bolder;}

other[vhireq~="underline"]      {text-decoration: underline;}
other[vhireq~="line-through"]   {text-decoration: underline;}

other[vhireq~="fcolor-aqua"]    {color: aqua;}
other[vhireq~="fcolor-black"]   {color: black;}
other[vhireq~="fcolor-blue"]    {color: blue;}
other[vhireq~="fcolor-fuchsia"] {color: fuchsia;}
other[vhireq~="fcolor-gray"]    {color: gray;}
other[vhireq~="fcolor-green"]   {color: green;}
other[vhireq~="fcolor-lime"]    {color: lime;}
other[vhireq~="fcolor-maroon"]  {color: maroon;}
other[vhireq~="fcolor-navy"]    {color: navy;}
other[vhireq~="fcolor-olive"]   {color: olive;}
other[vhireq~="fcolor-orange"]  {color: orange;}
other[vhireq~="fcolor-purple"]  {color: purple;}
other[vhireq~="fcolor-red"]     {color: red;}
other[vhireq~="fcolor-silver"]  {color: silver;}
other[vhireq~="fcolor-teal"]    {color: teal;}
other[vhireq~="fcolor-white"]   {color: white;}
other[vhireq~="fcolor-yellow"]  {color: yellow;}

other[vhireq~="bcolor-aqua"]    {background-color: aqua;}
other[vhireq~="bcolor-black"]   {background-color: black;}
other[vhireq~="bcolor-blue"]    {background-color: blue;}
other[vhireq~="bcolor-fuchsia"] {background-color: fuchsia;}
other[vhireq~="bcolor-gray"]    {background-color: gray;}
other[vhireq~="bcolor-green"]   {background-color: green;}
other[vhireq~="bcolor-lime"]    {background-color: lime;}
other[vhireq~="bcolor-maroon"]  {background-color: maroon;}
other[vhireq~="bcolor-navy"]    {background-color: navy;}
other[vhireq~="bcolor-olive"]   {background-color: olive;}
other[vhireq~="bcolor-orange"]  {background-color: orange;}
other[vhireq~="bcolor-purple"]  {background-color: purple;}
other[vhireq~="bcolor-red"]     {background-color: red;}
other[vhireq~="bcolor-silver"]  {background-color: silver;}
other[vhireq~="bcolor-teal"]    {background-color: teal;}
other[vhireq~="bcolor-white"]   {background-color: white;}
other[vhireq~="bcolor-yellow"]  {background-color: yellow;}


/* List-related */
/* ============ */

list  {margin-left: 2.0em;
       margin-top: 0.5em;
       margin-bottom: 0.5em;}

list[ordered="no"] {list-style-type: disc;}

list[ordered="yes"] {list-style-type: decimal;}

listitem {display: list-item;}

/* may not need 'list' in above selector -- test out */


/* Empty Elements */
/* ============== */

themebreak {height: 40px;
            margin-top: 1.0em;
            margin-bottom: 1.0em;
            background-image: url("fleuron-small.png");
            background-repeat: no-repeat;
            background-position: center;}

