body {
	margin: 0;
	border: 0;
}

#innerBody {
	margin: 2em;
	margin-top: 1em;
}

#pageMsg, .msg {
	width: 89.5%;
	margin-left: 5%;
	margin-right: 5%;
	margin-top: 3px;
	margin-bottom: 3px;
	border: solid 1px red;
	text-align: center;
}

.note {
	background: lightyellow;
	border: 1px solid yellow;
	display: table;
	margin-top: 0;
	//display: inline;
}

.blanktemplateMenu {
	position: fixed;
	//position: absolute;
	z-index: 1000;
	padding: 0 4em 0 4em;
	margin-left: -2em;
	top: 0;
	min-width: 4%;
	text-align: left;
	background: lightyellow;
	border: solid 1px orange;
}

.subMenu {
	position: absolute;
	background: #e0e0e0;
	border: 2px outset #e0e0e0;
	visibility: hidden;
	z-index: 20;
	padding: 0px 4px 0px 4px;
}

.reportTd { height: 0.7cm; }
.reportTdDiv { width: 100%; height: 100%; overflow: hidden; padding-top: 0.15cm; }

.tableWidget td {
	border: solid 1px gray;
	border-bottom: none;
	border-left: none;
	padding: 1px 4px 2px 4px;
}

.tableWidget th {
	background: lightblue;
	padding: 0 4px 0 4px;
}

.tableWidget.editable th {
	color: rgb(192,0,0);
}

.tableWidget.editable th.noedit {
	color: black;
}

.tableWidget {
	border: solid 1px black;
	border-collapse: collapse;
	empty-cells: show;
}

.tableWidget td:last-child {
	border-right: none;
}

.tableWidget {
	cursor: default;
}

.dtTemplate {
	display: none;
}

.dtDelCell {
	background: #cfcfcf;
}

.dtSelected .dtDelCell {
	background: red;
}

.dtMenu {
	width: 100%;
	background: lightgreen;
}

label {
	-moz-user-select: none;
}

/*Grouping*/
.tableWidget th.group {
	border: solid 1px black;
}

.tableWidget th.title.group.group0 { }
.tableWidget th.title.group.group1 { padding-left: 1em; }
.tableWidget th.title.group.group2 { padding-left: 2em; }

.tableWidget th.title { background: rgb(233,233,255); }

.tableWidget.grouped td.first { padding-left: 1em; }

/** Bar graphs **/

.barGraph.horizontal {
	width: 100%;
}

.barGraph.horizontal .barCell {
	width: 90%;
}

.barGraph.horizontal .labelCell {
	text-align: right;
}

.barGraph.horizontal .countCell {
	color: rgb(128,128,128);
}

.bar {
	background: red;
	height: 1em;
}

.searchControlSelected {
	background: lightblue;
}

.searchControlDropDown {
	background: white;
	-moz-opacity: 0.95;
}

.menuItem {
	display: block;
}

.menuArrow {
	position: relative;
}

a.menuItem {
	/*background: red;*/
}

.selectMenu {
	background: #aaccff;
}

.selectMenuBar {
	width: 100%;
	background: #aaccff;
}

select {
	z-index: -20;
}

.searchBoxTable {
	/*border-collapse: collapse;
	border: black 1px inset;*/
}

.searchBoxTable td {
	/*margin: 0px;
	border: black 1px inset;*/
}

body, p, td, input, select, textarea {
	font-family: Arial;
	font-size: 8pt;
}

input, select, textarea {
	padding: 0;
}

textarea {
	font-family: Courier New;
}

#mainmenu {
	border-bottom: solid 1px black;
	border-top: solid 1px black;
	background: lightblue;
	padding-left: 7px;
	font-weight: bold;
	color: blue;
}

#mainmenu a {
	color: blue;
}

#mainmenu, #pagesubmenu, .secondMenu {
	margin-bottom: 10px;
}

/*.reportHeaderCell*/
.rcGroup1Footer, .rcGroup2Footer, .rcGroup3Footer, .rcGroup4Footer {
	 border-top: solid 1px black;
	 border-bottom: solid 1px black;
}

.rcHeader {
	border-bottom: solid 3px gray;
	font-weight: bold;
}

.mainMenuItem {
}

.mainMenuItemSelected {
	color: red;
}

.secondMenu {
	display: none;
	/*border-bottom: solid 1px blue;*/
	margin-left: 20px;
}

#pagesubmenu {
	/*border-bottom: solid 1px blue;*/
	margin-left: 40px;
}

th {
	text-align: left;
}

.newLink {
	color: red;
}

a {
	color: blue;
}

h1 {
	border-bottom: dotted 1px black;
	padding-left: 20px;
	margin-bottom: 10px;
	font-size: 16pt;
	font-family: arial;
}

h3 {
	margin-top: 3pt;
	margin-bottom: 0pt;
	font-size: 12pt;
}

address.title {
	margin-top: -10px;
	text-align: right;
	font-family: verdana;
	margin-bottom: 0px;
}

strong.very {
	color: red;
}

.menuLink {
	color: blue;
}

#mainContent {
	margin: 7px;
}

#msgStatus {
	border: 0px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 40px;
}

.componentToolbar {
	background: lightblue;
	width: 100%;
	padding: 1px;
	margin-top: 3px;
}

.componentToolbarTitle {
	font-weight: bold;
	margin-right: 15px;
}

.componentToolbarLink {
	padding: 1px;
}

.componentToolbarLink:hover {
	border: outset 1px;
	padding: 0px;
}

.searchBoxParent {
	text-align: center;
}

.searchBox {
	background: lightyellow;
	border: solid 1px black;
}

.searchBoxBottom, .searchBoxNewSection {
	border-top: solid 1px black;
	padding-top: 5px;
}

.searchList {

}

.searchControlDropDown {
	background: white;
	border: solid 1px black;
	/*overflow: scroll;*/
}

.searchControlSelected {
	background: blue;
	color: white;
}

.fieldLabel, .fieldValue, .fieldLabelRequired, .fieldValueRequired {
	height: 8pt;
	font-size: 8pt;
}

.fieldLabelRequired,
.fieldLabel { float: left; margin-top: 4px; }
.fieldValueRequired,
.fieldValue { float: right; text-align: right; }

.fieldLabelRequired { font-weight: bold; }

.customerCardMenu {
	margin-top: -10px;
}

.form {
	border-collapse: collapse;
	border: solid 1px black;
}

.searchformParent {
	margin-left: auto;
	margin-right: auto;
	border: 0;
	border-collapse: collapse;
}

.searchformParent + td {
	padding: 0;
}

.formToolbar {
	padding-left: 10px;
	padding-bottom: 2px;
	background: lightgreen;
	border: none;
	margin: none;
}

.formToolbar ul {
	display: inline;
	margin: 0;
	padding: 0;
}

.formToolbar li {
	display: inline;
	margin: 0;
	padding: 0;
}

.formNew:hover {
	border: solid 1px red;
}

.searchform {
	border-collapse: collapse;
	border: solid 1px black;
	background: lightyellow;
	margin-left: auto;
	margin-right: auto;
}

.searchform .controls {
	text-align: right;
}

.controls.top input.deletebutton {
	display: none;
}

.searchform td {
	vertical-align: top;
}

.record td {
	vertical-align: top;
}

.record {
	background: lightyellow;
	border: solid 1px black;
}

.record .controls {
	text-align: right;
}

.record .deletebutton {
	margin-right: 10em;
}

/*.record td {
	border: solid 1px black;
}*/

.collapseField {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.collapseEntry {
	text-align: right;
}

.collapseEntry input.plain, .collapseEntry textarea.plain {
	width: 95%;
	width: 95%;
	min-width: 10em;
}

.collapseLabel {
	width: 1%;
}

.form .label .required {
	color: red;
}

.form .controls {
	text-align: right;
}

.pageControls {
	width: 75%;
	margin-left: auto;
	margin-right: auto;
}

.pageControls td.first,
.pageControls td.previous,
.pageControls td.next,
.pageControls td.last {
	width: 10%;
}

.pageControls td {
	width: 5%;
	text-align: center;
}

.inPageMenu {
	margin: 1em;
}

ul.tabs {
	background: lightblue;
	padding: 6px 2px;
	display: block;
	margin-left: 0;
	margin: 0;
}

ul.tabs li {
	display: inline;
	margin-left: -1px;
	border: solid 1px black;
	border-bottom: none;
	padding: 6px 4px;
	-moz-border-radius: 9px 9px 0px 0px;
}

ul.tabs li.currentTab {
	background: blue;
}

ul.tabs li.currentTab a {
	color: white;
}

.tabs .tabsExtra {
	margin-top: -3px;
	float: right;
}

/** Menus at top of page **/

#Menu_Main {
	padding: 0.3em 0 0.3em 0;
	border-top: solid 1px black;
	border-bottom: solid 1px black;
	font-weight: bold;
	font-size: 8pt;
}

#Menu_Main h6 {
	display: none;
}

ul.topMenu, ul.topMenu a {
	color: blue;
}

ul.topMenu {
	width: 100%;
	background: lightblue;
	font-size:9pt;
	font-family: arial;
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	margin-bottom: 1.3em;
}

ul.topMenu li {
	display: inline;
	/*border-left: solid 1px gray;*/
	padding: 0 0.7em 0 0.7em;
	margin-top: 2px;
	margin-left: 2px;
	cursor: default;
}

ul.topMenu li a {
	/*cursor: default;*/
}

ul.topMenu .selected {
	color: red;
}

ul.topMenu li:hover {
	background: lightyellow;
	color: red;
}

ul.topMenu li.first {
	/*padding: 0 0.5em 0 0;*/
	border: none;
}

ul.topMenu.level1 {
	background: white;
	display: none;
}

ul.topMenu.level2 {
	background: white;
	display: none;
}

ul.topMenu h6 {
	display: inline;
	padding: 0 1em;
	font-size: 8pt;
	color: red;
}

ul.topMenu.level1 h6 {
	padding: 0 1em 0 2em;
}

ul.topMenu a.new {
	color: red;
}

.tableWidget .incidental {
	margin-left: 2em;
}

.tableWidget .incidental a {
	color: rgb(192,192,192);
}

input[readonly] {
	background: transparent;
	border: solid 1px black;
	padding-left: 2px;
}

#modalMessage {
	position: absolute;
	text-align: center;
	top: 30%;
	left: 15%;
	width: 70%;
	font-size: 14pt;
	font-weight: bold;
	padding: 1em;
	background: white;
	border: solid 1px red;
}

.statsSummaryBox {
	border: solid 1px black;
	padding: 1px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}

.statsSummaryBox ul {
	margin: 0;
	padding: 0;
	padding-right: 4px;
}

.statsSummaryBox li {
	display: inline;
	margin: 0;
	padding-left: 4px;
}

#debuggingMessagePane {
	position: fixed;
	right: 0;
	bottom: 0;
	width: 60%;
	height: 10em;
	overflow: scroll;
	border: solid 1px red;
	background: transparent;
	white-space: pre;
}