/* University of Toronto Color Palettes as described in
http://universityrelations.utoronto.ca/sc/u-of-t-branding/
*/
:root {
  --black: rgba(10, 10, 10, 1);
  --white: rgba(254, 254, 254, 1);
  --primary-color: rgba(0, 42, 92, 1);
  --secondary-color: rgba(0, 120, 176, 1);
  --contrast-color: rgb(181, 69, 23);
  --transparent-dark: rgba(0, 42, 92, .7);
  --light-primary: rgba(0, 42, 92, .1);
  --light-secondary: rgba(0, 120, 176, .1);
  --light-gray: rgb(242, 244, 248);
  --light-contrast-color: rgba(222, 122, 12, .2);
  --dark-primary: rgba(0, 42, 92, 1.2);
  --dark-secondary: rgb(13, 87, 121);
  --dark-gray: #5f5f5f;
  --blue-accent: rgba(123, 164, 217, 1);
  --grey-accent: rgba(206, 207, 203, 1);
  --green-accent: rgba(218, 229, 205, 1);
  --pink-accent: rgba(234, 202, 205, 1);
  --yellow-secondary: rgba(255, 228, 152, 1);
  --blue-secondary: rgba(0, 120, 176, 1);
  --red-secondary: rgba(227, 24, 55, 1);
  --black-secondary: rgba(39, 17, 0, 1);
}

.block-table, .bustout, .code_chunk,
.doc_byline, .math-formula, .quote {
  margin: 1rem 0;
}

blockquote {
  border-left: none;
  color: rgb(91.8552631579, 117.7631578947, 61.2368421053);
  font-size: 1.2rem;
  padding: 2rem;
  text-align: center;
}
@media screen and (min-width: 640px) {
  blockquote {
    padding: 2rem 4rem;
    font-size: 1.5rem;
  }
}

blockquote:before {
  color: rgb(168.3421052632, 194.1052631579, 137.8947368421);
  content: "\f10e";
  font-family: "Font Awesome 5 Free";
  font-size: 1.8rem;
  font-weight: 900;
  left: -1rem;
  margin-left: 1rem;
  position: relative;
  top: -1rem;
  vertical-align: 2rem;
}
@media screen and (min-width: 640px) {
  blockquote:before {
    top: 1rem;
    left: -5rem;
  }
}

cite {
  color: currentcolor;
  display: block;
  font-size: 1rem;
  padding: 2rem 0;
}

cite > a {
  color: inherit;
}

.content-byline {
  border-bottom: 2px solid var(--contrast-color);
  color: var(--primary-color);
  display: block;
  font-family: inherit;
  font-size: 0.9rem;
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
}

.bustout-wrapper {
  align-items: center;
  border: 1px solid var(--contrast-color);
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
}
@media screen and (min-width: 768px) {
  .bustout-wrapper {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    margin: 2rem 0;
  }
}
.bustout-wrapper .bustout-image {
  grid-row: 2;
  align-self: flex-start;
  justify-self: center;
}
@media screen and (min-width: 768px) {
  .bustout-wrapper .bustout-image {
    grid-row: 2/4;
    grid-column: 1/2;
  }
}
.bustout-wrapper .bustout-content {
  flex: 0 1 auto;
}
@media screen and (min-width: 768px) {
  .bustout-wrapper .bustout-content {
    font-size: calc(1rem + 0.1vw);
  }
}
.bustout-wrapper .bustout-title {
  grid-row: 1;
  font-size: calc(1.1rem + 1vw);
  justify-self: center;
  text-transform: capitalize;
}
@media screen and (min-width: 768px) {
  .bustout-wrapper .bustout-title {
    grid-column: 1/3;
  }
}
.bustout-wrapper .bustout-text {
  grid-row: 3;
}
@media screen and (min-width: 768px) {
  .bustout-wrapper .bustout-text {
    grid-column: 2/3;
    grid-row: 2;
  }
}
.bustout-wrapper .bustout-url {
  grid-row: 4;
  text-align: end;
}
@media screen and (min-width: 768px) {
  .bustout-wrapper .bustout-url {
    grid-column: 2/3;
    grid-row: 3;
  }
}

.dropdown-content details {
  padding-top: 1vh;
}
.dropdown-content details > div.rich-text,
.dropdown-content summary + div.rich-text {
  padding: 0.5rem;
}
.dropdown-content summary {
  padding: 0.5rem;
  background-color: var(--secondary-color);
  color: white;
}
.dropdown-content details > div.rich-text {
  background-color: var(--light-secondary);
  color: var(--dark-gray);
}

.code_chunk .code-lang {
  color: var(--primary-color);
  font-size: small;
  font-style: italic;
  margin-bottom: -1rem;
}
.code_chunk pre {
  white-space: pre-wrap;
}
.code_chunk code {
  display: block;
  padding-top: 1rem;
}
@media screen and (max-width: 640px) {
  .code_chunk code {
    font-size: 0.8rem;
  }
}

.picture, .picture-modal {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  max-width: 95vw;
  padding: 0.5rem;
}
.picture .link, .picture-modal .link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.picture .credit, .picture-modal .credit {
  align-self: flex-end;
  color: var(--dark-gray);
  font-size: 0.7rem;
  font-style: italic;
}
.picture .credit::before, .picture-modal .credit::before {
  content: "credit: ";
}
.picture .credit a, .picture-modal .credit a {
  color: inherit;
}
.picture img, .picture-modal img {
  width: 100%;
  object-fit: contain;
}
.picture .resize, .picture-modal .resize {
  align-self: flex-end;
  padding: 0.1rem;
  position: absolute;
  justify-self: flex-start;
}

.picture {
  max-width: 100%;
}
@media screen and (min-width: 765px) {
  .picture {
    max-width: 45%;
  }
}
@media screen and (min-width: 1024px) {
  .picture {
    max-width: 30%;
  }
}
@media screen and (min-width: 1200px) {
  .picture {
    max-width: 20%;
  }
}

.picture:hover,
.picture:active,
.picture:focus {
  background-color: var(--yellow-secondary);
}

.album-wrapper {
  border: 1px solid rgb(218, 229, 205);
  margin: 1rem 0;
  padding: 1rem;
  width: 100%;
}

@media screen and (max-width: 765px) {
  .album-wrapper .orbit-bullets,
  .album-wrapper .orbit-caption {
    display: none;
  }
}

.album {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.album > .picture {
  flex: 1 0 auto;
}

.x3d, .picture {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

.video_embed .caption, .video_embed .link, .video_embed .title, .x3d .caption, .x3d .link, .x3d .title, .picture .caption, .picture .link, .picture .title {
  font-size: 90%;
}
.video_embed .caption, .x3d .caption, .picture .caption {
  font-style: italic;
  margin-bottom: 1rem;
}
.video_embed .title, .x3d .title, .picture .title {
  font-weight: bold;
}
.video_embed .attribution, .x3d .attribution, .picture .attribution {
  font-size: 80%;
}

.video_embed, .video_container {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.video_embed {
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.video_container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.video_container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.button-group-wrapper {
  margin: 2rem 0;
}
.button-group-wrapper .button-group {
  justify-content: center;
}

.dark-gray {
  color: var(--dark-gray);
}

.small {
  font-size: 80%;
}

.streamfield-content ol {
  list-style: decimal;
}

.frontpage h2 {
  color: var(--primary-color);
  margin: 4vh 0;
}
.frontpage .section-link {
  padding: 1vh 0;
  vertical-align: center;
}
.frontpage .news-and-events {
  background-color: var(--light-primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0 2vw 2vh 2vw;
}
.frontpage .news-and-events a {
  text-decoration: none;
}
.frontpage .news-and-events .fp-events-section {
  padding: 3vh 3vw;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}
.frontpage .news-and-events .fp-event-item,
.frontpage .news-and-events .fp-news-item {
  flex: 1 1 auto;
  padding: 0.5rem;
  color: inherit;
  background-color: var(--white);
  margin-bottom: 0.5rem;
  display: flex;
}
.frontpage .news-and-events .fp-news-item:nth-of-type(odd) {
  flex-flow: row-reverse;
}
.frontpage .news-and-events .fp-event-item {
  border-bottom: 1px solid var(--contrast-color);
}
.frontpage .news-and-events .fp-news,
.frontpage .news-and-events .fp-events {
  flex: 1 1 auto;
}
@media screen and (min-width: 770px) {
  .frontpage .news-and-events .fp-news,
  .frontpage .news-and-events .fp-events {
    flex: 0 1 49%;
  }
}
.frontpage .news-and-events .fp-news-title,
.frontpage .news-and-events .event-speaker {
  font-size: 1.4rem;
  font-family: var(--title-font);
  font-variation-settings: "wght" 430, "wdth" 80;
}
.frontpage .news-and-events .fp-news-meta {
  color: var(--contrast-color);
}
.frontpage .news-and-events .fp-news-meta,
.frontpage .news-and-events .fp-events-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  width: 100%;
}
.frontpage .news-and-events .fp-news-meta .date,
.frontpage .news-and-events .fp-events-meta .date {
  flex: 0 0 auto;
  text-align: center;
  padding: 0.5rem;
  margin: 0 1rem 0.3rem 0;
  background-color: var(--light-gray);
  height: fit-content;
}
.frontpage .news-and-events .fp-news-meta .date .day,
.frontpage .news-and-events .fp-events-meta .date .day {
  display: block;
  color: var(--transparent-dark);
  margin: 0.25em 0;
  font-size: 1.2rem;
  line-height: 1rem;
  font-weight: 500;
}
@media screen and (min-width: 650px) {
  .frontpage .news-and-events .fp-news-meta .date .day,
  .frontpage .news-and-events .fp-events-meta .date .day {
    font-size: 1.8rem;
  }
}
.frontpage .news-and-events .fp-news-meta .date .month,
.frontpage .news-and-events .fp-events-meta .date .month {
  display: block;
  margin: 0.005em 0;
  color: var(--contrast-color);
  font-size: 0.8rem;
  font-weight: 200;
}
@media screen and (min-width: 650px) {
  .frontpage .news-and-events .fp-news-meta .date .month,
  .frontpage .news-and-events .fp-events-meta .date .month {
    font-size: 1rem;
  }
}
.frontpage .news-and-events .fp-news-meta .speaker-and-event-parent,
.frontpage .news-and-events .fp-events-meta .speaker-and-event-parent {
  flex: 1 1 auto;
}
.frontpage .news-and-events .fp-news-meta .event-parent,
.frontpage .news-and-events .fp-events-meta .event-parent {
  font-size: 0.9rem;
  color: var(--transparent-dark);
}
.frontpage .news-and-events .fp-news-meta .event-title,
.frontpage .news-and-events .fp-events-meta .event-title {
  font-size: 1.1rem;
  max-width: fit-content;
}
.frontpage .news-and-events .fp-news-content {
  flex: 1 1 auto;
  padding: 0.5rem;
}
.frontpage .news-and-events .fp-news-image {
  flex: 0 0 auto;
}
.frontpage .news-and-events .fp-news-image img {
  object-fit: cover;
  width: 150px;
  height: 150px;
}
@media screen and (max-width: 440px) {
  .frontpage .news-and-events .fp-news-image img {
    width: 80px;
    height: 80px;
  }
}
.frontpage .eventindexpage .rich-text h1, .frontpage .eventindexpage .rich-text h2, .frontpage .eventindexpage .rich-text h3, .frontpage .eventindexpage .rich-text h4, .frontpage .eventindexpage .rich-text h5,
.frontpage .newsindexpage .rich-text h1,
.frontpage .newsindexpage .rich-text h2,
.frontpage .newsindexpage .rich-text h3,
.frontpage .newsindexpage .rich-text h4,
.frontpage .newsindexpage .rich-text h5,
.frontpage .memberindexpage .rich-text h1,
.frontpage .memberindexpage .rich-text h2,
.frontpage .memberindexpage .rich-text h3,
.frontpage .memberindexpage .rich-text h4,
.frontpage .memberindexpage .rich-text h5,
.frontpage .sectionpage .rich-text h1,
.frontpage .sectionpage .rich-text h2,
.frontpage .sectionpage .rich-text h3,
.frontpage .sectionpage .rich-text h4,
.frontpage .sectionpage .rich-text h5 {
  font-size: 110%;
}

.fp-bottom-menu {
  padding: 2rem 0 3rem 0;
}

.fp-section {
  background-size: auto;
  background-size: cover;
  display: grid;
}

.fp-section div[class^=fp-section-] {
  transition: background 0.3s linear;
}

.front-page-orbit .orbit-slide, .front-page-orbit .is-active {
  background-color: var(--white);
}
.front-page-orbit .orbit-previous,
.front-page-orbit .orbit-next {
  border-radius: 50%;
  color: rgba(20, 20, 20, 0.8);
  background-color: rgba(254, 254, 254, 0.7);
}
.front-page-orbit .orbit-previous:hover,
.front-page-orbit .orbit-next:hover {
  background-color: rgba(20, 20, 20, 0.8);
  color: rgba(254, 254, 254, 0.7);
}
.front-page-orbit .orbit-bullets {
  margin-top: 0;
  margin-bottom: 0;
}
.front-page-orbit .orbit-bullets button {
  width: 0.8rem;
  height: 0.8rem;
}
.front-page-orbit .orbit-image {
  object-fit: cover;
  max-height: 400px;
}
.front-page-orbit .orbit-caption {
  position: relative;
  color: var(--primary-color);
  background-color: rgba(254, 254, 254, 0.9);
}
.front-page-orbit .orbit-caption h1, .front-page-orbit .orbit-caption h2, .front-page-orbit .orbit-caption h3, .front-page-orbit .orbit-caption h4, .front-page-orbit .orbit-caption h5 {
  color: var(--primary-color);
}
@media screen and (max-width: 640px) {
  .front-page-orbit .orbit-caption {
    background-color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--secondary-color);
  }
}
@media screen and (min-width: 641px) {
  .front-page-orbit .orbit-caption {
    padding: 2rem 2rem 1rem 2rem;
    position: absolute;
    bottom: 3vw;
    left: 10vw;
    width: 60vw;
  }
}
.front-page-orbit .orbit-caption .fp-caption-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
@media screen and (min-width: 1000px) {
  .front-page-orbit .orbit-caption .fp-caption-title {
    font-size: 1.4rem;
  }
}
.front-page-orbit .orbit-caption .fp-caption-text {
  font-size: 1rem;
}
@media screen and (min-width: 1000px) {
  .front-page-orbit .orbit-caption .fp-caption-text {
    font-size: 1.2rem;
  }
}
.front-page-orbit .orbit-caption .button {
  margin-top: 0.5rem;
}

.frontpage .advert-placements {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  grid-template-rows: 1fr;
  flex-wrap: nowrap;
  color: white;
  overflow-x: auto;
  margin: 3rem 0;
}
@media screen and (max-width: 640px) {
  .frontpage .advert-placements {
    grid-auto-flow: dense;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    grid-gap: 0.2rem;
  }
}
@media screen and (min-width: 641px) and (max-width: 768px) {
  .frontpage .advert-placements {
    grid-auto-flow: dense;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-around;
    grid-gap: 0.2rem;
  }
}

.advert-item {
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--transparent-dark);
  color: var(--light-gray);
}

a.advert-item:hover,
a.advert-item:focus {
  color: var(--light-gray);
  filter: brightness(0.9) saturate(70%);
}

.advert-picture {
  flex: 0 0 auto;
  align-self: center;
}
.advert-picture img {
  object-fit: cover;
}

.fp-advert-content,
.fp-advert-content-with-date {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.fp-advert-content {
  padding: 0.3rem;
}

.fp-advert-title {
  flex: 1 1 auto;
  color: var(--transparent-dark);
  background-color: var(--light-gray);
  font-size: 150%;
  font-weight: 500;
  text-align: center;
  font-family: var(--title-font);
  padding: 0.5rem;
  display: flex;
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
}
@media screen and (max-width: 640px) {
  .fp-advert-title {
    font-size: 100%;
  }
}
@media screen and (min-width: 641px) and (max-width: 768px) {
  .fp-advert-title {
    font-size: 120%;
  }
}

.advert-description {
  flex: 0 1 auto;
  font-size: 80%;
  padding: 0.5rem;
}

@media screen and (max-width: 768px) {
  .advert-description {
    display: none;
  }
}
.advert-date-time {
  flex: 0 1 auto;
  font-size: 70%;
  font-family: var(--title-font);
  font-weight: 500;
  padding: 0.5rem;
  align-self: flex-end;
}
.card-section.event-info,
.card-section.news-info {
  font-size: 90%;
  padding-bottom: 0.3rem;
}

.card-section > .event-speaker {
  font-weight: 500;
}

.card-section.article-meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.eventindexpage .events.upcoming,
.eventindexpage .events.past {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-template-areas: "events" "date-nav" "page-nav";
  grid-gap: 1rem;
}
@media screen and (min-width: 600px) {
  .eventindexpage .events.upcoming,
  .eventindexpage .events.past {
    grid-template-columns: 1fr 15vw;
    grid-template-areas: "events date-nav" "page-nav page-nav";
  }
}
.eventindexpage .events .list_display {
  grid-area: events;
}
.eventindexpage .events .dates-nav {
  grid-area: date-nav;
}
.eventindexpage .events .page-nav {
  grid-area: page-nav;
  color: var(--dark-gray);
}

.eventindexpage .date {
  grid-area: date;
}
.eventindexpage .date .day {
  display: block;
  color: var(--transparent-dark);
  margin: 0.25em 0 0;
  font-size: 1.2rem;
  line-height: 1rem;
  font-weight: 500;
}
@media screen and (min-width: 650px) {
  .eventindexpage .date .day {
    font-size: 1.8rem;
  }
}
.eventindexpage .date .month {
  display: block;
  margin: 0.5em 0;
  color: var(--contrast-color);
  font-size: 0.8rem;
  font-weight: 200;
}
@media screen and (min-width: 650px) {
  .eventindexpage .date .month {
    font-size: 1rem;
  }
}
.eventindexpage .title {
  grid-area: title;
}

.event-item {
  display: grid;
  grid-template-areas: "date meta" "date title" "date intro" "date footer";
  grid-template-columns: 20vw 1fr;
  grid-template-rows: auto;
  column-gap: 0.5rem;
  row-gap: 0.3rem;
  border-bottom: 1px solid var(--light-contrast-color);
  margin-bottom: 0.5rem;
  flex: 1 0 100%;
}
@media screen and (min-width: 768px) {
  .event-item {
    grid-template-areas: "date meta" "date title" "date intro" "date footer";
    grid-template-columns: 10rem auto;
    grid-template-rows: auto;
  }
}

.news-item {
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-template-areas: "image title" "image meta" "intro intro" "footer footer";
  column-gap: 1rem;
  row-gap: 0.3rem;
  border-bottom: 1px solid var(--light-contrast-color);
  margin-bottom: 0.5rem;
  flex: 1 1 100%;
}
@media screen and (min-width: 768px) {
  .news-item {
    grid-template-areas: "image title" "image meta" "image intro" "image footer";
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto 1fr auto;
  }
}

.news-item .article.meta {
  align-self: start;
  justify-self: end;
}

.article-meta,
.meta {
  display: flex;
  flex-direction: column;
  padding-right: 1rem;
  justify-content: space-between;
  font-family: var(--title-font);
  color: var(--transparent-dark);
  font-weight: 300;
  justify-content: space-between;
}

.news-category {
  color: var(--secondary-color);
  font-family: var(--title-font);
}

.meta .time-and-location {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.time {
  flex: 0 0 15rem;
}

.location {
  flex: 1 1 auto;
  color: var(--contrast-color);
}
.location a {
  color: inherit;
  text-decoration: underline;
}

.newsindexpage .meta {
  color: var(--contrast-color);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.newsindexpage .meta > * {
  padding-right: 1rem;
}

.eventindexpage footer,
.newsindexpage footer,
footer {
  grid-area: footer;
  margin-bottom: 0.5rem;
}

.newsindexpage .article-content {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-template-areas: "news-nav" "streamfield-content" "list-display";
}
@media screen and (min-width: 640px) {
  .newsindexpage .article-content {
    grid-template-columns: 1fr minmax(0, max-content);
    grid-template-areas: "streamfield-content news-nav" "list-display news-nav";
  }
}
.newsindexpage .article-content .news-nav {
  grid-area: news-nav;
}
.newsindexpage .article-content .streamfield-content {
  grid-area: streamfield-content;
}
.newsindexpage .article-content .list_display {
  grid-area: list-display;
}

.eventpage .article-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: var(--light-gray);
}
@media screen and (min-width: 768px) {
  .eventpage .article-meta {
    flex-direction: row;
    font-size: 120%;
  }
}
.eventpage .article-meta .article-info {
  flex: 1 1 auto;
}
@media screen and (min-width: 768px) {
  .eventpage .article-meta .article-info {
    flex: 1 0 300px;
  }
}

.event-item .intro,
.news-item .intro {
  grid-area: intro;
  font-size: 90%;
  padding-bottom: 0.2rem;
}

.image {
  grid-area: image;
}
.image img {
  object-fit: cover;
  width: 120px;
  height: 120px;
}
@media screen and (min-width: 650px) {
  .image img {
    width: 200px;
    height: 200px;
  }
}

.speaker-list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-family: var(--title-font);
  justify-content: flex-start;
  align-items: center;
}

.speaker,
.speaker-wrapper {
  flex: 1 1 auto;
  padding: 0.2rem;
}

.speaker-header,
.speaker-details {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.1rem;
  grid-template-areas: "speaker-image speaker-name" "speaker-image speaker-awards" "speaker-image speaker-institution" "speaker-image speaker-homepage" "speaker-image speaker-links" "speaker-intro speaker-intro";
}

@media screen and (max-width: 765px) {
  .speaker-details {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "speaker-image" "speaker-name" "speaker-awards" "speaker-institution" "speaker-homepage" "speaker-links" "speaker-intro";
    align-content: flex-start;
  }
  .speaker-image {
    justify-self: center;
  }
}
.speaker-name {
  grid-area: speaker-name;
}

.speaker-institution {
  font-style: italic;
  grid-area: speaker-institution;
}

.speaker-image {
  grid-area: speaker-image;
}

.speaker-links {
  grid-area: speaker-links;
}

.speaker-intro {
  margin-top: 1rem;
  grid-area: speaker-intro;
}

.speaker-homepage {
  grid-area: speaker-homepage;
}

.speaker-name,
.speaker-institution {
  flex: 1 1 auto;
}

.speaker-awards {
  grid-area: speaker-awards;
  font-size: 1rem;
  font-style: italic;
  color: var(--secondary-color);
}

.content-with-toc {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.children {
  margin-bottom: 1rem;
}
.children .child-page {
  display: grid;
  grid-template-columns: 24px 1fr minmax(0, auto);
  grid-template-rows: auto;
  column-gap: 0.5rem;
  transition: 0.5s background-color ease-in-out;
  padding: 0.5rem 0 0.5rem 0;
}
.children .child-page:hover,
.children .child-page:focus,
.children .child-page.active {
  background-color: var(--yellow-secondary);
}
.children .icon {
  grid-column: 1/2;
  grid-row: 1/2;
  padding-left: 0.3rem;
}
.children .date {
  grid-column: 3/4;
  grid-row: 1/2;
  justify-self: end;
}
.children .date span,
.children .child-intro span {
  font-size: 90%;
  font-weight: 400;
  color: var(--black);
}
.children .child-title {
  font-family: var(--title-font);
  grid-column: 2/3;
  grid-row: 1/2;
  font-weight: 400;
  font-size: 110%;
}
.children .child-intro {
  grid-column: 2/4;
  grid-row: 2/3;
  font-size: 90%;
}
.children .tags {
  grid-column: 2/4;
  grid-row: 3/4;
  justify-self: end;
}

.mega_menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.mega-menu-item {
  padding: 1rem 0;
  flex: 1 0 100%;
  border-bottom: 3px solid white;
}
.mega-menu-item:hover {
  border-bottom: 3px solid var(--contrast-color);
}
@media screen and (min-width: 600px) {
  .mega-menu-item {
    flex: 1 0 48%;
    margin: 0.2rem;
  }
}
@media screen and (min-width: 1000px) {
  .mega-menu-item {
    flex: 1 0 23%;
  }
}

.mega-menu-item .menu-title {
  font-weight: 500;
  background-color: var(--light-primary);
}
.mega-menu-item .menu-title a {
  color: var(--primary-color);
}

.mega-menu-item .menu-child {
  font-size: 90%;
}
.mega-menu-item .menu-child a {
  color: black;
}

.mega-menu-item .menu-title,
.mega-menu-item .menu-child {
  padding: 0.2rem;
}
.mega-menu-item .menu-title:hover, .mega-menu-item .menu-title:active,
.mega-menu-item .menu-child:hover,
.mega-menu-item .menu-child:active {
  background-color: var(--highlight-color);
  color: black;
}
.mega-menu-item .menu-title:hover a, .mega-menu-item .menu-title:active a,
.mega-menu-item .menu-child:hover a,
.mega-menu-item .menu-child:active a {
  color: black;
}

/* 
Template file for the draftail "pre" block feature. 
Check out 'wagtail_hooks.py' in this project and 
https://docs.wagtail.io/en/v2.7/advanced_topics/customisation/extending_draftail.html
*/
pre.preformat {
  background-color: var(--light-gray);
  font-size: 90%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  white-space: pre-line;
}

.rich-text > pre.preformat:first-of-type {
  padding-top: 0.5rem;
}

.rich-text > pre.preformat:last-of-type {
  padding-bottom: 0.5rem;
}

.text-center {
  text-align: center;
}

article {
  display: grid;
  grid-template-areas: "article-header" "article-tag-listing" "article-lead-image" "article-content" "article-footer";
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
@media screen and (min-width: 420px) {
  article {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    grid-template-areas: "article-header article-header" "article-tag-listing article-tag-listing" "article-lead-image article-content" "article-footer article-footer";
    grid-row-gap: 0.5rem;
  }
}

article header {
  grid-area: article-header;
}

article .tag-result-listing {
  grid-area: article-tag-listing;
}

article .lead-image {
  grid-area: article-lead-image;
  justify-self: center;
}
article .lead-image .credit::before {
  content: "img: ";
}
article .lead-image .credit {
  font-size: 70%;
  line-height: 1;
  max-width: 200px;
  padding: 0.2rem;
  white-space: normal;
  color: var(--dark-gray);
  text-align: right;
}
@media screen and (max-width: 420px) {
  article .lead-image img {
    padding-bottom: 1rem;
  }
}
@media screen and (min-width: 420px) {
  article .lead-image img {
    padding-right: 1rem;
  }
}

article .article-content {
  grid-area: article-content;
  display: grid;
}

article .article-footer {
  grid-area: article-footer;
}

.last-in-flex {
  order: 99;
}

.pager {
  margin: 1rem 0;
}

.intro {
  color: #343434;
  font-size: 1.2rem;
  padding-bottom: 3vh;
}

.card-group,
.card_display {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 5vh;
}

.card-section .caption {
  padding: 0.5rem 0;
}
.card-section .caption .caption-title {
  font-weight: 500;
}
.card-section .caption .caption-role {
  font-size: 80%;
}
.card-section .caption .caption-office {
  font-style: oblique;
}

.streamfield-content a {
  text-decoration: underline;
}

a.button {
  text-decoration: none;
}

.card {
  margin: 0.5rem;
}
@media screen and (max-width: 599px) {
  .card {
    flex: 1 0 280px;
  }
}
@media screen and (min-width: 600px) and (max-width: 915px) {
  .card {
    flex: 1 0 300px;
  }
}
@media screen and (min-width: 916px) {
  .card {
    flex: 1 0 280px;
  }
}

.card:hover,
.card.active {
  background-color: var(--yellow-secondary);
}

.card-image {
  height: calc(120px + 7vh);
  min-width: 100%;
  object-fit: cover;
}

.card-lead-image {
  align-self: center;
  height: calc(120px + 7vh);
  object-fit: contain;
  overflow: hidden;
}

.card-section:last-child {
  /*
   last child in card section goes to the bottom to align with the other
  cards. Good for adding buttons on the bottom of the cards and
  when equalizer is on they align nicely.
  */
  flex: 0 0 auto;
}

.display-options {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.display-options .display-item {
  margin: 0.5rem;
}

.rich-text {
  max-width: 100%;
}

.list_display {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.list_display .list-group-item {
  background-color: var(--light-primary);
  color: var(--primary-color);
  flex: 1 0 300px;
  margin: 0.5rem;
}

.list_display .list-group-item:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.list_display .list-group-item a {
  color: inherit;
}

.list_display .list-group-item .title {
  font-size: 110%;
  font-family: var(--title-font);
  font-variation-settings: "wght" 400, "wdth" 80;
  font-optical-sizing: auto;
}

.shift-right {
  transition: transform 0.5s ease-in-out;
}

.shift-right:hover,
.shift-right:focus .shift-right:active {
  transform: translateX(0.5rem);
}

.categories,
.tags {
  align-items: center;
  color: var(--secondary-color);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 80%;
  justify-content: end;
}

.child-page-tags {
  justify-content: start;
  margin-bottom: 1rem;
}

.category,
.tag {
  background-color: var(--light-secondary);
  border-radius: 0.3rem;
  color: var(--primary-color);
  flex: 0 0 auto;
  margin: 0.3rem;
  padding: 0.2rem 0.5rem;
}

.rich-text code {
  font-size: 0.8rem;
  background: whitesmoke;
  border-radius: 0.3rem;
  color: #4d4d4c;
  display: inline-block;
  overflow-x: auto;
}

.full-page-width {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/*# sourceMappingURL=utphy_webcontent.min.css.map */
