/* Tapestry styles all start with "t-" */
div.t-error {
 border: 1px solid red;
 padding: 0px;
 margin: 4px 0px;
}

div.t-error div {
 padding: 2px;
 display: block;
 margin: 0px;
 background-color: red;
 color: white;
 font-weight: bold;
}

div.t-error ul {
 margin: 2px 0px;
 background-color: white;
 color: red;
}

div.t-error li {
 margin-left: 20px;
}

html>body div.t-error li {
 margin-left: -20px;
}

.t-invisible {
 display: none;
}

label.t-error {
 color: red;
}

input.t-error,textarea.t-error {
 border-color: red;
 font-style: italic;
 color: red;
}

img.t-error-icon {
 margin-left: 4px;
 width: 16px;
 height: 16px;
 background: url(field-error-marker.gif);
}

img.t-autoloader-icon {
 margin-left: 4px;
 width: 16px;
 height: 16px;
 background: url(ajax-loader.gif);
}

img.t-sort-icon {
 margin-left: 4px;
}

div.t-exception-message {
 font-style: italic;
 font-size: 12pt;
 border: thin dotted silver;
 margin: 5px 0px;
 padding: 3px;
}

div.t-exception-report,div.t-env-data {
 font-family: sans-serif;
}

div.t-exception-report li {
 margin-left: -40px;
}

div.t-exception-report dt,div.t-env-data dt {
 color: green;
 padding-left: 2px;
 background-color: #FFFFCF;
}

div.t-exception-report li {
 list-style: none;
}

span.t-exception-class-name {
 display: block;
 margin-top: 15px;
 font-size: 12pt;
 background-color: #E1E1E1;
 color: blue;
 padding: 2px 3px;
 font-weight: bold;
}

span.t-exception-stack-controls {
 display: block;
 float: right;
}

ul.t-stack-trace li {
 font-family: sans-serif;
 font-size: 10pt;
 margin-left: -25px;
 list-style: square;
}

li.t-usercode-frame {
 font-weight: bold;
 color: blue;
}

li.t-omitted-frame {
 display: none;
 color: gray;
 list-style: square;
}

h1.t-exception-report {
 font-family: sans-serif;
 color: red;
}

div.t-exception-report dt:after {
 content: ":";
}

div.t-exception-report dd,div.t-env-data dd {
 margin-left: 10px;
}

table.t-data-table {
 border-collapse: collapse;
 margin: 0px;
 padding: 2px;
}

table.t-data-table th {
 background-color: black;
 color: white;
}

table.t-data-table td {
 border: 1px solid silver;
 margin: 0px;
}

div.t-beaneditor {
 display: block;
 background: #ffc;
 border: 2px outset brown;
 padding: 2px;
 font-family: sans-serif;
}

div.t-beaneditor-row {
 padding: 4px 0px 2px 0px;
}

div.t-beaneditor-row label:after {
 content: ":";
}

dl.t-beandisplay {
 display: block;
 padding: 2px;
 font-family: sans-serif;
 background: #CCBE99;
 border: 2px outset black;
 width: auto;
}

dl.t-beandisplay dt {
 width: 250px;
 display: inline;
 float: left;
 text-align: right;
 clear: left;
 padding-right: 3px;
 vertical-align: middle;
}

dl.t-beandisplay dt:after {
 content: ":";
}

div.t-beaneditor-row label {
 width: 250px;
 display: block;
 float: left;
 text-align: right;
 clear: left;
 padding-right: 3px;
 vertical-align: middle;
}

input.t-number {
 text-align: right;
}

div.t-beandisplay div.t-beandisplay-label {
 padding-right: 5px;
}

table.t-data-grid thead tr {
 color: white;
 background-color: #809FFF;
}

table.t-data-grid thead tr th {
 text-align: left;
 padding: 3px;
 white-space: nowrap;
}

table.t-data-grid {
 border-collapse: collapse;
}

table.t-data-grid tbody tr td {
 border-right: 1px solid silver;
 border-bottom: 1px solid silver;
 padding: 2px;
}

div.t-data-grid {
 font-family: sans-serif;
}

div.t-data-grid-pager {
 margin: 8px 0px;
}

div.t-data-grid-pager a,div.t-data-grid-pager span.current {
 text-decoration: none;
 color: black;
 padding: 2px 5px;
 font-size: medium;
 border: 1px solid silver;
 margin-right: 5px;
}

div.t-data-grid-pager a:hover {
 border: 1px solid black;
}

div.t-data-grid-pager span.current {
 color: white;
 background-color: #809FFF;
}

table.t-data-grid tr th a {
 color: white;
}

img {
 border: none;
}

div.t-env-data-section {
 padding-left: 5px;
}

div.t-env-data dd,div.t-exception-report dd {
 margin-left: 25px;
 margin-bottom: 10px;
}

div.t-env-data li {
 margin-left: -25px;
}

div.t-env-data-section {
 font-size: 12pt;
 background-color: #E1E1E1;
 color: blue;
 padding: 2px 3px;
 font-weight: bold;
}

table.t-location-outer {
 padding: 5px;
 border-collapse: collapse;
 border: 1px solid black;
 width: 100%;
}

td.t-location-line {
 width: 40px;
 text-align: right;
 padding: 0px;
 background-color: #E1E1E1;
 padding-right: 3px;
 border-right: 1px solid black;
}

td.t-location-content {
 border-top: 1px solid silver;
 border-right: 1px solid black;
 white-space: pre;
}

td.t-location-current {
 background-color: #FFFFCF;
}

td.t-location-content-first {
 border-top: 1px solid black;
}

table.t-data-grid thead tr th.nic,
table.t-data-grid tbody tr td.nic {
width:10%;
text-align:right;
padding:0 8px;
}

table.t-data-grid thead tr th.bcrCompanyId,
table.t-data-grid tbody tr td.bcrCompanyId
{
width:15%;
}

div.t-palette {
 display: inline;
}

div.t-palette select {
 margin-bottom: 2px;
 width: 220px;
}

div.t-palette-title {
 color: white;
 background-color: #809FFF;
 text-align: center;
 font-weight: bold;
 margin-bottom: 3px;
 display: block;
}

div.t-palette-available {
 float: left;
}

div.t-palette-controls {
 margin: 5px 5px;
 float: left;
 text-align: center;
}

div.t-palette-controls button {
 display: block;
 margin-bottom: 3px;
}

div.t-palette-controls button[disabled] img { 
/* removed to eliminate warnings in FF */
/* filter: alpha(opacity = 25); */ 
/* -moz-opacity: .25; */
 border: none; 
}

div.t-palette-selected {
 float: left;
 clear: right;
}

div.t-palette-spacer {
 clear: left;
}

img.t-calendar-trigger {
 padding-left: 3px;
 cursor: pointer;
}

div.t-autocomplete-menu {
 z-index: 9999;
}

div.t-autocomplete-menu ul {
 border: 2px outset #cc9933;
 background-color: #cc9933;
 padding: 4px 6px;
 overflow: auto;
}

div.t-autocomplete-menu li {
 color: white;
 list-style-type: none;
 padding: 0px;
 margin: 0px;
 border-bottom: 1px solid black;
 cursor: pointer;
}

div.t-autocomplete-menu li.selected {
 color: black;
 font-weight: bold;
}

div.t-error-popup span {
 background: transparent url('error-bevel-left.gif') no-repeat;
 display: block;
 line-height: 28px;
 margin-left: 0px;
 padding: 0px 5px 10px 22px;
}

html>body div.t-error-popup span {
 background: transparent url('error-bevel-left.png') no-repeat;
}

div.t-error-popup {
 background: transparent url('error-bevel-right.gif') no-repeat scroll top right;
 cursor: pointer;
 color: #FFF;
 display: block;
 float: left;
 font: normal 12px arial, sans-serif;
 height: 39px;
 margin-right: 6px;
 padding-right: 29px;
 text-decoration: none;
}

html>body div.t-error-popup {
 background: transparent url('error-bevel-right.png') no-repeat scroll top right;
}

ul.t-data-list li {
 list-style-type: square;
}

div.t-loading {
 display: inline;
 width: auto;
 font-weight: bold;
 padding-right: 20px;
 background: transparent url(ajax-loader.gif) no-repeat right top;
}

div.t-dialog-overlay {
 position: fixed;
 margin: auto;
 top: 0px;
 left: 0px;
 z-index: 9990;
 width: 100%;
 height: 100%;
 background: transparent url("dialog-background.gif");
}

div.t-page-loading-banner {
 position: absolute;
 top: 5px;
 left: 5px;
 width: auto;
 font-weight: bold;
 padding: 2px 4px 2px 24px;
 color: black;
 background: white url(ajax-loader.gif) no-repeat 4px center;
 border-right: 2px solid black;
 border-bottom: 2px solid black;
}