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

@import url("calendar.css");

body {
  margin: 0px;
}

div.outer {
  background: url("/tang/page-background.png") repeat-x;
  width: 100%;
  padding: 0px;
  margin: 0px;
}

div.logo {
  position: absolute;
}

div.inner {
  position: relative;
  padding: 5px;
  padding-left: 200px;
  width: auto;
  font-family: sans-serif;
  font-size: 9pt;
  top: 65px;
  z-index: 0;
}

div.main {
  background-color: white;
  width: auto;
  margin-bottom: 10px; /* used to help menubar fit */
  padding: 5px 0 25px 5px;
  min-width: 750px;
}

div.top {
  position: absolute;
  top: 0px;
  left: 0px;
  color: white;
  width: 100%;
  height: 28px;
  z-index: 1;
  padding-bottom: 5px;
  padding-top: 5px;
}

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

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;
}

.noborder {
  border: 0px;
  font-size: inherit;
  font-face: inherit;
  color: inherit;
  background-color: inherit;
}

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: 600px;
  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;
  padding: 0px;
}

tr.tang {
}

tr.title {
  padding: 0px;
}

th.column {
  text-align: left;
  font-size: 8pt;
  font-weight: bold;
  color: #555;
  padding: 5px;
}

tr.column {
  border-top: 1px solid #e0e0e0;
  border: 1px solid #e0e0e0;
  background-color: #f7f7f7;
}

div.tableTitleLeft {
  width: 10px;
  height: 30px;
  background: url('inactive-tab-left.png') no-repeat;
  float: left;
}

div.tableTitleText {
  background: url('inactive-tab.png') repeat-x;
  height: 20px;
  padding-top: 10px;
  color: #c77448;
  font-weight: normal;
  font-style: normal;
  float: left;
}

div.tableTitleRight {
  width: 12px;
  height: 30px;
  background: url('inactive-tab-right.png') no-repeat;
  float: left;
}

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;
  border-collapse: collapse;
}

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

td.tang {
  vertical-align: top;
  padding: 5px;
  font-size: 9pt;
}

td.empty {
  border: 1px solid #e0e0e0;
  height: 50px;
  padding-top: 10px;
  vertical-align: top;
  color: #808080;
  background-color: #f8f8f8;
}

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

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

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: 2px 10px 0px 10px;
}

div.tabSelected {
  color: white;
  border: 0px;
  padding: 0px;
  margin: 5px 0px 5px 0px;
  white-space: nowrap;
  font-weight: bold;
}

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

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

td.tabUnselected {
  margin: 0px;
  padding: 0px;
  border: 0px;
  cursor: pointer;
  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: #c77448;
  border: 0px;
  padding: 0px;
  white-space: nowrap;
  margin: 5px 0px 5px 0px;
  font-weight: bold;
}

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

td.tabUnselectedRight {
  background-image: url('inactive-tab-right.png');
  background-position: inherit;
  background-repeat: no-repeat;
  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;
  top: 65px;
  bottom: 0px;
  left: 0px;
  width:  190px;
  z-index: 2;
  padding-top: 10px;
  padding-left: 5px;
  background-color: #efefef;
  
}

div.menutitle {
  font-size: 12pt;
  font-family: sans-serif;
  font-weight: bold;
  color: #121313;
  background-image: url("/tang/menu-title-background.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  padding-top:  7px;
  padding-left: 9px;
  width: 173px;
  height: 24px;
}

a.menuitem {
  font-size: 8pt;
  font-family: sans-serif;
  color: #4f4f4f;
  font-weight: normal;
  cursor: pointer;
  display: block;
  text-decoration: none;
  list-style-type: circle;
  width: 168px;
  padding-left: 7px;
}

a.menuitem:hover {
  text-decoration: underline;
}

div.menu {
  width: 120px;
  margin-left: 1px;
  margin-right: 5px;
  padding-left: 5px;
  width: 173px
}

div.menubody {
  padding-top: 5px;
  background: url(/tang/menu-item-background.png) repeat-y 0 101px;
}

div.menufooter {
  height: 11px;
  margin-left: 5px;
  margin-bottom: 10px;
  width: 173px;
  background-image: url("/tang/menu-footer-background.png");
}

div.menuseparator {
  height: 1px;
  background-color: #c6d7b7;
  width: 170px;
  margin-bottom: 2px;
  margin-top: 2px;
}

div.breadcrumbs {
  position: absolute;
  top: 38px;
  left: 0px;
  font-size: 10pt;
  font-family: sans-serif;
  color: white;
  font-weight: normal;
  margin-left: 0px;
  right:  0px;
  z-index: 2;
  padding-left: 45px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top: 1px solid #949494;
  border-bottom: solid 1px #c0c0c0;
  background-color: inherit;
}

span.breadcrumb {
  cursor: pointer;
}

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

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

div.warnings {
}

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

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

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

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

div.formMessage {
	max-width: 500px;
}

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 {
}

div.compactTable {
}

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

div.popupContent {
  opacity: 0.6;
}

div.popupContent.selected {
  opacity: 1.0;
}

div.popupContent {
  margin: 0px;
  background-color: inherit;
  min-width: 400px;
}

div.popupTitle {
  background-color: inherit;
  font-weight: bold;
  font-size: 12pt;
  color: white;

}

div.popupTitleSelected {
  background-color: inherit;
  font-weight: bold;
  font-size: 12pt;
  color: white;
}

table.popup {
  width: 100%;
  border-collapse: collapse;
}

td.popupLeft {
  width: 2px;
  background: url('active-tab-left.png') no-repeat;
}

td.popupRight {
  background: white url('active-popup-right.png') no-repeat;
  width: 15px;
  border: 0px;
}

td.popupTitle {
  background: url('active-tab.png') repeat-x;
  padding: 9px;
  width: auto;
}

div.popupBody {
  background-color: white;
  border-left: 2px solid #e56f37;
  border-right: 2px solid #e56f37;
  border-bottom: 2px solid #e56f37;
  padding: 5px;
}

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

iframe.popup {
  background-color: white;
  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;
}

@media print {
  div.breadcrumbs, div.menubar {
    display: none;
  }
  
  div.inner, div.main {
    border: none;
    background-color: ansparent;
  }
  
  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;
  }
  
  div.outer {
    background: none;
  }
  
  div.inner {
    padding-left: 10px;
    padding-top: 20px;
  }
}

