/* 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;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.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;
}

.profile-carousel {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  text-align: center;
}

.profile-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.profile-controls {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.profile-nav-btn {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 4px;
}

.profile-nav-btn:hover {
  background: #f2f2f2;
}

.profile-dot {
  height: 8px;
  width: 8px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.profile-dot.active {
  background-color: #333;
}

.paper-image-cell {
    padding: 16px;
    width: 100%;
    vertical-align: middle;
    text-align: center;
}

.paper-info-cell {
    padding: 8px;
    width: 66%;
    vertical-align: middle;
}
.paper-image {
    width: 260px;
    max-width: 260px;
    height: auto;
    border-style: none;
}

.paper-summary {
    margin-top: 8px;
    margin-bottom: 0px;
    line-height: 1.25;
    color: #444;
}

@media screen and (max-width: 700px) {

  body {
    margin: 0;
  }

  body > table {
    width: 100% !important;
    max-width: 100% !important;
  }

  body > table > tbody > tr > td {
    padding: 0 14px !important;
  }

  /* Top profile area: photo and bio stacked on mobile */
  body > table > tbody > tr > td > table:first-child tr {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }

  body > table > tbody > tr > td > table:first-child td[style*="width:37%"],
  body > table > tbody > tr > td > table:first-child td[style*="width:63%"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 8px !important;
    text-align: center;
  }

  .profile-carousel {
    width: 220px;
    max-width: 75vw;
    margin: 0 auto;
  }

  .profile-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
  }

  .profile-controls {
    margin-top: 8px;
  }

  /* Publication rows with images: image above, text below */
  td[style*="width:20%"] {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px 4px 16px !important;
    text-align: center;
    box-sizing: border-box;
  }

  td[style*="width:80%"] {
    display: block !important;
    width: 100% !important;
    padding: 4px 16px 14px 16px !important;
    box-sizing: border-box;
  }

  td[style*="width:20%"] img {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
  }

  /* Education / Work / Skills two-column rows become one column */
  td[style*="width:24%"],
  td[style*="width:76%"] {
    display: block !important;
    width: 100% !important;
    padding: 2px 16px !important;
    white-space: normal !important;
    box-sizing: border-box;
  }

  td[style*="width:24%"] {
    margin-top: 8px;
    font-size: 14px;
    color: #666 !important;
  }

  /* Academic Activities reviewer two-column list becomes one column */
  td[style*="width:50%"] {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  p.name {
    font-size: 30px;
    line-height: 1.1;
  }

  h2 {
    margin-top: 18px;
  }

  h3 {
    margin-top: 12px;
  }

  p {
    text-align: left;
  }
}