/* -*- css -*-
 * Cascading Style Sheet for visual media
 */

/* Font family preferences */
h1, h2, h3, h4, h5, h6, strong, :link:active, :visited:active,
ins.block > p:first-child:before, ins.block > div:first-child:before
{
  font-family: sans-serif;
  font-weight: bold;
}

:link, :visited
{
  font-family: sans-serif;
  font-weight: normal;
}

body, var, em
{
  font-family: serif;
  font-weight: normal;
}

#dirlist td, #dirlist td a
{
  font-family: monospace;
}

/* Font-size, margin, border, padding, line-height etc. */
body
{
  line-height: 1.5;
}

p, dl
{
  margin: 0 3em;
  padding: 0;
}

#dirlist
{
  margin: 1em 3em;
  padding: 0;
}

#dirlist table
{
  margin: 0;
  padding: 0;
  width: 100%;
  border-top: 3px ridge;
  border-bottom: 3px ridge;
  border-collapse: collapse;
  empty-cells: show;
}

#dirlist tr
{
  border-right: hidden;
}

#dirlist th, #dirlist td
{
  margin: 0;
  padding: 0 0.25ex;
  border-right: 1px dotted;
  vertical-align: baseline;
}

#dirlist th
{
  border-bottom: 1px solid;
}

table.specs
{
  margin: 0 auto;
  padding: 0;
  width: 90%;
  border-collapse: collapse;
  table-layout: fixed;
}

table.specs col.key
{
  width: 10em;
}

table.specs col.value
{
  /*width: max;*/ /* XXX */
}

table.specs th, table.specs td
{
  text-align: left;
  vertical-align: baseline;
  padding-left: 0.5ex;
  border-top: medium solid;
  border-bottom: medium solid;
}

blockquote
{
  margin: 1ex 2.5em;
  border-left: 0.5em solid;
  padding: 1ex 2.5em 1ex 2em;
}

blockquote p
{
  margin-left: 0;
  margin-right: 0;
}

pre
{
  margin: 1ex 6em;
  border: medium outset;
  padding: 1ex;
}

ol, ul
{
  margin: 1ex 2.5em;
  padding: 0;
}

li
{
  margin: 0 1.5em 0 2.5em;
  padding: 0;
}

li ol, li ul
{
  margin: 0;
}

li ol li, li ul li
{
  margin-left: 1em;
}

li p, dd p
{
  margin: 0;
}

li pre, dd pre
{
  text-indent: 0;
  margin-left: 1em;
  margin-right: 2em;
}

address
{
  margin: 1ex 1em;
  padding: 0;
  font-size: 0.9em;
  text-align: right;
}

h1
{
  font-size: 2em;
  width: 60%;
  margin: 1ex auto 2em;
  border: none;
  padding: 0;
  line-height: normal;
  text-align: center;
}

h2
{
  font-size: 1.7em;
  line-height: normal;
  margin: 1em 1em 0.5ex 0.5em;
  border: none;
  padding: 0 0 0 0.5ex;
  border-left: 0.5em solid;
}

h2 + p
{
  margin-top: 1em;
}

h3
{
  font-size: 1.5em;
  line-height: normal;
  width: 50%;
  min-width: 40ex;
  margin: 1ex auto 1ex 1.625em;
  border: none;
  padding: 0 0 0.125ex 0;
  border-bottom: 1px solid;
}

h2 + h3
{
  margin-top: 0.5ex;
}

h4
{
  font-size: 1.3em;
  line-height: normal;
  margin: 1ex 0 1ex 1.8em;
  border: none;
  padding: 0;
}

h3 + h4
{
  margin-top: 0.25ex;
}

h5
{
  font-size: 1.1em;
  line-height: normal;
  margin: 0.6725ex 0 1ex 1.8em;
  border: none;
  padding: 0;
}

h6
{
  display: inline;
  font-size: 1em;
  line-height: inherit;
  margin: 0 0.75em;
  border-top: 1px solid;
  border-bottom: 1px solid;
  padding: 0.25em 1ex;
}

ins.block, del.block
{
  display: block;
}


/* colors */
body
{
  color: black;
  background-color: white;
}

h1
{
  color: rgb(240,230,140);		/* khaki */
  background-color: rgb(106, 90,205);	/* slateblue */
}

h2
{
  color: black;
  background-color: rgb(230,230,250);	/* lavender */
  border-color: rgb( 72, 61,139);	/* darkslateblue */
}

h3
{
  color: black;
  background-color: rgb(240,255,240);	/* honeydew */
  border-color: rgb(152,251,152);	/* palegreen */
}

h4:before
{
  color: rgb(218,165, 32);		/* goldenrod */
}

strong
{
  color: black;
  background-color: rgb(251,255,144);	/* custom: purer lightyellow */
}

.stronger strong, strong.stronger
{
  color: black;
  background-color: rgb(255,105,180);	/* hotpink */
}

pre
{
  color: black;
  background-color: rgb(255,250,205);	/* lemonchiffon */
  border-color: rgb(245,222,179);	/* wheat */
}

#dirlist table
{
  /*border-color: rgb( 25, 25,112);	** midnightblue */
  border-color: rgb(123,104,238);	/* medium slate blue */
}

#dirlist th
{
  color: black;
  background-color: rgb(240,248,255);	/* aliceblue */
}

#dirlist th, #dirlist td
{
  border-color: navy;
}

table.specs th, table.specs td
{
  border-color:	rgb(240,248,255);	/* aliceblue */
}

col.key
{
  color: rgb(105,105,105);		/* dimgray */
  background-color: rgb(245,222,179);	/* wheat */
}

blockquote
{
  color: black;
  background-color: rgb(255,248,220);	/* cornsilk */
  border-color: rgb(106, 90,205);	/* slateblue */
}

/* arrangements for printing */
h1, h2, h3, h4, h5, h6
{
  page-break-after: avoid;
}

table.specs
{
  page-break-inside: avoid;
}


/* Remove some historical styles out from system style sheets */
address
{
  font-style: normal;
}

h4:before
{
  /* U+2023: TRIANGULAR BULLET */
  /* content: "\2023"; */
  /* U+27A2: THREE-D TOP-LIGHTED RIGHTWARDS ARROWHEAD */
  content: "\27a2";
  font-family: "Zapf Dingbats", "Dingbats", sans-serif;
  margin-right: 0.25ex;
}

q
{
  /* U+201C, U+201D: LEFT|RIGHT DOUBLE QUOTATION MARK */
  /* U+2018, U+2019: LEFT|RIGHT SINGLE QUOTATION MARK */
  quotes: "\201c" "\201d" "\2018" "\2019";
}

a.click-to-play-audio:before {
  /* U+25B6 U+FE0F: BLACK RIGHT-POINTING TRIANGLE (Emoji Var.) */
  content: "\25b6\fe0f";
  display: inline-block;
  font-size: 0.75em;
  margin-right: 0.125em;
  vertical-align: middle;
}
