body {
  font-family: "Arial", "Helvetica", sans-serif;
  line-height: 1.4;
  color: #000;
  background: #fff;
}

:link {
  color: #f00;
  text-decoration: none;
}

:visited {
  color: #c00;
  text-decoration: none;
}

:link:hover, :visited:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Verdana", "Arial", "Helvetica", sans-serif;
  font-weight: normal;
}

p {
  margin: 1em auto;
}

address {
  font-style: normal;
  line-height: 1.2;
}

address p {
  margin: 0.3em auto;
}

address.card {
  margin: 2em auto 2em 0;
  width: 18em;
  border: 1px solid;
  padding: 1em 2.5em;
}

strong {
  font-weight: bolder;
}

body.frontpage {
  margin: 0.5em;
  margin-bottom: 0;
  margin-right: 18.5em;
  min-width: 18em;
}

body.frontpage h1 {
  margin: 0 auto;
  padding: 0px;
  text-align: center;
}

body.frontpage h1 small {
  font-size: 50%;
}

body.frontpage div#manifesto {
  font-size: 120%;
  text-align: center;
}

body.frontpage div#aside {
  font-size: 80%;
  width: 19em;
  border-left: 1px solid;
  padding-left: 1em;
  color: #999;
  position: absolute;
  top: 0;
  right: 15px;
  height: 58em;
  overflow: hidden;
  margin: 0;
}

body.frontpage div#aside .highlight {
  color: #000;
}

body.standard {
  margin: 0 25px 0 225px;
  padding-left: 25px;
}

body.standard h1 {
  font-size: 150%;
  text-align: right;
  font-weight: bold;
  padding: 0;
  margin-top: 0;
  padding-top: 20px;
  margin-bottom: 1.5em;
  color: #c00;
  border-bottom: 1px solid #c00;
  padding-bottom: 0.1em;
  letter-spacing: 0.2em;
  word-spacing: 0.4em;
}

body.standard h2 {
  font-size: 120%;
  margin-top: 2em;
  border-bottom: 1px solid #c00;
  padding-bottom: 0.1em;
}

body.standard h2 small {
  font-size: 80%;
  display: block;
}

body.standard div#sidebar {
  width: 180px;
  position: absolute;
  top: 15px;
  left: 15px;
  padding-top: 70px;
  background: url(img/logo,mini) no-repeat;
}

body.resume {
  font-family: "Arial", "Helvetica", sans-serif;
  margin: 1.5em;
  line-height: 1.2;
}

body.resume h1,
body.resume h2,
body.resume h3,
body.resume h4,
body.resume p,
body.resume ul,
body.resume li
{
  margin: 0.5em 0;
}

body.resume ul {
  padding-left: 2em;
}

body.resume ul li {
  list-style: disc;
}

body.resume h1, body.resume h2, body.resume h3, body.resume h4 {
  font-family: "Arial", "Helvetica", sans-serif;
  font-weight: bold;
  font-size: 100%;
  page-break-before: auto;
  page-break-after: avoid;
}

body.resume h1 {
  margin: 0;
  font-size: 200%;
  letter-spacing: 0.15em;
  word-spacing: 0.2em;
  border-bottom: 0.05em solid;
  padding-bottom: 0.5em;
  padding-top: 0.1em;
  margin-bottom: 0.8em;
}

body.resume h1:before, body.resume h1:after {
  font-size: 80%;
  content: "\25c6";
}

body.resume h1:before {
  padding-right: 0.4em;
}

body.resume h1:after {
  padding-left: 0.4em;
}

body.resume address {
  font-size: 90%;
  line-height: 1.2;
  text-align: right;
  position: absolute;
  top: 1.65em;
  right: 1.65em;
}

body.resume h2 {
  font-size: 120%;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 0.05em solid;
  padding-bottom: 0.1em;
  margin-top: 2em;
}

body.resume h3 small {
  font-size: 90%;
}

body.resume h4 {
  font-size: 100%;
  font-style: italic;
  font-weight: normal;
  margin-bottom: -0.5em;
}

body.resume div.sheet {
  margin-left: 9em;
  page-break-inside: avoid;
  page-break-after: always;
}

body.resume div.sheet h2 {
  font-size: 100%;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  position: relative;
  top: 1.7em;
  left: -8.5em;
  width: 8em;
}

body.resume div.project {
  padding: 0.2em;
}

body.resume div.project:target {
  background: #ccc;
  outline: thin dotted;
}

div#sidebar ul.nav {
  margin: 0;
  margin-left: 40px;
  padding: 0;
  list-style: none;
  line-height: 160%;
}

div#sidebar ul.nav li {
  margin: 0 0.35em;
}

div#sidebar ul.nav li a {
  white-space: nowrap;
}

div#footer {
  text-align: center;
  width: 90%;
  margin: 2em auto 0 auto;
}

div#footer ul.nav {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.6;
}

div#footer ul.nav li {
  display: inline;
  margin: 0 0.35em;
}

div#footer ul.nav li a {
  white-space: nowrap;
}

div#footer p.copyright {
  font-size: 80%;
  margin-bottom: 0;
  padding-bottom: 25px;
}

a.address {
}

a.mail {
}

a.external {
}

ul.nav li.here {
  font-weight: bolder;
}

dl.dictionary {
  font-family: "Times New Roman", "Times", serif;
  font-family: "Palatino Linotype", "Book Antiqua", "Palatino", serif;
  line-height: 1.2;
  text-align: justify;
}

dl.dictionary dt {
  margin: 0.7em auto 0 auto;
}

dl.dictionary dt em {
  font-style: normal;
}

dl.dictionary dd, dl.dictionary dd p {
  display: inline;
  margin: 0;
}

blockquote.opening {
  font-style: italic;
  margin: auto 2em auto auto;
  width: 25em;
  line-height: 1.2;
}

blockquote.opening p {
  margin: 0.5em auto;
}

blockquote.opening p.cite {
  margin-left: 3em;
  text-indent: -1em;
/*
  text-align: right;
*/
}

dl.faq dt {
  font-weight: bolder;
  margin: 1em auto 0 auto;
}

dl.faq dd {
  margin: 0.5em auto 0 auto;
}

p.relatedpages, p.nextpage {
  text-align: right;
  margin-right: 2em;
}

p.nextpage {
  margin-top: 1.5em;
}

@media print {
  body {
    margin: 5in;
    font-size: 10pt;
  }
  :link, :visited {
    color: #000;
    text-decoration: none;
    font-weight: bold;
  }
  a.mail:link, a.mail:visited {
    font-weight: normal;
  }
  :link:hover, :visited:hover {
    text-decoration: none;
  }
  abbr {
    border: none;
  }
}
