/*
 * Changes to the look of the former WordPress site. theme.css and custom.css are kept
 * unchanged as taken over from WordPress, deliberate deviations go here.
 */

/* Release list pagination: center the page numbers in their fixed 28px boxes (two digit numbers overflowed to the right) */
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.first):not(.previous):not(.next):not(.last) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: normal !important;
}

/* Partner banner of the forum above the footer (loaded by custom.js), 60px high like on the forum.
   The space is reserved so the page does not jump when the banner arrives. */
.tm-partnerbanner {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    height: 60px;
    padding: 15px;
}
.tm-partnerbanner img {
    display: block;
    max-width: 100%;
    max-height: 60px;
    width: auto;
}
/* The last section of the home page has the full viewport height (uk-height-viewport) and centres its content,
   which left a large white gap above the banner. Only the space below is dropped: the space above is needed,
   the "Extensions" block before it is moved down by up to 130px (top offsets) and reaches into it. */
.ls-1-3_2-3.uk-section[uk-height-viewport]:has(+ .tm-partnerbanner) {
    min-height: 0 !important;
    padding-top: 190px;
}
