/* screen: constantia, georgia, 'dejavu serif', serif */
/* print:  book antiqua, baskerville, garamond, 'times new roman', times, freeserif, serif */
/* todo: book antiqua, palatino, baskerville */

html, body {
  font-weight: normal;
  font-size: 16px; /* this needs to be set to get somewhat the same look across browsers */
  /* serif */
  /*font-family: 'garamond premier pro',garamond,georgia,serif;*/
  /* sans-serif */
  font-family: corbel,'lucida grande','lucida sans unicode',helvetica,arial,sans-serif;
  /* monospace */
  /* 'courier new', monospace */
  padding: 0;
  margin: 0;
}

/* firefox fixes */
p > a > sup { line-height: .9em; }
/* chromium fixes */
p > code    { line-height: 1em; }
p > a > sup { line-height: .6em; }

/* centered tables */
table { margin: 1em auto 1.2em; /*position: relative; padding-bottom: 1em;*/ }
table th { border-bottom: solid 1px black; }
table th, table td { padding: 0 1em; }
table caption { /*position: absolute; bottom: 0; */ border-bottom: solid 1px black; }


code {
    font-size: 90%;
    font-family: consolas,'dejavu sans mono','andale mono','courier new',courier,monospace;
}
body pre {
    border-width: 1px 0;
}

html {
    background-color: #efefef;
}

body {
    position: relative;
    width: 40em;
    margin: 0 auto 1em;
    padding: 1em 1.5em;
    border: solid #dddddd;
    border-width: 0 1px 1px;
    background-color: #ffffff;
}

p {
    font-size: 1em;
    text-align: justify;
    font-weight: normal;
    /*margin-top: 0;*/
}

h1, h2, h3 {
  font-weight: normal;
  /* serif */
  font-family: 'garamond premier pro',garamond,/*constantia,palatino,'book antiqua',*/georgia,serif;
  /* sans-serif */
  /*font-family: corbel,'trebuchet ms','lucida grande','lucida sans unicode',helvetica,arial,sans-serif;*/
  /* font-variant: small-caps; */
  line-height: 1.2em;   
}

h1 { font-size: 150%; }
h2 { font-size: 120%; margin-bottom: -0.6em; }
h3 { font-size: 115%; margin-bottom: -0.6em; }


/* BLUE */
a         { color: #07b; }
a:link    { color: #07b; }
a:visited { color: #037; }
a:hover   { color: #0bf; }
a:active  { color: #07b; }

.footnotes {
    font-size: 90%;
}

/* FOOTER ************************************************** */
#footer {
    position: absolute;
    bottom: -1.5em;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 70%;
    color: gray;
}
#footer p {
    margin: 0;
    padding: 0;
}
#footer a {
    text-decoration: none;
}
#footer hr {
    display: none;
}

/* INDEX ************************************************** */

#section-index #about {
    position: relative;
}
#section-index #about h2 {
    display: none;
}
#section-index #about ul {
    position: absolute;
    top: -3.5em;
    right: 0;
}
#section-index #about ul li {
    display: inline;
    list-style: none;
    text-transform: uppercase;
    padding: 0 0 0 1em;
}
#section-index #about ul li a { 
    background: transparent;
    color: black;
    text-decoration: none;
}


/* BIBTEX ************************************************* */
#section-bibtex pre {
    border: none;
    margin: 1em 0;
}


/* REFERENCES */
/* ARTICLES */
.article { margin: 1em 0; text-align: justify; }
.article .title { font-weight: bold; }
.article .journal { font-style: italic; }
/* PROCEEDINGS */
.proceedings { margin: 1em 0; text-align: justify; }
.proceedings .title { font-weight: bold; }
/*.proceedings .title a { color: black; text-decoration: none; }*/
.proceedings .booktitle { font-style: italic; }

.phdthesis { margin: 1em 0; text-align: justify; }
