/* Hide user-selected topic icons in Recent Topics. */
.recent-topics dl.row-item > dt {
    background-image: none !important;
}
/* Hide the "Powered by MathJax" logo that kinerity/mathjax adds to the footer. */
#page-footer a[href="https://www.mathjax.org"] {
    display: none;
}

/*
 * MathJax 3 sizes its hidden assistive MathML to the whole formula. Absolutely
 * positioned at the top of the formula, it can reach below the post text, and
 * .postbody .content (overflow-x: auto) then gets a vertical scrollbar over empty
 * space. Keep it 1px x 1px, as MathJax 2 did; the visible formula is unaffected.
 */
mjx-container mjx-assistive-mml {
    width: 1px !important;
    height: 1px !important;
}

/*
 * Board Announcements: keep the close button visible on desktop too (upstream
 * shows it only on hover) and make it larger, as on the old forum.
 */
body.notouch .phpbb_announcement .close {
    opacity: 0.6;
}
.phpbb_announcement .close .icon {
    font-size: 28px;
}
/* Keep the text clear of the larger close button on narrow screens. */
.phpbb_announcement .close + div {
    padding-right: 30px;
}

/*
 * Header banner (Light style, template event overall_header_headerbar_after).
 * Full header width; the image's own proportions set the height, nothing is cropped.
 * The whole banner is the link to the index.
 */
.tiedepalsta-banner a,
.tiedepalsta-banner img {
    display: block;
}
.tiedepalsta-banner img {
    width: 100%;
    height: auto;
}

/*
 * Board Announcements in the Light header (overall_header_headerbar_before): the old
 * forum's box spacing, the first one directly below the gap under the top menu.
 */
.inventea-header .phpbb_announcement {
    margin: 10px;
    padding: 5px 10px;
}
.inventea-header .phpbb_announcement:first-child {
    margin-top: 0;
}

/* Search in the Light breadcrumb row (overall_header_breadcrumbs_after), as on the old forum. */
#nav-breadcrumbs #search {
    min-width: 250px;
}
