img {
  max-width: 100%;
  border-radius: 0.2em;
}

.quote {
  text-align: center;
  /* font-style: italic; */
  margin-bottom: 3em;
  font-family: "Newsreader", serif;
}

.container {
  max-width: 640px;
  margin: 1em auto;
  padding: 1em;
  font-family: serif;
  text-align: center;
  font-size: 18px;
  overflow: hidden;
}

.wide {
    max-width: 1500px;
}

td.link {
  padding: 0;
}

a.txt,
.txt {
  text-decoration: none;
  display: block;
  color: black;
  padding: 1em;
}

nav {
  text-align: center;
  margin-bottom: 0.5em;
  margin-left: -2em;
  margin-right: -2em;
}

a.button.current {
  background: #F1F3F4;
}

/* unvisited link */
a:link {
  color: black;
}

/* visited link */
a:visited {
  color: black;
}

/* mouse over link */
a:hover {
  color: #fb922b;
}

/* selected link */
a:active {
  color: black;
}

.subtitle {
  font-size: .65em;
  font-family: 'Fira Mono';
  margin-top: .45em;
}

table {
  width: 100%;
}

table, tr, td {
  border-collapse: collapse;
  font-family: "Newsreader", serif;
  line-height: 1.4;
  vertical-align: top;
}

td {
  border: 1px solid #d1d1d1;
  width: 33.33333%;
  padding: 1em;
}

.gradient {
  height: 123px;
  width: 123px;
  margin: 0 auto;
}

.question-text {
  height: 2em;
}

footer {
  height: 4em;
}

td.about {
  text-align: left;
  margin-top: 0;
}

td.about p:first-child {
  margin-top: 0;
}

td.about p:last-child {
  margin-bottom: 0;
}

td.accordion {
  text-align: left;
  padding: 0em;
  border-top: 1px solid #d1d1d1;
}

td.accordion summary {
  padding: 1em;
  cursor: pointer;
  position: relative;
}

td.accordion .content {
  padding: 0em 1em;
}

#txt-info {
  font-family: 'Fira Mono';
  border-top: 1px solid #d1d1d1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

#txt-info div {
  padding: 1em;
}

#txt-info div:first-child {
  border-right: 1px solid #d1d1d1;
}

.meta {
  font-family: 'Fira Mono';
}

a.link {
  margin: 0 0.25em;
}

table.accordion-container {
  text-align: left;
}

table.diary summary {
  background: #e8e8e8;
}

table.accordion-container .content.table-inside {
  padding: 0;
}

table.accordion-container .content td {
  border: 0;
}

table.accordion-container .content td:first-child {
  border-right: 1px solid #D1D1D1;
}

.content {
  position: relative;
}

.cursive {
  font-family: cursive;
}

h1.tiny {
  font-size: 1em;
  font-weight: normal;
}

h1.tiny a,
h1.link a {
  color: black;
  text-decoration: none;
  /* border-bottom: 1px solid #d1d1d1; */
}

.caption {
  font-size: 0.75em;
  margin-top: 0.25em;
  margin-bottom: 0.5em;
  font-family: 'Fira Mono';
}

hr {
    border: 0;
    border-bottom: 1px solid #d1d1d1;
}

.info {
  margin-bottom: 1.5em;
}

.description ul {
  padding: 0;
  padding-left: 1em;
  margin: 0;
}

/* Publications grid */
.pubs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d1d1d1;
  border-left: 1px solid #d1d1d1;
  font-family: "Newsreader", serif;
  line-height: 1.2;
}

.pubs > * {
  border-bottom: 1px solid #d1d1d1;
  border-right: 1px solid #d1d1d1;
}

p.info {
  text-align: center;
  margin: 2em;
  font-family: "Newsreader", serif;
}

/* .tiers-grid .tier .tier-energy {max-width: 100px;} */
.tiers-grid .tier:last-child, .tiers-grid .tier > div:last-child {border: 0;}

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

  nav {
    margin-left: 0;
    margin-right: 0;
  }

  a.button {
    margin: 0 0.2em 0.6em;
  }

  .subtitle {
    margin-top: 0;
    opacity: 0.4;
    font-family: 'Fira Mono';
    margin: 0.5em;
  }

  #txt-info {
    display: block;
  }

  #txt-info div:first-child {
    border-right: 0;
    border-bottom: 1px solid #d1d1d1;
  }

}

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

  .container {
    padding-right: 0.25em;
    padding-left: 0.25em;
  }

  a.txt,
  .txt {
    padding: 0.25em;
    padding-bottom: 0.75em;
  }

}