/* The banner, the bars and the footer are left out of every printout by app.css (PRINT). */
#hp-quickbar, .comments-link, .news-item-actions, .news-item-block, .news-category-header, .news-item-author, #poll-polling {
    display: none;
}

.poll-graph-wrapper, .poll-graphs {
    break-inside: avoid;
}

/* The pies, as the square they are. For printing, head-tag.jspf swaps each chart's canvas for an image of it, as
   wide as the canvas was on screen and with the pie in its middle; stretched to the width of the paper ("width:
   100%" on the image) it overflowed its 240px box, which cut it down to a wedge. Cropped to the middle square
   instead, the image shows the whole pie at its screen size whatever the canvas's width was. */
.poll-graph-image {
    flex: none;
    width: 240px;
    height: 240px;
}
.poll-graph-image img {
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    object-fit: cover;
}

#poll-details-table {
    page-break-before: always;
}
