* {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
  margin-left: 20px;
  /* margin-top: 10px; */
}

li {
  margin: 5px;
  padding-bottom: 10px;
  line-height: 1.2;
}

ul.compact li {
  margin: 2px;
  padding-bottom: 5px;
  line-height: 1.2;
}

ul.very-compact li {
  margin: 2px;
  padding-bottom: 5px;
  line-height: 1.05;
}

h2 {
  font-size: 150%;
  margin-bottom: 10px;
  /* margin-top: 10px; */
  padding-top: 10px;
}

h3 {
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
  line-height: 1.2;
}

span.nobr { white-space: nowrap; }

body {
  color: #2d2d2d;
  background-color: #fdfdfd;
  font-family: "Helvetica";
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.name-tag-container {
  display: flex;
  flex-direction: row;
  padding: 20px;
  margin-left: 125px;
}

.main-text-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 700px;
  border-top: 2px solid;

  padding-top: 10px;
  margin-left: 145px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* body {
  display: flex;
  margin: 0;
  font-family: inherit;
} */

.sidebar-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 125px;
  height: 100vh;
  background-color: #f5f5f5;
  border-right: 1px solid #ddd;
  padding: 20px 0;
  /* overflow-y: auto; */
}

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li {
  margin: 0;
  padding: 0 0 0 0;
}

.sidebar-nav a {
  display: block;
  padding: 10px 10px;
  color: #333;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.sidebar-nav a:hover {
  background-color: #e8e8e8;
  border-left-color: #0066cc;
}

.rows {
  display: flex;
  flex-direction: column;
  /* margin-bottom: -10px; */
}

.row {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  margin-left: 10px;
  max-width: 100%;
  border-radius: 5px;
  border-top: 1px solid #3193cc;
  border-left: 8px solid #3193cc;
  border-bottom: 1px solid #3193cc;
  border-right: 1px solid #3193cc;
  background-color: #fbfeff;
  /* background-color: #e7e8ec; */
  align-items: stretch;
}

.pub {
  margin-top: auto;
  margin-bottom: auto;
  padding: 10px;
  /* border-radius: 15px;
  background-color: #e7e8ec; */
  align-self: stretch;
}

.illustration {
  margin: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  height: 100px;
  /* box-sizing: border-box; */
}

.contact-info {
  white-space: nowrap;
  margin-left: 10px;
  margin-top: auto;
  margin-bottom: auto;
}


/* Mobile/smaller screens */
@media (max-width: 768px) {
  .sidebar-nav {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 0 0;
    overflow-x: clip;
  }

  .sidebar-nav ul {
    display: flex;
    flex-wrap: wrap;
  }

  .sidebar-nav li {
    flex: 0 1 auto;
  }

  .sidebar-nav a {
    padding: 8px 15px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .sidebar-nav a:hover {
    border-left-color: transparent;
    border-bottom-color: #0066cc;
  }

  .main-text-container {
    margin-left: 20px;
  }

  .name-tag-container {
    margin-left: 0px;
    margin-top: 40px;
  }

  h2 {
    scroll-margin-top: 40px;
  }

  #about {
    scroll-margin-top: 50px;
  }
}

@media (max-width: 753px) {
  .name-tag-container {
    margin-top: 80px;
  }
  h2 {
    scroll-margin-top: 80px;
  }
  #about {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 525px) {
  .row {
    flex-direction: column;
    align-items: center;
  }
  .illustration {
    padding-top: 0px;
  }
}

@media (max-width: 490px) {
  .name-tag-container {
    flex-direction: column;
    /* align-items: center; */
  }
  .contact-info {
    margin-top: 10px;
    margin-left: 0px;
  }
}

@media (max-width: 405px) {
  .name-tag-container {
    margin-top: 120px;
  }
  h2 {
    scroll-margin-top: 120px;
  }
  #about {
    scroll-margin-top: 130px;
  }
}

/* Very small screens - stack layout */
/* @media (max-width: 480px) {
  body {
    flex-direction: column;
  }

  .sidebar-nav {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }

  .sidebar-nav ul {
    display: flex;
    flex-wrap: wrap;
  }

  .sidebar-nav li {
    flex: 0 1 auto;
  }

  .sidebar-nav a {
    padding: 8px 15px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .sidebar-nav a:hover {
    border-left-color: transparent;
    border-bottom-color: #0066cc;
  }

  .main-text-container {
    margin-left: 0;
  }
} */


.headshot {
  max-width: 180px;
  border: 4px solid #3193cc;
  border-radius: 50%;
}

.logo {
  align-self: center;
  max-width: 180px;
  border-radius: 50%;
}

.ignorespan {
  display: none;
}

.authors {
  font-size: 12pt;
}

.myname {
  /* font-weight: bold; */
  /* font-style: italic; */
  /* color:#3a3e6f; */
}

.title {
  font-weight: bold;
  font-size: 13pt;
}

/* .title::before {
  content: "\29C8";
} */

.distinguished {
  font-weight: bold;
  font-size: 13pt;
  color: green;
}

.keynote {
  font-weight: bold;
  font-size: 12pt;
  color: green;
}

.to-appear {
  font-weight: bold;
  font-size: 13pt;
  color: grey;
}

a:link {
  color: #276fa0;
}

a:visited {
  color: #834fbb;
}

pre code {
  border-radius: 5px;
  /* border-top: 1px solid #983dfb;
  border-left: 8px solid #983dfb;
  border-bottom: 1px solid #983dfb;
  border-right: 1px solid #983dfb;
  background-color: #faf5ff; */
  border-top: 1px solid #c8c8c8;
  border-left: 8px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  border-right: 1px solid #c8c8c8;
  background-color: #fdfdfd;
  display: block;
  padding: 10px;
  margin-left: 10px;
  max-width: 100%;
  font-size: 12pt;
}

code {
  background-color: #fdfdfd;
  padding: 1px 5px;
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
}

table {
  table-layout: auto;
  border-collapse: collapse;
  width: 100%;
}

table .absorbing-column {
  width: 100%;
}

table.first-column-right-aligned td:nth-child(1) {
  text-align: end;
}

th {
  text-align: left;
  background-color: #276fa0;
  color:#fdfdfd;
}

th, td {
  padding: 10px;
}

/* td {
  padding: 10px;
} */

/* td {
  border-left: 1px solid #c5c5c5;
} */

tr {
  border-bottom: 1px solid #c5c5c5;
}

/* tr:hover {
  background-color: #D6EEEE;
} */

tr.even-week td {
  background-color: transparent;
}

tr.odd-week td {
  background-color: #e9f5ff;
}

/* tr:not(:first-child):nth-child(even) {
  background-color: #e9f5ff;
} */
