/* show/hide elements */

.print-only {
    display: block;
}

#header {
    display: none;
}

#menu {
    display: none;
}

#left-column {
    display: none;
}

#first-column, #second-column, #third-column {
    display: none;
}

/* general print layout fixes */

#container, #content {
    /* fix overflow printing problem in firefox */
    display: inline;
}

#container {
    background: #fff;
    page-break-inside: auto;
}

#content, #one-column, #right-column, #footer, #address, #map {
    width: auto;
    height: auto;
/*    margin: 0 5%;*/
    margin: 0;
    padding: 0; 
    border: 0;
    float: none !important;
    page-break-inside: auto;
}

.half-image, .half-text, .third-image, .third-image-last, .third-text {
    width: auto; 
    height: auto;
/*    margin: 0 5%;*/
    margin: 0;
    padding: 0; 
    border: 0;
    float: none !important;
    page-break-inside: auto;
}

/* specific print styles */

#print-header {
    font-size: 20pt;
    font-weight: bold;
    margin-bottom: 20pt;
    padding-bottom: 5pt;
    border-bottom: 1px solid #000;
}

#map {
    position: relative;
    top: 0px;
    left: 0px;
    width: 500px;
    height: 400px;
}

#footer {
    font-size: 10pt;
    background: #fff;
    color: #000;
    margin-top: 20pt;
    padding-top: 2pt;
    border-top: 1px solid #000;
}

body, p, th, td, ul, ol, li, dl, dt, dd {
    font-size: 11pt;
    color: #000;
    background: #fff;
}

h2 {
    font-size: 12pt;
    color: #000;
}

a:link, a:visited {
	color: #520;
	font-weight: bold;
	text-decoration: underline;
}

a:link:after, a:visited:after {
    content: " (" attr(href) ") ";
    font-size: 80%;
}

a[href^="/"]:after {
    content: " (http://www.genubau.ch" attr(href) ") ";
}

a[href^="mailto:"]:after {
    content: "";
}

.half-image a:link:after, .half-image a:visited:after {
    content: "";
}

.third-image a:link:after, .third-image a:visited:after {
    content: "";
}

.third-image-last a:link:after, .third-image-last a:visited:after {
    content: "";
}

#one-column a:link:after, #one-column a:visited:after {
    content: "";
}