﻿/* ----------- invoice detail ----------- */

.invoice-content-container
{
	padding: 5px;
}
.invoice-section-header
{
	border: 1px #C0C0C0 solid;
	background: #ddd;
	clear: both;
}
.invoice-section-content-header
{
	background: #ddd;
	clear: both;
}
.invoice-section-header h1, .invoice-section-content-header h1
{
	padding: 4px 10px 5px 10px;
	text-align: right;
	color: #000;
	cursor: pointer;
}
.invoice-section-header h1 span, .invoice-section-content-header h1 span
{
	float: left;
	color: #0072bc;
}
.invoice-section-header h1 a
{
	font-size: .8em;
	color: #000;
	
}

.invoice-section-header h1 a:hover
{
	color: #0072bc;
	
}

.invoice-section-container
{
	padding: 10px;
	clear: both;
	width: auto;
	display: block;
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 1.0em;
}
.invoice-section-content-left
{
	float: left;
	width: 49%;
	background-color: white;
	border: 1px #BBD8FB solid;
	min-height: 200px;
}


.invoice-section-content-right
{
	float: right;
	width: 49%;
	background-color: white;
	border: 1px #BBD8FB solid;
	min-height: 200px;
}


.invoice-section-content-middle
{
	padding: 0px 5px 0px 5px;
	margin: 0px;
	min-height: 100px;
}


.invoice-section-content-listview
{
	padding: 5px 5px 5px 5px;
}

.invoice-section-content-formview
{
	padding: 5px 5px 5px 5px;
	overflow: auto;
}

.invoice-section-content-buttonbar
{
	padding: 5px 5px 5px 5px;
	margin: 2px;
	float: right;
}

div.hidden
{
	display: none;
}

/* ----------- feedback message blocks ----------- */
.errorsmall, .noticesmall, .successsmall
{
	font-size: 1.2em;
	padding: .8em;
	border: 1px solid #ddd;
	margin: .4em;
}
.errorsmall
{
	background: #FBE3E4;
	color: #8a1f11;
	border-color: #FBC2C4;
}
.noticesmall
{
	background: #FFF6BF;
	color: #514721;
	border-color: #FFD324;
}
.successsmall
{
	background: #E6EFC2;
	color: #264409;
	border-color: #C6D880;
}
.errorsmall a
{
	color: #8a1f11;
}
.noticesmall a
{
	color: #514721;
}
.successsmall a
{
	color: #264409;
}
.errorclear
{
	border: 0px;
}
/* ----------- Echo table style ----------- */
table.daniel
{
	background: #fff;
	width: 100%;
}

table.daniel TR
{
	border-bottom: solid 1px #dedede;
}

table.daniel TD
{
	text-align: left;
	border-top: solid 1px #e0e0e0;
	font-size: 1.2em;
}

table.daniel TD hidden
{
	display: none;
}

table.daniel TD.label
{
	text-align: left;
	padding-left: 10px;
	font-size: 1.4em;
}


table.daniel TD.value
{
	text-align: right;
	font-size: 1.4em;
}

table.daniel TD.last
{
	text-align: right;
	padding-right: 1em;
}
table.daniel .invoiceFooter td
{
	color: Black;
	font-weight: bold;
	font-size: 8.75pt;
	padding-left: 10px;
}

table.daniel TR
{
	vertical-align: top;
	border-bottom: solid 1px #dedede;
}

table.daniel td, table.daniel th
{
	white-space: nowrap;
	padding-left: 10px;
}


table.daniel tr.alt td
{
	background: #eee;
	border-top: solid 1px #ddd;
	border-bottom: solid 1px #ddd;
}


table.daniel tr th
{
	border-bottom: solid 1px #b0b0b0;
	font-weight: bold;
	line-height: 1.75em;
	text-align: left;
	font-size: 1.4em;
	color: #b0b0b0;
}

table.daniel tr th.last
{
	border-bottom: solid 1px #b0b0b0;
	font-weight: bold;
	line-height: 1.75em;
	text-align: right;
	font-size: 1.4em;
	color: #b0b0b0;
	padding-right:10px;
}

table.daniel th a
{
	font-weight: bold;
	color: #333;
	text-decoration: none;
}

table.daniel th a:hover
{
	text-decoration: underline;
	color: #0072bc;
}

/* ----------- invoice grid ----------- */

/* Common Styles */
.container
{
	width: 600px;
	border: solid 2px #bbbbbb;
	background-color: #fff;
}
.grid
{
	font-size: 1.2em;
}

/* Title Bar and Pager Styles */
.grid .titlebar
{
	padding-left: 7px;
	background: #ddd;
	height: 28px;
	line-height: 28px;
	font-size: 11pt;
	color: #0072bc;
}
.grid .titlebar .title
{
	font-weight: bold;
	float: left;
}

/* Pager Styles */
.grid .pager
{
	float: right;
	font-size: 9pt;
	padding-right: 15px;
}
.grid .pager .status
{
	padding-left: 5px;
	padding-right: 8px;
}
/* Footer Pager Styles */
.grid .footer .pager
{
	float: none;
	text-align: center;
	padding: 8px;
}
.grid .footer .pager INPUT.command
{
	padding: 0px 6px;
}
.grid .footer .pager SPAN.command, .grid .footer .pager SPAN.current, .grid .footer .pager A.command
{
	color: #666666;
	padding: 0px 5px;
	text-decoration: none;
	border: none;
	font-size: 12px;
}
.grid .footer .pager A.command:hover
{
	border: solid 2px #bbbbbb;
	color: #000;
	padding: 0px 3px;
	text-decoration: none;
}
.grid .footer .pager SPAN.current
{
	border: none;
	font-weight: bold;
	padding: 0px 6px;
	font-size: 16px;
}
/* Table Styles */
.grid .datatable
{
	width: 100%;
}
.grid .datatable TH, .grid .datatable TD
{
	text-align: left;
}
.grid .datatable TH
{
	/*border-bottom:solid 1px #b0b0b0;*/
	padding: 6px 8px;
	font-weight: bold;
	color: Gray; /*background-color:#e5e5e5;*/
	font-weight: bold;
	font-size: 1.2em;
	color: #b0b0b0;
	border-bottom: #b0b0b0 1px solid;
	text-align: left;
}
.grid .datatable TH A
{
	display: block;
	text-decoration: none;
	color: #000;
}
.grid .datatable TD
{
	border-top: solid 1px #e0e0e0;
	padding: 2px 8px;
	color: #111;
	white-space: nowrap;
	width: 45%;
}
.grid .datatable TH A:hover
{
	text-decoration: underline;
}
.grid .datatable .altrow TD
{
	background-color: #f9f9f9;
}
.grid .datatable TD.money
{
	color: Green;
}
.grid .datatable TD.type
{
	text-align: left;
}
.grid .datatable TD.total
{
	font-weight: bold;
	font-size: 1.1em;
	text-align: right;
}
.grid .datatable TD.totallabel
{
	width: 90%;
	font-weight: bold;
	font-size: 1.1em;
}
.grid p
{
	text-align: right;
}
