/* css styles */

.lab-title  {
  display: inline-block;
  animation: text-flip 3s;
  animation-delay: 2s;
  animation-fill-mode: forwards;
}

@keyframes text-flip {
  0% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(-1, 1);
  }
}

p {
  font-family: "PT Serif",Georgia,Cambria,"Times New Roman",Times,serif;
  text-align: justify;
}

.lead {
  font-family: inherit;
}

a {
  text-decoration: none;
}

.navbar-logo {
  max-height: 35px;
  width: auto;
  padding-right: 4px;
}

/* .custom-sidebar h1 { */
/*   font-size: 1.3rem; */
/* } */

/* .custom-sidebar h2 { */
/*   font-size: 1rem; */
/* } */

/* .custom-sidebar h3 { */
/*   font-size: .7rem; */
/* } */

/* .custom-sidebar p { */
/*   font-size: .9rem; */
/* } */

/* .custom-sidebar p a { */
/*   color: #aaaaaa */
/* } */

/* .sidebar-menu-container { */
/*     text-align: center; */
/*     padding-top: 0em !important; */
/* } */

/* .sidebar-header { */
/*     display: none; */
/* } */

/* .sidebar-menu-container .list-unstyled { */
/*     margin-bottom: 0em !important; */
/* } */

/* .quarto-secondary-nav nav.quarto-page-breadcrumbs ol.breadcrumb li.breadcrumb-item::before { */
/*   content: "Tiago P. Peixoto"; */
/*   display: inline; */
/*   margin-right: 1em; */
/* } */

/* .quarto-sidebar-footer { */
/*     padding-top: 0em !important; */
/* } */

/* /\* .content { *\/ */
/* /\*     margin-left: 1em; *\/ */
/* /\* } *\/ */

/* .sidebar-item-text.sidebar-link.active { */
/*     color: #ffffff !important; */
/* } */

#fig-random .quarto-layout-cell
{
  margin-right: 0em;
}

/* #fig-random figcaption */
/* { */
/*   margin-top: 3em; */
/* } */

div.figure-swap
{
  display: inline-block;
  position: relative;
}

.figure-swap
{
    line-height: 0;
}

.figure-swap img.image-main {
  position: relative;
  display: inline-block;
}

.figure-swap img.image-hover {
  position: absolute;
  display: inline-block;
  top: 10px;
  left: 30px;
  right: 0px;
  bottom: 0px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s;
  height: 80%;
}

.figure-swap:hover img.image-hover {
  opacity: 1;
  transition: opacity 4s;
}

.figure-swap:hover img.image-main {
  opacity: 0;
  transition: opacity .5s;
}

.publications .title a
{
    color: inherit;
    text-decoration: none;
}

.publications .anchor
{
    display: none;
}

.publications .title:hover + .anchor
{
    display: inline;
}

ol.publications.books > li {
  counter-increment: B -1;
}

ol.publications.books > li::marker {
  content: "B" counter(B) ". ";
}

ol.publications.preprint > li {
  counter-increment: P -1;
}

ol.publications.preprint > li::marker {
  content: "P" counter(P) ". ";
}

.altmetric-embed img
{
    vertical-align: baseline !important;
    border-radius: 5px;
    height: .9em;
    width: auto;
    padding-bottom: .2em;
}

figcaption {
  text-align: justify;
}

.center p
{
  text-align: center;
}

.center figcaption
{
  text-align: center;
}

.left p
{
  text-align: left;
}

@media (max-width: 767.98px) {
  .wide-only {
    display: none !important;
  }
}

pre.sourceCode {
  font-size: .7em;
}

.fig-50 .cell-output img
{
  width: 50%;
  height: auto;
}

.fig-75 .cell-output img
{
  width: 75%;
  height: auto;
}

.fig-100 .cell-output img
{
  width: 100%;
  height: auto;
}

.quarto-layout-cell img {
  height: auto;
}

.column-margin.column-container p {
  margin-bottom: .5em;
}

@media (min-width: 768px) {
  .pcard p {
    text-align: right;
  }
}

@media (max-width: 768px) {
  .pcard {
    width: 100%;
  }

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

.cardlinks a {
  color: inherit;
}

.navbar-title {
  color: #ffffff;
}

@media (max-width: 768px) {
  .mugshots
  {
    display: flex;
    justify-content: center;
  }
}

.mugshots img
{
  width: 150px;
  min-width: 150px;
  height: auto;
  border-radius: 50%;
}

.mugshots p
{
  text-align: center;
}

ul {
  list-style-type: '»  ';
}

ul li::marker {
  font-weight: bold;
}
