/*******************************************************************************
 * Variables used throughout the theme.
 * To adjust anything, simply edit the variables below and rebuild the theme.
 ******************************************************************************/
/*******************************************************************************
 * Themes
 ******************************************************************************/
:root {
  --global-bg-color: #ffffff;
  --global-code-bg-color: rgba(39, 116, 174, 0.05);
  --global-text-color: #000000;
  --global-text-color-light: #828282;
  --global-theme-color: #2774AE;
  --global-hover-color: #FFC72C;
  --global-hover-text-color: #ffffff;
  --global-footer-bg-color: #1C1C1D;
  --global-footer-text-color: #e8e8e8;
  --global-footer-link-color: #ffffff;
  --global-distill-app-color: #828282;
  --global-divider-color: rgba(0,0,0,.1);
  --global-card-bg-color: #ffffff;
  --global-tip-block: #42b983;
  --global-tip-block-bg: #e2f5ec;
  --global-tip-block-text: #215d42;
  --global-tip-block-title: #359469;
  --global-warning-block: #e7c000;
  --global-warning-block-bg: #fff8d8;
  --global-warning-block-text: #6b5900;
  --global-warning-block-title: #b29400;
  --global-danger-block: #c00;
  --global-danger-block-bg: #ffe0e0;
  --global-danger-block-text: #600;
  --global-danger-block-title: #c00;
  --global-research-section-border: rgba(0, 0, 0, 0.04);
}
:root .fa-sun {
  display: none;
}
:root .fa-moon {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}
:root .repo-img-light {
  display: block;
}
:root .repo-img-dark {
  display: none;
}

html[data-theme=dark] {
  --global-bg-color: #1C1C1D;
  --global-code-bg-color: #2c3237;
  --global-text-color: #e8e8e8;
  --global-text-color-light: #e8e8e8;
  --global-theme-color: #2774AE;
  --global-hover-color: #FFD100;
  --global-hover-text-color: #ffffff;
  --global-footer-bg-color: #e8e8e8;
  --global-footer-text-color: #1C1C1D;
  --global-footer-link-color: #000000;
  --global-distill-app-color: #e8e8e8;
  --global-divider-color: #424246;
  --global-card-bg-color: #212529;
  --global-tip-block: #42b983;
  --global-tip-block-bg: #e2f5ec;
  --global-tip-block-text: #215d42;
  --global-tip-block-title: #359469;
  --global-warning-block: #e7c000;
  --global-warning-block-bg: #fff8d8;
  --global-warning-block-text: #6b5900;
  --global-warning-block-title: #b29400;
  --global-danger-block: #c00;
  --global-danger-block-bg: #ffe0e0;
  --global-danger-block-text: #600;
  --global-danger-block-title: #c00;
  --global-research-section-border: rgba(255, 255, 255, 0.2);
}
html[data-theme=dark] .fa-sun {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}
html[data-theme=dark] .fa-moon {
  display: none;
}
html[data-theme=dark] .repo-img-light {
  display: none;
}
html[data-theme=dark] .repo-img-dark {
  display: block;
}

/******************************************************************************
 * Content
 ******************************************************************************/
body {
  padding-bottom: 70px;
  color: var(--global-text-color);
  background-color: var(--global-bg-color);
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  scroll-margin-top: 66px;
}

body.fixed-top-nav {
  padding-top: 56px;
}

body.sticky-bottom-footer {
  padding-bottom: 0;
}

.container {
  max-width: 800px;
}

.profile img {
  width: 100%;
}

/******************************************************************************
 * Publications
 ******************************************************************************/
/*****************************************************************************
* Projects
*****************************************************************************/
/*******************************************************************************
 * Styles for the base elements of the theme.
 ******************************************************************************/
body {
  font-size: 14pt;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
em,
div,
li,
span,
strong {
  color: var(--global-text-color);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

#video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

hr {
  border-top: 1px solid var(--global-divider-color);
}

table td,
table th {
  font-size: 1rem;
}
table th {
  font-weight: bold;
}

a,
table.table a {
  color: var(--global-theme-color);
}
a:hover,
table.table a:hover {
  color: var(--global-theme-color);
  text-decoration: underline;
}
a:hover:after :not(.nav-item.dropdown),
table.table a:hover:after :not(.nav-item.dropdown) {
  width: 100%;
}

.table-dark {
  background-color: transparent;
}

figure,
img {
  max-width: 90vw;
}

blockquote {
  background: var(--global-bg-color);
  border-left: 2px solid var(--global-theme-color);
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  font-size: 1.2rem;
}

.equation {
  margin-bottom: 1rem;
  text-align: center;
}

.caption {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.card {
  background-color: var(--global-card-bg-color);
}
.card img {
  width: 100%;
}
.card .card-title {
  color: var(--global-text-color);
}
.card .card-item {
  width: auto;
  margin-bottom: 10px;
}
.card .card-item .row {
  display: flex;
  align-items: center;
}

.citation,
.citation-number {
  color: var(--global-theme-color);
}

.profile {
  width: 100%;
}
.profile .address {
  margin-bottom: 5px;
  margin-top: 5px;
  font-family: monospace;
}
.profile .address p {
  display: inline-block;
  margin: 0;
}

.profile.float-right {
  margin-left: 1rem;
}

.profile.float-left {
  margin-right: 1rem;
}

@media (min-width: 576px) {
  .profile {
    width: 30%;
  }
  .profile .address p {
    display: block;
  }
}
.teaser {
  margin: 20pt 0;
  text-align: center;
}

.teaser img {
  width: 90%;
}

.teaser teaser-caption {
  font-size: 100%;
}

.grid-teaser {
  margin: 0 0;
  text-align: center;
}

.grid-teaser img {
  width: 90%;
}

.grid-teaser caption {
  width: 90%;
  text-align: center;
  margin-bottom: 0;
}

.research-section {
  max-width: 800pt;
  margin: auto;
  box-shadow: 20px 10px 20px var(--global-research-section-border);
  border-radius: 0;
  padding: 30px 30px 10px 30px;
  border-width: 0.5px;
  border-style: solid;
  border-color: var(--global-research-section-border);
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.research-section ul {
  list-style-position: outside;
  padding-left: 30px;
}

.research-section ol {
  padding-left: 30px;
}

.research-section li {
  padding-left: -20px;
}

.post-description {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}
.post-description a {
  color: inherit;
}
.post-description a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

.post-authors {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
.post-authors a {
  color: inherit;
}
.post-authors a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

.navbar {
  box-shadow: none;
  border-bottom: 1px solid var(--global-divider-color);
  background-color: var(--global-bg-color);
  opacity: 0.95;
}

.navbar .dropdown-menu {
  background-color: var(--global-bg-color);
  border: 1px solid var(--global-divider-color);
}
.navbar .dropdown-menu a:not(.active) {
  color: var(--global-text-color);
}
.navbar .dropdown-menu a:hover {
  color: var(--global-hover-color);
}
.navbar .dropdown-menu .dropdown-divider {
  border-top: 1px solid var(--global-divider-color) !important;
}

.dropdown-item {
  color: var(--global-text-color);
}
.dropdown-item:hover {
  color: var(--global-hover-color);
  background-color: var(--global-bg-color);
}

.navbar.navbar-light {
  /* Increase only the top bar logo size */
}
.navbar.navbar-light a:hover {
  text-decoration: none;
}
.navbar.navbar-light .navbar-brand {
  color: var(--global-text-color);
}
.navbar.navbar-light .navbar-nav .nav-item .nav-link {
  color: var(--global-text-color);
}
.navbar.navbar-light .navbar-nav .nav-item .nav-link:hover {
  color: var(--global-hover-color);
}
.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link {
  background-color: inherit;
  font-weight: bolder;
  color: var(--global-theme-color);
}
.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link:hover {
  color: var(--global-hover-color);
}
.navbar.navbar-light .navbar-brand img {
  height: 40px;
  width: auto;
}
.navbar.navbar-light .navbar-brand img.navbar-logo {
  height: 56px;
  margin-left: -100px;
}
@media (max-width: 767px) {
  .navbar.navbar-light .navbar-brand img.navbar-logo {
    height: 40px;
    margin-left: 0;
  }
}
.navbar.navbar-light .navbar-brand.social {
  padding-bottom: 0;
  padding-top: 0;
  font-size: 1.7rem;
}
.navbar.navbar-light .navbar-brand.social a i::before {
  color: var(--global-text-color);
  transition-property: all 0.2s ease-in-out;
}
.navbar.navbar-light .navbar-brand.social a:hover i::before {
  color: var(--global-theme-color);
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--global-text-color);
  border-radius: 1px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggler .middle-bar {
  opacity: 0;
}
.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

#light-toggle {
  padding: 0;
  border: 0;
  background-color: inherit;
  color: var(--global-text-color);
}
#light-toggle:hover {
  color: var(--global-hover-color);
}

.social {
  text-align: center;
}
.social .contact-icons {
  font-size: 4rem;
}
.social .contact-icons a i::before {
  color: var(--global-text-color);
  transition-property: all 0.2s ease-in-out;
}
.social .contact-icons a:hover i::before {
  color: var(--global-theme-color);
}
.social .contact-note {
  font-size: 0.8rem;
}

footer.fixed-bottom {
  background-color: var(--global-footer-bg-color);
  font-size: 0.75rem;
}
footer.fixed-bottom .container {
  color: var(--global-footer-text-color);
  padding-top: 9px;
  padding-bottom: 8px;
}
footer.fixed-bottom a {
  color: var(--global-footer-link-color);
}
footer.fixed-bottom a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

footer.sticky-bottom {
  border-top: 1px solid var(--global-divider-color);
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}

.cv {
  margin-bottom: 40px;
}
.cv .card {
  background-color: var(--global-card-bg-color);
  border: 1px solid var(--global-divider-color);
}
.cv .card .list-group-item {
  background-color: inherit;
  border-color: var(--global-divider-color);
}
.cv .card .list-group-item .badge {
  color: var(--global-card-bg-color) !important;
  background-color: var(--global-theme-color) !important;
}

@media (min-width: 768px) {
  .repo {
    max-width: 50%;
  }
}
.header-bar {
  border-bottom: 1px solid var(--global-divider-color);
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.header-bar h1 {
  color: var(--global-theme-color);
  font-size: 5rem;
}

.tag-list {
  border-bottom: 1px solid var(--global-divider-color);
  text-align: center;
  padding-top: 1rem;
}
.tag-list ul {
  justify-content: center;
  display: flow-root;
}
.tag-list ul p,
.tag-list ul li {
  list-style: none;
  display: inline-block;
  padding: 1rem 0.5rem;
  color: var(--global-text-color-light);
}

.category-list {
  border-bottom: 1px solid var(--global-divider-color);
  padding-top: 0.5rem;
  padding-bottom: 0rem;
}
.category-list ul {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}
.category-list ul p,
.category-list ul li {
  list-style: none;
  display: inline-block;
  padding: 0.5rem 0.5rem;
  color: var(--global-text-color-light);
}
.category-list .news-text {
  color: var(--global-text-color-light);
  padding-right: 1rem;
}

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

.category-list ul .category-item {
  text-align: center;
}

.post-title mjx-container[jax=CHTML][display=true] {
  display: unset;
}

.post-list {
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
}
.post-list li {
  border-bottom: 1px solid var(--global-divider-color);
  list-style: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.post-list li .post-meta {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}
.post-list li .post-tags {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  padding-top: 0.25rem;
  padding-bottom: 0;
}
.post-list li a {
  color: var(--global-text-color);
  text-decoration: none;
}
.post-list li a:hover {
  color: var(--global-theme-color);
}
.post-list li mjx-container[jax=CHTML][display=true] {
  display: unset;
}

.pagination .page-item .page-link {
  color: var(--global-text-color);
}
.pagination .page-item .page-link:hover {
  color: #000000;
}
.pagination .page-item.active .page-link {
  color: #ffffff;
  background-color: var(--global-theme-color);
}
.pagination .page-item.active .page-link:hover {
  background-color: var(--global-theme-color);
}

.distill a:hover {
  border-bottom-color: var(--global-theme-color);
  text-decoration: none;
}

.projects a {
  text-decoration: none;
}
.projects a:hover .card-title {
  color: var(--global-theme-color);
}
.projects .card img {
  width: 100%;
}
.projects .card-item {
  width: auto;
  margin-bottom: 10px;
}
.projects .card-item .row {
  display: flex;
  align-items: center;
}
.projects .grid-sizer,
.projects .grid-item {
  width: 250px;
  margin-bottom: 10px;
}
.projects h2.category {
  border-bottom: 1px solid var(--global-text-color);
  padding-top: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: right;
}

.features a {
  text-decoration: none;
}
.features a:hover .card-title {
  color: var(--global-theme-color);
}
.features .card img {
  width: 100%;
}
.features .card-item {
  width: auto;
  margin-bottom: 10px;
}
.features .card-item .row {
  display: flex;
  align-items: center;
}
.features .grid-sizer,
.features .grid-item {
  width: 400px;
  margin-bottom: 10px;
}
.features .grid-item-wide {
  width: 400px; /* adjust this value according to your needs */
  margin-bottom: 10px;
}
.features h2.category {
  border-bottom: 1px solid var(--global-divider-color);
  padding-top: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: right;
}

.publications {
  margin-top: 2rem;
}
.publications h1 {
  color: var(--global-theme-color);
  font-size: 2rem;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}
.publications h2 {
  margin-bottom: 1rem;
}
.publications h2 span {
  font-size: 1.5rem;
}
.publications h2.year {
  color: var(--global-divider-color);
  border-top: 1px solid var(--global-divider-color);
  padding-top: 1rem;
  margin-top: 2rem;
  margin-bottom: -2rem;
  text-align: right;
}
.publications ol.bibliography {
  list-style: none;
  padding: 0;
  margin-top: 0;
}
.publications ol.bibliography li {
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
}
.publications ol.bibliography li .preview {
  width: 100%;
  min-width: 80px;
  max-width: 200px;
}
.publications ol.bibliography li .teaserblock {
  min-height: 150px;
  height: 2rem;
  margin-bottom: 0.5rem;
}
.publications ol.bibliography li .teaserblock abbrbadge {
  display: inline-block;
  background-color: var(--global-theme-color);
  padding-left: 1rem;
  padding-right: 1rem;
  position: absolute;
  top: 12px;
  left: 16px;
}
.publications ol.bibliography li .teaserblock abbrbadge a {
  color: white;
}
.publications ol.bibliography li .teaserblock abbrbadge a:hover {
  text-decoration: none;
}
.publications ol.bibliography li .teaserblock .award {
  color: var(--global-theme-color) !important;
  border: 1px solid var(--global-theme-color);
}
.publications ol.bibliography li .title {
  font-weight: bolder;
  font-size: 110%;
  padding-bottom: 0.2em;
}
.publications ol.bibliography li .author {
  font-size: 100%;
}
.publications ol.bibliography li .author a {
  border-bottom: 1px dashed var(--global-theme-color);
  border-bottom: 1px dashed var(--global-text-color);
  color: var(--global-text-color);
}
.publications ol.bibliography li .author a:hover {
  border-bottom-style: solid;
  text-decoration: none;
}
.publications ol.bibliography li .author > em {
  border-bottom: 1px solid;
  font-style: normal;
}
.publications ol.bibliography li .author > span.more-authors {
  color: var(--global-text-color-light);
  border-bottom: 1px dashed var(--global-text-color-light);
  cursor: pointer;
}
.publications ol.bibliography li .author > span.more-authors:hover {
  color: var(--global-text-color);
  border-bottom: 1px dashed var(--global-text-color);
}
.publications ol.bibliography li .links a.btn {
  color: var(--global-text-color);
  border: 1px solid var(--global-text-color);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-left: 0;
}
.publications ol.bibliography li .links a.btn:hover {
  color: var(--global-theme-color);
  border-color: var(--global-theme-color);
}
.publications ol.bibliography li .badges {
  padding-bottom: 0.5rem;
}
.publications ol.bibliography li .badges span {
  display: inline-block;
  color: #000000;
  height: 100%;
  padding-right: 0.5rem;
  vertical-align: middle;
}
.publications ol.bibliography li .badges span:hover {
  text-decoration: underline;
}
.publications ol.bibliography li .hidden {
  font-size: 0.875rem;
  max-height: 0px;
  overflow: hidden;
  text-align: justify;
  transition-property: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}
.publications ol.bibliography li .hidden p {
  line-height: 1.4em;
  margin: 10px;
}
.publications ol.bibliography li .hidden pre {
  font-size: 1em;
  line-height: 1.4em;
  padding: 10px;
}
.publications ol.bibliography li .hidden.open {
  max-height: 100em;
  transition-property: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}
.publications ol.bibliography li div.abstract.hidden {
  border: dashed 1px var(--global-bg-color);
}
.publications ol.bibliography li div.abstract.hidden.open {
  border-color: var(--global-text-color);
}
.publications ol.bibliography li .teaser {
  border-radius: 8px;
  box-shadow: 3px 3px 6px #888;
  height: 150px;
  width: 200px;
  margin-top: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
  object-fit: cover;
}
.publications ol.bibliography li .videoplayer {
  border-radius: 8px;
  height: 150px;
  width: 200px;
  margin-top: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
  object-fit: cover;
}
.publications ol.bibliography li .videoplayer video {
  border-radius: 8px;
  box-shadow: 3px 3px 6px #888;
  height: 150px;
  width: 200px;
  object-fit: cover;
}
.publications ol.bibliography li .details {
  font-size: 0em;
}

figure.highlight {
  margin: 0 0 1rem;
}

pre {
  color: var(--global-theme-color);
  background-color: var(--global-code-bg-color);
  border-radius: 6px;
  padding: 6px 12px;
}
pre pre,
pre code {
  background-color: transparent;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0;
}

code {
  color: var(--global-theme-color);
  background-color: var(--global-code-bg-color);
  border-radius: 3px;
  padding: 3px 3px;
}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
  transition: all 750ms !important;
  transition-delay: 0 !important;
}

.post .post-meta {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}
.post .post-tags {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  padding-top: 0.25rem;
  padding-bottom: 1rem;
}
.post .post-tags a {
  color: var(--global-text-color-light);
  text-decoration: none;
}
.post .post-tags a:hover {
  color: var(--global-theme-color);
}
.post .post-content blockquote {
  border-left: 5px solid var(--global-theme-color);
  padding: 8px;
}
.post .post-content blockquote p {
  margin-bottom: 0;
}

progress {
  /* Positioning */
  position: fixed;
  left: 0;
  top: 56px;
  z-index: 10;
  /* Dimensions */
  width: 100%;
  height: 1px;
  /* Reset the appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Get rid of the default border in Firefox/Opera. */
  border: none;
  /* Progress bar container for Firefox/IE10  */
  background-color: transparent;
  /* Progress bar value for IE10  */
  color: var(--global-theme-color);
}

progress::-webkit-progress-bar {
  background-color: transparent;
}

progress::-webkit-progress-value {
  background-color: var(--global-theme-color);
}

progress::-moz-progress-bar {
  background-color: var(--global-theme-color);
}

.progress-container {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 56px;
  left: 0;
  height: 5px;
  display: block;
}

.progress-bar {
  background-color: var(--global-theme-color);
  width: 0%;
  display: block;
  height: inherit;
}

/* Copy button */
.code-display-wrapper {
  position: relative;
}
.code-display-wrapper .copy {
  background: var(--global-card-bg-color);
  border-color: var(--global-bg-color);
  border-radius: 0.3rem;
  border-style: none;
  color: var(--global-text-color);
  font-size: medium;
  opacity: 0;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}
.code-display-wrapper:active .copy, .code-display-wrapper:focus .copy, .code-display-wrapper:hover .copy {
  color: var(--global-hover-color);
  opacity: 1;
}

.btn-group.dropdown .btn {
  box-shadow: none;
  -webkit-box-shadow: none;
}
.btn-group.dropdown .btn-secondary.dropdown-toggle {
  border: 1px solid var(--global-divider-color);
}
.btn-group.dropdown .btn-secondary.dropdown-toggle .page-size {
  color: inherit;
}
.btn-group.dropdown .btn-secondary.dropdown-toggle:not(.active) {
  background-color: var(--global-bg-color) !important;
  color: var(--global-text-color);
}
.btn-group.dropdown .btn-secondary.dropdown-toggle:hover {
  background-color: var(--global-hover-color) !important;
  color: var(--global-hover-text-color) !important;
}
.btn-group.dropdown .dropdown-menu {
  background-color: var(--global-bg-color);
}
.btn-group.dropdown .dropdown-item {
  background-color: var(--global-bg-color);
  color: var(--global-text-color);
}
.btn-group.dropdown .dropdown-item:hover {
  color: var(--global-hover-color);
}
.btn-group.dropdown .dropdown-item.active, .btn-group.dropdown .dropdown-item:active {
  background-color: var(--global-hover-color);
  color: var(--global-hover-text-color) !important;
}
.btn-group.dropdown .dropdown-item.active:hover, .btn-group.dropdown .dropdown-item:active:hover {
  color: var(--global-hover-text-color);
}

/* Table of Contents */
nav[data-toggle=toc] {
  top: 5rem;
}
nav[data-toggle=toc] .nav .nav > li > a {
  font-size: 0.75rem;
}
nav[data-toggle=toc] .nav > li > a {
  color: var(--global-text-color);
  font-size: 0.75rem;
}
nav[data-toggle=toc] .nav > li > a:hover {
  color: var(--global-hover-color);
  border-left-color: var(--global-hover-color);
}
nav[data-toggle=toc] .nav-link.active {
  color: var(--global-theme-color);
  border-left-color: var(--global-theme-color);
  font-size: 0.75rem;
}
nav[data-toggle=toc] .nav-link.active:hover {
  color: var(--global-hover-color);
  border-left-color: var(--global-hover-color);
}

/* small screens */
@media (max-width: 576px) {
  /* override stickyness so that the navigation does not follow scrolling */
  nav[data-toggle=toc] {
    visibility: hidden;
    height: 0;
    top: 0;
  }
}
/* Tips, warnings, and dangers blockquotes */
.post .post-content blockquote.block-tip {
  border-color: var(--global-tip-block);
  background-color: var(--global-tip-block-bg);
}
.post .post-content blockquote.block-tip p {
  color: var(--global-tip-block-text);
}
.post .post-content blockquote.block-tip h1, .post .post-content blockquote.block-tip h2, .post .post-content blockquote.block-tip h3, .post .post-content blockquote.block-tip h4, .post .post-content blockquote.block-tip h5, .post .post-content blockquote.block-tip h6 {
  color: var(--global-tip-block-title);
}
.post .post-content blockquote.block-warning {
  border-color: var(--global-warning-block);
  background-color: var(--global-warning-block-bg);
}
.post .post-content blockquote.block-warning p {
  color: var(--global-warning-block-text);
}
.post .post-content blockquote.block-warning h1, .post .post-content blockquote.block-warning h2, .post .post-content blockquote.block-warning h3, .post .post-content blockquote.block-warning h4, .post .post-content blockquote.block-warning h5, .post .post-content blockquote.block-warning h6 {
  color: var(--global-warning-block-title);
}
.post .post-content blockquote.block-danger {
  border-color: var(--global-danger-block);
  background-color: var(--global-danger-block-bg);
}
.post .post-content blockquote.block-danger p {
  color: var(--global-danger-block-text);
}
.post .post-content blockquote.block-danger h1, .post .post-content blockquote.block-danger h2, .post .post-content blockquote.block-danger h3, .post .post-content blockquote.block-danger h4, .post .post-content blockquote.block-danger h5, .post .post-content blockquote.block-danger h6 {
  color: var(--global-danger-block-title);
}

.carousel-indicators li {
  background-color: transparent;
  border: 1px solid #000; /* Change the color as per your design */
  width: 12px;
  height: 12px;
  border-radius: 100%;
}

.carousel-indicators .active {
  background-color: #000; /* Change the color as per your design */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
  text-shadow: 0 0 10px rgba(1, 1, 1, 0.5);
  transform: scale(2); /* Change this value to scale the icons up or down */
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.logo {
  width: 100%;
  max-width: 520px; /* Adjust the maximum width as needed */
  height: auto; /* Maintain aspect ratio */
}

/* Make publications list narrower for better balance on About page */
.publications {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.metadrive .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}
.metadrive .container:nth-child(even) {
  flex-direction: row-reverse;
}
.metadrive .text {
  flex: 1 1 50%;
  padding: 1em;
  order: 1;
}
.metadrive .image {
  flex: 1 1 50%;
  padding: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
}
.metadrive .image img, .metadrive .image video {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}
.metadrive .image iframe {
  max-width: 100%;
  border-radius: 15px;
}
@media (max-width: 768px) {
  .metadrive .container {
    flex-direction: column;
  }
  .metadrive .container:nth-child(even) {
    flex-direction: column;
  }
  .metadrive .text, .metadrive .image {
    flex-basis: 100%;
  }
}

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

.our-webcoderskull {
  background: var(--global-bg-color);
}

.our-webcoderskull .cnt-block {
  float: left;
  width: 100%;
  background: var(--global-bg-color);
  padding: 30px 20px;
  text-align: center;
  border: 0px solid var(--global-text-color-light);
  margin: 0 0 28px;
}

.our-webcoderskull .cnt-block figure {
  width: 148px;
  height: 148px;
  border-radius: 100%;
  display: inline-block;
  margin-bottom: 15px;
  object-fit: cover;
}

.our-webcoderskull .cnt-block img {
  width: 148px;
  height: 148px;
  border-radius: 100%;
  object-fit: cover;
}

.our-webcoderskull .cnt-block h3 {
  color: var(--global-text-color);
  font-size: 20px;
  font-weight: 500;
  padding: 6px 0;
}

.our-webcoderskull .cnt-block h3 a {
  text-decoration: none;
  color: var(--global-text-color);
}

.our-webcoderskull .cnt-block h3 a:hover {
  color: var(--global-hover-color);
}

.our-webcoderskull .cnt-block p {
  color: var(--global-text-color);
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}

.our-webcoderskull .cnt-block .follow-us {
  margin: 20px 0 0;
}

.our-webcoderskull .cnt-block .follow-us li {
  display: inline-block;
  width: auto;
  margin: 0 5px;
}

.our-webcoderskull .cnt-block .follow-us li .bi {
  font-size: 24px;
  color: var(--global-text-color-light);
}

.our-webcoderskull .cnt-block .follow-us li .bi:hover {
  color: var(--global-hover-color);
}

.our-webcoderskull ul {
  list-style: none;
  padding: 0;
}

.grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr);
  grid-auto-rows: minmax(100px, auto);
  grid-gap: 20px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 400px;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1em;
}

.card img, .card video, .card figure {
  object-fit: cover;
  width: 100%;
  height: 200px;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

.card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: -1em;
}

.card .card-body .card-text {
  flex-grow: 1;
  margin-top: -1em;
}

.card-body li {
  vertical-align: text-top;
}

.scroll-section {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  display: none;
}

.scroll-section.active {
  opacity: 1;
  display: block;
}

.section {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.section.active {
  opacity: 1;
}

.my-image {
  max-width: 100%;
  height: auto;
}

.infinite-scroll-gallery {
  /* Styles for tablet */
  /* Styles for mobile */
}
.infinite-scroll-gallery .image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.infinite-scroll-gallery .video-info {
  margin-top: 1px;
  font-size: 0.9em;
  color: #666;
}
.infinite-scroll-gallery .sizer {
  width: 45%;
  margin: 10px;
}
.infinite-scroll-gallery .image {
  width: 45%;
  margin: 10px;
  overflow: hidden;
}
.infinite-scroll-gallery .video-container {
  position: relative;
  width: 100%;
  padding-top: 28.125%; /* This sets the aspect ratio 450/1600*100 = 28.125% */
  overflow: hidden;
}
.infinite-scroll-gallery .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.infinite-scroll-gallery #load-more {
  text-align: center;
  margin: 20px 0;
}
.infinite-scroll-gallery #load-more a {
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
}
@media screen and (max-aspect-ratio: 1/1) {
  .infinite-scroll-gallery .image, .infinite-scroll-gallery .sizer {
    width: 100%; /* approximately 2 images per row, considering the margins */
  }
}
@media screen and (max-aspect-ratio: 2/3) {
  .infinite-scroll-gallery .image, .infinite-scroll-gallery .sizer {
    width: 100%; /* 1 image per row */
  }
}

.image-transition {
  opacity: 0;
  transition: opacity 0.6s;
}

.image-visible {
  opacity: 1;
}

.pagination__next {
  display: none;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
}

.badge-tag {
  background-color: #007bff;
}

.badge-id {
  background-color: #28a745;
}

#tag-filter {
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-button {
  margin: 0.5em; /* Updated to add vertical margin */
  padding: 0.5em 1em;
  border: none;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  border-radius: 25px;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease;
}

.filter-button:hover {
  background-color: #0056b3;
}

.filter-button.active {
  background-color: #28a745;
}

.news-container {
  margin: 0 auto;
  width: 100%;
  max-width: 750px;
}

.news-container ul {
  padding-left: 50px;
}

.news-container li {
  margin-bottom: 5px;
}

div.bibtex {
  margin: 0 auto;
  width: 100%;
  max-width: 750px; /* Adjust based on your site's actual style if needed */
}

div.bibtex pre {
  background-color: #f8f8f8;
  padding: 15px;
  border: 1px solid #e0e0e0;
  overflow-x: auto;
  color: black;
}

/*******************************************************************************
 * Style overrides for distill blog posts.
 ******************************************************************************/
d-byline {
  border-top-color: var(--global-divider-color) !important;
}

d-byline h3 {
  color: var(--global-text-color) !important;
}

d-byline a, d-article d-byline a {
  color: var(--global-text-color) !important;
}
d-byline a:hover, d-article d-byline a:hover {
  color: var(--global-hover-color) !important;
}

d-article {
  border-top-color: var(--global-divider-color) !important;
}
d-article p, d-article h1, d-article h2, d-article h3, d-article h4, d-article h5, d-article h6, d-article li, d-article table {
  color: var(--global-text-color) !important;
}
d-article h1, d-article h2, d-article hr, d-article table, d-article table th, d-article table td {
  border-bottom-color: var(--global-divider-color) !important;
}
d-article a {
  color: var(--global-theme-color) !important;
}
d-article a:hover {
  color: var(--global-theme-color) !important;
}
d-article b i {
  display: inline;
}
d-article details {
  color: var(--global-text-color);
  background-color: var(--global-code-bg-color);
  margin-top: 0;
  padding: 8px 12px;
  position: relative;
  border-radius: 6px;
  display: block;
  margin-bottom: 20px;
  grid-column: text;
  overflow: auto;
  max-width: 100%;
}
d-article details summary {
  color: var(--global-theme-color);
}
d-article details p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
d-article d-contents {
  align-self: start;
  grid-column: 1/4;
  grid-row: auto/span 4;
  justify-self: end;
  margin-top: 0em;
  padding-left: 2em;
  padding-right: 3em;
  border-right: 1px solid var(--global-divider-color);
  width: max(70%, 300px);
  margin-right: 0px;
  margin-top: 0em;
  display: grid;
  grid-template-columns: minmax(8px, 1fr) [toc] auto minmax(8px, 1fr) [toc-line] 1px minmax(32px, 2fr);
}
d-article d-contents nav {
  grid-column: toc;
}
d-article d-contents nav a {
  border-bottom: none !important;
}
d-article d-contents nav a:hover {
  border-bottom: 1px solid var(--global-text-color) !important;
}
d-article d-contents nav h3 {
  margin-top: 0;
  margin-bottom: 1em;
}
d-article d-contents nav div {
  display: block;
  outline: none;
  margin-bottom: 0.8em;
  color: rgba(0, 0, 0, 0.8);
  font-weight: bold;
}
d-article d-contents nav ul {
  padding-left: 1em;
  margin-top: 0;
  margin-bottom: 6px;
  list-style-type: none;
}
d-article d-contents nav ul li {
  margin-bottom: 0.25em;
}
d-article d-contents .figcaption {
  line-height: 1.4em;
}
d-article d-contents toc-line {
  border-right: 1px solid var(--global-divider-color);
  grid-column: toc-line;
}
d-article d-footnote {
  scroll-margin-top: 66px;
}

d-appendix {
  border-top-color: var(--global-divider-color) !important;
  color: var(--global-distill-app-color) !important;
}
d-appendix h3, d-appendix li, d-appendix span {
  color: var(--global-distill-app-color) !important;
}
d-appendix a, d-appendix a.footnote-backlink {
  color: var(--global-distill-app-color) !important;
}
d-appendix a:hover, d-appendix a.footnote-backlink:hover {
  color: var(--global-hover-color) !important;
}

@media (max-width: 1024px) {
  d-article d-contents {
    display: block;
    grid-column-start: 2;
    grid-column-end: -2;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    padding-top: 0.5em;
    width: 100%;
    border: 1px solid var(--global-divider-color);
  }
  d-article d-contents nav {
    grid-column: none;
  }
}

/*# sourceMappingURL=main.css.map */