/* reset */

*
{
	border: 0;
	box-sizing: content-box;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
	list-style: none;
	margin: 0;
	padding: 0;
	text-decoration: none;
	vertical-align: top;
}

textarea {
	overflow: hidden;
	resize: none;
}

#date {
	width: 99%;
}

.item {
	width:  175px;
}

.description {
	width: 300px;
}

/* content editable */

*[contenteditable] { border-radius: 0.25em; min-width: 1em; outline: 0; }

*[contenteditable] { cursor: pointer; }

*[contenteditable]:hover, *[contenteditable]:focus, td:hover *[contenteditable], td:focus *[contenteditable], img.hover { background: #DEF; box-shadow: 0 0 1em 0.5em #DEF; }

span[contenteditable] { display: inline-block; }

/* heading */

#invoice h1 { font: bold 100% sans-serif; letter-spacing: 0.5em; text-align: center; text-transform: uppercase; }

/* table */

table { font-size: 75%; table-layout: fixed; width: 100%; }
table { border-collapse: separate; border-spacing: 2px; }
th, td { border-width: 0px; padding: 0.5em; position: relative; text-align: left; }
th, td { border-style: solid; }
th { background: #000000; border-color: #BBB; color: #FFFFFF; }
td { border-color: #DDD; }

/* page */

html { cursor: default;  }

#invoice {
	font-size: 1.0em;
	background: #FFF; 
	border-radius: 1px; 
	box-shadow: 0 0 0.5in -0.25in rgba(0, 0, 0, 0.5);
	box-sizing: border-box; 
	margin: 30px auto 80px; 
	overflow: hidden; 
	padding: 0.5in; 
	width: 9.5in; 
}

/* header */

#invoice header { margin: 0 0 3em; }
#invoice header:after { clear: both; content: ""; display: table; }

#invoice header h1 { background: #000000; color: #FFF; margin: 0 0 1em; padding: 0.5em 0; border-radius: 0em!important;}
#invoice header address { float: left; font-size: 75%; font-style: normal; line-height: 1.25; margin: 0 1em 1em 0; }
header address p { margin: 0 0 0.25em; }
#invoice header span, #invoice header img { display: block; float: right; }
header span { margin: 0 0 1em 1em; max-height: 25%; max-width: 60%; position: relative; }
#invoice header img { max-height: 100%; max-width: 60%; }
header input { cursor: pointer; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; height: 100%; left: 0; opacity: 0; position: absolute; top: 0; width: 100%; }

/* article */

article, article address, table.meta, table.inventory { margin: 0 0 3em; }
article:after { clear: both; content: ""; display: table; }
article h1 { clip: rect(0 0 0 0); position: absolute; }

article address { float: left; font-size: 125%; font-weight: bold; }

/* table meta & balance */

table.meta, table.balance { float: right; width: 36%; }
table.meta:after, table.balance:after { clear: both; content: ""; display: table; }

/* table meta */

table.meta th { width: 40%; }
table.meta td { width: 60%; }

/* table items */

table.inventory { clear: both; width: 100%; }
table.inventory th { font-weight: bold; text-align: center; }

table.inventory td:nth-child(1) { width: 26%; }
table.inventory td:nth-child(2) { width: 38%; }
table.inventory td:nth-child(3) { text-align: right; width: 12%; }
table.inventory td:nth-child(4) { text-align: right; width: 12%; }
table.inventory td:nth-child(5) { text-align: right; width: 12%; }

/* table balance */

table.balance th, table.balance td { width: 50%; }
table.balance td { text-align: right; }

/* aside */

#invoice aside h1 { border: none; border-width: 0 0 1px; margin: 0 0 1em; }
#invoice aside h1 { border-color: #999999; border-bottom-style: solid; }
#invoice aside p {
	text-align: center;
}

/* javascript */

.add, .cut
{
	border-width: 1px;
	display: block;
	font-size: .9rem;
	padding: 0em;
	float: left;
	text-align: center;
	width: 2em;
	height: 2em;
	line-height: 2em;
}

.cut
{
	line-height: 1.8em;
	font-weight: bold;
}


.add, .cut
{
	border-radius: 1em;
	cursor: pointer;
}

.cut
{
	background: #D23837;
	border-color: #0076A3;
	color: #FFF;
}

.add
{
	background: #000000;
	border-color: #0076A3;
	color: #FFF;
}

.add { margin: -2.5em 0 0; }

.add:hover { background: #598432!important; color: #ffffff;
}
.cut:hover { background: rgba(189, 76, 75, 0.61);}


.cut { opacity: 0; position: absolute; top: 0; left: -1.5em; }
.cut { -webkit-transition: opacity 100ms ease-in; }

tr:hover .cut { opacity: 1; }

.btn-primary {color: rgb(255, 255, 255);background: #007A96; cursor:pointer; border: 0; font-family: 'Raleway', sans-serif; border: solid 3px #CBE5F5;}
.btn-primary:hover{
background: #0986A3;
}
.btn-large { padding: 9px 30px; font-size: 18px; border-radius: 6px 6px 6px 6px; }


@media print {
	* { -webkit-print-color-adjust: exact; }
	span:empty { display: none; }
	.add, .cut { display: none; }
	#header, #extraContent, #footer, .submitbtn, .menu, #menu-toggle, #backtotop a {display: none; }
	html { overflow: auto; padding: 0; }
	html { background: none; cursor: default; }
	
	body { box-sizing: border-box; height: 11in; margin: 0 auto; overflow: hidden; padding: 0.5in; width: 8.5in; }
	body { background: #FFF; border-radius: 0px; box-shadow: none; }
	
	#invoice {
		font-size: 0.8em;
		border-radius: 1px; 
		box-shadow: none;
		box-sizing: border-box; 
		margin: auto; 
		overflow: hidden; 
		padding: auto; 
		width: 100%; 
	}
	
	.item {
		width:  140px;
	}
	
	.description {
		width: 220px;
	}
	
	th, td {
	padding-bottom: 0em;
	padding-top: 0em;
	}
	
}

@page { margin: 0; }
#stacks_in_2619_page15 {
	margin: 40px 0px 40px 0px;
}
