/*=== 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%;
}

.dateTimePeriod .form-value {
  width: 150px;
}

.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;
}

.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%;
}

/*=== 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 {
  font-weight:   normal;
  font-size:     11px;
  padding-left:  4px;
  padding-right: 4px;
  margin:        0px;
  border-style:  none;
}

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;
}

table.updating {
  padding-top:         16px;
  background-image:    url("OperationInProgress.gif");
  background-repeat:   no-repeat;
  background-position: left top;
}

.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;
}

/* ========== Suggest =============== */

input, .suggest-link, select {
    font-family: sans-serif;
    font-size:   small;
}

.suggest {
  width: 100%;
}

.suggest-link {
    padding-right: 22px;
    padding-left: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-color: #7F9DB9;

    background-image: url('ArrowButtonDown1px.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-color: #FFFFFF;

    .width: 95%;
}

td .suggest-link {
    display: block;
    left: 0px;
    right: 1px;
    top: 1px;
    bottom: 0px;
    background-color: #FFFFFF;
}

/* Internet Explorer 6 hack */
* html .suggest-link {
    background-image: url('ArrowButtonDown2px.png');
}

/* Internet Explorer 6 hack */
* html .wiki-data-table td .suggest-link {
    background-image: url('ArrowButtonDown1px.png');
}

.suggest.outer-drop-down {
    position: relative;
    font-size: 13px;
    z-index: 5;
}

.suggest .inner-drop-down {
    position: absolute;
    left: 0px;
    top: 0px;
    border: 1px solid #000000;
    display: none;
    background-color: white;
    padding: 4px;
}

.suggest .toolbar {
    white-space: nowrap;
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 6px;
}

.suggest .toolbar a {
    font-size: 11px;
}

.suggest .toolbar input.text {
	width: 300px;
}

.suggest .close {
    display: block;
    position: absolute;
    height: 17px;
    width: 16px;
    right: 3px;
    top: 2px;
    left: auto;
    bottom: auto;
    background-position: center left;
    background-repeat: no-repeat;
    background-image: url('Cross.png');
}

.suggest .close:hover, .suggest .next:hover, .suggest .previous:hover {
    text-decoration: none;
}

.suggest-link, .suggest-link:hover, .suggest-link:active, .suggest-link:visited {
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
}

td .suggest-link, td .suggest-link:hover, td .suggest-link:active, td .suggest-link:visited {
    white-space: normal;
}

.suggestion-row {
    padding: 0px;
    margin: 0px;
}

.suggestion-row.active td.column-even, .suggestion-row.active td.column-odd, tr.selected td {
    /*background-color: #DDDDDD;*/
    background-color: #CECCF7;
}

/* Internet explorer 6 hack */
html .wiki-data-table .suggestion-row.active td.column-even, html .wiki-data-table .suggestion-row.active td.column-odd {
    /*background-color: #DDDDDD;*/
    background-color: #CECCF7;
}

.suggestion-row.active td.column-even, .suggestion-row.active td.column-odd {
    cursor: pointer;
}

.suggestion-row td {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 4px;
    padding-right: 4px;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
}

.suggest-loading {
    background-color: #DDDDDD;
}

.suggest-next {
    margin-left: 2px;
    margin-right: 8px;
}

.suggest-previous {
    margin-left: 8px;
    margin-right: 2px;
}

.suggest .hot td.column-even {
    background-color: #B6CAEA;
}

.suggest .hot td.column-odd {
    background-color: #B0C4E4;
}


/* 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;
}

/* Controls */
div.control {
    position: relative;
}

div.control > a {
   display: inline;
   cursor: default;
}

div.control > div.visible {
    vertical-align: top;
    border: 1px solid #A0A0A0;
    background-color: #FFFFE1;
}

div.control > div.focusedObject.visible {
    display: inline-table;
    margin-left: 12px;
    padding: 8px;
}

div.control > div.hint.visible {
    display: block;
    position: absolute;
    padding: 4px;
}

div.control > ol.menu {
    display: inline-table;
    vertical-align: top;
    background-color: #EBEBEB;
    margin-left: 8px;
}

div.control > ol.menu > li {
    margin-right: 0;
}

div.control > ol.menu > li > span[onclick] {
    display: block;
    width: 15px;
    height: 15px;
    padding: 0;
    background-position: center center;
}

div.control > ol.menu > li > ol {
  left: auto;
  right: 0;
}

div.control > div.focusedObject th,
div.control > div.hint th {
    background-color: #EEEEAE;
}
