/* Additions on top of the original theme (style.css). Accent colour: #03cc85 */

/* sidebar: text icons for ORCID / ResearchGate, flag counter */
.social-icons .txt-icon {
    display: inline-block; min-width: 18px; font: bold 12px/16px Arial, sans-serif;
    border: 1.5px solid currentColor; border-radius: 3px; padding: 0 2px; vertical-align: 1px;
}
.flagcounter { margin: 40px 0 0; text-align: center; }
.flagcounter img { max-width: 90%; }

/* News */
ul.news-list { list-style: none; padding: 0; margin: 0 0 10px; }
ul.news-list li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid #e6e6e6; }
ul.news-list li:last-child { border-bottom: 0; }
ul.news-list .news-date { flex: 0 0 82px; font-weight: bold; color: #03cc85; white-space: nowrap; }
ul.news-list .news-text { flex: 1; }
ul.news-list a { color: #03a36b; }

/* Publications */
.pitems .pubcite .doi { color: #777; font-size: 12px; margin-left: 4px; word-break: break-all; }
.pitems .pubcite .doi:hover { color: #03a36b; }
.pitems pre.bibtex { white-space: pre-wrap; font-size: 12px; background: #f7f7f7; border: 1px solid #e3e3e3; max-height: 260px; overflow: auto; }
.pitems .copy-bib { margin-bottom: 10px; }
.pitems img.pubimage { float: left; max-width: 150px; margin: 0 25px 15px 0; }
.pitems .pubdetails:after { content: ""; display: block; clear: both; }
.pitems .item:target .pubmain, .pitems .item.flash .pubmain { box-shadow: 0 0 0 3px #03cc85; }
.label-info { background-color: #3a9fc0; }

/* Research */
.ul-withdetails .current-badge { font-size: 11px; vertical-align: middle; margin-left: 6px; }
.ul-withdetails .click-hint { color: #999; font-size: 13px; margin: 0; }
.ul-withdetails li .row { cursor: pointer; }
ul.related-pubs { padding-left: 18px; }
ul.related-pubs li { margin-bottom: 6px; }
ul.code-list { list-style: none; padding: 0; }
ul.code-list li { padding: 10px 0; border-bottom: 1px solid #e6e6e6; }
ul.code-list li .fa { color: #03cc85; width: 22px; }

/* Students */
.students-summary { font-size: 16px; color: #555; }
table.students { background: #fff; margin-bottom: 40px; }
table.students th { background: #2b2b2b; color: #fff; font-weight: normal; }
table.students td:first-child { white-space: nowrap; font-weight: bold; }
table.students td:last-child { white-space: nowrap; }
#students h3 { margin-top: 30px; }
@media (max-width: 767px) {
    table.students td:first-child, table.students td:last-child { white-space: normal; }
    ul.news-list li { flex-direction: column; gap: 2px; }
}

/* nested list inside a research card must not inherit the card styling */
.ul-withdetails li ul.related-pubs li {
    background: none; border: 0; box-shadow: none; padding: 0; margin: 0 0 6px; position: static;
}
