/**
 * Template: Heron (based on teachPress 2016 template v1.3)
 * Version: 1.0
 * Loaded automatically by teachPress whenever template="heron_template" is used.
*/

/* ---- Base layout (stock teachPress 2016) ---- */
.tp_bibtex_entry pre {
    white-space: normal;
    word-wrap: break-word;}
td.tp_pub_info {
    vertical-align:top;
    padding:8px;}

/* No table borders (Marity boxes every tr and adds a right border to every td);
 * just a separator line between consecutive publications, none around headings. */
.teachpress_publication_list tr,
.teachpress_publication_list td,
.teachpress_publication_list th {
    border: 0;}
.teachpress_publication_list tr.tp_publication + tr.tp_publication {
    border-top: 1px solid #e1e1e1;}
.tp_pub_author, #content p.tp_pub_author {
    font-size:1.0rem;
    margin-bottom:1px;
    margin-top:1px;}
.tp_pub_title, #content p.tp_pub_title {
    font-size:1.0rem;
    font-weight:bold;
    margin-top:1px;
    margin-bottom:1px;}
.tp_pub_additional, #content p.tp_pub_additional {
    font-size:1.0rem;
    margin-top:1px;
    margin-bottom:1px;}
.tp_pub_menu, #content p.tp_pub_menu  {
    font-size:1.0rem;
    margin-top:1px;
    margin-bottom:1px; }
.tp_pub_menu a {
    text-decoration:underline;
    box-shadow: none; }
.tp_pub_menu a:hover {
    text-decoration:none;}
.tp_pub_menu i {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 140%;
    text-decoration: none;}
.tp_pub_type {
    background-color: #008bd2;
    color: #fff;
    display: inline-block;
    padding: 3px 4px;
    margin-left: 5px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);}
.tp_pub_label_status {
    background-color: orange;
    color: #fff;
    display: inline-block;
    padding: 3px 4px;
    margin-left: 5px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);}
.tp_close {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.0rem; }

/* ---- Filter dropdowns on a single row ----
 * The Marity theme sets every <select> to width:100%, which stacks the teachPress
 * filters one per line. Lay them out as a centered, wrapping row instead
 * (they still wrap/stack on narrow screens). filter_class="block" is left alone. */
.teachpress_filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;}
.teachpress_filter select.default {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    margin: 0;
    padding-right: 48px;}

/* ---- IRAL look (from iral-theme-publications.css), scoped to teachPress lists ---- */
.teachpress_pub_list .tp_bibtex_entry,
.teachpress_pub_list .tp_abstract_entry {
    font-size: 11px;}
.teachpress_pub_list .tp_h3 {
    color: #333333 !important;}
.teachpress_pub_list a {
    color: #1a80b6;}
.tp_pub_type.conference,
.tp_pub_type.inproceedings {
    background-color: #ed7d31;}
