/* Page section */
body {
  font-family: "Times New Roman", Times, serif;
}

h1, h2, h3, h4, p, div, ul {
  margin: 0;
}

p {
  margin-top: 0.2em;
  margin-bottom: 0.1em;
}

div {
  padding: 0;
}

p, li {
  line-height: 1.2em;
}

h1, h2, h3, h4 {
  color: #595959;
  font-family: Arial, Helverica, sans-serif;
}

h1[class=title] {
  margin: 0;
  color: #607d8b; /*Blue Gray 50, 500*/
  font-size: 4em;
}

h1[class=subtitle] {
  margin: 0;
  position: relative;
  top: -0.5em;
  left: 0.4em;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.1em;
}

h1 {
  margin-top: 0.6em;
  font-size: 1.5em;
}

h2 {
  margin-top: 0.4em;
  margin-left: 0.2em;
  font-size: 1.3em;
}

h3 {
  margin-top: 0.3em;
  margin-left: 0.4em;
  font-size: 1.2em;
}

h4 {
  margin-top: 0.2em;
  margin-left: 0.6em;
  font-size: 1.1em;
}

tr {
  vertical-align: top;
}

a:link    { /* unvisited links */
  color: #2e2e2e;
}

a:visited { /* visited links */
  color: #666666;
  font-style: italic;
}

a:hover   { /* user hovers */
  color: #d88079;
}


/* Frame */
tr[class=frame], td[class=frame] {
  background-color: #c6cccc; /*color gray 80%+blue*/
}

/* Navigation section */
tr[class=nav] {
  text-align: center;
  vertical-align: middle;
  height: 48px;
}

a[class=nav] {
  text-decoration: none;
  font-size: 1.1em;
  color: #828282;
  padding-left: 24px;
  padding-right: 24px;
}

a[class=nav]:link    { /* unvisited links */
  font-style: italic;
}

a[class=nav]:visited { /* visited links */
}

a[class=nav]:hover   { /* user hovers */
  color: #2e2e2e;
}

a[class=nav]:active  { /* active links */
}

div[class=sep] {
  padding-left: 1px;
  background-color: #999999;
}


/* Search input */
input[type=text] {
  border: 2px solid #999;
  border-radius: 0.2em;
  font-size: 1.1em;
  -webkit-appearance: none;
}


/* Home */
#home span[class=img] {
  cursor: pointer;
}

#home span[class=img] img[class=icon] {
  border: double;
  height: auto;
  width: auto;
  max-width: 1.5em;
}

#home span[class=img] img[class=main] {
  display: none;
}

#home span[class=img]:hover img[class=main] {
  display: block;
  position: fixed;
  left: 20em;
  bottom: 10em;
  border: dotted;
}


/* Documentation */
#docs div[class=more] {
  text-align: right;
  position: relative;
  margin-bottom: 0.5em;
  padding-right: 16px;
}

#docs p {
  text-indent: 0.5em;
  margin-top: 0.1em;
}

#docs div[class=manual] {
  margin-top: 0.4em;
  margin-left: 0.2em;
  margin-bottom: 0.4em;
  padding: 0.2em;
  border-top: 2px solid #cccccc;
  border-bottom: 2px solid #cccccc;
}

#docs p[class=tip] {
  color: #595959;
  text-indent: 0;
  text-align: right;
  float: right;
  font-size: 1.1em;
  font-style: italic;
}

#docs div[class=img] {
  float: right;
  margin-left: 12px;
  padding-left: 6px;
  padding-right: 6px;
  cursor: progress;
}

#docs div[class=img] img[class=icon] {
  border: double;
  height: auto;
  width: auto;
  max-width: 48px;
}

#docs div[class=img] img[class=main] {
  display: none;
}

#docs div[class=img]:hover img[class=main] {
  display: block;
  position: fixed;
  top: 24px;
  right: 36px;
  border: dotted;
  opacity: 0.8;
  max-width: 360px;
}

#docs .floatbtn {
  padding: 5px;
  border-style: solid;
  border-width: 1px;
  border-radius: 50%;
}

#docs .actionbtn {
  padding: 1px;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
}

#docs ul {
  margin-left: 2em;
  padding: 0
}

#docs ul ul {
  margin-left: 1em;
}

#docs .speckeys {
  margin-left: 1.4em;
}

#docs table[class=speckeys] td {
  padding-left: 8px;
  padding-right: 8px;
}


/* Manual pages */
/* .. from xhtml <style> */
#docs div[class=manual] table[class=head] { width: 100%; }
#docs div[class=manual] table[class=foot] { width: 100%; }

#docs div[class=manual] td[class=head-rtitle] { text-align: right; }
#docs div[class=manual] td[class=foot-os ]    { text-align: right; }
#docs div[class=manual] td[class=head-vol ]   { text-align: center; }
/* Note use em instead ex */
#docs div[class=manual] div[class=Pp] { margin: 1em 0em; }
#docs div[class=manual] div[class=Nd] { display: inline; }
#docs div[class=manual] div[class=Bf] { display: inline; }
#docs div[class=manual] div[class=Op] { display: inline; }
#docs div[class=manual] span[class=Pa] { font-style: italic; }
#docs div[class=manual] span[class=Ad] { font-style: italic; }
#docs div[class=manual] span[class=Ms] { font-weight: bold; }
#docs div[class=manual] dl[class=Bl-diag] { font-weight: bold; }
#docs div[class=manual] code[class=Nm] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] code[class=Fl] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] code[class=Cm] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] code[class=Ic] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] code[class=In] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] code[class=Fd] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] code[class=Fn] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] code[class=Cd] { font-weight: bold; font-family: inherit; }
#docs div[class=manual] cite[class=Rs] { font-style: normal; }

/* ... extra formating */
#docs div[class=manual] section { line-height: 1.5em; }
#docs div[class=manual] section h1[class=Sh] { margin-bottom: 0.2em; }
#docs div[class=manual] table[class=foot] { margin-top: 1em; }
#docs div[class=manual] p[class=Pp] { text-indent: 0; }
#docs div[class=manual] dl[class="Bl-tag Bl-compact"] dt { font-weight: bold; font-family: inherit; }
#docs div[class=manual] div[class="Bd Pp Bd-indent Li"] pre { margin-top: 0em; margin-bottom: 0em; }
#docs div[class=manual] a[class=permalink] { /* ignored original border-bottom: thin dotted; */ }
