body {
  font: 0.875em/1.6 Verdana, "Bitstream Vera Sans", sans-serif;
  color: #222;
}

#Content {
  max-width: 65em;
}

div#MarkupHelp {
    width: 20em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
  color: #111;
  line-height: 1.4em;
  text-align: left;
  clear: left;
  font-weight: normal;
}

h1 { font-size: 2.18em; font-weight: bold; }
h2 { font-size: 1.45em; }
h3 { font-size: 1.18em; font-style: italic; }
h4 { font-size: 1.18em; }
h5 { font-size: 1.0em; }

h1#pageName { margin-right: 5em; }

.skipNav {
  position:absolute;
  left:-1000em;
  font-size:0em;
}

div.rightHandSide {
  font-size: 1.0em;
  width: 140px;
  padding-bottom: 1em;
  margin-top: -7em;
  margin-left: 1.5em;
  padding-left: 1em;
}

.toc ul {
  margin:0;
  padding:0;
}

.toc li {
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.toc h3 {
  margin: 0.75em 0 0.25em 0;
  padding: 0;
  font-style: normal;
  font-weight: bold;
}

li { margin-bottom: 7px }

hr { border: 0; border-top: thin solid #ccc; }

th { padding-right: 0.5em; }

pre {
  background-color: #f8f8f8;
  border: thin solid #d8d8d8;
  padding: 0.5em;
  white-space: pre;
  font-size: 1.0em;
}

table {
  border-collapse: collapse;
  border: thin solid #aaa;
  border-spacing: 0;
}

td {
  border: thin solid #aaa;
  background-color: #f8f8f8;
  color: #000;
  padding: 0 0.3em;
}

th {
  background-color: #eee;
  border: thin solid #aaa;
  padding: 0 0.3em;
}

table.plaintable {
  border-collapse: collapse;
  border-top-style: double;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-left-style: none;
  border-right-style: none;
  border-spacing: 0px;
}

table.plaintable td {
  margin: 0px;
  padding: 0px 7px 0px 7px;
  border: 0;
}

table.plaintable th {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: black;
}

a:link img {
  border: 0px;
}

p.footnote {
  font-size: 10px;
}

.newWikiWord {
background-color:transparent;
}

a:hover,
.navigation a:hover,
#footer a:hover,
a.nav:hover,
a:hover math,
.newWikiWord a:hover,
a:hover.existingWikiWord,
a:visited:hover.existingWikiWord,
a:hover.existingWikiWord[title]
{
    background-color: transparent;
    color: #666;
    text-decoration: underline;
}

/* Remove blue outline on all pages list */
ul#sortable_pages li,
ul#sortable_pages li:hover,
ul#sortable_pages li:focus {
    border: 0;
}

/* Style external links */

#revision a[href^="http:"],
#revision a[href^="https:"] {
    background: url(/images/external.png) right center no-repeat;
    padding-right: 12px;
}

#revision a[href^="http://xbeta.org"],
#revision a[href^="http://fortranwiki.org"] {
    background: transparent;
    padding-right: 0px;
}

/* Icon for links to PDF files */
#revision a[href$=".pdf"] {
    background: url(/images/pdf-15x15.gif) right center no-repeat;
    padding-right: 17px;
}

#revision {
    text-align: justify;
}

/* Carbon ads */
#carbonads { margin-top: 3em; text-align: left; }
#carbonads a[href^="https:"], #carbonads a[href^="http:"], #carbonads a[href^="//"] { text-decoration: none; background: none; padding-right: 0; }
.carbon-img { float: left; }
.carbon-text { display: block; padding: 8px 0; font-size: 86%; line-height: 1.4; }
.carbon-poweredby { float: right; font-size: 80% }

/* Syntax Highlighting */
pre.fortran .symbol { color: #406040 }
pre.fortran .string { color: #5c3566; }
pre.fortran .keyword { color: #229; }
pre.fortran .type { color: #007010; }
pre.fortran .number { color: #A08000; }
pre.fortran .function { color: #800000; }
pre.fortran .comment { color: #555; }

pre.ansic .normal {}
pre.ansic .string { color: #5c3566; }
pre.ansic .char { color: #5c3566; }
pre.ansic .keyword { color: #229; }
pre.ansic .comment { color: #555; }
pre.ansic .hex { color: #A08000; }
pre.ansic .oct { color: #A08000; }
pre.ansic .integer { color: #A08000; }
pre.ansic .float { color: #A08000; }
pre.ansic .predefined_types { color: #007010; }
pre.ansic .ident { color: #000; }
pre.ansic .preprocessor { color: #800000; }
pre.ansic .other { color: #000; }
