/* styles for printer-friendly version of the page */

/* remove background colors and images, print black */
*{
    background: transparent !important;
    color: black !important;
    text-align: left;
}

/* sets body element to width of printed page and font size */
body {
    width: auto !important;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
}

/* size to fit width of the printed page */
#wrapper {
width: 98%;
margin: 1em auto;
max-width: none;
min-width: none;
text-align: left;
}

/* message at the top of the printed page */
#wrapper::before {
    content: "Thank you for visiting the Stavisht Shtetl page hosted by JewishGen's KehilaLinks Project. The print version of these pages will not show images. Please contact the webmaster if you have comments or items to include. May you enjoy your visit to Stavisht!";
}
/* sets size and location of heading text */
h1 h2 h3 {
    font-size: 13pt;
    text-align: left;
}

/* don't display nav bar or iframes */
nav, iframe {
    display: none;
}

/* make links black and underlined */
a, a:link, a:visited {
    color: black;
    text-decoration: underline;
}
/* show URL after external link not internal links */
a[href^="http"]:not([href*="example.com"]):after {
    content: " (" attr(href) ")";
  }

/* reset image sizes and alignment*/
img {
    display: none;
}