@page {
	margin: 2.5cm;
}

* {
	background: none ! important;
	color: #111 ! important;
}

html {
	margin: 0;
	padding: 0;

	font-family: Arial, "Arial CE", sans-serif;
	font-size: 100%; /* IE hack */
	
	color: #000;
}

body {
	font-size: 10pt;
}

.modal,
#footer ADDRESS,
#footer .copy,
#navigator,
#footer UL,
#idle,
#overlay,
#left-sidebar,
#client,
#header,
object,
a.add,
a.back,
a.cancel {
	display: none !important;
}

.centered-container {
	width: auto;
}

#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	font-size: 7pt;
	width: 98%;
}

H1 {
	font-size: 20pt;
	border-bottom: 1pt solid #111;
	padding-bottom: 8pt;
	text-align: center;	
}

H1 A {
	text-decoration: none !important;
}

H1 A[href]:after {
	content: "";
}

H2 {
	font-size: 18pt;
}

H3 {
	font-size: 12pt;
}

H1, H2, H3, H4, H5, H6 {
	page-break-after: avoid;
}

A:link, A:visited {
 	content: " (" attr(href) ") ";
	background: transparent;
	font-weight: bold;
	text-decoration: underline;
}

DL DD {
	line-height: 20pt;
}

DL DT {
	line-height: 20pt;
	float: left;
	width: 100pt;
}

TABLE THEAD { 
	display: table-header-group; 
}

TABLE TFOOT { 
	display: table-footer-group; 
} 

TEXTAREA,
SELECT,
INPUT.text,
INPUT.pcs,
INPUT[type=text] {
	border: 1pt solid #111;
	font-size: .90em; 
}

INPUT.button,
INPUT[type=submit] {
	display: none;
}

FIELDSET {
	border: none !important;
	padding: 0 !important;
}

/* CONTENT */
DIV#text-content {
	width: auto; 
	padding: 0; 
	border: 0;
	float: none !important;
	background: transparent;

}

/* PREVIEW DATE */
DIV#preview-date A {
	text-decoration: none !important;
}

DIV#preview-date A[href]:after {
	content: "";
}

/* CART */
DIV#cart {
	border: 1pt solid #111;
	padding: 5pt;
	page-break-before:always;
	margin: 5pt 0;
}

DIV#cart DIV.price,
DIV#cart H3 {
	padding: 5pt 0;
	margin: 0 !important;
}

DIV#cart DIV.title {
	padding: 0 3pt;
}

DIV#cart H3 {
	float: left;
}

DIV#cart DIV.price {
	float: right;
	font-size: 12pt;
	font-weight: bold;
}

DIV#cart TABLE {
	width: 100%;
}

DIV#cart DIV.drop {
	clear: both;
}

DIV#cart ADDRESS {
	float: left;
}

DIV#cart ADDRESS BR {
	display: none;
}

DIV#cart DIV.tools,
DIV#cart A.edit,
DIV#cart A.delete {
	display: none;
}

DIV#cart [href]:after {
	content: "";
}

/* PRODUCTS */
DIV#products-list .inner, 
DIV#products-list .box P,
DIV#products-list .box {
	height: auto;
	min-height: auto;
}

DIV#products-list .box {
	clear: both;
	float: none !important;
	page-break-inside: avoid;
}

DIV#products-list .bottom {
	display: none;
}

/* POPUP MODALS */
.modal,
.modal-visible{
	border: 1pt solid #111;
	padding: 0 5pt;
	margin: 10pt 0 0 0;
}

/* FORMS */
A.add {
	display: block;
	padding: 5pt 0;
	margin: 0 0 5pt 0;
}

P.items-selector {
}

TABLE.grid TD A.accounts,
TABLE.grid TD A.add-sub,
TABLE.grid TD A.add,
TABLE.grid TD A.delete,
TABLE.grid TD A.detail,
TABLE.grid TD A.docs,
TABLE.grid TD A.edit,
TABLE.grid TD A.new-msg,
TABLE.grid TD A.items,
TABLE.grid TD A.logos,
TABLE.grid TD A.login-as,
TABLE.grid TD A.stats {
	display: none;
}

TABLE.grid TBODY TR {
	page-break-inside: avoid;
}


P.paginator A[href]:after,
P.items-selector A[href]:after,
A.add[href]:after,
TABLE TD A[href]:after,
TABLE TH A[href]:after {
	content: "";
}

TABLE.grid {
	width: 100%;
	border-collapse: collapse;
	overflow:hidden
}

TABLE.tree-grid SELECT,
TABLE.tree-grid INPUT[type=text] {
	border: none;
}

TABLE.grid TH,
TABLE.grid TD {
	border-bottom: 1px solid #555;
	padding: 3pt;
}

TABLE.grid TH {
	border-top: 1px solid #555;
	border-bottom: 2px solid #555;
}

/* SITEMAP */
DIV#site-map UL LI A[href]:after {
	content: "";
}

/* ALL PRINTABLE ARE VISIBLE */
.printable {
	display: block;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

[href]:after {
	content: " [" attr(href) "] ";
}
