/* 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;
}

html {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  text-align: justify;
}

blockquote {
  margin: 0.5rem 0;
  padding: 1rem 1.4rem;
  background: #156bc11a;
  border-left: 5px solid #c1c1c1;
  border-right: 5px solid #c1c1c1;
  border-radius: 14px;
  text-align: justify;
  /* font-style: italic; */
}

a {
  color: #156bc1;
  text-decoration: none;
}

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

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

p {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  text-align: justify;
}

.li-paper {
  margin-bottom: 15px;
}

.twocol {
  column-count: 2;
  column-gap: 20px;
}

.footer-copyright {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 20px;
}

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

h2 {
  margin: 0;
  /* font-weight: normal; */
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: bold;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgb(204, 206, 206);
}

.paperbox {
  padding: 0px 0px 16px 16px;
  width: 80%;
  vertical-align: middle
}

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

.name {
  padding-top: 0px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: bold;
}

.role {
  padding-top: 1px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 20px;
  color: #696969;
}

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

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

.button {
  cursor: pointer;
  display: inline;
  color: #156bc1;
  text-decoration: none;
}

button:focus,
button:hover {
  text-decoration: none;
}

.button-fullname {
  cursor: pointer;
  display: inline;
  color: #156bc1;
  text-decoration: none;
}

.button-fullname:focus,
.button-fullname:hover {
  text-decoration: none;
}

.highlight {
  /* color: #c11562; */
  /* color: #08a21f; */
  color: #a80101;
  /* background-color: #ffffd0; */
}

/* Default (desktop): normal table layout */
.profile-container {
  text-align: center;
}

/* Profile image responsive sizing */
.profile-pic {
  width: clamp(180px, 25vw, 280px);
  height: auto;
  border-radius: 8%;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

/* ===== Mobile layout for the top section only ===== */
@media (max-width: 768px) {

  /* Target ONLY the first inner table row */
  table:first-of-type table:first-of-type tr {
    display: flex;
    flex-direction: column;
  }

  table:first-of-type table:first-of-type td {
    width: 100% !important;
  }

  .profile-container {
    order: -1;
    /* Move image to top */
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

/* * {
  outline: 1px solid red;
} */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

table {
  border-collapse: collapse;
  /* avoids extra spacing */
  width: 100%;
  box-sizing: border-box;
}

/* Make inner TDs not overflow */
td {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  td>table {
    width: calc(100% - 40px);
    /* subtract left+right padding */
    margin: 0 auto;
  }
}

img {
  max-width: 100%;
  height: auto;
}