@media print
{
/*this is the stylesheet to use for when pages are printed*/
#leaderboardAd,
#header input,
#magazineItems,
#magazineItemsText,
#magazineItemsImage,
#sidebar,
#buttons,
#nav,
#footer p:first-child,
div#related,
#col1,
#col3,
br.clearfloat,
#pagination,
.categoryList { display: none !important; }

body, #page_margins, #page, #header, #main, #col2, #col2_content, #footer, #innerFooter { width: auto !important; margin: 0 !important; padding: 0 !important; background: #fff none !important; }
body, #page_margins, #page, #main { border: 0px none !important; }

* { float: none !important; clear: none !important; -moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; }
h1, h2, h3, h4, p, li { color: #000 !important; }
h5, h6, a { color: #666 !important; }
#innerFooter { height: auto !important; border: 0px none !important; }
#footer { height: auto !important; border-color: #000 !important; border-style: solid !important; border-width: 1px 0px 1px 0px !important; }
#innerFooter p { padding: 0px !important; margin: .5em 0 1em 0 !important; }

div#page div#header { height: auto !important; margin-bottom: .75em !important; border-bottom: 1px solid #000 !important; }
/*header undoing image replacement*/
#header h1.siteName,
#header h1.siteName a,
#header h1.siteName a span {
	font-size: 15pt !important;
	line-height: 1em !important;
	margin: 0 0 .75em 0 !important;
	position: static !important;
	background: none #fff !important;
	color: #000 !important;
	height: auto !important;
	width: auto !important;
	text-indent: 0px  !important;
	display: block  !important;
}

/*resetting type*/
h1 { font-size: 16pt !important; line-height: 18pt !important;}
h2 { font-size: 12pt !important; line-height: 14pt !important;}
h3, h4 { font-size: 10pt  !important; line-height: 12pt !important;}
h5, h6 { font-size: 9pt  !important; line-height: 11pt !important;}
p, ul, ol, li, dd { font-size: 11pt  !important; line-height: 13pt !important; }

div#articleExtras { margin-left: 0px !important; border: 1px solid #666 !important; background: none !important; }
div#articleExtras div { display: none !important; }
div#articleExtras div#articleImage { display: block !important; border: 0px none !important; }

/* ====== DIRECTORY-SPECIFIC STYLES ============= */
body#directory #col1, body#directory #col1_content { width: auto !important; margin: 0 !important; padding: 0 !important; background: #fff none !important; }
body#directory div#alluredAddress { display: block !important; }
body#directory p#logoutLink, body#directory p.backLink { display: none !important; }
body#directory div.scroller { max-height: none !important; overflow: visible !important; border: 0px none !important; }

/* special print styles for formula pages */
body#directory div#formula table.phase { margin-top: 1em !important; }
body#directory div#formula table.phase thead th { border-bottom: 1px solid #000 !important; background-color: transparent !important; font-size: 12pt !important; }
body#directory div#formula table.phase tbody td { border-style: solid !important; border-color: #000 !important; background-color: transparent !important; }
body#directory div#formula table.phase tbody td.ingredient { border-width: 0px 0px 1px 1px !important; border-style: none none solid solid !important; }
body#directory div#formula table.phase tbody td.amount { border-width: 0px 1px 1px 0px !important; border-style: none solid solid none !important; }
body#directory div#formula table.formulaTotal { font-size: 12pt !important; }
body#directory div#formula table tbody td a { text-decoration: none !important; color: #000 !important; }

/* getting rid of the admin menu - does not work on ie 6 */
body#directory > div[align="center"] > table,
body#directory > div[align="center"] > table * { display: none !important; }

}