body div.container-lg * {
    color: black !important;
}

div.container-lg {
    max-width: 100% !important;
    margin: 0;
    border: none !important;
}

header nav,
.navbar,
nav h2,
nav ul,
nav ol,
#styleswitch,
button,
.visually-hidden-focusable,
details,
audio,
video,
.ratio,
.carousel,
footer {
    display: none !important;
}

a:not(figure a)::after {
    content: " (" attr(href) ")";
    font-size: 90%;
}

figure a::after {
    content: "";
}

body {
    background-image: none !important;
    background-color: white !important;
}

div.row {
    margin: 0 !important;
}

pre,
table > * {
    color: black;
    background-color: white;
}

table tr > * {
    border: none !important;
    padding: 5px !important;
}

figure img {
    max-width: 50% !important;
}

pre {
    font-size: 75% !important;
}

.nyomtatas {
    display: block !important;
    border: 1px dashed gray;
    padding: 10px;
}

h1, h2, h3 {
    page-break-after: avoid;
    page-break-inside: avoid;
}

img, table {
    page-break-inside: avoid;
}

article {
    page-break-before: always;
}

article:first-of-type {
    page-break-before: auto;
}

p, ul, ol, table {
    font-size: 95%;
    line-height: 1.3;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 1em 0;
}

h1 {
    font-size: 1.5em;
    margin-bottom: 1em;
}