/*
 * Colors
 */
@media screen {
  a:link    { color: orange; }
  a:visited { color: #ff6611; }
  a:hover, a:active { color: yellow; }
  h1 a:visited, h2 a:visited, h3 a:visited,
  h4 a:visited, h5 a:visited, h6 a:visited { color: #ffaa55; }
  th, h1, h2, h3, h4, h5, h6, b, strong {
    color: #bbffbb;
  }
  .box { border-color: #009900; }
  th, .boxhead { background: #005500; }
  table.toc th, table.toc td {
	background: #000000;
	border-bottom: 1px solid #004400;
  }
  input, textarea {
    border-color: #999999;
    color: #ffffff; 
  }
  body, input, textarea { background: black; }
  body { color: lime; }  
  blockquote {
    border-color: #444444;
    background-color: #222222;
  }
}
@media print {
  body { background: white; }
  .boxhead { background: silver; }
  .box { border-color: grey; }
  blockquote {
    border-color: grey;
  }
}
  
/*
 * Fonts
 */

code {
  color: red;
  font: medium courier;
}
body { margin: .5em; }
body, input {
  font: medium fixedsys, verdana;
}
h1, h2, h3, h4, h5, h6 {
  font-style: bold;
  font-family: verdana, helvetica;
  margin: .5em 4px .5em 4px;
}
h1 { font-size: xx-large; }
h2 { font-size: x-large; }
h3 { font-size: large; }
h4 { font-size: medium; }

/*
 * Misc.
 */

blockquote {
  border-style: solid;
  border-width: 2px;
  padding: 0;
}

input, textarea {
  border-width: 1px;
  border-style: solid;
  padding: 2px;
}

/*
 * Table stuff
 */

td, th { padding-right: 0.5em; padding-left: 0.5em; }
table.dict {
  border-collapse: collapse;
}

table.dict th {
  text-align: right;
  padding-right: .5em;
}
table.dict td { padding-left: .5em; }

table.toc th {
	white-space: nowrap;
	text-align: right;
	padding-right: 2em;
}
table.toc th, table.toc td {
	vertical-align: top;
}
table.toc tr {
}

/*
 * Box stuff
 */

.box, .entry {
	border-width: 2px;
	border-style: solid;
	margin-top: .5em;
	margin-bottom: .5em;
}
p, pre, blockquote, .box .box {
  margin: .5em; }
.boxhead, .entryhead, table.box th {
	margin: 0;
	padding: 2px 4px 2px 4px;
}
.boximg {
	margin: 0.5em;
	border: 0;
	float: left;
	width: 97;
}

/* Horizontal stuff */

.horiz {
	width: 100%;
}
.horizitem {
	float: left;
	margin-right: 32px;
}

