body{
	background: #fafafa;
	color: #4a4a4a;
	font: 14px "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
	font-weight: 200;
	padding-bottom: 60px;
}

#page {
	background: #ffffff;
	width: 640px;
	margin: 0 auto;
	margin-top: 80px;
	display: block;
	padding: 40px 40px 50px 40px;
	position: relative;
	z-index: 0;
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
	-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}

h1 {
	color: #4d5357;
	font-weight: 100;
	font-size: 56px;
	margin: 40px 0 0 0;
}

.terms {
	float: left;
	width: 400px;
	margin: 0 0 40px 0;
	font-size: 12px;
	color: #828282;
	line-height: 180%;
}

.terms strong {
	font-size: 16px;
}

.recipient-address {
	padding-top: 100px;
	width: 200px;
}

.company-details {
	width: 720px;
	height: 100px;
	background: #fafafa;
	position: absolute;
	right: 0px;
	top: 0px;
	margin: 0;
}

.company-details h1 {
	color: #4a4a4a;
	text-align: left;
	text-indent: 40px;
	line-height: 300%;
	margin: 0;
	height: 100%;
	font-size: 32px;
	width: 45%;
}

.company-address {
	width: 45%;
	color: #bebebe;
	position: absolute;
	right: 0px;
	top: 0px;
	margin: 0;
	padding: 30px 40px 0 0;
	text-align: right;
	font-style: italic;
}

.status {
	position: absolute;
	top: -5px;
	left: -5px;
	text-indent: -5000px;
	width: 128px;
	height: 128px;
}

.draft {
	background-image: url(images/status-draft.png);
}

.sent {
	background-image: url(images/status-sent.png);
}

.paid {
	background-image: url(images/status-paid.png);
}

.overdue {
	background-image: url(images/status-overdue.png);
}

hr {
	clear: both;
	border: none;
	background: none;
	border-bottom: 1px solid #eee;
}

.pay-buttons {
	text-align: center;
	width: 400px;
	margin: 40px auto 0 auto;
}
.pay-paypal {
	display: inline-block;
	width: 200px;
	height: 45px;
	background: #185e82;
	color: #fff;
	text-decoration: none;
	line-height: 45px;
	margin-right: 10px;
	border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.pay-paypal:hover {
	opacity: 0.8;
}

.pay-paypal:active {
	opacity: 0.9;
}

.pay-card {
	display: inline-block;
	width: 165px;
	height: 45px;
	background:  #4a4a4a;
	color: #fff;
	text-decoration: none;
	line-height: 45px;
	border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.pay-card:hover {
	opacity: 0.8;
}

.pay-card:active {
	opacity: 0.9;
}

.total-due {
	float: right;
	width: 200px;
	margin: 0 0 40px 0;
	padding: 0;
	text-align: right;
}

.total-heading {
	height: 24px;
	color: #4a4a4a;
	padding: 10px 20px 0px 0;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
}

.total-heading p, .total-amount p {
	margin: 0; padding: 0;
}

.total-amount {
	padding: 0px 20px 15px 0;
	color: #4d5357;
	font-size: 32px;
}

table.tablesorter {
	width: 100%;
	text-align: left;
	margin: 40px 0;
	color: #828282;
	-moz-box-shadow: 0 0px 4px rgba(0, 0, 0, 0.08);
	-webkit-box-shadow: 0 0px 4px rgba(0, 0, 0, 0.08);
	box-shadow: 0 0px 4px rgba(0, 0, 0, 0.08);
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	margin: 0;
}
table.tablesorter thead tr .header {
	background: #4a4a4a url(images/arrows-both.png) no-repeat center right;
	cursor: pointer;
	height: 60px;
	color: #63676b;
	padding-left: 20px;
	color: #fff;
}
table.tablesorter tbody td {
	padding: 20px;
	vertical-align: top;
}
table.tablesorter tbody tr.even td {
	background: #fafafa;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(images/arrow-up.png);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(images/arrow-down.png);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
}

