html {
    position: relative;
    min-height: 100%;
}

body {
  background-color: #EEE;
  line-height: 1.5;
  margin: 0 0 80px 0; /* Margin bottom by footer height */
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
}

a {
  text-decoration: none;
  color: #0070C9;
}

/*
body {
    margin: 0;
    padding: 0;
    background-color: #EEE;
    font-family: "Gill Sans", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}
*/

/* Layout */
.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 992px) {
    .container {
        width: 970px;
     }
}
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

/* Props */
#dhead {
    margin-top: 20px;
}
#dpic {
    grid-column: span 6;
    text-align: right;
}
#ddesc {
    padding-top: 40px;
    padding-left: 20px;
    grid-column: span 6;
}
@media (max-width: 991px) {
    #dpic {
      grid-column: span 12;
      text-align: center;
    }
    #ddesc {
      grid-column: span 12;
      padding-top: 20px;
      text-align: center;
    }
}
h1 {
    font-size: 34px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

h2_descr {
    font-weight: normal;
    font-style: italic;
    color: #999;
    font-size: 16px;
    padding: 0;
    margin: 5px 0 10px 0;
}
@media (min-width: 992px) {
    h2_descr {
        max-width: 300px;
    }
}
#dpic img {
    width: 180px;
    height: 180px;
    border-radius: 90px;
}
.iico {
    width: 40px;
    height: 40px;
}
#demail {
    margin-top: 10px;
    color: #555;
    opacity: 0;
    transition: opacity 0.7s;
}

hr {
    border: none;
    height: 2px;
    margin: 40px 0;
    background: linear-gradient(
        to right,
        rgba(0,123,255,0),
        #7191c1 30%,
        #7191c1 70%,
        rgba(0,123,255,0)
    );
}


.ico {
    grid-column: span 1;
    vertical-align: top;
    border-left: 2px solid #cfcfcf;
    position: relative;
}
.ico img {
    border-radius: 5px;
    width: 100%;
    max-width: 80px;
    margin-left: 10px;
}
.desc {
    grid-column: span 10;
    vertical-align: top;
    font-size: 17px;
    padding-left: 20px;
    padding-bottom: 20px;
}
.entry {
}
.entry-dot {
    position: absolute;
    top: 0px;
    left: -8px;
    width: 10px;
    height: 10px;
    border-radius: 7px;
    background-color: #cfcfcf;
    border: 2px solid white;
}
.timespan {
    grid-column: span 1;
    font-size: 14px;
    text-align: right;
    padding-right: 5px;
    color: #bbb;
}
.hassets {
    position: relative;
}
@media (max-width: 991px) {
    .hassets {
        display: none;
    }
}
.hasset {
    position: absolute;
    margin: 0;
    padding: 0;
}
.ctitle {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top: 40px;
}
#featured-talks .row {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding-bottom: 30px;
}
.card {
    grid-column: span 3;
    vertical-align: top;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    background-color: white;
    padding-bottom: 10px;
}
@media (max-width: 991px) {
    .card {
        grid-column: span 6;
    }
    #featured-talks .row {
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }
}
.card img {
    border-radius: 5px;
    width: 100%;
}
.cdesc {
    height: 30px;
    vertical-align: top;
    margin-bottom: 10px;
    font-size: 15px;
}
@media (max-width: 768px) {
    .cdesc {
        font-size: 14px;
        padding-bottom: 10px;
    }
}
#pet-projects .row {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}
.project {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.pico {
    float: left;
    margin-right: 10px;
}
.pdesc {
}
.pend {
    clear: both;
}
.pico img {
    height: 80px;
    border-radius: 5px;
    border: 1px solid #999;
}
.pub {
    font-size: 14px;
    border-left: 4px solid #aaa;
    padding: 2px 0px 2px 10px;
    margin-bottom: 10px;
}
.pub-title {
    display: inline;
    color: #333;
}
.pub-venue {
    display: inline;
    color: #090;
}
.pub-authors {
    display: block;
    color: #900;
}
.tul {
    text-align: center;
    padding: 0;
}
.til {
    display: inline-block;
    padding: 3px 15px 3px 15px;
    margin-bottom: 5px;
}
.tilb {
    border-right: 1px solid #ccc;
}
.nodot {
    list-style-type: none;
    padding-left: 0;
}






/* ********* */


.timeline {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
}

/* The vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #7191c1; 
}

/* Container for timeline items */
/*
.timeline-item {
    position: relative;
    background-color: #eae9e9;
    margin-left: 30px;
    margin-bottom: 30px;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
 */

.timeline-item {
    position: relative;
    padding: 2rem 1.5rem;
    margin-left: 30px;
    margin-bottom: 10px;
    padding: 15px 20px;
    background-color: #f0efefd5;
    /* background: rgba(255, 255, 255, 0.85);  semi-flat soft layer */
    border-radius: 0.5rem;                 /* soft geometry */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); /* subtle soft depth */
    color: #2C2C34;
    font-family: 'Inter', sans-serif;
    text-align: left;
    transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.timeline-item:hover {
  box-shadow: 0 6px 36px rgba(0, 0, 0, 0.14);
}



/* Circle marker on timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: #7191c1;
    border-radius: 50%;
    border: 1px solid white;
}

/* Date styling */
.timeline-date {
/*font-weight: bold;*/
margin-bottom: 2px;
color: #888;
}

/* Description styling */
.timeline-content {
color: #555;
}

  
.tl-flex-row {
    display: flex;
    align-items: center;  /* Vertically center contents */
    gap: 12px;            /* Optional: space between logo and text */
}
.tl-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.tl-text {
    color: #333;
}




/* ********* */

.constrained {
  max-width: 840px;
  margin: auto;
}

.header {
  color: #FFF;
  background-color: #2E2D2A;
  padding: 10px;
}

.header .constrained {
  display: flex;
  justify-content: space-between;
}

.header-nav ul {
  margin: 0;
  display: inline-flex;
}

.header-nav li {
  list-style: none;
  margin: 0;
}

.header-nav li a {
  display: inline-block;
  padding: 5px 20px;
}

.header a {
  color: #FFF;
  text-decoration: none;
}

.header a:hover {
  text-decoration: underline;
}

.header-nav-launch, .header-nav-close {
    display: none;
}

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

  .header-nav-launch, .header-nav-close {
      display: inline-block;
  }

  .header-nav-close {
      padding: 10px;
  }

  .header-nav {
    display: none;
    background-color: #0a0406;
  }

  .header-nav:target {
    position: fixed;
    display: block;
    top: 0; bottom:0;
    left:0; right: 0;
    z-index: 999;
  }

  .header-nav ul {
    display: block;
  }
}



.person-card a,
.publication-entry h4 > a {
  color: #0070C9;
  font-size: 1.2em;
  text-decoration: none;
}
.publication-entry h4 {
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 16px;
}

.blog-authors,
.publication-entry .authors {
  color: #9d9d9d;
  font-size: 0.75em;
}

.blog-authors {
  font-size: 0.8rem;
  margin: -20px 0 26px;
}

.author-list a {
  color: #777777;
}

.publication-entry .authors a {
  color: #9d9d9d;
  text-decoration: underline;
}

.authors .author-span:after {
  content: ''
}

.authors .author-span:last-child:after {
  content: ''
}

.publications-list,
.publications-list p,
.publications-list a {
  font-size: 14px;
}

.publications-list a {
  text-decoration: none;
  color: #2b542c;
}

.publications-list a:hover {
  text-decoration: underline;
}

.publication-tags a,
.publication-list .tag {
  font-size: 12px;
  text-decoration: none;
}

.publication-tags {
  margin: 5px 0 10px;
  min-height: 20px;
}

.publication-submitted {
  color: #999;
  font-size: .9em;
}

.people .person-card:last-child {
  padding-bottom: 60px;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.person-card {
  margin: 0 10px 20px 0;
  text-align: center;
}

.person-hero {
  background: linear-gradient(#c0becb, #f3f2f5);
  display: grid;
  grid-template-columns: minmax(20px, 1fr) [name] 420px [image] 420px minmax(20px, 1fr);
  grid-template-rows: [image name] 360px;
}

.person-hero-image {
  grid-area: image;
  align-self: end;
}

.person-hero-image img {
  margin-bottom: -5px;
}

.person-hero-name {
  grid-area: name;
  align-self: center;
}

.person-hero-name h2 {
  font-size: 2em;
  padding-bottom: 0;
  margin-bottom: 10px;
}

@media screen and (max-width: 750px) {
  .person-hero {
     grid-template-columns: 20px [name image] 1fr 20px;
     grid-template-rows: [name] min-content [image] min-content;
  }

  .person-hero-image, .person-hero-name {
    justify-self: center;
    text-align:center;
  }
}

.person-image {
}

.person-image img {
  width: 100%;
  /* the images are all different heights, force single height */
  height: 152px;
  border-radius: 6px;
  vertical-align: bottom;
}

@media screen and (max-width: 750px) {
  .person-image img {
    height: auto;
  }
}

.person-info h4 {
  padding: 0px;
  margin: 10px 0;
  font-size: 0.9em;
  height: 40px;
}

.person-page {
  margin-top: 60px;
}

.person-page h2 {
  font-size: 2.6em;
  font-weight: 400;
  padding-top: 1em;
}


@media screen and (min-width: 750px) {
  .person-page h2 {
    font-size: 2.6em;
    font-weight: 400;
    padding-top: 1em;
    margin-bottom: 204px;
  }

  .person-page .person-image {
    float: right;
    display: block;
    margin-right: 60px;
  }

  .person-page .person-image img {
    height: 300px;
    width: 400px;
    border-radius: 10px;
  }
}

.person-page-header {
  font-size: 1.3em;
  font-weight: 600;
  border-bottom: 1px solid #dedede;
  padding-bottom: 0.5em;
}

.person-page .person-subheader {
  font-size: 1.2em;
}

.person-bio {
  font-size: 1.2em;
  font-weight: 100;
  margin-top: 2em;
}

@media screen and (max-width: 750px) {
  .person-bio {
    column-count: 1;
  }
}

.person-bio :first-child {
  margin-top: 0;
}

.publication #main-content a,
.project #main-content a,
.person-page a {
  color: #0070C9;
  text-decoration: none;
  margin-bottom: 10px;
}

.person-placeholder {
  border-radius: 6px;
  background-color: #0070C9;
  width: 250px;
  height: 250px;
  color: white;
  padding: 50px 0 0 50px;
}

.person-placeholder .person-initials {
  font-size: 4em;
  font-weight: 700;
  color: white;
  background-color: #5bc0de;
  text-align: center;
  height: 200px;
  width: 200px;
  border-radius: 150px;
  line-height: 3.6;
  border: 1px solid #cdcdcd;
}

.person-card .person-placeholder {
  width: 165px;
  height: 165px;
  padding: 15px 0 0 15px;
}

.person-card .person-placeholder .person-initials {
  width: 150px;
  height: 150px;
  border-radius: 75px;
  font-size: 3em;
  line-height: 3;
}

.person-card .person-image {
  background: radial-gradient(circle at 50%, rgb(255,255,255) 0%, rgba(180,177,194,3) 100%);
  border-radius: 6px;
}

/* blog-post offset styling */
.blog-post h3 {
  font-size: 1.3rem;
}

.blog-post h4 {
  font-size: 1.1rem;
}

.blog-post p {
}

.blog-post p.meta {
}

#lektor-edit-link {
  top: 60px !important;
}

#search {
  width: 100%;
  padding: 10px;
  border: 1px solid #999;
  max-width: 96%;
}

#results {
  list-style-type: none;
  margin-block-start: 0;
  margin-inline-start: 0;
  padding-inline-start: 0;
}

#results li {
  padding: 10px 0 0 0;
}

.search-result-type {
  color: #777777;
  font-size: 90%;
}

div.publications {
  /*border-top: 1px solid #0070C9;*/
  padding: 15px 20px;
  background-color: #ffffff;
  margin-bottom: 40px;
}

.publication-entry {
  padding-bottom: 15px;
  border-bottom: 1px solid #dcdcdc;
}

.publications h2.page-subtitle {
  padding: 1rem 0 2rem;
}


h1.title-tag,
h2.page-subtitle,
h2.page-title {
  text-align: center;
  margin: 0 auto;
  padding: 2em 0;
  font-size: 2.5em;
  line-height: 1.2;
}

h2.page-title-tag {
  text-transform: capitalize;
}

h2.page-subtitle {
  font-size: 1.8em;
}

h3.tag-grouping-header {
  display: block;
  margin: 30px auto;
  text-align: center;
}

.page-description {
  text-align: left;
  width: 100%;
  /* font-size: 1.05rem; */
  font-size: 0.95rem;
}

.grid-of-cards {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 640px) {
  .grid-of-cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: #FFF;
  text-decoration: none;
  color: #0a0406;
}

.card-body {
  padding: 20px 30px;
}

.card > img { width: 100%; }

body.locations .grid-of-cards a.card {
  background-color: inherit;
}

.blog-post.card {
  padding: 10px 20px;
  margin-bottom: 20px;
}

.grid-of-slats {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr;
}

.slat {
  background-color: #FFF;
  text-decoration: none;
  color: #0a0406;
  padding-bottom: 20px;
}

.slat-header {
  padding: 20px;
  border-bottom: 1px solid #ededed;
}

.slat-header h2 {
  font-size: 1.7em;
  line-height: 1.3;
  margin: 0;
}

.slat-body {
  padding: 20px 20px 0;
}

.card-body h2,
.slat-body h2 {
  margin: 0;
  line-height: 1.2;
}

.slat-body img {
  width: 240px;
  height:140px;
  float: left;
  margin: 0 20px 0 0;
  border: 1px solid #dedede;
}

@media screen and (max-width: 600px) {
  .slat-body img {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
  }
}

.slat-body p {
  margin: 0;
  padding: 0;
}

.slat-link {
  color: #0070C9;
  padding-top: 10px;
}

/*
.slat > img {
  flex-grow: 1;
  object-fit: cover;
}
*/

.grid-tight {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 20px;
}

.simplecard > img {
  width: 100%; border-radius: 5px;
}
.tags {
    display: inline-flex;
    flex-wrap: wrap;
}
.tag {
    border: 1px solid #bbbbff;
    padding: 2px 8px 3px;
    border-radius: 14px;
    background-color: #fafafa;
    margin-right: 10px;
}

.tag:hover {
    border: 2px solid #0070C9;
    text-decoration: none;
    padding: 1px 7px 2px;
}

.project .tags {
  margin-top: 40px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px; /* Set the fixed height of the footer here */
  background-color: #f5f5f5;
  text-align: center;
  padding-top: 10px;
}

.text-muted {
  font-size: 0.8rem;
  opacity: 0.7;
}

.text-muted a {
  text-decoration: none;
  color: #0070C9;
}

.person-pub {
  margin-bottom: 30px;
}

.person-pub-contents {
  padding: 0 20px 10px;
}

.person-pub-contents a {
}

.person-pub-header {
  padding: 10px 20px 0;
}

.person-pub-link {
  text-decoration: none;
  color: #999;
  font-size: .9em;
}

/* page specific styles */

.project-body img,
img.project-content {
  max-width: 100%;
}





