/* 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 {
  color: #595959;
  font-family: Arial, Helverica, sans-serif;
}

h1[class=title] {
  margin: 0;
  color: #d88079;
  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;
}

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: #cccccc; /*color gray 80%*/
}

/* 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 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 {
  text-indent: 0.5em;
  margin-top: 0.1em;
}

#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;
}

/* Translation Statistics */
#transtat th, #transtat td {
  padding-left: 4px;
  padding-right: 4px;
}

#transtat th[class=sep_w], #transtat td[class=sep_w] {
  padding-left: 0px;
  padding-right: 0px;
  width: 1px;
  background-color: #cccccc;
}

#transtat th[class=sep_h], #transtat td[class=sep_h] {
  padding-left: 0px;
  padding-right: 0px;
  height: 2px;
  background-color: #cccccc;
}

#transtat td[class=stat_perc] {
  padding-top: 4px;
  font-size: 0.7em;
  font-style: italic;
}
