/*************************************************************************
 * Your custom CSS file
 *************************************************************************/

.custom-dropdown {
  width: 240px;
}

.custom-textbox {
  width: 240px;
}

#dialog-1,
#dialog-2,
#dialog-3,
#dialog-4,
#share-dialog {
  display: none;
}

#share-url {
  width: 100%;
  -webkit-touch-callout: default !important;
  -webkit-user-select: text !important;
  -khtml-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

#share-url-copy-prompt {
  display: none;
  color: #007bff;
}

.flex-item > h2 + hr {
  margin-top: 4px;
  margin-bottom: 6px;
  border-top-color: #666666;
}

.content > .flex-row > .flex-item.flex-column {
  flex: 1 1 auto;
}

.text-large {
  font-size: 18px;
}

.mobile-profile-break {
  display: none;
}

.mobile-only-break {
  display: none;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.profile-links a:hover {
  background-color: #f2f2f2;
  border-color: #555555;
  text-decoration: none;
}

.profile-links img {
  object-fit: contain;
  max-width: 20px;
  max-height: 20px;
  filter: brightness(0);
}

.profile-links .linkedin-icon {
  max-width: 22px;
  max-height: 22px;
}

.profile-links .x-icon {
  max-width: 16px;
  max-height: 16px;
}

.section-item-list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  padding-bottom: 12px;
}

.about-section .text:last-child {
  margin-bottom: 12px;
}

.section-item {
  margin: 0 0 12px 0;
}

.section-item-list > .section-item {
  margin-bottom: 0;
}

.work-item-list,
.education-item-list {
  padding-top: 10px;
}

.section-divider-gap {
  padding-top: 10px;
}

.publication-contribution-note {
  margin: 6px 0 12px;
  font-size: 12px;
  color: #999999;
}

.publication-entry {
  align-items: flex-start;
}

.publication-thumbnail-column {
  flex: 0 0 430px;
  width: 430px;
  margin-left: 0;
  margin-right: 20px;
}

.publication-thumbnail {
  margin-top: 0;
  width: 430px;
  height: 270px;
  object-fit: contain;
  display: block;
}

.publication-details {
  flex: 1 1 0;
  min-width: 0;
}

#publications-container > div:first-child .text-large {
  margin-top: 0;
}

#publications-container {
  padding-bottom: 12px;
}

.section-item-list .section-item-title {
  margin-top: 0;
}

.section-item-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 12px;
  margin-bottom: 0;
}

.section-item-meta {
  margin-left: auto;
  font-size: 11pt;
  text-align: right;
}

.section-item-detail {
  margin: 0;
  padding-top: 0;
  font-size: 11pt;
}

.collapsible-publications > summary {
  cursor: pointer;
  margin-bottom: 10px;
}

.selected-publications-summary {
  font-size: 11pt;
}

.site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px 20px;
  color: #999999;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 8px;
}

.site-footer a {
  color: inherit;
}

.publication-author-name {
  font-weight: 700;
}

@media screen and (max-width: 750px) {
  .mobile-profile-break {
    display: block;
  }

  .mobile-only-break {
    display: inline;
  }

  .intro-section > .flex-item:first-child {
    margin-left: auto;
    margin-right: auto;
  }

  .intro-section > .flex-item:last-child {
    flex: 0 1 calc(100% - 40px);
    width: calc(100% - 40px);
    align-items: center;
    text-align: center;
  }

  .intro-section > .flex-item:last-child > .text,
  .intro-section > .flex-item:last-child .profile-links {
    width: 100%;
  }

  .intro-section > .flex-item:last-child .profile-links {
    justify-content: center;
  }

  .work-item-list .section-item-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 8px;
    align-items: start;
  }

  .work-item-list .section-item-title > a {
    min-width: 0;
  }

  .work-item-list .section-item-meta {
    margin-left: 0;
    white-space: nowrap;
  }

  .publication-thumbnail-column {
    flex: 0 1 100%;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .publication-thumbnail {
    width: 100%;
    max-width: 430px;
    height: 270px;
  }

  .publication-details {
    flex: 1 1 100%;
    width: 100%;
  }

  .site-footer p {
    font-size: 7px;
  }
}
