/* Styles for index.html. */

html {
  height: 100%;
}
body {
  font-family: 'Roboto Slab', Georgia, Serif;
  font-size: 16px;
  line-height: 1.4em;
  background-color: #666;
}
div#content {
  background-color: #FFF;
  max-width: 700px;
  margin: 0px auto 0px auto;
  padding: 15px 30px;
}
div#name {
  float: left;
}
header {
  clear: both;
}
aside {
  text-align: right;
}
h1, h2, h3, h4, h5 {
  font-family: 'Roboto', Verdana, Sans;
  font-style: normal;
  font-weight: normal;
}
h1 {
  font-size: 54px;
  line-height: 54px;
}
h2 {
  font-size: 36px;
  line-height: 36px;
}
h3 {
  font-size: 24px;
  line-height: 24px;
}
nav a:first-child {
  border-width: 1px;
}
nav a {
  display: block;
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-family: 'Roboto', Verdana, Sans;
  border-width: 1px 1px 1px 0px;
  border-color: black;
  border-style: solid;
  padding: 2px 0px 2px 0px;
}
.pubs {
  color: #D44100;
}
.pubs.selected {
  background-color: #D44100;
  color: white;
}
.projects {
  color: #DF8600;
}
.projects.selected {
  background-color: #DF8600;
  color: white;
}
.talks {
  color: #468F9B;
}
.talks.selected {
  background-color: #468F9B;
  color: white;
}
.personal {
  color: #6DBA18;
}
.personal.selected {
  background-color: #6DBA18;
  color: white;
}
nav {
  display: flex;
  margin: 10px 0px;
  clear: both;
}
section header h1 {
  display: block;
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: black;
}
section article h2 {
  display: block;
  margin: 1em 0em;
}
nav:after {
  display: block;
  content: '';
  clear: both;
}
p {
  margin: 15px 0px 0px 0px;
}
section {
  margin: 3em 0px;
}
div.bibtex {
  border: 1px solid black;
  padding: 15px;
  line-height: 1em;
  display: none;
  margin: 5px 0px;
  text-indent: 0px;
}
div.abstract {
  border: 1px solid black;
  padding: 0px 15px 15px 15px;
  display: none;
  margin: 5px 0px;
  text-indent: 0px;
}
div.controls {
  text-align: right;
  padding: 10px 0px;
}
div.pub {
  text-indent: -1.5em;
  margin: 15px 0px 0px 1.5em;
}
article footer {
  margin: 1em 0em;
  font-size: 16px;
}
article h3:first {
  margin: 0;
}
article h3 {
  margin: 1em 0em;
}
footer {
  font-size: 12px;
}
@media (max-width: 600px) {
  div#content { padding: 10px 16px; }
  div#name { float: none; }
  aside { text-align: left; }
  h1 { font-size: 40px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 32px; }
  nav a { font-size: 14px; }
  div.bibtex { overflow-x: auto; }
}
sup {
  font-size: .83em;
  vertical-align: super;
}
/* Shown by the BibTeX and Abstract links (js/site.js). */
div.bibtex.open,
div.abstract.open {
  display: block;
}
