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

.project-thumb {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.project-thumb-panel {
  background-image: url('images/reasoning_diversity_self_distillation_v2.png');
  background-size: 230% auto;
  background-repeat: no-repeat;
}

.project-thumb-success {
  background-position: 48.57% 20.45%;
}

.project-thumb-failure {
  background-position: 48.57% 82.27%;
}

.project-image-cell,
.publication-image-cell {
  text-align: center;
}

.project-image-cell .one,
.publication-image-cell .one {
  margin: 0 auto;
  width: 160px;
  height: 160px;
}

.project-image-cell .sdpo-thumb-container {
  height: 200px;
}

.publication-image-cell .one {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 636;
}

.publication-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 636;
}

#open-cats-video {
  cursor: zoom-in;
}

.cats-video-dialog {
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  padding: 40px 12px 12px;
  border: 0;
  background: #111;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.cats-video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.cats-video-dialog video {
  display: block;
  max-width: calc(100vw - 56px);
  max-height: calc(100vh - 88px);
}

.cats-video-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

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

.hidden-section {
  display: none;
}

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

/* Profile Grid Structure */
.profile-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  border: 0px;
  border-spacing: 0px;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: 63% 37%;
  grid-template-rows: auto auto;
  grid-template-areas:
    "header pic"
    "content pic";
  align-items: center;
}

.profile-header {
  grid-area: header;
  padding: 2.5% 2.5% 0 2.5%;
  vertical-align: middle;
}

.profile-content {
  grid-area: content;
  padding: 0 2.5% 2.5% 2.5%;
  vertical-align: middle;
}

.profile-pic-container {
  grid-area: pic;
  padding: 2.5%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.profile-img-div {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-image: url('images/memyself.jpg');
  background-size: 125% auto;
  background-position: 60% 50%;
  margin: 0 auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.local-preview .profile-img-div {
  background-image: none !important;
  background-color: #fff;
}

.local-preview .profile-pic-container a {
  pointer-events: none;
}

@media screen and (max-width: 600px) {
  .profile-grid {
    display: flex;
    flex-direction: column;
  }

  .profile-header {
    order: 1;
    padding: 2.5%;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-pic-container {
    order: 2;
    padding: 2.5%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .profile-content {
    order: 3;
    padding: 2.5%;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-img-div {
    width: 250px !important;
    height: 250px !important;
    margin: 0 auto !important;
    max-width: 90% !important;
  }

  .project-row,
  .project-row td,
  .publication-row,
  .publication-row td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .project-image-cell,
  .publication-image-cell {
    padding: 8px 16px 0 16px !important;
  }

  .project-info-cell,
  .publication-info-cell {
    padding: 8px 16px 16px 16px !important;
  }
}
