/* Mostly to override standard xhtml11.css */

body {
  margin: 1em 5% 1em 2%;
  font-family: sans-serif;
}

#header {
  color: #666699;
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  margin-bottom: 20px;
}

#header table {
  border-collapse: collapse;
  width: 100%;
}

#header td {
  border-top: 3px solid #dcdcdc;
  border-bottom: 3px solid #dcdcdc;
}

#header td.logo {
  width: 60px;
}

#header td.logo img {
  vertical-align: middle;
}

#header td.title {
  font-size: 32pt;
}

#header td.date {
  font-size: 18pt;
  text-align: right;
}

p, ul, ol {
  margin-top: 0.2em;
  margin-bottom: 1.0em;
}

ul, ol {
    list-style-position: outside;
}

h1, h2, h3, h4, h5, h6 {
  color: #666699;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
  font-style: oblique;
}
h2 {
  font-size: 20pt;
  border-bottom: 3px solid #dcdcdc;
}
h3 {
  font-size: 14pt;
  text-decoration: underline;
}

em {
  font-weight: bold;
  color: #666699;
}

div.imageblock {
  margin-right: 10%;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

div.listingblock pre {
  background: #f4f4f4;
  color: navy;
  padding: 0.5em;
  margin-bottom: 10px;
  width: 80%;
}

div.sidebar-content {
/*Because OL only applies background to text (not block)
  background: #ffffee;
 */
  border: 2px solid silver;
  padding: 0.5em;
  margin-bottom: 10px;
  width: 80%;
}

div.sidebar-title, div.image-title, div.title {
  font-family: sans-serif;
  font-weight: bold;
  color: #666699;
  margin-top: 0.0em;
  margin-bottom: 0.5em;
}

div.hlist {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
div.hlist td {
  padding-bottom: 5px;
}
td.hlist1 {
  vertical-align: top;
  padding-right: 0.8em;
  color: #666699;
  font-weight: bold;
  font-style: oblique;
}
td.hlist2 {
  vertical-align: top;
}

/*
Results in MHTML rendering problems:
div.admonitionblock {
*/
div.admonitionblock table {
  border: 2px solid silver;
  background: #ffffee;
  margin-bottom: 10px;
  width: 100%;
}
div.admonitionblock .icon {
  vertical-align: top;
  font-size: 1.1em;
  font-weight: bold;
  color: #666699;
  text-decoration: underline;
  padding-right: 0.5em;
}
div.admonitionblock td.content {
  padding-left: 0.5em;
}

/*
div.tableblock table, div.hlist table {
  border: 2px solid #fa0;
  margin: 0.5em 5% 1em 14px;
  background: #ffffee;
}
*/
/* Block element titles. */
div.title, caption.title {
  color: #666699;
  font-family: sans-serif;
  font-weight: bold;
  text-align: left;
  margin-top: 1.0em;
  margin-bottom: 0.5em;
}

table.tableblock th {
  font-family: sans-serif;
}

p.table, li p, dd p {
  margin: 0.1em 0 0.3em 0;
}

li img {
  margin-top: 8px;
}

div.tableblock {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

div.tableblock > table {
  border: 3px solid #527bbd;
}
thead {
  font-family: sans-serif;
  font-weight: bold;
}
tfoot {
  font-weight: bold;
}
td > div.verse {
  white-space: pre;
}
p.table {
  margin-top: 0;
}
/* Because the table frame attribute is overriden by CSS in most browsers. */
div.tableblock > table[frame="void"] {
  border-style: none;
}
div.tableblock > table[frame="hsides"] {
  border-left-style: none;
  border-right-style: none;
}
div.tableblock > table[frame="vsides"] {
  border-top-style: none;
  border-bottom-style: none;
}

