/* css/print.css */
body 
{
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
    line-height: 1.4;
    color: #000000;
    background-color: #ffffff;
    margin: 0.75in;
}

/* Elrejtendő */
header,
nav,
aside,
#album-images,
.kerdoiv-page > .container > main#main-content > aside,
#style-switcher,
.skip-link,
video,
form input[type="submit"],
details summary 
{
    display: none !important;
}

main,
main#main-content,
.main-content-wrapper,
.container,
section,
article,
details 
{
    display: block !important;
    width: auto !important;
    max-width: none !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
    padding: 0 !important;
    margin: 0 0 1em 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    page-break-inside: avoid;
}
details > *:not(summary) 
{
    display: block !important;
}


h1, h2, h3, h4, h5, h6 
{
    color: #000000 !important;
    background-color: transparent !important;
    padding-top: 0.25em;
    padding-bottom: 0.1em;
    margin-bottom: 0.5em;
    page-break-after: avoid;
    page-break-inside: avoid;
}

h1 
{ font-size: 20pt; }
h2 
{ font-size: 16pt; }
h3 
{ font-size: 14pt; }

p, li, td, th, label 
{
    font-size: 12pt;
    orphans: 3;
    widows: 3;
}

img 
{
    max-width: 4in !important; 
    max-height: 4in !important;
    height: auto !important;
    display: block;
    margin: 0.5em auto;
    page-break-inside: avoid;
}
figcaption 
{
    text-align: center;
    font-style: italic;
    font-size: 10pt;
    color: #333333;
    margin-top: 0.25em;
}

a[href^="http"]::after,
a[href^="//"]::after 
{
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555555;
    word-break: break-all;
}


header nav a::after,
.button::after,
.skip-link::after,
a[href^="index.html"]::after,
a[href^="albumok.html"]::after,
a[href^="kerdoiv.html"]::after 
{
    content: "" !important;
}
a 
{
    color: #000000;
    text-decoration: underline;
}


table 
{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 10pt;
    page-break-inside: auto;
}
th, td 
{
    border: 1px solid #aaaaaa;
    padding: 0.2em 0.4em;
    text-align: left;
}
thead th 
{
    background-color: #f0f0f0;
    font-weight: bold;
}
caption 
{
    font-size: 11pt;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-align: left;
    caption-side: top;
}


form 
{
    border: 1px solid #ccc;
    padding: 1em;
    margin-top: 1em;
}
label 
{
    font-weight: bold;
    display: block;
    margin-bottom: 0.2em;
}
input[type="text"],
textarea 
{
    border-bottom: 1px dotted #666;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0.1em;
    background-color: #fdfdfd;
    width: auto;
}
textarea 
{
    width: 90%;
    min-height: 3em;
}
fieldset 
{
    border: 1px solid #ccc;
    padding: 0.5em;
    margin-top: 0.5em;
}
legend 
{
    font-weight: bold;
    padding: 0 0.3em;
}
input[type="radio"] + label::before,
input[type="checkbox"] + label::before 
{
    content: "❏ ";/*na végre már*/
    font-family: sans-serif;
}
input[type="radio"]:checked + label::before,
input[type="checkbox"]:checked + label::before 
{
    content: "☑ ";/*na végre már*/
    font-family: sans-serif;
}
input[type="radio"], input[type="checkbox"] 
{
    display: none;
}