/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * Designed, built, and released under MIT license by @mdo. Learn more at
 * https://github.com/poole/hyde.
 */


/*
 * Contents
 *
 * Global resets
 * Sidebar
 * Container
 * Reverse layout
 * Themes
 */


/*
 * Global resets
 *
 * Update the foundational and global aspects of the page.
 */

html {
  font-family: "PT Serif", serif;
}
@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}
@media (min-width: 58em) {
  html {
    font-size: 16px;
  }
}


/*
 * Sidebar
 *
 * Flexible banner for housing site name, intro, and "footer" content. Starts
 * out above content in mobile and later moves to the side with wider viewports.
 */

.sidebar {
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(255,255,255,.5);
  background-color: #202020;
}
@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 19rem;
    overflow-y: scroll;
    /* text-align: left; */
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  .sidebar::-webkit-scrollbar {
      display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  .sidebar {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
  } 
}

/* Sidebar links */
.sidebar a {
  color: #fff;
}

/* About section */
.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  /*font-family: "Abril Fatface", serif;*/
  font-size: 3.25rem;
}

/* Sidebar nav */
.sidebar-nav {
  margin-bottom: 1rem;
}
.sidebar-nav-item {
  display: block;
  line-height: 1.75;
}
a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
  text-decoration: underline;
}
.sidebar-nav-item.active {
  font-weight: bold;
}

/* Sticky sidebar
 *
 * Add the `sidebar-sticky` class to the sidebar's container to affix it the
 * contents to the bottom of the sidebar in tablets and up.
 */

@media (min-width: 48em) {
  .sidebar-sticky {
    /* position: absolute; */
    right:  1rem;
    bottom: 1rem;
    left:   1rem;
  }
}


/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.sidebar`.
 */

.content {
  padding-top:    0rem;
  padding-bottom: 2rem;
  text-align: justify;
}

@media (min-width: 48em) {
  .content {
    max-width: 59rem;
    margin-left: 20rem;
    margin-right: 2rem;
  }
}

@media (min-width: 64em) {
  .content {
    margin-left: 22rem;
    margin-right: 4rem;
  }
}

.content.wide {
  padding-top: 2rem;
  padding-bottom: 0rem;
  max-width: 100%;
}


/*
 * Reverse layout
 *
 * Flip the orientation of the page by placing the `.sidebar` on the right.
 */

@media (min-width: 48em) {
  .layout-reverse .sidebar {
    left: auto;
    right: 0;
  }
  .layout-reverse .content {
    margin-left: 2rem;
    margin-right: 20rem;
  }
}

@media (min-width: 64em) {
  .layout-reverse .content {
    margin-left: 4rem;
    margin-right: 22rem;
  }
}



/*
 * Themes
 *
 * As of v1.1, Hyde includes optional themes to color the sidebar and links
 * within blog posts. To use, add the class of your choosing to the `body`.
 */

/* Base16 (http://chriskempson.github.io/base16/#default) */

/* Red */
.theme-base-08 .sidebar {
  background-color: #ac4142;
}
.theme-base-08 .content a,
.theme-base-08 .related-posts li a:hover {
  color: #ac4142;
}

/* Orange */
.theme-base-09 .sidebar {
  background-color: #d28445;
}
.theme-base-09 .content a,
.theme-base-09 .related-posts li a:hover {
  color: #d28445;
}

/* Yellow */
.theme-base-0a .sidebar {
  background-color: #f4bf75;
}
.theme-base-0a .content a,
.theme-base-0a .related-posts li a:hover {
  color: #f4bf75;
}

/* Green */
.theme-base-0b .sidebar {
  background-color: #90a959;
}
.theme-base-0b .content a,
.theme-base-0b .related-posts li a:hover {
  color: #90a959;
}

/* Cyan */
.theme-base-0c .sidebar {
  background-color: #75b5aa;
}
.theme-base-0c .content a,
.theme-base-0c .related-posts li a:hover {
  color: #75b5aa;
}

/* Blue */
.theme-base-0d .sidebar {
  background-color: #6a9fb5;
}
.theme-base-0d .content a,
.theme-base-0d .related-posts li a:hover {
  color: #6a9fb5;
}

/* Magenta */
.theme-base-0e .sidebar {
  background-color: #aa759f;
}
.theme-base-0e .content a,
.theme-base-0e .related-posts li a:hover {
  color: #aa759f;
}

/* Brown */
.theme-base-0f .sidebar {
  background-color: #8f5536;
}
.theme-base-0f .content a,
.theme-base-0f .related-posts li a:hover {
  color: #8f5536;
}

.aicons a {
    color: #777777
}

figure figcaption {
  text-align: justify;
}

.highlights {
    text-align: center;
}

.highlights .panel {
    display: inline-block;
    vertical-align: text-top;
    text-align: center;
    margin-right: 1em;
    margin-left: 1em;
}

@media (min-width: 48em) {
    .highlights .panel {
        width: 90%;
    }
}

@media (min-width: 64em) {
    .highlights .panel {
        width: 45%;
    }
}

.highlights .panel .title
{
    font-size: 1.1rem;
    margin-top: 1em;
}

.highlights .panel figure
{
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
}

.highlights .panel figure img
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.highlights .panel figure figcaption
{
    text-align: justify;
}

.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) ". ";
}

.blog .document {
    text-align: justify;
}

figure
{
    text-align: center;
}

.figure img
{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.figure object
{
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 0em) {
    .figure object {
        width: 90%;
    }
    .figure img {
        width: 90%;
    }
}
@media (min-width: 58em) {
    .figure object {
        width: 50%;
    }
    .figure img {
        width: 50%;
    }
}

.figure p
{
    text-align: justify;
    margin-left: 2em;
    margin-right: 2em;
    font-size: smaller;
}

.citation {
    border: 0px;
    border-image-width: 0px;
}

table.citation tr td {
    border: 0px;
    border-bottom-width: 0px;
    border-top-width: 0px;
}

.footnote {
    border: 0px;
    border-image-width: 0px;
}

table.footnote tr td {
    border: 0px;
    border-bottom-width: 0px;
    border-top-width: 0px;
}

hr.docutils {
  border-top: 3px solid #333333;
  border-bottom: 1px solid #fff;
}

#isso-root {
    font-size: smaller;
}

#isso-root ul, ol, dl {
    display: inline-block;
}

.right_sidebar {
    float: right;
    overflow: hidden;
    text-align: right;
    display: none;
    max-width: 20%;
    margin-top: 3rem;
    margin-left: 3rem;
    margin-right: 2rem;
    font-size: 85%;
}
.right_sidebar h2
{
    font-size: 110%;
}
@media (min-width: 80em) {
    .right_sidebar {
    display: block;
    /* text-align: left; */
}

.mastodon-comment {
    background-color: #eeeeee; 
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 1rem;
    display:flex
}
.mastodon-comment .c_content {
    flex-grow:2
}
.mastodon-comment .avatar img {
    margin-right:1rem;
    min-width:60px
}
.mastodon-comment .author {
    padding-top:0;
    display:flex
}
.mastodon-comment .author .date {
    margin-left:auto
}
.mastodon-comment .disabled {
    /* color:var(--accent-color) */
}
.mastodon-comment-content p:first-child {
    margin-top:0;
    margin-bottom:0;
}
