/*=== Item actions ===*/

.item-actions {
  position:   relative;
  text-align: right;
  clear:      both;
}

.item-action {
  margin-left: 3px;
}

/* === Tabs === */

.tabs {
  white-space:   nowrap;
  margin:        12px 0 0 0;
  padding:       0px;
  list-style:    none;
  border-bottom: 1px solid #AAAAAA;
}

.tabs li {
  display:     inline;
  margin-left: 10px;
  padding:     2px 10px 0px 10px;
  border:      1px solid #AAAAAA;
}

.tabs .selected {
  border-bottom: 1px solid #FFFFFF;
  font-weight:   bold;
}

.tabPage {
  position:         relative;
  padding:          4px;
  border-style:     solid;
  border-width:     1px;
  border-color:     #AAAAAA;
  border-top-style: none;
}

/*=== Forms ===*/

.form {
  margin-top:    8px;
  margin-bottom: 8px;
  border-style:  solid;
  border-width:  1px;
  border-color:  #DDDDDD;
}

.form-section {
  margin-bottom: 6px;
}

.form-header {
  font-size:        14px;
  font-weight:      bold;
  padding-left:     4px;
  padding-right:    4px;
  background-color: #C0C0C0;
}

.form-header-error {
  font-size:        14px;
  font-weight:      bold;
  color:            #DD7417;
  padding-left:     4px;
  padding-right:    4px;
  background-color: #FFD8C0;
}

.form-body {
  padding-top:    4px;
  padding-bottom: 4px;
  padding-left:   8px;
  padding-right:  8px;
}

.form-field {
  margin-bottom: 4px;
}

.form-caption {
  padding-right:  4px;
  white-space:    nowrap;
  vertical-align: top;
}

.form-value {
  width: 100%;
}

.dateTimeField .form-value {
  width: 102px;
}

.dateTimePeriod .form-value {
  width: 102px;
}

.form-short-value {
  margin-left: 5px;
  width:    200px;
}

.form select {
  width: 100%;
}

.form-button {
  margin: 4px;
}

.form-section-error {
  padding-top:      4px;
  padding-bottom:   8px;
  padding-left:     8px;
  padding-right:    8px;
  background-color: #FFE8D0;
}

.form-caption-error {
  color:          #DD7417;
  padding-right:  4px;
  white-space:    nowrap;
  vertical-align: top;
}

.webSiteMessage {
  position:   relative;
  left:       0px;
  right:      0px;
  margin-top: 4px;
  border:     1px solid #009B00;
}

.webSiteMessage .header {
  padding-top:      4px;
  padding-bottom:   4px;
  padding-left:     8px;
  padding-right:    8px;
  color:            #009B00;
  font-weight:      bold;
  background-color: #82CD82;
}

.webSiteMessage .contents {
  padding-top:      4px;
  padding-bottom:   4px;
  padding-left:     8px;
  padding-right:    8px;
  background-color: #CCFECC;
}

.year-selection {
  position: relative;
  width:    210px;	
}

.year-selection .form-section {
  margin-bottom: 0px;
}

.year-selection .form-header {
  display: none;	
}

.year-selection .form-caption {
  vertical-align: middle;
}

.year-selection select {
  width: 70px;
}

.year-selection .form-button {
  position: absolute;
  top:      0px;
  left:     130px;	
}

#IDeal .form {
  background-image:    url("iDEAL.gif");
  background-repeat:   no-repeat;
  background-position: 98% 95%;
}

.form-input > span.form-currency-sign {
  margin-right: 5px;
}

.form-input > input.form-currency-value {
  width: 60px;
}

.form-value .read-only {
  background-color: #F0F0F0;
  color:            #383838;
}

input, .suggest-link, select {
    font-family: sans-serif;
    font-size:   small;
}

/*=== Messages ===*/
div.message {
  position:     relative;
  margin-top:   12px;
  margin-left:  3px;
  margin-right: 3px;
  border-style: solid;
  border-width: 1px;
  border-color: #DDDDDD;
}

div.message .header {
  padding-left:     4px;
  padding-top:      4px;
  background-color: #EAEAEA;
}

div.message .body {
  background-color: #F6F6F6;
  padding:          4px;
  margin:           0px;
}

div.message .body > p:first-child {
  padding-top: 0px;
  margin-top:  0px;
}

/* === Tables ===*/
table {
  margin: 0px;
}

td {
  padding-left:  4px;
  padding-right: 4px;
  margin:        0px;
  border-style:  none;
}

td.form-value td,
td.form-value table {
  border-spacing: 0px;
  padding-left:   0px;
}

th {
  padding-left:     4px;
  padding-right:    4px;
  font-style:       normal;
  font-weight:      bold;
  background-color: #EBEBEB;
  text-align:       left;
  font-size:        13px;
}

td.numeric {
  text-align: right;
}

th.numeric {
  text-align: right;
}

.query td {
  vertical-align: top;
}

.query th {
  cursor: pointer;
}

.query td.column-odd {
  background-color: #F6F6F6;
}

.query td.total {
  font-weight: bold;
}

.query td.currency {
  padding-left: 10px;
}

.query td.options {
  font-size: 10px;
  background-color: #F6F6F6;
  border-style: solid;
  border-width: 1px;
  border-color: #EBEBEB;
  color: #808080;
}

/* Table menu */

.query .menu.horizontal {
  width: 14px;
  height: 14px;
  background-color: #EBEBEB;
}

.query .menu.horizontal > li > ol {
  left: auto;
  right: 0;
}

.query .menu.horizontal > li > span[onclick] {
  width: 12px;
  height: 12px;
  padding-right: 0px;
}

/* Other table rules */

.query tr.disabled {
  display: none;
}

.view .updateForm form {
  border: none;
}

.view .updateForm .form-body {
  padding: 0px;
}

.view .updateForm .form-header {
  display: none;
}

.view .addForm {
  display: none;
}

.view .buttons,
.editable.view .rowSelector {
  display: none;
}

.rowSelector {
  text-align: center;
}

.selectedRow .rowSelector {
  background-color: #B0C4E4;
}

.selectedRow td.column-even {
  background-color: #B6CAEA;
}

.selectedRow td.column-odd {
  background-color: #B0C4E4;
}

div.updating {
  background-image:    url("OperationInProgress.gif");
  background-repeat:   no-repeat;
  background-position: 0px 22px;
}

.updateForm .selectedRow .rowSelector {
  background-color: #FFD8C0;
}

.updateForm .selectedRow td.column-even {
  background-color: #FFE8D0;
}

.updateForm .selectedRow td.column-odd {
  background-color: #FFD8C0;
}

/*use gray color to mark update*/
.updateForm .updatedValue {
  background-color: #DADADA;
}

/*use orange color to mark hot row*/

.hot td.column-odd {
  background-color: #F2AB82;
  cursor: pointer;
}

.hot td.column-even {
  background-color: #FFAB82;
  cursor: pointer;
}

/* === Code ===*/

.class {
    color: #008080;
}

.global {
    color: #800000;
}

.member {
    font-style: italic;
}

.boolean {
    color: #000080;
}

.unknown {
    color: #0000FF;
}

.text {
    color: #008000;
}

.store {
    color: #808000;
}

.code {
    margin-left:  20px;
    padding:      4px;
    border-style: dotted;
    border-color: gray;
    border-width: 1px;
}

.variable {
    font-style: italic;
}

.number {
    color: purple;
}

.operator {
    padding-left:  2px;
    padding-right: 2px;
}

.condition {
    padding-left:  3px;
    padding-right: 3px;
}

.expression {
    padding-left:  3px;
    padding-right: 3px;
}

.index {
    font-style:    italic;
    padding-left:  3px;
    padding-right: 3px;
}

.keyword {
    font-weight: bold;
}

.statement {
    margin-left: 10px;
}

/* === Parsing ===*/

.parse-error-code {
    font-family:  "Courier New"; 
    margin:       20px;
}

.parse-line-number {
    text-align:       right;
    background-color: #E0E0E0;
    padding-left:     4px;
    padding-right:    4px;
}

.parse-line {
    background-color: #F6F6F6;
    padding-left:     4px;
    padding-right:    4px;
}

.parse-error-line-number {
    text-align:       right;
    background-color: #FFD8C0;
    padding-left:     4px;
    padding-right:    4px;
}

.parse-error-line {
    background-color: #FFE8D0;
    padding-left:     4px;
    padding-right:    4px;
}

/* === Help === */

#help, #help a, #help a:hover, #help a:visited {
  text-align: right;
  text-decoration: none;
  font-weight: bold;
}

.help-text-unselected {
  display: none;
}

.help-text-selected {
  display: inline;
}

#help-table {
  width: 100%;
  border: 1px solid #DDDDDD;
  border-spacing: 0px;
}

#help-table .header {
  font-size: 14px;
  font-weight: bold;
  color: #FABD23;
  background-color: #FFEFA3;
  padding-left: 4px;
  padding-right: 4px;
}

#help-table .text {
  background-color: #FFF6C6;
  color: #000000;
  padding-top: 4px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
}   

/* ========= Tables of contents ============== */

.headerLinks {
    position:    absolute;
    left:        auto;
    right:       5px;
    _right:      4%;
    text-align:  right;
    color:       #000000;
    font-size:   10px;
    font-weight: normal;
}

/* ========= ContactTag ============== */

#contact .postalAddress {
  margin-left:   20px;
  margin-bottom: 15px;
}

#contact .phoneNumber {
  margin-left:   20px;
  margin-bottom: 15px;
}

#contact .emailAddress {
  margin-left:   20px;
  margin-bottom: 15px;
}

#contact .title{
  font-weight: bold;
}

/* ======= Warnings =============== */

.warning {
    color: #FF0000;
}

/* ======= Drop downs ============= */

option.article {
    padding-left: 20px;
    background-image: url('Article.png');
    background-position: left center;
    background-repeat: no-repeat;
}

option.message {
    padding-left: 20px;
    font-style: italic;
    background-image: url('Message.png');
    background-position: left center;
    background-repeat: no-repeat;
}

/* Section expanding and collapsing */
/*.expanded {
    padding-left: 16px;

    background-image: url("../Images/Expanded.png");
    background-repeat: no-repeat;
    background-position: center left;
}

.collapsed {
    padding-left: 16px;

    background-image: url("../Images/Collapsed.png");
    background-repeat: no-repeat;
    background-position: center left;
}*/

.flowModule {
  width:  100%;
  _width: 96%;
}

.flowModule .form-value {
  width:     auto;
  font-size: 11px;
}

/* Division with menus */
div.hasMenu {
    position: relative;
    padding-left: 20px;
}

div.hasMenu > ol.menu {
    display: inline-block;
    background-color: #EBEBEB;
    position: absolute;
    left: 0;
    top: 0;
}

div.hasMenu > ol.menu > li {
    margin-right: 0;
}

div.hasMenu > ol.menu > li > span[onclick] {
    display: block;
    width: 15px;
    height: 15px;
    padding: 0;
    background-position: center center;
}

