img {
	border: none;
}
a {
	color: #0000CC;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
h3 {
	margin: 4em 0 0.2em;
	font-size: 1.05em;
	color: #A8A8A8;
}
input,
select,
textarea {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border: 1px solid #999999;
	padding: 2px;
	background-color: white;
}
textarea,
pre {
	font-family: Courier, mono;
	font-size: 98%;
}
pre {
	font-family: Courier, mono;
	font-size: 100%;
}
input.submit {
	border: 1px solid #999999;
	background-color: #eeeeee;
	margin-right: 4px;
}
select {
	border: 1px solid #999999;
}


/*** Misc styles **********************************/
h5 {
	font-size: 100%;
	font-weight: bold;
}
h5 img {
	vertical-align: middle;
}
img.icon {
	margin-top: -1px;
	position: relative;
	top: 4px;
}
p.addnew {
	margin-top: 2em;
	margin-bottom: 2em;
}
.tablenote {
	text-align: right;
	margin-top: 0.5em;
	font-size: 90%;
}
p.message,
p.errormessage {
	position: relative;
	top: -2em;
	border: 1px solid #0099FF;
	background-color: #DDEEFF;
	padding: 8px;
	padding-left: 32px;
	background-image: url(../images/info.gif);
	background-repeat: no-repeat;
	background-position: 8px 10px;
	font-size: 95%;
	font-weight: bold;
	color: #0066FF;
}
p.errormessage {
	border: 1px solid #CC0000;
	background-color: #FFCCCC;
	background-image: url(../images/errormessage.gif);
	color: #CC0000;
}
p.message a,
p.errormessage a {
	color: inherit;
	text-decoration: underline;
}
div.details {
	position: relative;
	padding: 0.4em 0.8em;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
}
.details p,
.details h5 {
	margin: 0;
	padding: 0;
}
.details h5 {
	display: block;
	float: left;
	width: 29%;
	font-weight: normal;
}
.details h5.full {
	clear: left;
}
.details p {
	display: block;
	float: left;
	width: 20%;
	font-weight: bold;
}
.details p.full {
	display: block;
	float: left;
	width: 65%;
}
.details .alt {
	font-weight: normal;
}
.details p.break {
	margin: 0.5em;
	float: left;
	width: 100%;
	clear: right;
}
p.totals {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	padding: 0.4em 0.8em;
	margin-top: 0;
}
.pager {
	margin-top: 3em;
	text-align: center;
	color: black;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 0.4em;
}
.small {
	font-size: .95em;
}

/*** Header/Foorer ********************************/
#printheader {
	display: none;
}
#header,
#footer {
	height: 92px;
	background-image:  url(../images/bg-top-center.png);
	background-position: top left;
	background-repeat: repeat-x;
	background-color: #000099;
	white-space: nowrap;
	color: white;
}
#headleft,
#footleft {
	float: left;
	width: 40px;
	height: 92px;
/*
	background-image:  url(../images/bg-top-left.png);
	background-position: top left;
*/
}
#headright,
#footright {
	float: right;
	width: 40px;
	height: 92px;
/*
	background-image:  url(../images/bg-top-right.png);
	background-position: top right;
*/
}
#header h1 {
	position: relative;
	display: block;
	font-size: 180%;
	font-weight: bold;
	margin: 0;
	padding-top: 46px;
	margin-left: 40px;
}
#header #loggedin {
	float: right;
	font-size: 95%;
	margin-top: 20px;
}
#footer {
	height:50px;
	background-image:  url(../images/bg-bottom-center.png);
	background-position: bottom left;
	background-color: white;
}
#footleft {
	height: 50px;
	width: 40px;
}
#footright {
	height: 50px;
	width: 40px;
}
#footer a {
	display: block;
	width: auto;
	height: 24px;
	float: right;
	font-size: 90%;
	font-weight: bold;
	color: #666666;
	padding-left: 20px;
	background-image: url(../images/logout.gif);
	background-repeat: no-repeat;
	background-position: 0 1px;
}


/*** Body *****************************************/
#body {
	background-image:  url(../images/bg-left.png);
	background-position: top left;
	background-repeat: repeat-y;
	background-color: white;
}
#body #w1 {
	background-image:  url(../images/bg-right.png);
	background-position: top right;
	background-repeat: repeat-y;
}
#body #w2 {
	margin: 0 18px 0 18px;
	background-image: url(../images/bg-body-top.gif); 
	background-position: top left; 
	background-repeat: repeat-x;
	padding: 0 0 48px 180px;
}
#body #main {
	width: 90%;
	margin: 0 auto;
	padding: 48px 16px 0 0;
	min-height: 300px;
	height: 300px;
}

#body div[id]#main {
	height: auto;
}


/*** Breadcrumbs **********************************/
#bread {
	border-bottom: 1px dashed #cccccc;
	margin-bottom: 4em;
	padding-left: 1em;
	font-size: 1.05em;
}

#bread ul {
	display: block;
	font-weight: bold;
	margin: 0;
	padding: 0;
	list-style: none;
	padding-bottom: 1.75em;
}
#bread li {
	padding-left: 12px;
	background-image: url(../images/arrow.gif);
	background-repeat: no-repeat;
	background-position: 0 0.7em;
	float: left;
	display: inline;
	margin-right: 8px;
	color: #666666;
}
#bread a {
	color: black;
}

fieldset.intro {
	margin-top: -2em;
	margin-bottom: 3em;
	text-align: justify;
	background-color: #FFFFCC;
	color: #333333;
	font-size: .95em;
}


/*** Main menu ************************************/
#mainmenu {
	background-image:  url(../images/bg-left.png);
	background-position: top left;
	background-repeat: repeat-y;
	background-color: white;
	height: 24px;
}
#mainmenu div {
	background-image:  url(../images/bg-right.png);
	background-position: top right;
	background-repeat: repeat-y;
	height: 24px;
	padding: 0 34px;
}
/*
#mainmenu {
	float: right;
	height: 21px;
	width: 50%;
	position: relative;
	top: -21px;
	font-size: 1.05em;
	margin-right: 16px;
}
*/
#mainmenu ul {
	font-weight: bold;
	margin: 0;
	padding: 0;
	list-style: none;
	padding-top: 3px;
}
#mainmenu li {
	padding-left: 11px;
	height: 21px;
	background-image: url(../images/tab-first.gif);
	background-repeat: no-repeat;
	background-position: top left;
	float: right;
	display: inline;
	color: #666666;
	border-right: 1px solid #CCCCCC;
}
#mainmenu li a {
	display: block;
	width: auto;
	height: 19px;
	text-align: center;
	background-image: url(../images/tab-bg.gif);
	background-repeat: repeat-x;
	background-position: top left;
	color: black;
	padding-top: 2px;
	padding-left: 8px;
	padding-right: 12px;
	white-space: nowrap;
}
#mainmenu .sel a {
	text-decoration: underline;
}

/* IE hack */
* html #mainmenu li a {
	width: 1px;
}


/*** Menu laterale ********************************/
#menu {
	display: block;
	position: absolute;
	left: 0px;
	top: 120px;
	width: 202px;
	height: 1px;
	visibility: hidden;
}
#menutop {
	width: 202px;
	height: 42px;
}
#menucontent {
	width: 202px;
}
#menubottom {
	width: 202px;
	height: 42px;
	cursor: pointer;
}
#menutop span {
	display: block;
	text-align: center;
	font-weight: bold;
	color: white;
	font-size: 100%;
	padding-top: 19px;
}
#menubottom span {
	display: block;
	text-align: center;
	color: #999999;
	font-weight: bold;
	font-size: 80%;
	padding-top: 8px;
}
#menu ul {
	position: relative;
/*
	top: -522px;
*/
	display: block;
	font-size: 95%;
	font-weight: bold;
	padding: 16px 20px;
	margin: 0;
	list-style: none;
}
#menu li
{
	padding-left: 12px;
	background-image: url(../images/arrow.gif);
	background-repeat: no-repeat;
	background-position: 0 0.7em;
}
#menu li.separate {
	margin-top: 24px;
	border-top: 1px dashed #666666;
}
#menu li a
{
	color: black;
	text-decoration: none;
}
#menu .help {
/*
	position: relative;
	top: -570px;
*/
	display: block;
	font-size: 95%;
	font-weight: bold;
	padding: 4px 20px 16px;
	list-style: none;
	color: #666666;
}
#menu h3 {
/*
	position: relative;
	top: -540px;
*/
	padding: 0 4px;
	margin: 16px 27px 0;
	border-bottom: 1px dashed #cccccc;
	font-size: 95%
}
#menu ul.help span {
	display: block;
	font-weight: normal;
	font-size: 10px;
	line-height: 110%;
	padding-right: 12px;
	margin-left: 0px;
}



/*** Tabelle **************************************/
.table {
	width: 100%;
	margin: 0;
	padding: 0;
	margin-top: 3em;
}
.table th {
	font-weight: bold;
	border-bottom: 1px solid #CCCCCC;
	padding: 0.4em 0.8em;
}
.table th a {
	color: #000099;
	white-space: nowrap;
}
.table th a img {
	margin-left: 4px;
}
.table td {
	border-bottom: 1px solid #CCCCCC;
	padding: 0.4em 0.8em;
}
.aleft	{
	text-align: left;
}
.aright,
.toolbar {
	text-align: right;
}
.acenter {
	text-align: center;
}
td.light {
	background-color: #FFFFFF;
}
td.dark {
	background-color: #F6F6F6;
}
td.redlight {
	background-color: #FFEEEE;
}
td.reddark {
	background-color: #F6E6E6;
}
td.greenlight {
	background-color: #CCFFCC;
}
td.greendark {
	background-color: #C6F6C6;
}
td.nblight {
	background-color: #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
}
td.nbdark {
	background-color: #F6F6F6;
	border-bottom: 1px solid #F6F6F6;
}
td.nbredlight {
	background-color: #FFEEEE;
	border-bottom: 1px solid #FFEEEE;
}
td.nbreddark {
	background-color: #F6E6E6;
	border-bottom: 1px solid #F6E6E6;
}
td.nbgreenlight {
	background-color: #CCFFCC;
	border-bottom: 1px solid #CCFFCC;
}
td.nbgreendark {
	background-color: #C6F6C6;
	border-bottom: 1px solid #C6F6C6;
}
td.dblight {
	background-color: #FFFFFF;
	border-bottom: 3px double #999999;
}
td.toolbar {
	font-size: 95%;
}
td.toolbar a,
td.toolbar span {
	margin-left: 16px;
}
td.toolbar span {
	color: #999999;
}
td.triangle img {
	margin-top: 3px;
	margin-right: 4px;
	float:left
}
td.triangle span,
td.triangle a {
	color: #666666;
	font-weight: bold;
	font-size: 95%;
}
/*
td.triangle .client {
	color: #9999CC;
}
*/
td.triangle span {
	display: block;
	padding-left: 20px;
}
th.triangle span {
	margin-left: 20px;
}
td.details {
	font-size: 90%;
}
td.details .toolbar {
	clear: both;
	text-align: right;
/*	font-size: 110%;*/
	margin: 0.4em 0 0;
	border-top: 1px solid #cccccc;
	padding-top: 0.4em;
}
td.details .toolbar a {
	margin-left: 16px;
}


/*** Contact header ************************************/

#contactheader .selector {
	border-bottom: 1px solid #cccccc;
	text-align: right;
	padding-bottom: 0.5em;
}
#contactheader .selector a,
#contactheader .selector span {
	display: block;
	width: auto;
	float: left;
	margin-right: 3em;
}
#contactheader .alpha {
	padding: 0;
	margin: 0;
	margin-top: 0.5em;
	text-align: center;
}
#contactheader .alpha a {
	font-family: "Courier New", Courier, mono;
	display: inline;
	margin-right: 0.2em;
	padding: 0.2em 0.4em;
	border: 1px solid #cccccc;
	background-color: #f6f6f6;
}
#contactheader .alpha a.selected {
	background-color: #cccccc;
}



/*** Recieve history ************************************/

#receiveheader .selector {
	border-bottom: 1px solid #cccccc;
	text-align: left;
	padding-bottom: 0.5em;
}
#frmRcvHistory .top {
	padding: 0;
	margin: 0;
	margin-top: 0.5em;
	text-align: right;
	padding-bottom: 0.5em;
}
#frmRcvHistory .bottom {
	margin-top: 0.5em;
}


/*** Quickform ************************************/

fieldset {
	clear: both;
	display: block;
	margin-top: 2em;
	padding: 8px;
	border: 1px solid #cccccc;
}
legend {
	font-weight: bold;
	color: #000099;
}
.quickform div {
	clear: both;
}
.quickform .default label,
.quickform .required label,
.quickform .default .group,
.quickform .required .group {
	float: left;
	width: 30%;
	margin-top: 10px;
/*	white-space: nowrap; */
	padding-left: 2%;
}
.quickform .default input,
.quickform .required input,
.quickform .default textarea,
.quickform .required textarea {
	width: 65%;
	margin-top: 8px;
}
.quickform .default select,
.quickform .required select {
	margin-top: 8px;
}
.quickform .default .frozen,
.quickform .required .frozen {
	display: block;
	float: left;
	width: 65%;
	margin-top: 10px;
	margin-bottom: 8px;
	font-weight: bold;
}
.quickform .checkbox label {
	float: left;
	margin-top: 8px;
	margin-left: 4px;
}
.quickform .checkbox input {
	float: left;
	margin-top: 12px;
	margin-left: 24px;
	margin-bottom: 10px;
	border: 0;
}
.quickform .checkbox tt {
	float: left;
	padding-left: 2%;
	margin-top: 8px;
	margin-bottom: 8px;
	border: 0;
	font-size: 1.2em;
	font-weight: bold;
}
.quickform .frozenspace {
	width: 1px;
	height: 1px;
	clear: none;
}
.quickform .separator {
	margin-top: 8px;
	border-top: 1px dashed #CCCCCC;
}
.quickform .required {
	background-image: url(../images/star-red.gif);
	background-repeat: no-repeat;
	background-position: 0 1em;
}
.quickform .footer {
}
.quickform .footer p {
	background-image: url(../images/star-red.gif);
	background-repeat: no-repeat;
	background-position: 0.8em 0.4em;
	font-size: 80%;
	margin: 12px 0 0;
	padding-left: 2em;
}
.quickform .footer div {
	font-size: 80%;
	text-align: right;
	margin-top: 16px;
	margin-bottom: 8px;
}
.quickform .error {
	padding: 4px;
	border: 1px dashed #cc0000;
	background-color: #FFCCCC; 
	font-weight: bold;
}
.quickform .error p {
	margin: 0;
	padding: 4px;
	color: #cc0000;
}
.quickform .multiselect  {
	width: 65%;
	height: 2em;
	overflow: auto;
	clear: none;
	float: left;
	border: 1px solid #999999;
}
.quickform .multirow {
	width: auto;
	padding: 0.2em;
	padding-left: 1em;
}
.quickform .multirow label {
	float: none;
	display: inline;
	margin: 0;
	width: 90%;
}
.quickform .multirow input {
	width: auto;
	clear: none;
	float: none;
	display: inline;
	margin: 0;
	border: 0;
}
.quickform .even {
	background-color: #F6F6F6;
}
.quickform .odd {
	background-color: #eeeeee;
}
.quickform input.billtext {
	width: 6%;
}
.quickform input.billheader {
	width: 6%;
	text-align: center;
	font-weight: bold;
}
.quickform img.billtext {
	margin: 0 4px 0 2px;
	padding: 4px 0;
	cursor: pointer;
}
.quickform img.billheader {
	margin: 0 4px 0 2px;
	padding: 4px 0;
	cursor: pointer;
	visibility: hidden;
}


/*
Menu related selectors
*/
.jsdomenudiv {
	background-color: #FFFFFF;
	background-image: url(../images/office_xp_menu_left.png);
	background-repeat: repeat-y;
	border: 1px solid #8A867A;
	cursor: default;
	padding-bottom: 1px;
	padding-top: 1px;
	position: absolute; /* Do not alter this line! */
	visibility: hidden;
	z-index: 10;
}

.jsdomenuitem {
	background: transparent;
	border: none;
	color: #000000;
	font-size: 0.9em;
	padding-bottom: 3px;
	padding-left: 30px;
	padding-right: 15px;
	padding-top: 3px;
	position: relative; /* Do not alter this line! */
}

.jsdomenuitemover {
	background-color: #C1D2EE;
	border: 1px solid #316AC5;
	color: #000000;
	font-size: 0.9em;
	margin-left: 1px;
	margin-right: 1px;
	padding-bottom: 2px;
	padding-left: 28px;
	padding-right: 15px;
	padding-top: 2px;
	position: relative; /* Do not alter this line! */
}

.jsdomenuarrow {
	background-image: url(../images/office_xp_arrow.png);
	background-repeat: no-repeat; /* Do not alter this line! */
	height: 7px;
	position: absolute; /* Do not alter this line! */
	right: 8px;
	width: 4px;
}

.jsdomenuarrowover {
	background-image: url(../images/office_xp_arrow_o.png);
	background-repeat: no-repeat; /* Do not alter this line! */
	height: 7px;
	position: absolute; /* Do not alter this line! */
	right: 8px;
	width: 4px;
}

.jsdomenusep {
	padding-left: 28px;
}

.jsdomenusep hr {
}

/*
Menu bar related selectors
*/
.jsdomenubardiv {
	background-color: #ECE9D8;
	background-image: url(../images/office_xp_divider.png);
	background-position: left;
	background-repeat: no-repeat;
	border: 1px outset;
	cursor: default;
	padding-bottom: 3px;
	padding-left: 1px;
	padding-right: 1px;
	padding-top: 3px;
	position: absolute; /* Do not alter this line! */
	visibility: visible;
}

.jsdomenubardragdiv {
	cursor: move;
	display: inline;
	font-size: 0.9em;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	position: relative; /* Do not alter this line! */
	visibility: hidden;
	width: 9px;
}

.jsdomenubaritem {
	background-color: #EFEDDE;
	border: none;
	color: #000000;
	display: inline;
	font-size: 0.9em;
	padding-bottom: 2px;
	padding-left: 24px;
	padding-right: 10px;
	padding-top: 2px;
	position: relative; /* Do not alter this line! */
}

.jsdomenubaritemover {
	background-color: #C1D2EE;
	border: 1px solid #316AC5;
	color: #000000;
	display: inline;
	font-size: 0.9em;
	padding-bottom: 2px;
	padding-left: 23px;
	padding-right: 9px;
	padding-top: 2px;
	position: relative; /* Do not alter this line! */
}

.jsdomenubaritemclick {
	background-color: #EFEDDE;
	border: 1px solid #8A867A;
	color: #000000;
	display: inline;
	font-size: 0.9em;
	padding-bottom: 2px;
	padding-left: 23px;
	padding-right: 9px;
	padding-top: 2px;
	position: relative; /* Do not alter this line! */
}


.jsdomicontbl {
	background-image: url(../images/icon-table.gif);
	background-repeat: no-repeat; /* Do not alter this line! */
	height: 13px;
	left: 4px;
	position: absolute; /* Do not alter this line! */
	width: 13px;
}

.jsdomiconrow {
	background-image: url(../images/icon-table-row.gif);
	background-repeat: no-repeat; /* Do not alter this line! */
	height: 13px;
	left: 4px;
	position: absolute; /* Do not alter this line! */
	width: 13px;
}

.jsdomiconcol {
	background-image: url(../images/icon-table-col.gif);
	background-repeat: no-repeat; /* Do not alter this line! */
	height: 13px;
	left: 4px;
	position: absolute; /* Do not alter this line! */
	width: 13px;
}


@media print {
	#header,
	#mainmenu,
	#menu,
	#footer {
		display: none;
	}
	
	body,
	#body,
	#body #w1,
	#body #w2,
	#body #main {
		margin: 0 !important;
		padding: 0 !important;
		background: none;
	}
	
	#printheader {
		display: block;
		padding: 1em;
		margin-bottom: 2em;
	}
	#printheader h1 {
		font-size: 1.5em;
		border-top: 2px solid black;
		border-bottom: 2px solid black;
		margin: 0;
	}
}