/* tags */

html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body, table { font-family: Garamond, serif; /* Arial, Helvetica, sans-serif; */
  font-size: 14pt;
}

body {
  margin: 0px 40px 10px 40px;
  text-align: center;
}

a {
  text-decoration: none;
  color: #cc2900;
}

a:hover {
  text-decoration: underline;
}

img {
  border: none;
}

h1, h2 {
  font-family: Garamond, serif;
  font-weight: 400;
}

h1 {
  text-align: right;
  font-size: 48pt;
}

h2 {
  font-size: 24pt;
  border-bottom: dotted 1px black;
  padding: 0.5rem 0;
}

h2:not(:first-of-type) {
  border-top: solid 2px #bbb;
}

*.mailto:before {
  content:"\00a0\2709";
  color: black;
}

/* sections */

#main {
  text-align: left;
  margin: 0px auto;
  max-width: 700px;
}

.header {
  display: flex;
  flex-flow: row nowrap;
}

.header .profile {
  max-width: 260px;
  padding: 40px;
}

.header .profile img {
  max-width: 100%;
  border-radius: 500px;
}

.header h1 {
  flex-grow: 1;
}

.subhead {
  display: flex;
  flex-flow: row nowrap;
}

.subhead ul.links {
  padding: 0;
  text-align: right;
}

.subhead .links li {
  list-style: none;
  margin-bottom: 0.5rem;
}

.subhead>div {
  flex-grow: 1;
}

.subhead>div>div {
  margin: 1rem 0;
}

.subhead>div>div:not(.mailto)>a {
  display: block;
}

#meet_subtext {
  color: #777;
}

.compress {
  text-align: center;
}

.where-when {
  line-height: 150%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  text-align: left;
}

.where-when div.subtitle {
  font-variant: small-caps;
  margin-top: 1em;
}

.where-when ul {
  margin: 0;
  padding: 0;
}

.where-when ul li {
  display: flex;
  flex-flow: row nowrap;
  list-style-type: none;
}

.where-when ul li span:first-child {
  text-align: left;
}

.where-when ul li span:last-child {
  text-align: right;
  flex-grow: 1;
  white-space: nowrap;
}

.internal-links {
  margin: 2rem 0;
  text-align: center;
  padding: 0.5rem 0;
  border-top: dotted 1px black;
  border-bottom: solid 2px #bbb;
}

ul.section {
  margin-bottom: 3rem;
}

ul.projects {
  display: flex;
  flex-flow: row wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.projects>li {
  margin: 4px;
  padding: 8px;
  font-size: 12pt;
  line-height: 125%;
  position: relative;
  border-radius: 1rem;
  width: 209px;
  list-style-type: none;
}

ul.projects>li:hover {
  background: #ddd;
}

ul.projects>li>a:first-of-type {
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

ul.projects>li>a:first-of-type>img {
  border-radius: 0.5rem;
}

ul.projects>li>div.year {
  font-size: 11pt;
  text-align: right;
  font-style: italic;
  color: #777;
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  font-variant: small-caps;
}

ul.projects>li>div.byline {
  margin-bottom: 1rem;
}

.subtext {
  font-family: Arial, Helvetica, sans-serif;
  color: #999;
  font-size: 11pt;
  margin-top: 0.25rem;
}

ul.photos {
  padding: 0;
}

ul.photos>li {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin-bottom: 1rem;
  list-style-type: none;
}

ul.photos>li>a>img {
  border-radius: 1rem;
}

ul.photos>li>span {
  padding: 30px;
}

ul.quotes {
  padding: 0;
}

ul.quotes>li {
  margin-bottom: 2rem;
  list-style-type: none;
}

ul.quotes>li>p, ul.quotes>li>ul>li {
  font-family: Garamond, serif;
  font-size: 12pt;
  line-height: 150%;
  text-align: left;
}

ul.quotes>li>p.quotee {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  text-align: right;
}

ul.quotes>li>p.quotee:before {
  content: "\2014";
}

#footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  border-top: 2px solid #aaa;
  font-size: 12pt;
  color: #888;
}

/* Responsive for mobile */

@media only screen and (max-width: 780px) {
  body {
    margin: 0px 20px 10px 20px;
  }
}

@media only screen and (max-width: 740px) {
  body {
    margin: 0px 20px 10px 20px;
  }

  ul.projects>li {
    width: calc(50% - 24px);
  }
}

@media only screen and (max-width: 560px) {
  .header {
    flex-flow: column nowrap;
    align-items: center;
  }

  .header>.profile {
    margin-top: 3rem;
    padding: 0;
  }

  h1 {
    text-align: center;
  }

  .subhead {
    flex-flow: column nowrap;
  }

  .subhead .descriptions, .subhead ul.links {
    text-align: center;
  }

  .subhead ul.links {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }

  .subhead .links li:not(:first-of-type):before {
    content: " / ";
    white-space: pre;
  }

  ul.projects>li {
    width: calc(100% - 24px);
  }

  ul.photos>li {
    flex-flow: column nowrap;
  }

  ul.photos>li>span {
    padding: 1rem 0 0 0;
    font-size: 12pt;
  }
}