@charset "UTF-8";

:root {
  --global-bg-color: #fff;
  --global-text-color: #000;
  --global-text-color-light: #828282;
  --global-theme-color: #2698ba;
  --global-hover-color: #b509ac;
  --global-hover-text-color: #fff;
  --global-divider-color: rgba(0, 0, 0, 0.1);
  --global-card-bg-color: #fff;
}

:root .fa-sun {
  display: none;
}

:root .fa-moon {
  display: block;
}

html[data-theme="dark"] {
  --global-bg-color: #1c1c1d;
  --global-text-color: #e8e8e8;
  --global-text-color-light: #e8e8e8;
  --global-theme-color: #2698ba;
  --global-hover-color: #2698ba;
  --global-hover-text-color: #fff;
  --global-divider-color: #424246;
  --global-card-bg-color: #212529;
}

html[data-theme="dark"] .fa-sun {
  display: block;
}

html[data-theme="dark"] .fa-moon {
  display: none;
}

body {
  color: var(--global-text-color);
  background-color: var(--global-bg-color);
  font-family: Roboto, sans-serif;
}

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

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  scroll-margin-top: 84px;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 800px;
}

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

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

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

table th {
  font-weight: bold;
  white-space: nowrap;
}

a,
table.table a {
  color: var(--global-theme-color);
}

a:hover,
table.table a:hover {
  color: var(--global-theme-color);
  text-decoration: underline;
}

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

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

.navbar.navbar-light a:hover {
  text-decoration: none;
}

.navbar.navbar-light .navbar-brand,
.navbar.navbar-light .navbar-nav .nav-item .nav-link {
  color: var(--global-text-color);
}

.navbar.navbar-light .navbar-brand:hover,
.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-brand.title {
  font-size: 1.25rem;
}

.navbar-toggler {
  border: 0;
  padding-right: 0;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 4px;
  border-radius: 1px;
  background-color: var(--global-text-color);
  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);
}

.toggle-container {
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
}

#light-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background-color: inherit;
  color: var(--global-text-color);
  line-height: 1;
}

#light-toggle:hover {
  color: var(--global-hover-color);
}

.post-header {
  margin-bottom: 1rem;
}

.post-title {
  font-weight: 300;
}

.post-description,
.desc {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.profile {
  width: 144px;
  max-width: 36vw;
  margin-right: auto;
  margin-left: auto;
}

.profile img {
  width: 100%;
}

.profile picture {
  display: block;
  aspect-ratio: 6 / 8;
  overflow: hidden;
  border-radius: 47%;
}

.profile img.profile-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  border-radius: 32% !important;
  box-shadow: none !important;
}

.profile.float-right {
  float: none !important;
  margin-right: auto;
  margin-left: auto;
}

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

@media (min-width: 576px) {
  .profile {
    width: 22%;
    max-width: 144px;
    margin-right: 0;
    margin-left: 0;
  }

  .profile.float-right {
    float: right !important;
    margin-top: -4.5rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
  }
}

.profile-contact {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
}

.profile-contact a {
  display: block;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.profile-contact a + div {
  margin-top: 0.15rem;
}

.profile-contact div + div {
  margin-top: 0.05rem;
}

.flow-section {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--global-divider-color);
  scroll-margin-top: 84px;
}

.flow-section:last-child {
  border-bottom: 0;
}

.publications {
  margin-top: 2rem;
}

.publications h2 {
  margin-bottom: 1rem;
}

.publications > h2:not(.bibliography) {
  margin-top: 2rem;
}

.publications > h2:first-child {
  margin-top: 0;
}

.publications h2.bibliography {
  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;
}

.publications ol.bibliography li .abbr {
  min-height: 2rem;
  margin-bottom: 0.5rem;
}

.publications ol.bibliography li .abbr abbr {
  display: inline-block;
  padding-right: 1rem;
  padding-left: 1rem;
  background-color: var(--global-theme-color);
  color: #fff;
}

.publications ol.bibliography li .title {
  font-weight: bolder;
}

.publications ol.bibliography li .author > em {
  border-bottom: 1px solid;
  font-style: normal;
}

.publications ol.bibliography li .periodical {
  color: var(--global-text-color);
}

.publications ol.bibliography li .links {
  margin-top: 0.25rem;
}

.publications ol.bibliography li .links a.btn,
.cv .links a.btn {
  color: var(--global-text-color);
  border: 1px solid var(--global-text-color);
  padding: 0.25rem 1rem;
  margin-left: 0;
  text-transform: none;
  box-shadow: none;
}

.publications ol.bibliography li .links a.btn:hover,
.cv .links a.btn:hover {
  color: var(--global-theme-color);
  border-color: var(--global-theme-color);
}

.cv .links {
  margin-top: 0.35rem;
}

.cv {
  margin-bottom: 40px;
}

.cv .card {
  background-color: var(--global-card-bg-color);
  border: 1px solid var(--global-divider-color);
  box-shadow: none;
}

.cv .card .card-title {
  color: var(--global-text-color);
}

.cv .card .list-group-item {
  background-color: inherit;
  border-color: var(--global-divider-color);
}

@media (min-width: 640px) {
  .cv .card .list-group-item > .row {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: 0.4rem;
    align-items: start;
    margin-right: 0;
    margin-left: 0;
  }

  .cv .card .list-group-item > .row > [class*="col-"] {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  .cv .card .list-group-item > .row > [class*="col-"]:first-child {
    width: 100% !important;
    text-align: left !important;
  }

  .cv .card .list-group-item > .row > [class*="col-"]:nth-child(2) {
    margin-top: 0 !important;
  }
}

@media (max-width: 639.98px) {
  .cv .card .list-group-item > .row {
    display: block;
  }

  .cv .card .list-group-item > .row > [class*="col-"]:first-child {
    width: auto !important;
    text-align: left !important;
  }
}

.cv .card .list-group-item .badge,
.cv .badge.date-badge {
  color: var(--global-card-bg-color) !important;
  background-color: var(--global-theme-color) !important;
  white-space: nowrap;
}

.cv table.table-cv {
  background-color: transparent !important;
  color: var(--global-text-color);
}

.table-cv-map {
  background-color: transparent;
  border: 0;
  color: var(--global-text-color);
}

.cv .title a,
.cv .title {
  color: var(--global-text-color);
}

.cv .items {
  padding-left: 1.25rem;
}

div.list-groups {
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  justify-content: flex-start;
}

div.list-group {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 2rem;
}

td.list-group-category {
  color: var(--global-theme-color);
  margin-bottom: 0.5rem;
}

td.list-group-name {
  font-size: 0.8rem;
}

progress {
  position: fixed;
  top: 56px;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 1px;
  appearance: none;
  border: 0;
  background-color: transparent;
  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);
}

@media (max-width: 575.98px) {
  .navbar-nav {
    padding-top: 0.75rem;
  }

  .navbar-nav.flex-nowrap {
    flex-wrap: wrap !important;
  }

  .profile.float-right {
    float: none !important;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1rem;
  }

  .profile-contact {
    margin-bottom: 1rem;
  }

  .publications ol.bibliography li .abbr {
    text-align: left;
  }

}
