/* @override 
	http://localhost:7011/tang/ajax.css
	http://localhost:7001/tang/ajax.css
*/

@import url("calendar.css");

div.outer {
  position: relative;
  margin: 20px;
  margin-left: 50px;
  padding-bottom: 50px;
}

div.inner {
  position: relative;
  border-left: 2px solid #e0e0e0;
  border-right: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
  background-color: #e0e0e8;
  padding: 5px;
  width: 850px;
  font-family: sans-serif;
  font-size: 9pt;
  top: 60px;
  z-index: 0;
}

div.main {
  background-color: white;
  width: 665px;
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 2px inset #cccccc;
  border-top: 1px solid #eeeeee;
  border-left: 1px solid #eeeeee;
}

div.top {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #67B724;	/* This reduces flashing */
  background-image: url('banner.jpg');
  color: white;
  width: 850px;
  height: 60px;
  margin: 0px;
  padding-left: 14px;
  z-index: 1;
}

div.title {
  font-family: "Arial";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 12pt;
  font-weight: bold;
  color: #245900;
}

h2 {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: bold;
}

h3 {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: normal;
  text-decoration: underline;
}

h4 {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: bold;
}

a.action {
  color: #0000ff;
  text-decoration: none;
}

span.action, span.cellAction {
  color: #0000ff;
  cursor: pointer;
}

div.field {
  clear: both;
}

div.beforeField {
  margin-top: 3px;
  margin-bottom: 2px;
  width: 75%;
}

div.afterField {
  clear: both;
  margin-bottom: 5px;
  margin-top: 0px;
  width: 75%;
}

label.group, label.field, label.table {
  width: 125px;
  margin-bottom: 8px;
  text-indent: 0px;
  font-size: 9pt;
  float: left;
}

label.group, label.field {
  margin-top: 3px;
}

label.textArea {
  width: auto;
  display: inline;
  clear: both;
  float: none;
}

textarea.field {
  margin-left: 0px;
}

div.tip {
  position: absolute;
  font-size: 10px;
  color: #252525;
  margin-top: -3px;
  margin-left: 10px;
  padding: 0px;
  background-color: #f0ffd0;
  border: 1px solid black;
  display: none;
  padding: 5px;
  margin-top: 2px;
  clear: both;
  z-index: 1;
}

div.checkbox {
  margin-bottom: 5px;
  margin-left: 3px;
}

div.uneditable, span.uneditable {
  font-size: 9pt;
}

input.checkbox {
  margin: 0px;
}

label.uneditable {
  margin-top: 0px;
}

label.checkbox {
  font-size: 9pt;
  margin-left: 4px;
  clear: both;
}

label.radio {
  clear: both;
}

div.radio {
  margin-bottom: 8px;
}

span.inputArea {
}

span.example {
  position: absolute;
  left: 400px;
  display: inline;
  font-style: italic;
  color: #A6ACC2;
}

span.example:before {
  content: 'eg: '
}

/**********************************
 * This is VERY important!	  *
 * input.inline MUST override	  *
 * div.uneditable for tables to   *
 * work				  *
 **********************************/
div.inline, input.inline, select.inline, span.inline {
  display: inline;
}

div.fieldWarning {
  font-size: 7pt;
  font-family: sans-serif;
  color: #c45900;
  font-weight: bold;
  left: 120px;
  width: 180px;
  position: relative;
  clear: both;
}

input.invalid {
  background-color: #EEE7E7;
}

th.title {
  text-align: left;
  font-size: 10pt;
  font-weight: bold;
  color: #404040;
  border-bottom: 1px solid #e0e0e0;
}

th.column {
  text-align: left;
  font-size: 8pt;
  font-weight: bold;
  color: #a0a0a0;
  border-bottom: 1px solid #e0e0e0;
  padding-right: 8px;
}

td.empty {
  border: 0px;
  height: 50px;
  padding-top: 10px;
  vertical-align: top;
  font-weight: bold;
  color: #a0a0a0;
}

div.empty {
  border: 0px;
}

td.compact {
  height: auto;
}

td.right {
  text-align: right;
}

th.right {
  text-align: right;
}

td {
  font-family: sans-serif;
  padding-right: 8px;
}

table.normal {
  font-family: sans-serif;
  font-size: 8pt;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 5px;
}

table.compact {
  font-size: 9pt;
  padding-top: 0px;
  margin-top: 0px;
  border-top: 0px;
  font-family: sans-serif;
}

td.tang {
  vertical-align: top;
}

div.tabList {
  margin-top: 5px;
  padding-bottom: 0px;
}

div.tabBodyList {
  margin: 0px;
  padding: 0px;
  border-top: 2px solid #60a524;
}

div.tabBodyUnselected {
  display: none;
}

div.tabBodySelected {
  display: block;
}

table.tabList {
  border: 0px;
  margin: 0px;
  padding: 0px;
  border-spacing: 0px;
  border-collapse: collapse;
}

tr.tabList {
  margin: 0px;
  padding: 0px;
  border: 0px;
}

td.tabSelected {
  margin: 0px;
  padding: 0px;
  border: 0px;
  background-image: url('active-tab.png');
  background-position: top;
  cursor: pointer;
  vertical-align: middle;
  padding: 0px 10px 0px 10px;
}

div.tabSelected {
  color: #002f27;
  font-weight: bold;
  border: 0px;
  padding: 0px;
  margin: 5px 0px 5px 0px;
  white-space: nowrap;
  text-shadow: #ffffff 2px 2px 3px;
}

td.tabSelectedLeft {
  width: 1px;
  background-image: url('active-tab-left.png');
  background-position: top;
}

td.tabSelectedRight {
  width: 4px;
  background-image: url('active-tab-right.png');
}

td.tabUnselected {
  margin: 0px;
  padding: 0px;
  border: 0px;
  cursor: pointer;
  /* background-color: #0060af; */
  background-image: url('inactive-tab.png');
  background-position: top;
  vertical-align: middle;
  padding: 0px 10px 0px 10px;
  text-shadow: #ffffff 2px 2px 2px;
}

div.tabUnselected {
  color: #727538;
  font-weight: bold;
  border: 0px;
  padding: 0px;
  white-space: nowrap;
  text-shadow: #ffffff 2px 2px 3px;
  margin: 5px 0px 5px 0px;
}

td.tabUnselectedLeft {
  background-image: url('inactive-tab-left.png');
  background-position: top;
  width: 1px;
}

td.tabUnselectedRight {
  background-image: url('inactive-tab-right.png');
  background-position: top;
  width:  5px;
}

span.tableAction {
  cursor: pointer;
  font-size: 8pt;
  color: #e88080;
  text-decoration: underline;
  padding-left: 2px;
  font-weight: bold;
}

span.tableAction:hover {
  cursor: pointer;
  font-size: 8pt;
  color: #ff0000;
  text-decoration: underline;
  padding-left: 2px;
  font-weight: bold;
}

div.subtab {
  font-size: 7pt;
}

button {
  font-size: 8pt;
  font-family: sans-serif;
  color: #404040;
  margin-right: 5px;
  padding: 1px 3px 1px 3px;
  clear: both;
}

div.groupTitle {
  margin-top: 10px;
  margin-bottom: 8px;
  font-weight: bold;
  color: #404040;
  border-bottom: 1px solid #d0d0d0;
}

div.groupHeader {
  margin-top: 8px;
  margin-bottom: 8px;
  width: 500px;
}

div.labelledGroup {
  margin-left: 125px;
}

div.menubar {
  position: absolute;
  left: 700px;
  top: 65px;
  z-index: 2;
}

div.menutitle {
  font-size: 8pt;
  font-family: sans-serif;
  font-weight: bold;
  text-decoration: underline;
  color: #808080;
}

a.menuitem {
  font-size: 8pt;
  font-family: sans-serif;
  color: #444488;
  font-weight: bold;
  margin-left: 3px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

div.menu {
  background-color: white;
  width: 120px;
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 2px inset #cccccc;
  border-top: 1px solid #eeeeee;
  border-left: 1px solid #eeeeee;
}

div.breadcrumbs {
  position: absolute;
  top: 30px;
  left: 12px;
  font-size: 7pt;
  font-family: sans-serif;
  color: #245900;
  font-weight: bold;
  margin-left: 10px;
  width: 600px;
  z-index: 2;
}

span.breadcrumb {
  cursor: pointer;
  text-decoration: underline;
}

span.breadcrumbSeparator
{
  font-weight: normal;
  color: #245900;
  margin-left: 5px;
  margin-right: 5px;
}

div.warnings {
}

div.errorMessage {
  padding: 10px 10px 10px 10px;
  background-color: #ffdddd;
  margin: 5px;
  border: 2px solid #ffa0a0;
  background-image: url("/tang/errorMessage.png");
  background-repeat: no-repeat;
  background-position: 8px 8px;
}

div.warningMessage {
  padding: 10px 10px 10px 10px;
  border: 2px solid #ffa0a0;
  background-color: #ffbbbb;
  margin: 5px;
  background-image: url("/tang/warningMessage.png");
  background-repeat: no-repeat;
  background-position: 8px 10px;
}

div.failureMessage {
  padding: 10px 10px 10px 10px;
  border: 2px solid #ffa0a0;
  background-color: #ffbbbb;
  margin: 5px;
  background-image: url("/tang/failureMessage.png");
  background-repeat: no-repeat;
  background-position: 8px 8px;
}

div.infoMessage {
  padding: 10px 10px 10px 10px;
  border: 2px solid #a0a0f0;
  background-color: #e0e0ff;
  margin: 5px;
  background-image: url("/tang/infoMessage.png");
  background-repeat: no-repeat;
  background-position: 8px 9px;
}

div.formMessage {
}

div.messageTitle {
  display: inline;
  margin: 0px 5px 0px 20px;
  font-weight: bold;
  color: #ee0000;
}

div.formMessage div.messageTitle {
  display: none;
}

div.message {
  padding: 5px 0px 5px 0px;
  font-size: 9pt;
  color: #252525;
  display: inline;
}

span.fieldAction {
  color: blue;
  cursor: pointer;
  margin-left: 5px;
}

span.fieldAction:hover {
  text-decoration: underline;
}

div.table {
  overflow: auto;
}

div.compactTable {
}

div.popup {
  font-family: sans-serif;
  font-size: 9pt;
  border: 0px;
  margin: 0px;
}

div.popupContent {
  margin: 0px;
  background-color: white;
  min-width: 300px;
}

div.popupTitle {
  background-color: #80a080;
  border-top: 2px solid #4a6a4a;
  border-left: 2px solid #4a6a4a;
  border-right: 2px solid #4a6a4a;
  background-position: bottom;
  font-weight: bold;
  font-size: 12pt;
  color: white;
  padding: 5px;
}

div.popupTitleSelected {
  background-color: #80a080;
  border-top: 2px solid #4a6a4a;
  border-left: 2px solid #4a6a4a;
  border-right: 2px solid #4a6a4a;
  background-position: bottom;
  font-weight: bold;
  font-size: 12pt;
  color: white;
  padding: 5px;
}

div.popupBody {
  border-left: 2px solid #4a6a4a;
  border-right: 2px solid #4a6a4a;
  border-bottom: 2px solid #4a6a4a;
  padding: 5px;
}

div.popupShadow {
  background-color: black;
  filter: alpha(opacity=20);
  opacity: 0.2;
}

iframe.popup {
  background-color: black;
  padding: 0px;
  margin: 0px;
  border: none;
}





img.tableDecorationEnabled {
  visibility: visible;
  cursor: pointer;
  vertical-align: bottom;
  margin: 0px 2px 0px 2px;
}

img.tableDecorationDisabled {
  visibility: hidden;
  vertical-align: bottom;
  margin: 0px 2px 0px 2px;
}

div.tableControls {
  color: #a0a0a0;
  margin-bottom: 5px;
  font-size: 10px;
}

select.table {
  font-size: 10px;
}

img.csv {
  vertical-align: bottom;
  margin-left: 20px;
  border: 0px;
}

/*
  One of these is added after every field.
*/
div.fieldBreak {
  clear: both;
}

/*
  The "Please Wait" box.
*/
div#pleaseWaitBox {
  position: absolute;
  top: 200px;
  left: 200px;
  width: 245px;
  height: 132px;
  z-index: 4;
  display: none;
}

iframe#pleaseWaitFrame {
  display: none;
  border: 0px;
  position: absolute;
  top: 223px;
  left: 217px;
  width: 202px;
  height: 78px;
  z-index: 3;
}

img#pleaseWaitDot2, img#pleaseWaitDot3 {
  display: none;
}

img#pleaseWaitDot1 {
  position: absolute;
  top: 60px;
  left: 70px;
}

img#pleaseWaitDot2 {
  position: absolute;
  top: 60px;
  left: 100px;
}

img#pleaseWaitDot3 {
  position: absolute;
  top: 60px;
  left: 130px;
}

div.twikiTip {
  width: 300px;
  margin-right: 20px;
  margin-left: 5px;
  float: right;
  padding: 9px;
  border: 1px solid #000000;
  background-color: #ddffff;
}

div.twikiTipImage {
  background-image: url('twikiTip.png');
  width: 32px;
  height: 32px;
  float: left;
  margin-right: 5px;
}

div.twikiNote {
  width: 300px;
  margin-right: 20px;
  margin-left: 5px;
  float: right;
  padding: 9px;
  border: 1px solid #000000;
  background-color: #ddddff;
}

div.twikiNoteImage {
  width: 32px;
  height: 32px;
  margin-right: 5px;
  background-image: url('twikiNote.png');
  float: left;
}

div.twikiIndent {
  margin-left: 15px;
}

a.twikiHelp {
  padding-left: 18px;
  padding-top: 2px;
  height: 16px;
  background-image: url("/tang/help_16.png");
  background-repeat: no-repeat;
}

a.twikiEdit {
  padding-left: 18px;
  padding-top: 2px;
  height: 16px;
  background-image: url("/tang/edit_16.png");
  background-repeat: no-repeat;
  color: red;
}

a.print {
  padding-left: 18px;
  padding-top: 2px;
  height: 16px;
  background-image: url("/tang/print_16.png");
  background-repeat: no-repeat;
}

span.twikiLink {
  color: #b2b2b2;
}

@media print {
  div.breadcrumbs, div.menubar {
    display: none;
  }
  
  div.inner, div.main {
    border: none;
    background-color: transparent;
  }
  
  div.inner {
    top:  10px;
  }
  
  div.title {
    color: black;
  }
  
  span.tableAction {
    display: none;
  }
  
  button {
	display: none;
  }
  
  div.tableControls {
    display: none;
  }
  
  div.top {
    background-image: none;
    background-color: transparent;
  }
}

