body
{
    background: #fff;
    color: #343434;
}

.navheader
{
border: 1px solid #999;
border-style: solid;
    border-color: transparent transparent #004080 transparent;
}
.navfooter {
margin-top: 1em;
border: 1px solid #999;
border-style: solid;
border-color: #004080 transparent transparent  transparent;
}

.container {
    display: block;
width: 900px;
margin: 10px auto;
font-family: sans-serif;
font-size: small;
padding: 9px 9px;
border: 1px solid #999;
background: #f0f0f0;
color: #343434;
}

.book .title { 
    font-size: 2em; 
    margin: 0.5ex 0;
    border-width: 1px;
    border-style: solid;
    border-color: transparent transparent #004080 transparent;
}

.chapter,
.preface {
    display: block;
}       

.chapter .title,
.preface  .title { 
    font-size: 1.8em; 
    margin: 0.5ex 0;
    border-width: 1px;
    border-style: none;
    border-color: transparent transparent #004080 transparent;
}

.chapter p.title {
   border-style: none;
}

.toc {
    display: block;
    margin: 0ex 0;
    /* content of toc has a margin */
}
        
.toc .chapter {
    display: block;
    margin: 0 0;
}

.toc .section {
    margin: 0ex 0;
    /* no vertical margins to make it more compact */
}

.toc dl {
    margin: 0 0;
}

.toclevel2,
.toclevel3,
.toclevel4,
.toclevel5 {
    margin-left: 4ex;
}

.title,
.subtitle,
.titleabbrev {
    display: block;
  color: #004080; 
    margin: 1.33ex 0;
}

.title,
.subtitle {
    font-weight: bold; 
}

.section,
.sect1,
.sect2,
.sect3,
.sect4,
.sect5,
.simplesect {
    display: block;
    margin: 0 1ex;
}

.section .title,
.sect1 .title { 
    font-size: 1.5em; 
    margin: .83ex 0; 
    border-style: none;
}

.section .section .title,
.sect2 .title { 
    font-size: 1.2em; 
    font-weight: bold; 
    margin: 1ex 0; 
    border-style: none;
}

.section * .section .title { 
    font-size: 1.0em; 
    margin: 1.33ex 0; 
}

.section .section {
margin: 0 2ex;
}

p {
    display: block;
    margin: 1.33ex 1ex; 
}

.note p {
display: inline;
margin-left: 0.5ex;
}

.itemizedlist {
    display: block;
    margin-left: 2ex; /* all lists are slightly indented */
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
    list-style-type: disc;
}

.note .itemizedlist {
    display: inline;
    margin-left: 2ex; /* all lists are slightly indented */
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
    list-style-type: disc;
}

.listitem {
    display: block;
}

l.istitem  *.first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}
      
.itemizedlist .listitem {
    margin-left: 2.5ex; 
    display:list-item;
}

.itemizedlist .listitem:before {
    color: #004080;
}

.variablelist {
    display: block;
    margin-left: 2ex; 
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

.varlistentry {
    display: block;
}

.term {
    display: block;
    font-weight: bold; 
}

.varlistentry .listitem {
    margin-left: 4ex; 
}

programlisting,
screen,
literallayout,
synopsis {
    display: block;
    white-space: pre;
    font-family: monospace;
    margin: 1.33ex 0; 
}
         
programlisting {
    background-color: #EEEEEE; 
    border: thin solid gray; 
    padding: 2px; 
}
 
screen {
    background-color: #EEEEFF; 
    border: thin solid #8888FF; 
    padding: 2px; 
}
 
.figure,
.informalfigure,
.example,
.informalexample {
    display: block;
    margin: 1.33ex auto; 
}

.figure .title,
.example .title {
    font-style: italic;
    font-weight: normal;
    text-align: center;
    font-size: 1.0em;
    margin: 0; /* content of figure generally already has a margin */
}

.mediaobject {
    display: table;
    border-spacing: 2px;
    margin: 1.33ex 2ex; 
}

.listitem .mediaobject {
    display: table;
    border-spacing: 2px;
    margin: 1.33ex 0; 
}

.figure .mediaobject {
    display: table;
    border-spacing: 2px;
    margin: 1.33ex auto; 
    margin-bottom: 2.5ex;
}

.inlinemediaobject {
    display: inline-table;
    border-spacing: 2px;
}

.caption {
    display: table-caption;
    color: #004080;
    font-style: italic;
    font-weight: normal;
    text-align: center;
    /* content of caption already has a margin */
}

.audioobject,
.videoobject,
.imageobject,
.textobject {
    display: table-cell; /* this will create one row per cell */
    text-align: center;
}

.note,
.caution,
.important,
.tip,
.warning {
    display: block;
    margin-left: 10ex;
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

.note > *:first-child,
.caution > *:first-child,
.important > *:first-child,
.tip > *:first-child,
.warning > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}
      
.note .title {
    font-weight: bolder;
    font-family: sans-serif;
    color: #004080;
    font-size:1em;
}

.section .note .title {
    font-weight: bolder;
    font-family: sans-serif;
    color: #004080;
    font-size:1em;
}

.author,
.editor,
.othercredit {
    display: block; /* can contain authorblurb, address */
    margin: 1.33ex 0;
}

.personname {
    display: inline;
}

.emphasis {
    font-style: italic;
}
.emphasis[role=bold] {
    font-style: normal; 
    font-weight: bold; 
}
.emphasis[role=underline] {
    font-style: normal; 
    text-decoration: underline;
}
.emphasis[role=strikethrough] {
    font-style: normal; 
    text-decoration: line-through;
}

.emphasis > emphasis {
    font-style: normal; 
    font-weight: normal; 
    text-decoration: none;
}

.literal {
    font-family: monospace;
}
      
.link,
.ulink,
.email {
    color: navy;
    text-decoration: underline;
}
