body {
  font-family: Avenir, 'Helvetica Neue', Helvetica, Arial;
}

a {
  color: #8a5ed3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  border: none;
}

strong,
b {
  font-weight: 600;
}

.right {
  margin-top: 2.0em;
  margin-left: 1em;
  float: right;
}

.pull-right {
  float: right;
  margin-top: -5px;
}

/* --- */

#main {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 16px;
}

.heading {
  margin-bottom: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.uw {
  font-weight: 500;
  color: #652c90;
}

/* --- */

.header {
  margin-bottom: 18px;
}

.header .mark {
  font-size: 28px;
  margin-right: 12px;
}

.header .mark,
#title {
  display: inline-block;
}

.header #title {
  font-size: 19px;
  font-weight: 100;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.header .lead {
  font-weight: 700;
}

.footer {
  margin-top: 40px;
  height: 40px;
  color: #aaa;
}

.footer a {
  color: #aaa;
  text-decoration: underline;
}

.new {
  background-color: #AB0202;
  color: white;
  padding: 1px 4px 1px 6px;
  font-size: 0.9em;
  border-radius: 2px;
  text-transform: uppercase;
}

/* --- */

.gutter {
  position: fixed;
  z-index: 5;
  height: 100%;
  background-color: white;
  left: 0;
  top: 0;
  padding-left: 20px;
  padding-top: 14px;
  padding-right: 4px;
}

.nav {
  margin-top: 55px;
}

.nav>a {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: 0.5em;
}

.nav .sub {
  margin-left: 2px;
  margin-bottom: 0.5em;
  font-size: 12px;
}

.twitter {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 15px;
  background-position: 1px 2px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAoCAYAAABq13MpAAAGcklEQVRYw+2YXUyTVxjHz4vJLiZGd7MtXi2LkZtdELM7lyzOG7Nk2RJvl8iujBi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ElFTkSuQmCC);
  border: 1px solid #fff;
  border-radius: 4px;
}

.twitter:hover {
  background-color: #ca9eff;
  border-color: #8a5ed3;
}

.orgs {
  position: fixed;
  bottom: 16px;
}

.orgs a {
  display: block;
  margin-top: 4px;
}

.orgs img {
  border-radius: 4px;
}

.orgs a img:hover {
  box-shadow: 2px 2px 18px #8a5ed3;
}

/* --- */

.mission {
  margin-top: -4px;
  margin-bottom: 18px;
  font-size: 16px;
}

.spotlight {
  position: relative;
  margin-bottom: 1.3em;
  height: 200px;
}

.spotlight a {
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  display: none;
}

.spotlight .active {
  display: block;
}

.spotlight img {
  width: 780px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.spotlight:hover img {
  box-shadow: 2px 2px 18px #8a5ed3;
}

.spotlight div {
  position: absolute;
  bottom: 15px;
  right: 35px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ccc;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  padding: 4px 6px;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
}

.lead {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

div.lead {
  margin-bottom: 0.5em;
}

.sidepanel {
  float: right;
  width: 200px;
}

.update,
.course {
  font-size: 14px;
  margin-bottom: 1em;
}

.update a {
  font-weight: 500;
}

.update .date,
.course .level {
  font-style: italic;
}

.courses {
  margin-top: 1.5em;
}

.recents {
  width: 570px;
}

.allpubs {
  margin-left: 1em;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0px;
}

.recents .event {
  font-weight: 500;
  margin-bottom: 1em;
  font-size: 14px;
}

.recent .paper div.title,
.recent .paper div.authors,
.recent .paper div.venue {
  display: inline;
  margin-right: 0.4em;
}

/* --- */

.pub>.title {
  font-size: 19px;
  font-weight: 600;
}

.pub>.authors {
  font-size: 16px;
  margin-bottom: 1em;
}

.pub>.figure {
  margin: 1.5em 0 1.5em 25px;
}

.pub>.figure img {
  max-width: 700px;
}

.pub>.figure .caption {
  font-size: 13px;
  margin-right: 25px;
}

.pub .heading {
  margin-top: 24px;
  margin-bottom: 5px;
  font-size: 12px;
}

.pub .text,
.pub .materials {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 1em;
}

.pub .player {
  margin-top: 4px;
}

.papers {
  margin-bottom: 2em;
}

.papers .heading {
  margin-left: 138px;
  margin-bottom: 10px;
  font-size: 15px;
}

.paper {
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 1.5em;
  clear: left;
}

.paper .entry {
  margin-left: 138px;
  line-height: 1.2em;
}

.paper .title {
  font-weight: 600;
}

.paper .journal {
  font-style: italic;
}

.links {
  margin-top: 10px;
}

.paper .note,
.links .note {
  font-weight: 500;
}

pre.bibtex {
  font-family: Courier New, monospace;
  font-size: 16px;
  line-height: 22px;
  white-space: pre-wrap;
}

.project .teaser-img {
  position: relative;
}

.project .play-button {
  position: absolute;
  opacity: 0.7;
  top: 110px;
  left: 300px;
  cursor: pointer;
}

.project .play-button:hover {
  opacity: 0.8;
}

.project .teaser-video {
  display: none;
}

.project .title sup {
  font-weight: 100;
  font-size: 12px;
  color: #666;
}

.project .abstract a {
  font-weight: 600;
}

.project a.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid #652C90;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  color: #FFF;
  background-color: #652C90;
  margin: 10px 0;
}

.project .btn:hover {
  background-color: #8A5ED3;
  border-color: #8A5ED3;
}

.thumbnail-wrapper {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 1.5em;
  clear: left;
}

.thumbnail {
  display: flex;
  flex-direction: column;
  width: calc(50% - 20px);
  box-sizing: border-box;
}

.thumbnail .desc {
  text-align: left;
}

.thumbnail .lead {
  text-align: left;
  font-weight: 500;
}

.thumbnail--image {
  height: 225px;
  padding: 4px;
  border: 1px solid #ccc;
  margin-bottom: 16px;
}

.thumbnail--image img {
  object-fit: cover;
  width: 100%;
  min-height: 100%;
  max-height: 100%;
}

/* --- */

.people .heading {
  margin-top: 1em;
  margin-bottom: 10px;
  font-size: 15px;
}

.people .list {
  width: 790px;
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3;
}

.person,
.group {
  position: relative;
  display: inline-block;
  vertical-align: top;
  padding-right: 10px;
  padding-bottom: 10px;
  width: 123px;
  height: 176px;
  overflow: hidden;
}

.group,
.group img {
  width: 256px;
}

.person a,
.group a {
  position: absolute;
}

.person img {
  border-radius: 12px;
  width: 123px;
  opacity: 0.7;
}

.person img:hover {
  opacity: 0.9;
}

.person .nickname {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  color: black;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-shadow: 1px 1px 3px #000;
  pointer-events: none;
}

.person:hover .nickname {
  color: #aa7ef3;
  text-shadow: 1px 1px 3px #000;
}

.group .name {
  margin-top: 2em;
  font-size: 19px;
  font-weight: 500;
}

.group .affiliation {
  font-style: italic;
  font-size: 16px;
}

.group .interests {
  margin-top: 0.5em;
  font-size: 14px;
}

.about a.b {
  font-weight: 600;
}

.about .lead {
  margin-top: 1.5em;
}

.about .quote {
  padding-right: 5px;
  margin-bottom: 1.3em;
  font-style: italic;
}

.about .para {
  margin-bottom: 0.5em;
}

.about .quote,
.about .para {
  line-height: 24px;
}

@media only screen and (max-width: 425px) {
  .thumbnail-wrapper {
    flex-direction: column;
  }
  .thumbnail {
    margin-top: 16px;
    width: 100%;
  }
}
