/* Color scheme stolen from https://www.seas.upenn.edu/~oleh/ */
:root {
  --link-color: rgb(92, 129, 97);
  --link-hover-color: rgb(211, 84, 0);
  --highlight-color: rgb(211, 84, 0);
  --paper-thumbnail-width: 270px;
  --paper-thumbnail-height: 135px;
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 700;
}

.black_link {
  color: Black;
  text-decoration: none;
}

a:focus {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

body,
td,
th,
tr,
p {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  /* font-family: 'Titillium Web', Verdana, Helvetica, sans-serif; */
  font-size: 14px;
  font-weight: 400;
  /* this fixes text size on mobile */
  /* text-size-adjust: 200%; */
  /* text-size-adjust: none; */
}

body {
  margin: 0;
  padding: 32px 18px;
  color: #222;
  background: #fff;
}

highlight {
  font-weight: bold;
  color: var(--highlight-color);
}

heading {
  font-size: 22px;
}

papertitle {
  font-size: 14.5px;
  font-weight: 700
}

name {
  font-size: 30px;
}

.page {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.intro {
  width: 100%;
  text-align: left;
  align-items: center;
}

.intro-text {
  flex: 1 0 300px;
  margin-right: 50px;
}

.center {
  text-align: center;
}

.mono {
  font-family: 'Courier New', monospace;
}

.links {
  line-height: 1.8;
}

section {
  width: 100%;
  text-align: left;
  margin-top: 24px;
}

.note {
  color: #333;
  font-size: 14px;
}

.zero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* height: 190px; */
}

.one {
  width: var(--paper-thumbnail-width);
  height: var(--paper-thumbnail-height);
  position: relative;
  display: table-cell;
  vertical-align: middle;
}

.two {
  width: var(--paper-thumbnail-width);
  height: var(--paper-thumbnail-height);
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.paper_img {
  width: var(--paper-thumbnail-width);
  height: var(--paper-thumbnail-height);
  max-width: 100%;
  object-fit: cover;
  border: 1px solid #eee;
  border-radius: 0;
}

/* @media only screen and (max-width: 590px) {
  .paper_title {
    text-align: center;
  }
} */
.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  font-weight: bold;
  color: var(--highlight-color);
}

img {
  border-radius: 15px;
}

.table-like {
  display: flex;
  flex-wrap: wrap;
  flex-flow: row wrap;
  justify-content: center;
}

hr {
  border: 0;
  height: 1px;
  max-width: 800px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

ul {
  margin-top: 10px;
  padding-left: 22px;
}

b {
  display: table-cell;
  font-size: 14.5px;
  padding-right: 0.5em;
}

.image-cropper {
  width: 220px;
  height: auto;
  position: relative;
  overflow: visible;
  border-radius: 0;
}

.profile-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.new-list {
  line-height: 1.7;
}

.project-list {
  line-height: 1.55;
}

.project-funding {
  margin: 8px 0 0;
  color: #444;
}

.publication {
  width: 100%;
  margin: 14px 0 0;
  flex-wrap: wrap-reverse;
}

.publication-media {
  flex: 1 0 var(--paper-thumbnail-width);
  max-width: var(--paper-thumbnail-width);
  margin: 0 20px 0 0;
}

.publication-image-link {
  display: block;
  line-height: 0;
}

.publication-body {
  flex: 10000 1 400px;
  margin-bottom: 10px;
}

.paper_title {
  margin-top: 0;
  line-height: 1.45;
}

.venue {
  color: Gray;
}

.paper-placeholder {
  width: var(--paper-thumbnail-width);
  height: var(--paper-thumbnail-height);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e1ea;
  border-radius: 0;
  background: linear-gradient(135deg, #f4f7fa 0%, #e8eef5 100%);
  color: #51616f;
  font-weight: 700;
  letter-spacing: 0;
}

@media only screen and (max-width: 680px) {
  body {
    padding: 24px 16px;
  }

  .intro-text {
    margin-right: 0;
  }

  .image-cropper {
    margin-top: 18px;
  }

  .publication-media {
    margin: 0 0 12px;
  }
}
