/* Embedded REBOL Header
-------------------------------------------------------
[REBOL [title: "Anywhere Stylesheet"
date: 12-April-2007
author: "Christopher Ross-Gill"
rights: http://creativecommons.org/licenses/by-sa/1.0/
history: [
     5-Aug-2002 "Original Version"
    10-Sep-2003 "Updated"
    17-May-2006 "Refined"
    12-Apr-2007 "Added Grey Page Header"
]]]
------------------------------------------------------- */

/* Page Style
------------------------------------------------------- */
* {
  font: 13px/1.3 "Georgia","Constantia","Bitstream Vera Serif","Times New Roman",serif;
  margin: 0; padding: 0;
  }
pre, pre * {
  font: 0.9em/1.2 "Monaco","Consolas","Bitstream Vera Sans Mono","Andale Mono","Lucida Console",fixed;
  }
pre * {font-size: 1em;}

body {
  background: #fff url(/images/topgrey.png) repeat-x; color: #000;
  margin: 2.4em 10%;
  }
@media print {
  * {font-size: 9pt;}
  body {margin: 1em 5%;}
  }

/* Link + Inline Styles
------------------------------------------------------- */
a, b, i, strong, em, sub, sup {font: inherit;}
b, strong {font-weight: bold;}
i, em {font-style: italic;}
a:link {color: #009;}
a:visited {color: #639;}
a:active, a:hover {color: #c00;}
sub, sup {font-size: 0.8em;}

/* Text Styles
------------------------------------------------------- */
p, ol, ul, dl, blockquote, div.image {
  line-height: 1.6;
  margin: 0.2em 0 1em;
  }

/* Header Styles
------------------------------------------------------- */
h1, h2, h3 {font: bold 1em/1.2 "Bitstream Vera Sans","Verdana",serif;}
h1 {margin: 0; font-size: 1.4em;}
h2 {
  margin: 1.2em 0 0.6em;
  padding: 1em 0 0;
  font-size: 1.2em;
  border-top: 1px dashed #bbb;
  }
h3 {font-size: 1.1em; margin: 1.4em 0 0.3em;}
h4 {font-weight: bold;}
h5 {font-style: italic;}

/* Lists
------------------------------------------------------- */
ol, ul {margin-left: 2.4em;}

ul ul, ol ul {list-style-type: square; margin: 0 0 0 1.8em;}
ul ul ul, ol ul ul, ol ol ul, ul ol ul  {list-style-type: circle;}
ol ol, ul ol {list-style-type: lower-alpha; margin: 0 0 0 1.8em;}
ol ol ol, ul ol ol, ul ul ol, ol ul ol {list-style-type: lower-roman;}

li {margin: 0.2em 0 0.4em;}
dt {font-weight: bold;}
dd {margin: 0.2em 0 1em 2.4em;}

/* Images
------------------------------------------------------- */
div.image, div.image div {text-align: center; line-height: 1;}
img {border: 0;}

/* Code
------------------------------------------------------- */
pre {
  width: 100%;
  margin: 1em 0;
  background: #e4e4e4;
  border: 1px solid #ddd;
  overflow: auto;
  }
pre code {
  font: inherit;
  display: block;
  padding: 0.5em 0.8em; margin: 0;
  }
blockquote pre {
  width: auto;
  background: #e4e4e4;
  border: 1px solid #ddd;
  padding: 0.5em 0.8em;
  }

/* Table Styles
------------------------------------------------------- */
table {
  border-collapse: separate;
  margin: 0.2em auto 1em;
  text-align: center;
  width: auto;
  }
th, td {
  border: 1px solid #ddd;
  font-size: 0.85em;
  margin: 2px;
  padding: 0.5em 0.5em 0;
  overflow: visible;
  text-align: left;
  vertical-align: top;
  }
th {
  background: #eee;
  border: 1px solid #bbb;
  font-weight: bold;
  text-align: center;
  }
thead th, thead td {vertical-align: bottom;}
tbody th, tbody td {vertical-align: top;}

/* Form Style
------------------------------------------------------- */
form {margin: 1em 0; border: 0; padding: 0;}
form br {display: none;}

label {display: block;}
span.label {display: block; width: 100%; text-align: right;}
input, select {margin: 0;}
textarea, input.field, select {
  border: 1px solid #444;
  border-color: #444 #fff #fff #444;
  margin: 0; padding: 2px;
  background: #fff;
  }
input.field:focus, textarea:focus {
  background: #ffe;
  }
input.field, textarea {width: 98%;}
input.field, select {line-height: 120%;}
input.button {
  font-weight: bold;
  width: 8em;
  }

/* Form Table Structure
------------------------------------------------------- */
*.form-left {text-align: right; width: 120px;}
*.form-right {width: 310px;}
*.form-left * {display: block; margin-left: auto; text-align: right;}
form th {text-align: right;}
form th label {display: block;}

/* Form List Structure

------------------------------------------------------- */
form ul {
  list-style: none outside; list-style-image: none;
  margin: 1em 0; padding: 0;
  text-indent: 0;
  }
form ul li {
  background: inherit;
  padding: 0;
  }

/* Enhanced Styles
------------------------------------------------------- */
hr {clear: both; display: none;}

div.address {text-align: right; font-style: italic;}
div.indent {padding: 0 2.6em;}

div.figure {clear: left;}
div.figure div {padding: 0.3em 1em 1em 0;}
div.figure p {
  line-height: 150%;
  margin: -0.4em 0 0.2em;
  padding: 6px;
  text-align: left;
  }
div.figure div {
  font-weight: bold;
  margin: 0 auto;
  padding-bottom: 1em;
  }

dl.note {margin: 0.8em 2.1em;}
dl.note dt {
  background: #666;
  color: #fff;
  border: 1px solid #bbb;
  border-color: #fff #333 #333 #fff;
  margin: 0;
  padding: 0.1em 0.8em;
  text-transform: uppercase;
  }
dl.note dd {
  background: #f5f5f5;
  border: 1px solid #bbb;
  border-color: #fff #bbb #bbb #fff;
  font-style: italic;
  margin: 0 0 1em;
  padding: 0.5em 0.8em 0;
  }
p.date {font-weight: bold;}
.hidden {display: none;}

/* Table of Contents
------------------------------------------------------- */
ul#toc, ul#toc ul {
  margin-left: 0; margin-right: 0;
  list-style: none outside;
  list-style-image: none;
  text-indent: 0;
  }
ul#toc {padding-left: 0;}
ul#toc ul {padding: 0 2.6em;}
ul#toc li {font-weight: bold; padding: 0; margin: 0.2em 0;}
ul#toc ul li {font-weight: normal; margin: 0;}
ul#toc ul ul li {font-style: italic;}
ul#toc ul ul ul li {font-style: normal; font-size: 0.9em;}
