@charset "utf-8";
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "PingFang SC", "Microsoft YaHei",
                 Arial, sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

.card {
    border-radius: 0.8rem!important;
}

.card-img-overlay {
    border-radius: 0.8rem!important;
}

.rounded-xl {
    border-radius: 0.8rem!important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: 0.8rem !important;
    border-bottom-left-radius: 0.8rem !important;
}

.rounded-xl-top {
    border-top-left-radius: 0.8rem !important;
    border-top-right-radius: 0.8rem !important;
}


.text-profile-position {
    font-weight: 400;
}

.text-profile-bio {
    /* font-family: "Raleway"; */
    font-weight: 400;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.inline-badge {
    height: 16px;
    vertical-align: -10%;
    margin-right: 2px;
    line-break: unset;
}

.no-break {
    white-space: nowrap;
}

.badge-publication {
    font-size: 100%;
}

.email-text {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono",
                 Menlo, monospace;
}

/* ==============================
   Bio
   ============================== */

/* Profile portrait */
.profile-portrait-subtitle {
  width: 145px;
  margin: 0.25rem auto 0;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
}

/* What I do */
.what-i-do-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.what-i-do-list > li {
  position: relative;
  padding-left: 1rem;
}

.what-i-do-list > li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
}

.what-i-do-list > li > ul {
  padding-left: 1.5rem;
}

/* ==============================
   Publications
   ============================== */

.publications {
  counter-reset: publication-counter;
}


/* Corresponding-author note */
.publication-note {
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #6c757d;
}


/* Journal Papers / Conference Papers */
.publication-type {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.45rem;
  font-weight: 700;
}


/* First/Corresponding-Author / Co-author */
.publication-group {
  margin-top: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  font-weight: 700;
}


/* White rounded container for each publication group */
.publication-box {
  margin-bottom: 1.75rem;
  padding: 1.15rem 1.5rem 0.25rem 1.5rem;

  background-color: #fff;

  border-radius: 0.8rem;

  box-shadow:
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}


/* Publication lists */
.publications ol.publication-list {
  list-style: none !important;
  list-style-type: none !important;

  padding-left: 0 !important;
  margin: 0;
}


/* Individual publication */
.publications ol.publication-list > li {
  counter-increment: publication-counter;

  position: relative;

  list-style: none !important;

  padding-left: 2.7rem;
  margin-bottom: 1rem;

  line-height: 1.65;

  text-align: justify;
}


/* Automatic numbering: [1], [2], ... */
.publications ol.publication-list > li::before {
  content: "[" counter(publication-counter) "]";

  position: absolute;
  left: 0;
  top: 0;

  width: 2.3rem;

  font-weight: 400;
}


/* Publication links */
.publications .publication-list a {
  text-decoration: none;
}

.publications .publication-list a:hover {
  text-decoration: underline;
}

/* Scopus citation badge */
.publications .pub-citation {
  display: inline-block;

  margin-left: 0.3rem;
  padding: 0.12rem 0.42rem;

  border-radius: 0.3rem;

  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;

  color: #4f6475;
  background-color: #edf3f7;
  border: 1px solid #c8d6e0;

  vertical-align: 0.05rem;
  white-space: nowrap;

  text-decoration: none;
}

.publications .pub-citation:hover {
  color: #3c5060;
  background-color: #e2ebf1;
  border-color: #b5c7d3;

  text-decoration: none;
}

/* Scopus attribution */
.publication-citation-note {
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;

  font-size: 0.8rem;
  color: #6c757d;
  text-align: right;
}

/* Common badge style */
.publications .pub-index,
.publications .pub-award {
  display: inline-block;

  margin-left: 0.3rem;
  padding: 0.12rem 0.42rem;

  border-radius: 0.3rem;

  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;

  vertical-align: 0.05rem;
  white-space: nowrap;
}


/* SCI / EI / CPCI */
.publications .pub-index {
  color: #4f6656;
  background-color: #eef4f0;
  border: 1px solid #c9d8ce;
}


/* Awards / ESI */
.publications .pub-award {
  color: #856404;
  background-color: #fff8e1;
  border: 1px solid #e5c56b;

  white-space: normal;
  max-width: 100%;
}


/* Mobile */
@media (max-width: 576px) {

  .publication-box {
    padding: 1rem 1.5rem 0.2rem 1.5rem;
  }

  .publications ol.publication-list > li {
    padding-left: 2.4rem;
  }
}

/* Justify text in all cards */
.card-body {
  text-align: justify;
}
