﻿/* Licence expiry (shown on licence update page)
----------------------------------------------------------*/
td.licence-expires-soon {
  background-color: #ffb4b4;
}

/* Banner indicating server unavailable.
----------------------------------------------------------*/
.server-unavailable-notification {
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #ffeeee;
  color: #ff0000;
}

/* Banner indicating import service not running.
----------------------------------------------------------*/
.import-service-not-running {
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #ffeeee;
  color: #ff0000;
}

/* Page body.
----------------------------------------------------------*/
body {
  font-size: 0.9em;
  font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
  color: #696969;
  background-color: White;
  margin: 0;
  padding: 0;
}

p {
  line-height: 1em;
}

ul {
  line-height: 1.5em;
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

#main a:link, #main a:visited {
  text-decoration: none;
  color: #3383bb;
}
#main a:hover {
  text-decoration: none;
  color: #5c87b2;
}

/* Page layout.
----------------------------------------------------------*/
.page {
  width: 97%;
  margin-left: auto;
  margin-right: auto;
}

#main {
  background-color: #eee;
  padding: 1em 1em 0.5em 1em;
}

ul#menu {
  margin: 0;
  padding: 0 0 2px 0;
}
ul#menu li {
  display: inline;
}
ul#menu li a {
  text-decoration: none;
  color: #3383bb;
  font-weight: bold;
  line-height: 2.8em;
  padding: 10px 20px;
  background-color: #ddd;
  -webkit-border-radius: 1em 1em 0 0;
  -moz-border-radius: 1em 1em 0 0;
  border-radius: 1em 1em 0 0;
}
ul#menu li a:hover {
  background-color: #eee;
}
ul#menu li a.selected {
  text-decoration: none;
  color: #3383bb;
  font-weight: bold;
  line-height: 2.8em;
  padding-bottom: 20px;
  background-color: #eee;
}
ul#menu li a.selected:hover {
  background-color: #eee;
}
ul#menu li a.hasError {
  text-decoration: none;
  color: #3383bb;
  font-weight: bold;
  line-height: 2.8em;
  background-color: #ffb4b4;
}
ul#menu li a.hasError:hover {
  background-color: #eee;
}

ul li.sublinks {
  display: none;
  float: left;
}

#footer {
  color: #bbb;
  background-color: #eee;
  padding: 1em 1em 1em 1em;
  text-align: right;
  -webkit-border-radius: 0 0 1em 1em;
  -moz-border-radius: 0 0 1em 1em;
  border-radius: 0 0 1em 1em;
}

#logo {
  float: left;
}

/* Headings.
----------------------------------------------------------*/
h1 {
  color: #696969;
  font-size: 1.8em;
}

h2 {
  color: #696969;
  font-size: 1.35em;
}

h3 {
  color: #696969;
  font-size: 1.08em;
}

h4 {
  color: #696969;
  font-size: 0.9em;
}

/* Top line.
----------------------------------------------------------*/
#topLine {
  padding: 0.5em 0 2em 0;
}

#clientName {
  font-size: 1.8em;
  float: left;
}

#marketName {
  float: right;
  font-size: 1.8em;
}

#overviewDate {
  text-align: right;
  float: right;
  font-size: 0.72em;
}

#overviewDatePicker {
  color: #696969;
  font-size: 2.34em;
  text-align: right;
  border: 0 none;
  width: 12em;
}
#overviewDatePicker:hover {
  color: #3383bb;
}

#topLineSeperator {
  color: #ddd;
  background-color: #ddd;
  height: 3px;
  border: 0;
}

/* Top links.
----------------------------------------------------------*/
#topMenus {
  margin-bottom: 3em;
  font-size: 0.9em;
  clear: both;
}

#topMenus a:link, #topMenus a:visited {
  text-decoration: none;
  color: #696969;
}

#topMenus a:hover {
  text-decoration: none;
  color: #5c87b2;
}

#topMenusLeft li {
  float: left;
}

#topMenusRight li {
  float: right;
}

.topMenusDropDown li {
  position: relative;
}

.topMenusDropDown li a {
  display: block;
}

.topMenusDropDown ul {
  position: absolute;
  z-index: 1;
  visibility: hidden;
  background-color: White;
  border: 2px solid #ddd;
  padding: 0.3em;
}
.topMenusDropDown li a.hasError {
  background-color: #ffb4b4;
}

.topMenusDropDown ul li {
  width: 100%;
  white-space: nowrap;
  border-bottom: 1px solid #ddd;
}

.topMenusDropDown ul ul {
  top: 0;
  left: 100%;
}

.topMenusDropDown li:hover > ul {
  display: block;
  visibility: visible;
}

#missingClient {
  font-size: 0.7em;
}
#missingClient a:link, #missingClient a:visited {
  color: #3383bb;
}
#missingClient a:hover {
  color: #3383bb;
}

/* Tab line.
----------------------------------------------------------*/
#tabLine {
  overflow: hidden;
  clear: both;
  /*border-bottom: 1px $altColor solid;*/
}

#tabMain {
  float: left;
}

/* Pagination
----------------------------------------------------------*/
.pagination ul {
  text-align: center;
}

.pagination li {
  display: inline;
  background-color: #eee;
}

.pagination li.pagination-spacer {
  padding: 8px 6px;
}

.pagination button {
  padding: 8px 16px;
  border: 2px #ddd solid;
}

.pagination button.pagination-goto-page {
  color: #3383bb;
}

.pagination button.pagination-goto-page:hover {
  cursor: pointer;
}

.pagination button.pagination-active-page {
  color: #696969;
}

.pagination button.pagination-active-page,
.pagination button:hover {
  background-color: #ddd;
}

/* Forms.
----------------------------------------------------------*/
fieldset {
  border: 1px solid #ddd;
  margin-bottom: 1em;
}

legend {
  color: #696969;
  font-size: 1.35em;
  font-weight: bold;
}

.label-config, .editor-label-config, .editor-label-config-large, .display-label-config {
  clear: both;
  float: left;
  margin: 1em 0 0 0;
  color: #5c87b2;
  width: 180px;
  display: inline-block;
}

.label-config-inline, .editor-label-config-inline, .editor-label-config-inline-large, .display-label-config-inline, .display-label-config-inline-large {
  margin: 1em 0 0 0;
  color: #5c87b2;
  width: 180px;
  display: inline-block;
}

.display-label-config-inline, .display-label-config-inline-large {
  padding-left: 3em;
}

.display-label-config-inline-large {
  width: 270px;
}

.editor-label-config-large {
  width: 270px;
}

.editor-label-config-inline-large {
  width: 270px;
}

.display-label-config-slim, .editor-label-config-slim {
  clear: both;
  float: left;
  margin: 1em 0 0 0;
  color: #5c87b2;
  width: 90px;
}

.display-field-config, .display-field-config-expiry, .editor-field-config {
  margin: 0.9em 0 0 0;
  min-height: 1.5em;
  display: inline-block;
}

.display-field-config-expiry {
  background-color: #ffb4b4;
}

.display-label, .display-label-config, .display-label-config-inline, .display-label-config-inline-large, .editor-label, .editor-label-config, .editor-label-config-large, .editor-label-config-inline, .editor-label-config-inline-large {
  margin: 0.9em 0 0 0;
  color: #5c87b2;
}

.display-field, .editor-field {
  margin: 1px 0 0 0;
}

.display-tableFilter {
  display: inline-block;
}

.input-with-clear-icon img, .input-with-clear-icon input {
  vertical-align: middle;
}

input[type=submit] {
  padding: 0.25em;
}

input[type=button] {
  padding: 0.25em;
}

#ExportToExcel {
  cursor: pointer;
}

/* Transaction View.
----------------------------------------------------------*/
.transaction-view-page-heading-area {
  overflow: hidden;
}

.transaction-view-legend {
  float: right;
}

.transaction-view-legend-frame {
  padding: 6px;
  margin: 0px;
}

.transaction-view-legend-status {
  padding-top: 0px;
  padding-bottom: 0px;
}

.transaction-view-page-heading {
  float: left;
}

/* Transaction Summary.
----------------------------------------------------------*/
.transaction-summary-legend {
  float: right;
}

.transaction-summary-legend-frame {
  padding: 6px;
  margin: 0px;
}

.transaction-summary-legend-status {
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Automation Activity.
----------------------------------------------------------*/
.automation-activity-row-selected td {
  border-top: solid 2px black;
  border-bottom: solid 2px black;
}

.automation-activity-row-selected td:first-child {
  border-left: solid 2px black;
}

.automation-activity-row-selected td:last-child {
  border-right: solid 2px black;
}

.automation-activity-row:hover,
.automation-activity-row.focus {
  cursor: pointer;
  background-color: #e0e0e0;
}

.automation-activity-row {
  background-color: #eee;
  white-space: nowrap;
}

.automation-activity-index-body-container {
  display: flex;
  gap: 25px;
}

.automation-activity-log-list-container {
  padding-top: 27px;
}

.automation-activity-column-no-wrap {
  white-space: nowrap;
}

/* Book Position.
----------------------------------------------------------*/
.book-page {
  /* Causes the selection and table divs to appear side-by-side, without affecting the position of the page footer */
  overflow: hidden;
}

.book-selection-email-icon {
  top: 0.4em;
}

.book-selection-table {
  margin-top: 0.5em;
  border-collapse: collapse;
}

.book-selection-table-container {
  float: left;
  /* Pad to the right so the book table isn't butted right up against the selection table */
  padding: 0em 2em 0em 0.5em;
}

.book-selection-table-body {
  border: solid 1px #444;
  border-collapse: separate;
}

.book-selection-book-cell {
  text-align: left;
  padding: 0;
}

.book-selection-email-cell {
  padding: 0;
  width: 4em;
  text-align: center;
  border-left: solid 1px #444;
}

.book-selection-email-send-cell {
  padding: 0.3em 0em 0em 0em;
  width: 4em;
  text-align: center;
  border-left: solid 1px #444;
}

.book-selection-label {
  display: block;
  padding: 0.3em;
}

.book-selection-highlight:hover,
.book-selection-highlight.focus {
  background-color: #ddd;
}

/* Bulk Notifications.
----------------------------------------------------------*/
.bulk-notifications tr td {
  border-top: solid 4px #ddd;
  border-right: solid 1px #ddd;
  height: 40px;
  vertical-align: central;
}

.bulk-notifications-result,
.bulk-transactions-result {
  width: 500px;
}

.bulk-notifications-fetch {
  text-align: center;
}

/* Bulk Notification Status.
----------------------------------------------------------*/
.bulk-notification-status-row-selected td {
  border-top: solid 2px black;
  border-bottom: solid 2px black;
}

.bulk-notification-status-row-selected td:first-child {
  border-left: solid 2px black;
}

.bulk-notification-status-row-selected td:last-child {
  border-right: solid 2px black;
}

.bulk-notification-status-row:hover,
.bulk-notification-status-row.focus {
  cursor: pointer;
}

.bulk-notification-status-index-body-container {
  display: flex;
  gap: 50px;
}

/* GCP Parameters
----------------------------------------------------------*/
.gcp-parameters-table td, .gcp-parameters-table th {
  padding-left: 4px;
  padding-right: 0;
}

.gcp-parameters-volume {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 4em;
}

/* Text boxes etc.
-----------------------------------------------------------*/
.textBoxExtraExtraSmall {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 2em;
}

.textBoxExtraSmall {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 5em;
}

.textBoxSmall, .hasDefault {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 10em;
}

.textBoxMedium {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 15em;
}

.textBoxLarge {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 25em;
}

.textBoxExtraLarge {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 40em;
}

.textArea {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 40em;
  height: 5em;
  font-family: inherit;
  font-size: inherit;
  resize: none;
}

.select {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
}

.datePicker, .nullDatePicker, .switchoverDatePicker, .nemoRoundingSwitchoverDatePicker {
  color: #444;
  border: 1px solid #ddd;
  font-size: 1.2em;
  background-image: url("../images/TextBox.png");
  background-repeat: repeat-x;
  border: 2px solid #ddd;
  width: 10em;
  background-image: url("../images/Calendar.png");
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}

/* Buttons.
-----------------------------------------------------------*/
.buttonDiv {
  padding-top: 1em;
}

.buttonYes {
  float: left;
}

#buttonRefresh, #buttonShowAll {
  text-decoration: none;
  border: none;
  background-color: transparent;
  color: #3383bb;
  cursor: pointer;
}
#buttonRefresh:hover, #buttonShowAll:hover {
  color: #5c87b2;
}

.buttonStandard {
  width: 12em;
}

/* Validation helpers.
-----------------------------------------------------------*/
.field-validation-valid {
  display: none;
}

.validation-summary-valid {
  display: none;
}

.field-validation-error {
  color: #ff0000;
  padding-left: 5px;
}

.input-validation-error.textBoxMedium {
  background-image: none;
  border: 2px solid #ff0000;
  background-color: #ffeeee;
}

.input-validation-error {
  background-image: none;
  border: 2px solid #ff0000;
  background-color: #ffeeee;
}
.input-validation-error .textBoxSmall, .input-validation-error .hasDefault {
  background-image: none;
  border: 2px solid #ff0000;
  background-color: #ffeeee;
}
.input-validation-error .textBoxMedium {
  background-image: none;
  border: 2px solid #ff0000;
  background-color: #ffeeee;
}
.input-validation-error .textBoxLarge {
  background-image: none;
  border: 2px solid #ff0000;
  background-color: #ffeeee;
}
.input-validation-error .textBoxExtraLarge {
  background-image: none;
  border: 2px solid #ff0000;
  background-color: #ffeeee;
}

.validation-summary-errors {
  font-weight: bold;
  color: #ff0000;
}

.errors {
  color: #ff0000;
}

.errorPage {
  margin: 2em;
}

.errorHeader {
  font-size: 1.5em;
  font-weight: bold;
}

.warnings {
  color: #ff0000;
}

.icon-layout {
  overflow: visible;
  font-size: 30rem;
  fill: turquoise;
  display: inline-block;
  height: 1em;
  vertical-align: -0.125em;
}

/* File upload.
-----------------------------------------------------------*/
.customfile-input {
  position: absolute;
  height: 100px;
  cursor: pointer;
  background: transparent;
  border: 0;
  opacity: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  z-index: 999;
}

.customfile {
  width: 500px;
  background: #ddd;
  overflow: hidden;
  padding: 2px;
  border: 1px solid #444;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  position: relative;
}

.customfile-feedback {
  display: block;
  margin: 1px;
  font-size: 1.2em;
  color: #696969;
  font-style: italic;
  padding: 0.3em;
  overflow-x: hidden;
}

.customfile-feedback-populated {
  color: #696969;
  font-style: normal;
  padding: 0.3em;
}

.customfile-button {
  height: 20px;
  border: 1px solid #444;
  background: #eee;
  color: #444;
  float: right;
  width: 50px;
  padding: 0.4em 0.7em;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
}

#statusMessage {
  white-space: pre-wrap;
}

/* Tables.
----------------------------------------------------------*/
table, .messagePropertiesTable, .positionTable.messagePropertiesTable, table.positionTable {
  border-spacing: 0;
}
table td, .messagePropertiesTable td, table.positionTable td {
  padding: 0.5em;
}
table th, .messagePropertiesTable th, table.positionTable th {
  padding: 0.5em;
}

table.default, .default.messagePropertiesTable {
  border-collapse: collapse;
}
table.default th, .default.messagePropertiesTable th {
  text-align: left;
  background-color: #ddd;
  border: solid 1px #ddd;
}

/* Market table.
-----------------------------------------------------------*/
table.markets td, .markets.messagePropertiesTable td {
  padding-top: 0;
  padding-bottom: 0;
  text-align: left;
  vertical-align: top;
}

#marketList {
  z-index: 100; /* Force the market list menu to be on top */
}

/* Message table.
-----------------------------------------------------------*/
table.messageTable td, .messageTable.messagePropertiesTable td {
  padding-top: 0; /* Compress the table rows together */
  padding-bottom: 0;
  padding-left: 0; /* Align the left of the table with the left of the heading */
}

div.messageElement {
  background-color: #ddd;
  padding-left: 3px;
}

h4.messageElement {
  margin-bottom: 0px; /* Align the element heading just above each table */
  margin-top: 5px;
}

/* Profile edit.
-----------------------------------------------------------*/
.copyDown {
  cursor: pointer;
  position: relative;
  right: 3px;
}

div.copyDown:hover {
  background: #ddd;
}

.copyAcrossContainer {
  position: relative;
  right: 16px;
}

.copyAcross {
  float: right;
  cursor: pointer;
  padding-left: 4px;
  padding-right: 4px;
  position: relative;
  right: 36px;
  bottom: 2px;
}

div.copyAcross:hover {
  background: #ddd;
}

.copyAcrossAll {
  float: right;
  cursor: pointer;
  padding-left: 4px;
  padding-right: 4px;
  position: relative;
  bottom: 2px;
}

div.copyAcrossAll:hover {
  background: #ddd;
}

.profileEditHourHeadingsWithTimesAndCopyDown {
  text-align: right;
  position: relative;
  right: 18px;
}

.profileEditHourHeadings {
  text-align: center;
}

.profileValueVolume {
  margin-bottom: 2px;
}

/* User Activity table.
-----------------------------------------------------------*/
table.userActivity thead tr th, .userActivity.messagePropertiesTable thead tr th {
  border-collapse: collapse;
  text-align: left;
  background-color: #ddd;
  border: 1px solid #eee;
  cursor: pointer;
}

/* Sorted table.
-----------------------------------------------------------*/
table.tableSorter, .tableSorter.messagePropertiesTable {
  border-collapse: collapse;
  width: 100%;
}

table.tableSorter thead tr th, .tableSorter.messagePropertiesTable thead tr th {
  border-collapse: collapse;
  text-align: left;
  background-color: #ddd;
  border: 1px solid #eee;
  cursor: pointer;
}

table.tableSorter thead tr th label, .tableSorter.messagePropertiesTable thead tr th label {
  cursor: pointer;
}

table.tableSorter thead tr .header, .tableSorter.messagePropertiesTable thead tr .header {
  background-image: url("../images/SortUpDown.png");
  background-repeat: no-repeat;
  background-position: center right;
}

table.tableSorter thead tr .headerSortUp, .tableSorter.messagePropertiesTable thead tr .headerSortUp {
  background-image: url("../images/SortUp.png");
}

table.tableSorter thead tr .headerSortDown, .tableSorter.messagePropertiesTable thead tr .headerSortDown {
  background-image: url("../images/SortDown.png");
}

table.tableSorter thead tr .tableSorterOff, .tableSorter.messagePropertiesTable thead tr .tableSorterOff {
  background-image: none;
  background-color: #eee;
  cursor: default;
}

/* Floating position table.
-----------------------------------------------------------*/
table.unpaddedTable, .messagePropertiesTable, table.positionTable, .positionTable.messagePropertiesTable {
  white-space: nowrap;
}
table.unpaddedTable td, .messagePropertiesTable td, table.positionTable td {
  padding: 0;
}
table.unpaddedTable th, .messagePropertiesTable th, table.positionTable th {
  padding: 0;
}

.positionHourBoundary {
  height: 0em;
  border-bottom: 0.1em dotted #bbb;
}

.positionHeaderTooltipImage {
  height: 14px;
  width: 14px;
  vertical-align: middle;
}

.positionHeaderSectionNoneSplit {
  border: 0.3em solid #eee;
}

.positionHeaderSectionSplit {
  width: 5.5em;
  border: 0.3em solid #eee;
}

table.positionTable tr th, .positionTable.messagePropertiesTable tr th {
  text-align: left;
  background-color: #eee;
}

table.positionTable th.positionSubHeading, .positionTable.messagePropertiesTable th.positionSubHeading {
  text-align: right;
}

.positionTime {
  width: 3em;
  border: 0.3em solid #eee;
}

.positionPce {
  height: 19px;
}

.positionTotal {
  font-weight: bold;
  text-align: left;
  border: 0.3em solid #eee;
}

.positionScroll {
  cursor: pointer;
  border: 0.3em solid #eee;
}

/* Miscelaneous.
-----------------------------------------------------------*/
a img {
  border: none;
}

#fakeStatus {
  text-align: right;
  display: none;
}

.disabled {
  color: #ddd;
}

.highlight {
  background-color: #ffff66;
}

.newValue {
  color: #5c87b2;
  font-weight: bold;
}

.response {
  padding: 1em 0 0 0.5em;
}

.dayBackForward {
  cursor: pointer;
  vertical-align: bottom;
  margin-bottom: 2px;
}

#positionTimeStampContainer {
  bottom: 0;
  display: block;
  position: fixed;
  width: 100%;
  z-index: 999;
  pointer-events: none;
}

#positionTimeStamp {
  font-size: 1.2em;
  font-weight: lighter;
  float: right;
  padding: 0.1em 2.2em 0.1em 0.5em;
  background-color: white;
  border-top: 4px solid #ddd;
  border-left: 4px solid #ddd;
  -webkit-border-radius: 15px 0 0 0;
  -moz-border-radius: 15px 0 0 0;
  border-radius: 15px 0 0 0;
  opacity: 0.7;
  pointer-events: auto;
}

#messagesContainer {
  padding-top: 2em;
}

/* AjaxButton.
-----------------------------------------------------------*/
.ajaxButtonLoading {
  height: 27px;
  width: 27px;
  vertical-align: middle;
}

/* Overview.
-----------------------------------------------------------*/
button.overviewStatusRequestButton {
  text-decoration: none;
  font-size: 0.9em;
  font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
  font-size: 0.75em;
  color: #3383bb;
  border: 1px solid #bbb;
  background: #eee;
  text-align: center;
  margin: 0;
  padding: 0;
  height: 20px;
  width: 27px;
  vertical-align: middle;
}
button.overviewStatusRequestButton:hover {
  background-color: #ddd;
}

.overviewStatusRequestContainer {
  padding: 0;
  margin: 0;
  border: 0;
}

.overviewStatusRequestLoading {
  height: 20px;
  width: 27px;
  padding: 0;
  margin: 0;
  vertical-align: middle;
}

table.overviewCompact, .overviewCompact.messagePropertiesTable {
  position: relative;
  top: -30px;
}
table.overviewCompact td, .overviewCompact.messagePropertiesTable td {
  white-space: nowrap; /* Don't allow any text to wrap */
  padding-top: 1px;
  padding-bottom: 1px;
}
table.overviewCompact th.overviewCompactTitle, .overviewCompact.messagePropertiesTable th.overviewCompactTitle {
  color: White;
  background-color: #bbb;
  font-weight: bold;
  font-size: 1.5em;
  padding-top: 0;
  padding-bottom: 0.2em;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  border-left: 0.5em solid #bbb;
  border-top: 0.5em solid #bbb;
  border-right: 0.5em solid #bbb;
  -webkit-border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  border-radius: 15px 15px 0 0;
  white-space: nowrap; /* Don't allow any text to wrap */
}
table.overviewCompact td.overviewCompactMarket, .overviewCompact.messagePropertiesTable td.overviewCompactMarket {
  color: #696969;
  font-size: 1.35em;
  font-weight: bold;
  padding-right: 0.5em;
}
table.overviewCompact td.overviewCompactMarket, .overviewCompact.messagePropertiesTable td.overviewCompactMarket, table.overviewCompact .overviewCompactDateFirst, .overviewCompact.messagePropertiesTable .overviewCompactDateFirst, table.overviewCompact .overviewCompactCellFirst, .overviewCompact.messagePropertiesTable .overviewCompactCellFirst {
  border-top: 2px solid #bbb;
  border-bottom: 2px solid #bbb;
}
table.overviewCompact td.overviewCompactLast, .overviewCompact.messagePropertiesTable td.overviewCompactLast, table.overviewCompact .overviewCompactDate, .overviewCompact.messagePropertiesTable .overviewCompactDate, table.overviewCompact .overviewCompactDateVeryLast, .overviewCompact.messagePropertiesTable .overviewCompactDateVeryLast {
  border-bottom: 2px solid #bbb;
}
table.overviewCompact td.overviewCompactCell, .overviewCompact.messagePropertiesTable td.overviewCompactCell, table.overviewCompact .overviewCompactCellFirst, .overviewCompact.messagePropertiesTable .overviewCompactCellFirst, table.overviewCompact .overviewCompactCellVeryLast, .overviewCompact.messagePropertiesTable .overviewCompactCellVeryLast {
  border-left: 2px solid #bbb;
  border-bottom: 2px solid #bbb;
}
table.overviewCompact td.overviewCompactLastPanel, .overviewCompact.messagePropertiesTable td.overviewCompactLastPanel {
  border-right: 2px solid #bbb;
}

.overviewViewType {
  position: relative;
  top: -60px;
  left: 5px;
  float: right;
}

.overviewDropDown {
  position: relative;
  top: -10px;
  width: 15em; /* Stop the div being too wide otherwise it covers the compact view checkbox */
}

.overviewContainer {
  float: left;
  padding-bottom: 0;
  border: 0.5em solid #bbb;
  -webkit-border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  border-radius: 15px 15px 0 0;
  width: 21%;
  margin: 1em 1em 1em 0;
}

.overviewContainerLarge {
  float: left;
  padding-bottom: 0;
  border: 0.5em solid #bbb;
  -webkit-border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  border-radius: 15px 15px 0 0;
  width: 28%;
  margin: 1em 1em 1em 0;
}

.overviewContainerLast {
  float: left;
  padding-bottom: 0;
  border: 0.5em solid #bbb;
  -webkit-border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  border-radius: 15px 15px 0 0;
  width: 21%;
  margin: 1em 0 1em 0;
}

.overviewContainerLargeLast {
  float: left;
  padding-bottom: 0;
  border: 0.5em solid #bbb;
  -webkit-border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  border-radius: 15px 15px 0 0;
  width: 28%;
  margin: 1em 0 1em 0;
}

.overviewTitle {
  color: White;
  background-color: #bbb;
  font-weight: bold;
  font-size: 1.5em;
  padding-bottom: 0.3em;
  text-align: center;
}

.overviewStatusGood, .overviewStatusBad, .overviewStatusUgly, .overviewStatusNone {
  padding: 0.2em 0.2em 0.2em 0.5em;
}

.overviewStatusNone {
  background-color: #eee;
}

.overviewStatusGood {
  background-color: #c8ffc8;
}

.overviewStatusBad {
  background: #ffc8c8;
}

.overviewStatusUgly {
  background: #ffffc8;
}

/* Position Checking 
-----------------------------------------------------------*/
.positionCheckingCounterpartyOptionWithNoData {
  color: #ddd;
}

/* Top left blank cell */
.positionCheckingTable {
  /* First line: Amprion, Elexon ... */
  /* Second line: Peak, OffPeak, Peak, OffPeak .... */
  /* The spacer on the end to hide the grid lines on the floating header. */
  /* The Date */
  /* APX, EDF, ... */
  /* 100, 100, 120, 80, ... */
}
.positionCheckingTable td {
  padding-top: 2px;
  padding-bottom: 2px;
}
.positionCheckingTable th {
  padding-top: 5px;
  padding-bottom: 5px;
}
.positionCheckingTable .positionCheckingTopleftFirstCell {
  background-color: #eee;
  height: 20px;
}
.positionCheckingTable .positionCheckingTopleftSecondCell {
  background-color: #eee;
  border-bottom: 0.3em solid #bbb;
}
.positionCheckingTable .positionCheckingTitleFirstTwo {
  background-color: #eee;
  height: 20px;
}
.positionCheckingTable .positionCheckingTitleSecondLine {
  background-color: #eee;
  border-bottom: 0.3em solid #bbb;
}
.positionCheckingTable .positionCheckingTitleFirstSpacer {
  background-color: #eee;
}
.positionCheckingTable .positionCheckingTitleSecondSpacer {
  background-color: #eee;
  border-bottom: 0.3em solid #bbb;
}
.positionCheckingTable .positionCheckingDate {
  border-bottom: 0.1em solid #bbb;
  border-right: 0.3em solid #bbb;
  height: 20px;
  white-space: nowrap; /* Don't allow any text to wrap */
  font-weight: bold;
}
.positionCheckingTable .positionCheckingDateLast {
  border-bottom: 0.3em solid #bbb;
  border-right: 0.3em solid #bbb;
  height: 20px;
  white-space: nowrap; /* Don't allow any text to wrap */
  font-weight: bold;
}
.positionCheckingTable .positionCheckingCounterparty {
  border-bottom: 0.3em solid #bbb;
  white-space: nowrap; /* Don't allow any text to wrap */
  font-weight: bold;
}
.positionCheckingTable .positionCheckingCounterpartyNoDate {
  border-bottom: 0.1em solid #bbb;
  border-right: 0.3em solid #bbb;
  height: 20px;
  white-space: nowrap; /* Don't allow any text to wrap */
  font-weight: bold;
}
.positionCheckingTable .positionCheckingFirstValue {
  border-bottom: 0.1em solid #bbb;
  height: 20px;
  text-align: right;
  background-color: White;
  border-right: 0.1em solid #bbb;
}
.positionCheckingTable .positionCheckingSecondValue {
  border-bottom: 0.1em solid #bbb;
  height: 20px;
  text-align: right;
  background-color: White;
  border-right: 0.1em solid #bbb;
}
.positionCheckingTable .positionCheckingThirdValue {
  border-bottom: 0.1em solid #bbb;
  height: 20px;
  text-align: right;
  background-color: White;
  border-right: 0.3em solid #bbb;
}
.positionCheckingTable .positionCheckingFirstValueLast {
  border-bottom: 0.3em solid #bbb;
  height: 20px;
  text-align: right;
  background-color: White;
  border-right: 0.1em solid #bbb;
}
.positionCheckingTable .positionCheckingSecondValueLast {
  border-bottom: 0.3em solid #bbb;
  height: 20px;
  text-align: right;
  background-color: White;
  border-right: 0.1em solid #bbb;
}
.positionCheckingTable .positionCheckingThirdValueLast {
  border-bottom: 0.3em solid #bbb;
  height: 20px;
  text-align: right;
  background-color: White;
  border-right: 0.3em solid #bbb;
}

/* Submissions
-----------------------------------------------------------*/
table.submissionSummaryTable, .submissionSummaryTable.messagePropertiesTable {
  border-collapse: collapse;
}

tr.submissionSummaryRow {
  border-top: 0.75em solid #eee;
}

td.submissionSummaryRowDate {
  width: 8em;
  border: 0px;
  border-left: 0.25em solid #eee;
  text-align: center;
}

/* Status.
-----------------------------------------------------------*/
.statusGood {
  text-align: right;
  color: Black;
  background-color: #c8ffc8;
  width: 5.5em;
  border: 0.3em solid #c8ffc8;
}

.statusGoodPeak {
  text-align: right;
  color: Black;
  background-color: #aaffaa;
  width: 5.5em;
  border: 0.3em solid #aaffaa;
}

.statusBad {
  text-align: right;
  color: Black;
  background-color: #ffc8c8;
  width: 5.5em;
  border: 0.3em solid #ffc8c8;
}

.statusBadPeak {
  text-align: right;
  color: Black;
  background-color: #ffb4b4;
  width: 5.5em;
  border: 0.3em solid #ffb4b4;
}

.statusUgly {
  text-align: right;
  color: Black;
  background-color: #ffffc8;
  width: 5.5em;
  border: 0.3em solid #ffffc8;
}

.statusUglyPeak {
  text-align: right;
  color: Black;
  background-color: #ffffaa;
  width: 5.5em;
  border: 0.3em solid #ffffaa;
}

.statusNone {
  text-align: right;
  color: Black;
  background-color: #e0e0e0;
  width: 5.5em;
  border: 0.3em solid #e0e0e0;
}

.statusNonePeak {
  text-align: right;
  color: Black;
  background-color: #d0d0d0;
  width: 5.5em;
  border: 0.3em solid #d0d0d0;
}

.statusNoneBookBalance {
  text-align: right;
  color: Black;
  background-color: #c0c0c0;
  width: 5.5em;
  border: 0.3em solid #c0c0c0;
}

.statusNonePeakBookBalance {
  text-align: right;
  color: Black;
  background-color: #b0b0b0;
  width: 5.5em;
  border: 0.3em solid #b0b0b0;
}

.statusAccepted {
  background-color: #c8ffc8;
}

.statusAcceptedDark {
  background-color: #aaffaa;
}

.statusRejected {
  background-color: #ffc8c8;
}

.statusRejectedDark {
  background-color: #ffb4b4;
}

.statusPending {
  background-color: #ffffc8;
}

.statusPendingDark {
  background-color: #ffffaa;
}

.statusPartiallyAccepted {
  background-color: #ffffc8;
}

.statusError {
  color: Red;
}

.statusBold {
  font-weight: bold;
}

.statusItalic {
  font-style: italic;
}

/* Message formatting
-----------------------------------------*/
td.unformatted {
  white-space: pre;
}

/* Matching Report.
-----------------------------------------------------------*/
#Text.text-box.multi-line {
  width: 900px;
  height: 300px;
}

/* Role Activities
-----------------------------------------*/
table.roleActivities, .roleActivities.messagePropertiesTable {
  white-space: nowrap;
}
table.roleActivities td, .roleActivities.messagePropertiesTable td {
  vertical-align: middle;
  padding: 2px;
}

.labelNoMargin {
  clear: both;
  float: left;
  margin: 0 0 0 0;
  color: #5c87b2;
}

.hasDefault {
  color: #ddd;
}

/* Market Results
-----------------------------------------*/
.resultsOffPeak {
  background-color: #e0e0e0;
  border-right: 1px solid #696969;
  color: black;
}

.resultsPeak {
  background-color: #c0c0c0;
  border-right: 1px solid #696969;
  color: black;
}

.resultsTotal {
  background-color: #e0e0e0;
  border-width: 1px 1px 1px 0px;
  border-style: solid;
  border-color: #696969;
  color: black;
}

.resultsCol1 {
  border-right: 1px solid #696969;
  text-align: center;
  color: black;
}

.resultsHeader {
  text-align: center;
  border-bottom: 1px solid #696969;
  border-right: 1px solid #696969;
}

.resultsOffPeakTotal {
  text-align: center;
  border-bottom: 1px solid #696969;
  border-right: 1px solid #696969;
  color: black;
}

#portfolioOdd {
  background-color: lightblue;
}

#portfolioEven, #participant {
  background-color: lightcyan;
}

table.resultTable tr, .resultTable.messagePropertiesTable tr {
  height: 20px;
}
table.resultTable td, .resultTable.messagePropertiesTable td {
  padding: 0px;
  min-width: 55px;
}

.Negative {
  color: red;
}

/* Automation
-----------------------------------------*/
.automationEnabled {
  color: white;
  background-color: #008000;
}

.automationDisabled {
  color: white;
  background-color: #ff0000;
}

#automationRuleDisabled {
  color: #B8B8B8;
}

/* Toggle Switch
-----------------------------------------*/
.toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

/* Hide the checkbox input */
.toggle input {
  display: none;
}

/* Describe slider's look and position. */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}

/* Describe the white ball's location 
   and appearance in the slider. */
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #5c87b2;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.tick {
  text-align: center;
}

/* Password Meter
-----------------------------------------*/
.password-meter-wrap {
  margin-top: 5px;
  height: 16px;
  width: 15em;
  background-color: #FFFFFF;
  border: 2px solid #ddd;
  display: inline-block;
}

.password-meter-bar {
  width: 0;
  height: 100%;
  transition: width 400ms ease-in;
}

.password-meter-bar.level0 {
  width: 20%;
  background-color: #d00;
}

.password-meter-bar.level1 {
  width: 40%;
  background-color: #f50;
}

.password-meter-bar.level2 {
  width: 60%;
  background-color: #ff0;
  font-weight: bold;
}

.password-meter-bar.level3 {
  width: 80%;
  background-color: rgb(161, 168, 65);
}

.password-meter-bar.level4 {
  width: 100%;
  background-color: #393;
}
