/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0 0 4px;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
  text-align: center;
}

.page {
  width: 100%;
  max-width: 800px;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.header-copy {
  padding: 2.5%;
  width: 63%;
  vertical-align: middle;
}

.header-photo {
  padding: 2.5%;
  width: 37%;
  max-width: 37%;
  vertical-align: middle;
}

.links {
  text-align: center;
}

/* ----- Notes ----- */
.note-list {
  list-style: none;
  padding-left: 0;
}

.note-list li {
  margin: 8px 0;
}

.note-meta {
  color: #777;
  font-size: 13px;
}

.note-nav a {
  font-size: 14px;
}

.note {
  padding-top: 8px;
}

.note-title {
  margin: 8px 0 2px;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.note-date {
  margin: 0 0 20px;
  color: #777;
  font-size: 13px;
}

.note h1 { font-size: 26px; margin: 24px 0 8px; }
.note h2 { font-size: 21px; margin: 22px 0 8px; }
.note h3 { font-size: 17px; margin: 18px 0 6px; font-weight: 700; }

.note p { margin: 12px 0; }

.note ul,
.note ol {
  padding-left: 22px;
}

.note li {
  margin: 4px 0;
}

.note code {
  background: #f4f4f4;
  border-radius: 3px;
  padding: 1px 5px;
  font-family: Menlo, Consolas, monospace;
  font-size: 13px;
}

.note pre {
  background: #f6f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 14px;
  overflow-x: auto;
}

.note pre code {
  background: none;
  padding: 0;
}

.note blockquote {
  margin: 14px 0;
  padding: 4px 16px;
  border-left: 3px solid #ddd;
  color: #555;
}

.note hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0;
}

.md-table {
  border-collapse: collapse;
  margin: 16px 0;
  width: 100%;
  font-size: 13px;
}

.md-table th,
.md-table td {
  border: 1px solid #ddd;
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}

.md-table th {
  background: #f6f8fa;
  font-weight: 700;
}

.md-table tr:nth-child(even) td {
  background: #fafbfc;
}

/* MathJax: let long display equations scroll instead of overflowing */
.note mjx-container[display="true"] {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

body {
  margin: 0;
  color: #222;
  line-height: 1.5;
}

td {
  box-sizing: border-box;
}

.profile-image {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.section-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  width: 100%;
  padding: 18px 16px 8px;
  vertical-align: middle;
}

.section-label {
  margin-left: 8px;
  color: #777;
  font-size: 13px;
  font-weight: normal;
}

.text-item {
  width: 100%;
  padding: 8px 16px 16px;
  vertical-align: top;
}

.item-heading {
  margin: 0;
}

.item-meta {
  margin: 2px 0 0;
  color: #555;
}

.period {
  float: right;
  margin-left: 16px;
  color: #555;
  font-weight: normal;
  white-space: nowrap;
}

.cv-list {
  margin: 7px 0 0;
  padding-left: 20px;
}

.cv-list li {
  margin: 3px 0;
}

.compact-list {
  margin-top: 0;
}

.project-media {
  width: 32%;
  padding: 12px 16px;
  vertical-align: middle;
}

.project-content {
  width: 68%;
  padding: 12px 16px 12px 4px;
  vertical-align: middle;
}

.project-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .header-copy,
  .header-photo,
  .project-media,
  .project-content {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }

  .header-photo {
    padding-top: 0 !important;
  }

  .profile-image {
    width: 180px;
    margin: 0 auto;
  }

  .project-media {
    padding-bottom: 4px;
  }

  .project-content {
    padding: 8px 16px 16px;
  }

  .project-image {
    max-width: 520px;
    margin: 0 auto;
  }

  .period {
    display: block;
    float: none;
    margin: 2px 0 0;
    white-space: normal;
  }
}
