/* @group HTML Boilerplate */

/**
 * HTML5 ✰ Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */

/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
	content: none;
}

ins {
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}

mark {
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

input, select {
	vertical-align: middle;
}

/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body {
	font: 13px/1.231 sans-serif;
	*font-size: small;
}

/* Hack retained to preserve specificity */

select, input, textarea, button {
	font: 99% sans-serif;
}

/* Normalize monospace sizing:
   en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */

pre, code, kbd, samp {
	font-family: monospace, sans-serif;
}

/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */

html {
	overflow-y: scroll;
}

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */

a:hover, a:active {
	outline: none;
}

ul, ol {
	margin-left: 2em;
}

ol {
	list-style-type: decimal;
}

/* Remove margins for navigation lists */

nav ul, nav li {
	margin: 0;
	list-style: none;
	list-style-image: none;
}

small {
	font-size: 85%;
}

strong, th {
	font-weight: bold;
}

td {
	vertical-align: top;
}

/* Set sub, sup without affecting line-height: gist.github.com/413930 */

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

pre {
	/

* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
	padding: 15px;
}

textarea {
	overflow: auto;
}

/* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend {
	margin-left: -7px;
}

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */

input[type="radio"] {
	vertical-align: text-bottom;
}

input[type="checkbox"] {
	vertical-align: bottom;
}

.ie7 input[type="checkbox"] {
	vertical-align: baseline;
}

.ie6 input {
	vertical-align: text-bottom;
}

/* Hand cursor on clickable input elements */

label, input[type="button"], input[type="submit"], input[type="image"], button {
	cursor: pointer;
}

/* Webkit browsers add a 2px margin outside the chrome of form elements */

button, input, select, textarea {
	margin: 0;
}

/* Colors for form validity */

input:valid, textarea:valid {
	
}

input:invalid, textarea:invalid {
	border-radius: 1px;
	-moz-box-shadow: 0px 0px 5px red;
	-webkit-box-shadow: 0px 0px 5px red;
	box-shadow: 0px 0px 5px red;
}

.no-boxshadow input:invalid, .no-boxshadow textarea:invalid {
	background-color: #f0dddd;
}

/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */

::-moz-selection {
	background: #FF5E99;
	color: #fff;
	text-shadow: none;
}

::selection {
	background: #FF5E99;
	color: #fff;
	text-shadow: none;
}

/* j.mp/webkit-tap-highlight-color */

a:link {
	-webkit-tap-highlight-color: #FF5E99;
}

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */

button {
	width: auto;
	overflow: visible;
}

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */

.ie7 img {
	-ms-interpolation-mode: bicubic;
}

/**
 * You might tweak these..
 */

body, select, input, textarea {
	/

* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #444;
/* 

Set your base font here, to apply evenly */
  /* 

font-family: Georgia, serif;  */
}

/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

a, a:active, a:visited {
	color: #607890;
}

a:hover {
	color: #036;
}

/* @end */

/**
 * Primary styles
 *
 * Author: Michael Go goDesign
 */

/*Pacific Supply
2 Column Stylesheet -- */

/* Created 4/2007 by Michael Go */

/* Modified for HTML5 4/2011 */

/* Color Glossary
Dark red to pink -- #ac3e3f, #d74e4f, #e17a7b, #eba7a7, #fsd3d3
Dark green to light -- #555341, #6a6851, #8f8e7d, #b5b4a8, #dad9d3
Dark yellow to light -- #cca324, #ffcc2d, #ffd962, #ffe696, #fff2ca
*/

* {
	margin: 0;
	padding: 0;
}

/* @group Base Selectors */

body {
	font: 14px/1.2em "Lucida Grande", Lucida, Verdana, Helvetica, Arial, sans-serif;
	color: #6a6851;
	text-align: left;
	background: #E7D6C4 url(imagesCSS/BeadboardBack.jpg) repeat fixed;
}

h1 {
	color: #6a6851;
	font-size: 1px;
	text-indent: -5000px;
	overflow: hidden;
	height: 0;
	text-rendering: optimizeLegibility;
}

h2 {
	text-transform: none;
	color: #D74E4F;
	font: normal bold 2em/1em Georgia, "Times New Roman", Times, serif;
	padding-top: .8em;
	padding-bottom: .3em;
	clear: both;
	text-rendering: optimizeLegibility;
}

h3 {
	margin-top: 1em;
	margin-bottom: .8em;
	color: #6a6851;
	text-decoration: none;
	font: normal bold 1.3em/1.5em Georgia, "Times New Roman", Times, serif;
	text-rendering: optimizeLegibility;
	text-transform: none;
}

h4 {
	color: #6a6851;
	text-decoration: none;
	font: bold 1em/1.4em "Lucida Grande", Lucida, Verdana, Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	margin-left: 10px;
	padding-top: 1em;
	clear: both;
}

h2+p, h3+p {
	margin-top: .8em;
}

h2+h3 {
	margin-top: .4em;
	font-style: italic;
}

h2+h4 {
	margin-top: 1em;
}

p {
	font-size: .9em;
	line-height: 1.4em;
	padding-top: .2em;
	padding-bottom: .3em;
	padding-right: 1.5em;
}

a:link {
	color: #ac3e3f;
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	text-decoration: none;
}

a:visited {
	color: #455;
	border-bottom-color: #455;
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	text-decoration: none;
}

a:hover, a:active {
	color: #455;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #455;
	text-decoration: none;
}

img {
	display: block;
}

/* @end */

/*---Main Divs---*/

#container, #wrapper {
	width: 814px;
	background: #DAD9D3 url(imagesCSS/WrapperBackground.png) repeat-x left bottom;
	margin: 15px auto;
	border: none;
	-moz-box-shadow: 2px 2px 4px #333;
	-webkit-box-shadow: 2px 2px 4px #333;
	box-shadow: 2px 2px 4px #333;
}

#masthead {
	height: 117px;
	width: auto;
	border: none;
	background-color: #6A6851;
}

#masthead a {
	width: 800px;
	height: 117px;
	width: auto;
	display: block;
	border: none;
	background: transparent url(imagesCSS/PSHeader.png) no-repeat center top;
}

#navSearch {
	float: left;
	width: 100%;
	background: #555341 url(imagesCSS/NavBarBottom.gif) repeat-x left bottom;
	margin: 0;
	padding: 0;


/* For IE double margin bug */
	display: inline;
}

/* @group Navbar */

nav {
	float: left;
	width: 575px;
	padding: 5px 0 0 5px;
	margin: 0;
	list-style-type: none;
	text-transform: uppercase;
	/

* For IE double margin bug */
	display: inline;
	border: none;
	font: bold .95em/1.5em "Lucida Grande", Lucida, Verdana, sans-serif;
}

nav li {
	float: left;
	display: inline;
	position: relative;
	padding: 0;
	

/*For IE double margin bug */
	display: inline;
}

nav a:link,
nav a:visited {
	float: left;
	display: block;
	margin: 0 1px 0 5px;
	padding: 4px 8px;
	text-decoration: none;
/*border: 1px solid #555341;*/
	border-bottom: none;
	background: #6a6851 url(imagesCSS/NavTabBack.gif) repeat-x left top;
	color: #cca324;
-webkit-border-top-left-radius: 3px;
-webkit-border-top-right-radius: 3px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-topright: 3px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}

nav a:hover {
	color: #555341;
	background: #CCA324 url(imagesCSS/NavTabBackCurrent.gif) repeat-x left top;
}

#home a.homeNav,
#news a.newsNav,
#shop a.shopNav,
#blog a.blogNav,
#contact a.contactNav {
	color: #555341;
	background: #CCA324 url(imagesCSS/NavTabBackCurrent.gif) repeat-x left top;
	padding-bottom: 5px;
}

li.mega a {
	padding-right: 15px;
}

li.mega a:link.megaNav:after,
li.mega a:visited.megaNav:after {
	content: " "url(imagesCSS/NavArrowDown.png);
}

li.mega a:hover.megaNav:after,
#contact a.megaNav:after {
	content: " "url(imagesCSS/NavDownArrowHover.png);
}

.subNav {
	display: none;
	position: absolute;
	top: 2em;
	left: .4em;
	background: #CCA324;
	width: 11em;
	-moz-box-shadow: 2px 2px 4px #333;
	/* FF3.5+ */
	-webkit-box-shadow: 2px 2px 4px #333;
	/* Saf3.0+, Chrome */
	box-shadow: 2px 2px 4px #333;
	/* Opera 10.5, IE 9.0 */
}

nav li.hovering div {
	display: block;
}

nav .subNav a:link,
nav .subNav a:visited {
	background: none;
	padding-left: 10px;
	width: 9em;
	border: none;
	color: #555341;
	text-transform: uppercase;
}

nav .subNav a:hover {
	color: #7F5F3C;
}

nav form {
	display: block;
	float: right;
	width: 100px;
}

/* @group Search Subset */

#searchbox {
	float: right;
	/

* For IE double margin bug */
	display: inline;
}

.search {
	display: inline;
}

label.search {
	display: none;
}

input.search {
	width: 150px;
	color: gray;
	font-size: .9em;
	font-weight: bold;
	height: 1.7em;
}

/* @end */

/* @end */

/* @group leftcolumn */

#leftcolumn, 
#column {
	float: right;
	width: 180px;
	margin: 10px;
	min-height: 470px;
	

/*For IE double margin bug */
	display: inline;
}

#leftcolumn .sidebar,
#column .sidebar {
	max-width: 160px;
	margin: 4em auto;
	text-align: center;
	overflow: hidden;
	font-size: .8em;
}

.sidebar img {
	margin: 10px auto;
}

/* @end */

#content {
	clear: both;
}

/* @group Maincontent */

#maincontent {
	float: left;
	width: 525px;
	margin: 20px 40px 20px 10px;
	min-height: 550px;
	padding-left: 20px;
	

/* For IE double margin bug */
	display: inline;
}

#maincontent img,
.sidebar img {
	border: 1px dotted #ac3e3f;
	background-color: #8f8e7d;
	padding: 5px;
}

#maincontent a:link img,
.sidebar img a:link img {
	border: 1px dotted;
}

#maincontent a:visited img,
.sidebar a:visited img {
	border: 1px dotted #455;
}

#maincontent a:hover img, #maincontent a:active img,
.sidebar a:hover img,
.sidebar a:active img {
	background-color: #dad9d3;
	border: 1px solid #555341;
}

#maincontent blockquote {
	width: 400px;
	margin: 10px;
	padding: 25px 25px 45px 25px;
	margin-right: auto;
	margin-left: auto;
	border-bottom-style: solid;
	border: 4px solid #a68353;
	color: #97303b;
	font: italic 1.2em/1.8em Georgia, "Times New Roman", Times, serif;
	background: #78865f;
	clear: both;
}

#maincontent ul {
	list-style-position: outside;
	margin: 1.5em 2em;
	font-size: .9em;
	line-height: 1.5em;
	clear: left;
	list-style-image: none;
}

#maincontent ul li {
	margin: 10px 0 10px 0px;
	padding-left: 30px;
	list-style-image: none;
	list-style-type: none;
	background: url(imagesCSS/PhillipsScrewHead.gif) no-repeat 0 0;
	font-size: 1.2em;
	line-height: 1.8em;
	color: #804706;
}

#maincontent ol {
	font-size: .9em;
	line-height: 1.5em;
	margin-left: 2em;
}

#maincontent ol li {
	padding: .4em 0;
}

/*For Google Maps*/

#map {
	width: 500px;
	height: 300px;
	border: 4px solid #8F8E7D;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	margin-top: 1em;
}

#map img {
	background-color: inherit;
}

#map a:hover img {
	background-color: inherit;
}

/* @end */

/* @group Footer */

footer {
	width: 814px;
	height: 7em;
	margin: 0 auto;
	padding: 0 0 5px 0;
	background: #B4B4A8;
	clear: both;
}

footer p {
	padding-top: 1em;
	font-size: .8em;
	line-height: 1.2em;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	text-align: center;
	color: #444;
}

footer a:link, footer a:visited {
	color: #454;
}

footer a:hover, footer a:active {
	color: #97303b;
	border-bottom: solid 1px;
}

/* @end */

/* Special Sections */

/* @group Form */

form {
	font-size: 1em;
}

fieldset {
	width: 500px;
	margin: 1.2em 0 -2.5em 0;
	padding: 2.5em 1em 2.5em 1em;
	border: none;
	background: #DAD9D3;
}

legend span {
	position: absolute;
	margin-top: .5em;
	font-size: 1.4em;
	font-style: bold;
	color: #AC3E3F;
}

fieldset>p {
	padding-top: .3em;
}

fieldset.submit {
	border-top: none;
	padding-top: 0;
	padding-bottom: 1em;
	margin-bottom: 1em;
}

label, fieldset p {
	display: block;
	font-size: 1em;
	line-height: 1.5em;
}

input {
	width: 490px;
	height: 2em;
	background-color: #FFF2CA;
	border: 1px solid ##555341;
	color: gray;
	font-size: 1em;
}

input:focus, textarea:focus {
	background-color: #FFD962;
}

textarea {
	background-color: #FFF2CA;
	color: gray;
	width: 490px;
	height: 200px;
	font-size: 1em;
	line-height: 1.5em;
}

div.buttonCentered {
	width: auto;
	height: 5em;
	margin-left: auto;
	margin-right: auto;
}

input.submit {
	display: block;
	color: #6A6851;
	font-size: 1em;
	font-weight: bold;
	border: 3px solid #8F8E7D;
	width: auto;
	height: auto;
	padding: 5px 10px 5px 10px;
	margin-left: auto;
	margin-right: auto;
}

input.submit:hover {
	background-color: #FFD962;
}

/* @group Login subset */

fieldset.login {
	
}

input.login {
	
}

/* @end */

/* @end */

/* @group Basic table */

table {
	margin: 20px auto 20px 0;
	border-collapse: collapse;
	border: 5px solid #DAD9D3;
	background: #DAD9D3;
	width: 515px;
}

caption {
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.1em;
	line-height: 1.6em;
	padding-bottom: 0;
}

tbody {
	font-size: 1.1em;
}

th {
	font-size: 1em;
	font-weight: bold;
	color: #DAD9D3;
	padding: 5px 8px;
	text-align: center;
	background: #555341;
	border: none;
	border-bottom: 4px solid #DAD9D3;
}

tr {
	background: #FFF2CA;
}

td {
	padding: 5px 10px;
	text-align: left;
	border: none;
	border-bottom: 4px solid #DAD9D3;
}

/* @end */

/* @group Order Addresses */

#orderaddresses {
	background: #DAD9D3;
	margin-top: 20px;
}

#billto, #shipto, #paymentinfo {
	width: 250px;
	height: auto;
	display: block;
	float: left;
	background: #DAD9D3;
	font-size: 1.1em;
	margin-bottom: 20px;
}

#shipto {
	margin-left: 15px;
}

#billto p.heading, #shipto p.heading, #paymentinfo p.heading {
	font-size: 1em;
	font-weight: bold;
	color: #DAD9D3;
	padding: 5px 8px;
	text-align: center;
	background: #555341;
	border: none;
}

#billto p, #shipto p, #paymentinfo p {
	margin: 5px;
	background: #FFF2CA;
	padding: 5px;
}

/* @group Order Table */

#ordertable {
	clear: both;
}

th.orderQty {
	width: 50px;
}

th.orderDesc {
	width: 200px;
}

th.orderSKU {
	width: 85px;
;
}

th.orderPrice {
	width: 65px;
}

th.orderExtend {
	width: 115px;
}

#ordertable td {
	padding: 4px 2px 4px 3px;
}

/* @end */

/* @end */

/* @group Search Results */

div.searchItem {
	height: 150px;
	width: 100px;
	padding: 10px;
	overflow: hidden;
	float: left;
	text-align: center;
}

.searchItem img {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.searchItem p {
	text-align: center;
}

p.searchPages {
	clear: both;
	text-align: center;
	padding-top: 30px;
}

/* @end */

/* @group Product */

#product {
	padding: 20px;
	text-align: center;
}

#product img {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

p.productDesc {
	color: #D74E4F;
	font-weight: bold;
}

/* @end */

.change {
	text-align: center;
}

.left {
	float: left;
	margin: 10px 10px 10px 0;
}

.right {
	float: right;
	margin: 10px 0 10px 20px;
}

.center {
	margin: 10px auto;
	text-align: center;
}

.tiltleft {
	-webkit-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-ms-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	transform: rotate(-5deg);
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}


.tiltright {
	-webkit-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	-ms-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	transform: rotate(5deg);
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.tiltleft:hover,
.tiltright:hover {
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
}


.shadow {
	-webkit-box-shadow: 5px 5px 5px #aaa;
	-moz-box-shadow: 5px 5px 5px #aaa;
	-o-box-shadow: 5px 5px 5px #aaa;	box-shadow: 5px 5px 5px #aaa;
}

.num {
	text-align: right;
}

.error {
	color: #AC3E3F;
	font-size: .9em;
	font-weight: bold;
	text-transform: uppercase;
}

p.address {
	padding-left: 20px;
	font-weight: bold;
}

.required {
	color: #AC3E3F;
}

.skiplink {
	display: none;
}

.clear, .clearfix {
	clear: both;
}

/*Use this class to check for errors*/

.errorcheck {
	border: 1px solid fuchsia;
	color: fuchsia;
}

/* CSS 3 Selectors */

/**
 * Non-semantic helper classes: please define your styles before this section.
 */

/* For image replacement */

.ir {
	display: block;
	text-indent: -999em;
	overflow: hidden;
	background-repeat: no-repeat;
	text-align: left;
	direction: ltr;
}

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */

.hidden {
	display: none;
	visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/* Hide visually and from screenreaders, but maintain layout */

.invisible {
	visibility: hidden;
}

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */

.clearfix:before, .clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	overflow: hidden;
}

.clearfix:after {
	clear: both;
}

/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */

.clearfix {
	zoom: 1;
}

/**
 * Media queries for responsive design.
 *
 * These follow after primary styles so they will successfully override.
 */

@media all and (orientation:portrait) {

/* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {

/* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
   consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */

@media screen and (max-device-width: 480px) {

/* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */

/* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */

}

/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */

@media print {

* {
	background: transparent !important;
	color: black !important;
	text-shadow: none !important;
	filter: none !important;
	-ms-filter: none !important;
}

/* Black prints faster: sanbeiji.com/archives/953 */

a, a:visited {
	color: #444 !important;
	text-decoration: underline;
}

a[href]:after {
	content: " (" attr(href) ")";
}

abbr[title]:after {
	content: " (" attr(title) ")";
}

.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
	content: "";
}

/* Don't show links for images, or javascript/internal links */

pre, blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
}

thead {
	display: table-header-group;
}

/* css-discuss.incutio.com/wiki/Printing_Tables */

tr, img {
	page-break-inside: avoid;
}
  @page { margin: 0.5cm; }

p, h2, h3 {
	orphans: 3;
	widows: 3;
}

h2, h3 {
	page-break-after: avoid;
}

}
