@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MYRIADAT.TTF') format('truetype'),
       url('../fonts/myriadpro-regular.otf') format('opentype'),
       url('../fonts/myriadpro-regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MYRIADAB.TTF') format('truetype'),
       url('../fonts/myriadpro-bold.otf') format('opentype'),
       url('../fonts/myriadpro-bold.svg') format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MYRIADAM.TTF') format('truetype'),
       url('../fonts/myriadpro-semibold.otf') format('opentype'),
       url('../fonts/myriadpro-semibold.svg') format('svg');
  font-weight: 600;
  font-style: normal;
}

body {
  background-color: #dde9f6;
  color: #000000;
  font-size: 18px;
  font-family: 'MyriadPro', Tahoma, Verdana, sans-serif;
  padding: 0;
  margin: 0;
  display: flex;
}

main {
  display: flex;
  padding: 18px;
}

#info-panel {
  margin-right: 18px;
  flex: 0 0 400px;
}

#details-panel {
  vertical-align: top;
  position: relative;
  display: inline-block;
  flex: 1;
  max-width: 1000px;
}

main > div > div,
main > div > aside,
main > div > section {
  padding: 15px;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
              0 1px 5px 0 rgba(0, 0, 0, 0.12),
              0 3px 1px -2px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

main > div footer {
  font-size: 0.889em;
}

#info-panel #intro {
  padding-top: 10px;
}

p {
  margin-bottom: 0;
}

#intro header {
  /* Ensure my name doesn't wrap. Normally the pane is wide enough, but not for
   * the fallback font. */
  white-space: nowrap;
}

p.heading-title {
  margin-top: 10px;
  font-size: inherit;
  font-weight: bold;
}

:not(li) > ul {
  padding: 0;
}

#intro ul {
  list-style-type: none;
}

#intro li {
  margin-bottom: 8px;
}

#intro ul li img {
  margin-right: .5em;
}

#intro ul li a {
  display: flex;
  align-items: center;
}

ul {
  margin-bottom: 0;
}

h1 {
  font-size: 48px;
  margin-top: 0;
  margin-bottom: 0;
}

h2, h3 {
  margin-top: 0;
  margin-bottom: .5em;
}

#resume p {
  margin-top: .5em;
}

#resume section h3,
main > div footer {
  border-top: 1px solid #e8e8e8;
  margin-bottom: 0;
  margin-top: .5em;
}

#resume section h3 {
  font-size: 1.5em;
  font-weight: 600;
  padding-top: 15px;
}

#resume section:first-of-type h3 {
  border-top: 0;
  padding-top: 0;
}

main > div footer {
  padding-top: 5px;
}

#resume section h3 + ul {
  margin-top: 0.5em;
}

#resume section > ul {
  margin-top: 0;
  margin-left: 1.7045em;
  padding: 0;
  font-size: 0.889em;
}

#resume .place {
  display: inline-block;
  vertical-align: top;
  font-weight: bold;
}

#resume .titles {
  display: inline-flex;
  flex-direction: column;
}

.timeline {
  display: none;
}

img {
  border: 0;
}

a {
  color: #b80c00;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: #ff0000;
}

a.button img {
  width: 32px;
  height: 32px;
}

a.button:active img:active,
a.button:focus img:focus {
  position: relative;
  top: 1px;
}

a.plain,
#books .booklist a {
  color: #000000 !important;
}

abbr[title] {
  /* Firefox and others include text-decoration: dotted underline here. Replace
   * with border-bottom to get the same look everywhere. */
  text-decoration: none !important;
  border-bottom: 1px dotted;
  cursor: help;
  display: inline-block;
  line-height: 75%;
}

.date::before {
  content: '(';
}

.date::after {
  content: ')';
}
