/* General layout */
html {
  overflow-y: scroll;
}

body {
  -webkit-font-smoothing: antialiased;
}

.container.header {
  padding-top: 12px;
  height: 56px;
}

.container.header.netstock img {
  float: left;
  margin-right: 3em;
}

.widey {
  width: 310px;
}

.collection_widey {
  width: 315px;
}

#login_page {
  overflow: hidden;
  margin: 4em 0;
}

#login_panel {
  text-align: center;
  padding: 2em 0;
  margin-top: 0;
}

#login_panel fieldset {
  width: 300px;
  margin: 0 auto;
}

#login_panel input[type="text"],
#login_panel input[type="password"] {
  width: 70%;
}

.btn-login {
  padding: 0.5em 2em;
  color: #fff;
  border: 1px solid #5a6d2b;
  border-bottom-color: #3c491d;
  background-color: #7e993c;
  background-image: linear-gradient(to bottom, #90af45, #63782f);
  border-radius: 0.3em;
  cursor: pointer;
  font-size: 12px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.24);
}

.btn-login:hover {
  background: #63782f;
  color: rgba(255, 255, 255, 0.8);
}

.login_bar {
  text-align: right;
  background-color: #333;
  padding: 0 1em;
}

.login_bar div {
  display: inline-block;
  border-left: 1px solid #777;
  padding: .25em 1em;
}

.login_bar div a,
.login_bar div a:visited {
  color: #eee;
  text-decoration: none;
}

.login_bar div a:hover {
  color: #fff;
  text-decoration: none;
}

.verification_label {
  float: right;
  padding-right: 3em;
  padding-top: 0.5em;
}

.not_verified {
  color: #900;
}

.verified {
  color: #090;
}

#last_import {
  color: #ccc;
  border-left: none;
}

.login_bar img {
  vertical-align: bottom;
}

.content {
  padding-bottom: 16px;
}

#footer {
  border-top: 1px solid #ccc;
  padding: 1em 0 7em;
  margin: 4em auto;
  width: 950px;
}

.secure_seal {
  float: right;
}

.footer_message {
  cursor: default;
  vertical-align: top;
}

/* Main menu */
.container .menu {
  height: 50px;
}

ul.megamenu div.mm-item-content {
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.55);
}

ul.megamenu .mm-item-link {
  border: none;
  background: #fff;
  font-size: 14px;
  margin-right: 2em;
}

ul.megamenu .mm-item-link .direct a,
ul.megamenu .mm-item-link .dropdown a {
  line-height: 1.75em;
}

ul.megamenu .mm-item-link .direct a {
  padding: .25em 0 8px;
}

ul.megamenu .mm-item-link .dropdown a {
  /*padding: .25em .25em 0;*/
  padding: 0 .25em;
}

ul.megamenu .mm-item-link .direct a:hover {
  color: #900;
  background: #fff;
  text-decoration: underline;
}

ul.megamenu .mm-item-link .dropdown a {
  border: 1px solid #ddd;
  background: #eee;
  border-radius: 3px;
  line-height: 16px;
  padding: 0;
  margin-left: 6px;
}

ul.megamenu .mm-item-link .dropdown a:hover {
  color: #fff;
  background: #900;
}

ul.megamenu .mm-item-link:hover .direct a {
  color: #900;
  text-decoration: underline;
}

ul.megamenu .mm-item-link .dropdown a:hover i {
  border-top-color: #fff;
}

.location_select {
  width: 550px;
}

.location_select_table {
  overflow: auto;
  height: 400px;
  border-bottom: 1px solid #b3b3a9;
}

.location_select_filter .prepend {
  background-color: #ddd;
  color: #444;
  width: 240px;
  margin-top: 1em;
  border: 1px solid #999;
  overflow: hidden;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.location_select_filter .prepend span {
  position: absolute;
  font-family: 'IcoMoonRegular';
  font-size: 16px;
  margin-top: -5px;
  margin-left: 4px;
  cursor: default;
}

.location_select_filter input {
  border: none;
  padding: 2px 4px;
  width: 209px;
  height: 17px;
  margin: 0;
  float:right;

  -webkit-border-top-left-radius: 0px !important;
  -webkit-border-bottom-left-radius: 0px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.region_ind {
  font-family: 'IcoMoonRegular';
  font-size: 17px;
  cursor: default;
  margin-right: .25em;
}

.small_flag {
  float: left;
  margin-top: .5em;
  margin-right: .25em;
  width: 34px;
  text-align: center;
}

.small_flag img {
  height: 15px;
  border: 1px solid #999;
  border-radius: 3px;
  overflow: hidden;
  vertical-align: bottom;
}

/* Locations page */
.location_description {
  width: 236px;
}

.location_description .actions {
  /*display: none;*/
  visibility: hidden;
}

/* html elements */
a,
a:visited {
  color: #a00;
}

/* Data tables*/
table.data {
  margin: 0 auto;
  border-collapse: collapse;

  border-left: 1px solid #ddd;
}

table.data.compact {
  font-size: 11px;
}

table.data tr {
  height: 28px;
}

table.data tr.dh {
  line-height: 2.5em;
}

table.data thead th {
  background-color: #666;
  border-top: 1px solid #b3b3a9;
  border-right: 1px solid #b3b3a9;
}

table.data tbody th {
  background-color: #57524f;
  border-top: 1px solid #b3b3a9;
  border-right: 1px solid #b3b3a9;
}

table.data tbody td {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

table.data tbody tr.even td {
  background-color: #edeedc;
}

table.data tbody tr.even td.highlight_a {
  background-color: #eed9c8;
}

table.data tbody tr.odd td.highlight_a {
  background-color: #eee4dc;
}

table.data tbody tr.even td.highlight_b {
  background-color: #c8eeee;
}

table.data tbody tr.even.highlight td.highlight_b {
  background-color: #E4F7CC;
}

table.data tbody tr.odd td.highlight_b {
  background-color: #dceeee;
}

table.data tbody tr.odd.highlight td.highlight_b {
  background-color: #EEF7CC;
}

table.data tbody tr.even td.highlight_c {
  background-color: #c8eec8;
}

table.data tbody tr.odd td.highlight_c {
  background-color: #dceedc;
}

table.data tbody tr.even td.highlight_d {
  background-color: #ffc466;
}

table.data tbody tr.odd td.highlight_d {
  background-color: #ffd899;
}

table.data tbody tr.excluded {
  color: #999;
}

table.data .ra {
  text-align: right;
}

table.data .ca {
  text-align: center;
}

table.data .controls,
table.data tbody tr.even td.controls,
table.data tbody tr.highlight td.controls {
  background-color: #fff;
  background-image: none;
  border: 0;
  width: 182px;
  padding: 0 8px;
}

table.data .controls a {
  display: none;
}

table.data th {
  color: #fff;
  border-bottom: 1px solid #b3b3a9;
  border-right: 1px solid #b3b3a9;
}

table.data thead th a,
table.data thead th a:visited {
  color: #ddd;
  text-decoration: none;
}

table.data thead th a:hover {
  text-decoration: none;
  color: #fff;
}

table.data th.header a {
  color: #fff;
  display: block;
}

table.data th.headerSortDown a {
  background: url(/assets/images/sort_up-35facc76cfceafee2c04a7dfcf719c069202583e522b7e092eb3bf09611608f5.png) no-repeat right;
  padding-right: 16px;
}

table.data th.headerSortUp a {
  background: url(/assets/images/sort_down-c8c94e423245e94caaa282dbf669e1ecaa7c3ced6023deb0477dc0284a55a4f0.png) no-repeat right;
  padding-right: 16px;
}

.list_controls {
  margin: 2em auto;
}

table.data tbody tr.highlight td {
  background-color: #ffa;
}

table.data tbody tr.highlight td.controls a {
  display: inline;
}

table.data tbody tr.odd th,
table.data tfoot tr.odd th {
  background-color: #666;
  color: #fff;
}

table.data tbody tr.even th,
table.data tfoot tr.even th {
  background-color: #555;
  color: #ddd;
}

table.data tfoot th {
  background-color: #666;
  color: #ddd;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

table.data tr.search td {
  background-color: #46413e;
}

table.data tfoot tr th.under_fc,
table.data th.period_highlight {
  background-color: #900;
}

table.data tfoot tr th.perfect_fc {
  background-color: #007a00;
}

table.data tbody tr td.frozen:after {
  cursor: pointer;
  font-family: 'IcoMoonRegular';
  font-size: 12px;
  color: #900;
  position: absolute;
  content: ".";
  margin-left: .1em;
  margin-top: -.8em;
}

.desc {
  color: #555;
  font-size: 11px;
}

.additional {
  color: #ccc;
  font-size: 10px;
  font-weight: normal;
}

.grouping_bubble {
  margin: 0 2px 1px 0;
  float: left;
}

.grouping_bubble a,
.grouping_bubble a:visited,
.move_to,
.move_to:visited,
.delete_comment_button,
.delete_comment_button:visited {
  font-size: 10px;
  background-color: #35302D;
  padding: 1px 4px;
  color: #ccc;
  text-decoration: none;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.grouping_bubble a:hover,
.move_to:hover,
.delete_comment_button:hover {
  background-color: #900;
  color: #ccc;
  text-decoration: none;
}

.move_to,
.comment .delete_comment_button {
  visibility: hidden;
}

tr.hover .move_to,
.comment.hover .delete_comment_button {
  visibility: visible;
}

.status_bubble a,
.status_bubble a:visited {
  font-size: 10px;
  font-weight: bold;
  background-color: #35302D;
  padding: 1px 4px;
  color: #ccc;
  text-decoration: none;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.status_bubble a:hover {
  background-color: #900;
}

.status_bubble.not_ok a,
.status_bubble.not_ok a:visited,
.highlight_extra span.ideal_units {
  font-weight: bold;
  background-color: #900;
}

.status_bubble.not_ok a:hover {
  background-color: #35302D;
  color: #fff;
}

.overdue {
  font-weight: bold;
  color: #900;
}

.in_lt {
  font-weight: bold;
  color: #007a00;
}

/* Bar graphs */
div.smooth_bar_graph {
  border: 1px solid #ddd;
  padding: 1px 1px 1px 1px;
  background-color: #fff;
  height: 10px;
  width: 63px;
  float: right;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

div.smooth_bar_graph.short {
  width: 48px;
}

div.smooth_bar_graph span.smooth_filled {
  height: 10px;
  display:block;
  background: #083164;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

div.smooth_bar_graph span.smooth_filled_neg {
  height: 10px;
  display:block;
  background-color: #900;
  float: right;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

div.smooth_bar_graph span.smooth_filled.red {
  background-color: #900;
}

div.smooth_bar_graph span.smooth_filled.brown {
  background-color: #995f00;
}

div.smooth_bar_graph span.smooth_filled.green {
  background-color: #007a00;
}

div.smooth_bar_graph span.smooth_filled.grey {
  background-color: #999;
}

div.avail_bar_graph {
  border: 1px solid #999;
  padding: 1px 1px 1px 1px;
  background-color: #fff;
  height: 10px;
  width: 118px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

div.avail_bar_graph span.so_filled {
  height: 10px;
  display:block;
  background: #900;
  border-right: 1px solid #fff;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;

  float: left;
}

div.avail_bar_graph div.st_filled {
  height: 10px;
  width: 100%;
  display:block;
  background: #083164;
  float: left;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

/* Spark lines */
.hist_spark {
  display: inline-block;
  width: 200px;
  height: 50px;
}

.last_period {
  color: #995f00;
  font-size: 10px;
  display: block;
  float: right;
  width:32px;
  text-align: left;
}

.avg12,
.avg6,
.avg3,
.avgfc,
.avgso,
.avgok{
  font-size: 10px;
  font-weight: normal;
}

.avg12 {
  color: #90b9ed;
}

.avg6 {
  color: #4c75a9;
}

.avg3 {
  color: #083164;
}

.avgfc {
  color: #995f00;
}

.avgso {
  color: #900;
}

.avgok {
  color: #999;
}

.policy_chart {
  overflow: hidden;
  line-height: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 1px 0 1px 1px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.policy_chart br {
  margin: 0;
}

.policy {
  height: 15px;
  display: block;
  float: left;
  border-right: 1px solid #fff;
}

.policy_text {
  clear: both;
  font-size: 10px;
  float: left;
  width: 20px;
  text-align: right;
  cursor: default;
}

.policy_value {
  font-size: 10px;
  float: left;
  width: 40px;
  text-align: right;
  cursor: default;
}

.policy.ss {
  opacity: 0.75;
  background-color: #995f00;
}

.policy_text.ss,
.policy_value.ss {
  color: #995f00;
}

.policy.lt {
  opacity: 0.75;
  background-color: #007a00;

  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.policy_text.lt,
.policy_value.lt {
  color: #007a00;
}

.policy.rc {
  opacity: 0.75;
  background-color: #650c7b;

  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.policy_text.rc,
.policy_value.rc {
  color: #650c7b;
}

.policy.oh {
  background-color: #083164;
  border: none;
  border-top: 1px solid rgba(255,255,255, .5);
  border-bottom: 1px solid rgba(0,0,0, .5);
  height: 3px;
  margin-top: 2px;
  clear: left;
  position: absolute;
}

.policy_text.oh,
.policy_value.oh {
  color: #083164;
  cursor: pointer;
}

.policy.oo {
  background-color: rgba(200, 0, 0, .75);
  border:none;
  border-top: 1px solid rgba(255,255,255, .5);
  border-bottom: 1px solid rgba(0,0,0, .5);
  height: 3px;
  margin-top: 8px;
  clear: left;
  position: absolute;
}

.policy_text.oo,
.policy_value.oo {
  color: rgba(200, 0, 0, .75);
}

.policy_text.bo,
.policy_value.bo {
  color: #666;
}

.demand {
  width: 225px;
}

.demand .y_axis {
  float: left;
  border-right: 1px solid #ccc;
  padding-right: 1px;
  height: 50px;
  width: 24px;
}

.demand .y_axis .text {
  position: absolute;
  margin-top: -8px;
  font-size: 10px;
  text-align: right;
  color: #4C75A9;
  width: 24px;
}

.demand .y_axis_tick {
  float: left;
  border-top: 1px solid #ccc;
  height: 40px;
  width: 2px;
}

.averages {
  padding: 2px 0 0;
  margin-left: 25px;
}

#availability {
  float: left;
}

.action_panel {
  height: 30px;
}

.loading_ind,
.del_loading_ind {
  display: none;
}

.action_panel .buttons {
  float: right;
}

/* pagination */
.pagination {
  margin: 2em 0;
}

.prev_page,
.current,
.next_page,
.pagination a {
  border: 1px solid #bbb;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  padding: 1em;
  text-decoration: none;
  color: #333; 

  background-color: #ececec;
}

.current {
  background-color: #fff;
  color: #000;
}

.pagination a:hover {
  border-color: #888;
  border-bottom-color: #766;
  text-decoration: none; 
  color: #fff; 
  background-color: #a99;
}

.pagination .disabled {
  color: #999;
}

/* stock enquiry */
.enquiry_block {
  background-color: #e6e6e6;
  border: 1px solid #dfdfdf;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  margin-top: 1em;
  padding: 1em;
}

.enquiry_block .label,
form .label {
  display: inline-block;
  width: 40%;
  *float: left;
  font-weight: bold;
  text-align: right;
  padding: 0.25em 0;
  border-bottom: 1px solid #ccc;
}

.enquiry_block h1,
.enquiry_block h3,
.enquiry_block .label,
.enquiry_block .arith_label,
#adjust_policy .label {
  color: #777;
}

.enquiry_block .label.empty {
  border: none;
}

.enquiry_block .value {
  display: inline-block;
  width: 50%;
  *float: left;
  text-align: left;
  padding: 0.25em 0 0.25em 8px;
  border-bottom: 1px solid #ccc;
  vertical-align: bottom;
}

.enquiry_block .arith_label {
  display: inline-block;
  width: 40%;
  *float: left;
  font-weight: bold;
  text-align: right;
  padding: 0.25em 0;
}

.enquiry_block .arith_label label {
  font-weight: bold;
}

.enquiry_block .unit_value {
  display: inline-block;
  width: 25%;
  *float: left;
  text-align: right;
  padding: 0.25em 0 0.25em 8px;
}

.enquiry_block .ans {
  border-bottom: 1px solid #ccc;
}

.operator {
  color: #900;
}

.enquiry_block .strike {
  text-decoration: line-through;
}

.enquiry_block .lt {
  color: #007a00;
}

.enquiry_block .ss {
  color: #995f00;
}

.enquiry_block .rc {
  color: #650c7b;
}

.enquiry_block .ro {
  color: #083164;
}

.enquiry_block .actions {
  margin-top: 2em;
}

.clearer {
  clear: both;
}

.year_disp {
  width: 36px;
}

.product_description {
  font-size: 16px;
}

.content .coda-nav ul li a {
  position: relative;
}

.qty {
  background: #900;
  color: #fff;
  font-size: 10px;
  letter-spacing: -1px;
  padding: 0 3px;
  position: absolute;
  top: 0;
  right: -6px;
    -moz-border-radius: 8px; 
    -webkit-border-radius: 8px;
  border-radius: 8px;
}

#supplier_performance_charts {
  margin-top: 12em;
}

#btn_po_csv_download {
  float: right;
  margin-left: 2em;
}

.supplier_code {
  width: 170px;
  font-size: 11px;
}

.order_number {
  font-size: 11px;
}

.product_count .indicator {
  float: right;
  border-left: 1px solid #999;
  padding: 0 2em;
  text-align: right;
  color: #fff;
}

.product_count .indicator.stated {
  border-right: 1px solid #999;
}

.product_count .indicator .number {
  font-size: 22px;
}

.product_count .indicator .number.lt {
  color: #00cf00;
}

.product_count .indicator .label {
  font-size: 10px;
  color: #ddd;
}

.supp_perf_ind {
  width: 10px;
  height: 10px;
  float: right;
  margin-left: 4px;
  border: 1px solid #666;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

#stream {
  height: 540px;
  overflow: auto;
}

.comment {
  display: block;
  background-color: #eee;
  margin: 0 1em 2em 0;
  padding: 1em;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.comment_icon_display {
  float: left;
  width: 30px;
  height: 30px;
  margin: 0 1em 3em 0;
}

.meta_data {
  margin-bottom: 1em;
  border-bottom: 1px solid #ccc;
  padding: .5em 0;
}

.username {
  color: #900;
}

.timestamp {
  color: #777;
}

#add {
}

.comment_icon {
  float: left;
  margin: 0 4em 2em 0;
}

.comment_icon img {
  vertical-align: middle;
}

.comment_tip {
  width: 280px;
}

.comment_tip .meta_data {
  border-bottom-color: #666;
}

.comment_tip .username {
  color: #aa6;
  font-weight: bold;
  margin-right: 1em;
}

.comm_ind,
.info_ind,
.boolean_tick,
.frozen_ind {
  cursor: pointer;
  font-family: 'IcoMoonRegular';
  font-size: 17px;
  color: #999;
}

.comm_ind,
.info_ind,
.frozen_ind {
  position: absolute;
}

.comm_ind {
  margin-left: .1em;
  margin-top: -.7em;
}

.info_ind {
  margin-left: -.8em;
  margin-top: -.45em;
}

.boolean_tick {
  margin-top: -.8em;
  color: #444;
}

.frozen_ind {
  color: #900;
  font-size: 14px;
  margin-top: -.3em;
}

/* Forms */
fieldset {
    -moz-border-radius: 6px; 
    -webkit-border-radius: 6px;
  border-radius: 6px;
  position: relative;
  padding-top: 4em;
}

legend {
  position: absolute;
  top: .8em;
  font-size: 1.4em;
  font-weight: normal;
  color: #888;
}

label {
  font-weight: normal;
}

input[type="text"],
input[type="password"],
input.text,
input.title,
textarea,
select {
    -moz-border-radius: 4px; 
    -webkit-border-radius: 4px;
  border-radius: 4px;
}

input[type=text]:focus,
input[type=password]:focus,
input.text:focus,
input.title:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 4px rgba(0,0,0,.25);
  -moz-box-shadow: 0 0 4px rgba(0,0,0,.25);
  -webkit-box-shadow: 0 0 4px rgba(0,0,0,.25);
}

.shortie {
  width: 40px;
}

.mediumpie {
  width: 60px;
}

.ra {
  text-align: right;
}

.ca {
  text-align: center;
}

.req_ind {
  background: #fff url(/images/required.png) right no-repeat;
}

input.frozen_check {
  margin-left: 0;
  margin-right: 0;
}

.manual_edit {
  font-size: 12px;
  font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
  height: 18px;
  border: 0;
  margin: 0;
  padding: 0;
  text-align: right;
  display: block;
  float: right;
  overflow: hidden;
  width:40px;
}

.manual_edit.hover,
.macro_adjust.hover {
  background-color: #ff9;
}

.inline_text_edit form {
  margin: 0;
  padding: 0;
}

.inline_text_edit input {
  font-size: 12px;
  font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
  background-color: #ff9;
  height: 18px;
  border: 0;
  margin: 0;
  padding: 0;
  text-align: right;
}

.errorExplanation {
  border: 1px solid #900;
  padding: 2em;
  margin-bottom: 2em;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.errorExplanation h2 {
  color: #900;
}

.adjust_operator {
  float: left;
  text-align: center; 
  line-height: 1.1em; 
  font-weight: bold;
  font-size: 16px;
  border-right: 1px solid #ccc;
}

.adjust_operator.last {
  border-right: none;
  margin-right: 1em;
}

/* Classification setup */
.step_indicator {
  float: right;
  font-size: 30px;
  font-weight: bold;
  color: #dcddcb;
}

.fieldWithErrors input {
  border-color: #900;
}

/* Classification tables */
.legend {
  width: 1em;
  height: 1em;
  margin-top: 0.5em;
  float:right;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.A.legend,
.H.legend {
  background-color: #007A00;
}

.B.legend,
.M.legend {
  background-color: #083164;
}

.C.legend,
.L.legend {
  background-color: #900;
}

.N.legend,
.X.legend {
  display:none;
}

/* Classification Matrix */
.classification_matrix {
  overflow: hidden;
}

.classification_matrix div {
  float: left;
  padding: 1em;
  margin: 0.5em;
  overflow: hidden;
}

.classification_matrix .blank {
  width: 18px;
  padding: 0 1em;
}

.classification_matrix .header {
  width: 126px;
  height: 20px;
  padding: 0 1em;
  text-align: center;
  overflow: hidden;
}

.classification_matrix .row {
  clear: both;
  height: 70px;
  width: 18px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

.classification_matrix .cell {
  width: 120px;
  height: 75px;
  text-align: right;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  border: 3px solid transparent;
  border-radius: 16px;
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px;
  overflow: hidden;
}

.classification_matrix.tall .cell {
  height: 94px;
}

.classification_matrix .cell.CL,
.pr_link_cell.CL,
.order_classification .CL.this,
.cell.NS,
.cell.X {
  background-color: #900;
}

.classification_matrix .cell.CM,
.classification_matrix .cell.BM,
.classification_matrix .cell.BL,
.pr_link_cell.CM,
.pr_link_cell.BM,
.pr_link_cell.BL,
.order_classification .BL.this,
.order_classification .BM.this,
.order_classification .CM.this {
  background-color: #083164;
}

.classification_matrix .cell.AM,
.classification_matrix .cell.AH,
.classification_matrix .cell.BH,
.pr_link_cell.AM,
.pr_link_cell.AH,
.pr_link_cell.BH,
.order_classification .AH.this,
.order_classification .AM.this,
.order_classification .BH.this {
  background-color: #007a00;
}

.classification_matrix .cell.AL,
.classification_matrix .cell.CH,
.pr_link_cell.AL,
.pr_link_cell.CH,
.order_classification .AL.this,
.order_classification .CH.this {
  background-color: #995f00;
}

.classification_matrix .cell.AT,
.classification_matrix .cell.BT,
.classification_matrix .cell.CT,
.classification_matrix .cell.TH,
.classification_matrix .cell.TM,
.classification_matrix .cell.TL,
.pr_link_cell.NS,
.pr_link_cell.OB,
.pr_link_cell.NG,
.pr_link_cell.UN {
  background-color: #35302d;
}

.classification_matrix .cell.TT,
.classification_matrix .cell.ST {
  background-color: #241f1c;
}

.classification_matrix .drill {
  width: 20px;
  height: 22px;
  float: left;
  margin: 0;
  padding: 0;
}

.classification_matrix .both {
}

.classification_matrix .vert,
.classification_matrix .xtra {
}

.classification_matrix .mat_label {
  font-size: 10px;
  font-weight: normal;
  color: #90b9ed;
}

.order_classification {
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 10px;
  overflow: hidden;
  width: 66px;
  margin: 0 auto;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.order_classification .row {
  clear: both;
}

.order_classification .cell,
.cell.NS,
.cell.X,
.pr_link_cell {
  width: 20px;
  height: 20px;
  background-color: #EDEEDC;
  margin: 1px;
  float: left;
  text-align: center;
  color: #fff;
  overflow: hidden;
  line-height: 22px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.cell.NS,
.cell.X {
  width: auto;
  padding: 0 4px 2px;
  background-color: #666;
  color: #fff;
}

.pr_link_cell {
  float: right;
  font-size: 9px;
  width: 16px;
  height: 16px;
  line-height: 18px;
}

.enquiry_block,
.bottom_panel,
fieldset,
#adjust_forecasts .panel,
#macro_adjust_forecasts .macro_adjust_panel,
#adjust_policy .panel,
.setup_step {
  background: #e6e6e6;
}

/* Order page */
.tableFloatingHeader {
  box-shadow: 0 0 6px rgba(0,0,0,.45);
}

.bottom_panel {
  height: 120px;
  padding-top: 1em;
  position:fixed;
  bottom: 0;
  left:0;
  width: 100%;
  box-shadow: 0 0 6px rgba(0,0,0,.45);
}

.bottom_panel .panel_content {
  width: 950px;
  margin: 0 auto;
}

#downloaded_ind {
  padding-top: .5em;
}

#downloaded_ind span {
  font-family: 'IcoMoonRegular';
  font-size: 19px;
  padding-right: .5em;
}

#downloaded_ind.dl {
  visibility: visible;
}

#downloaded_ind.ndl {
  visibility: hidden;
}

.panel_content table {
  font-size: 10px;
  border-left: 1px solid #B3B3A9;
  border-top: 1px solid #B3B3A9;
}

.panel_content table th,
.panel_content table td {
  padding: 2px .5em;
  line-height: 13px;
  border-right: 1px solid #B3B3A9;
  border-bottom: 1px solid #B3B3A9;
}

.panel_content table th {
  background-color: #35302D;
  color: #fff;
}

.panel_content table td {
  background-color: #fff;
}

.panel_content table tr.even td {
  background-color: #edeedc;
}

.panel_content .notes {
  background-color: #ffa;
  font-family: "Comic Sans MS", "Lucida Casual";
  height: 64px;
  padding: 4px;
  overflow: hidden;

  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.panel_content .notes p {
  margin-bottom: .5em;
}

.panel_content .label {
  clear: both;
  float: left;
  text-align: right;
  width: 60px;
  font-weight: bold;
  font-size: 10px;
  padding-right: 1em;
}

.panel_content .value {
  font-size: 10px;
}

.highlight_diff {
  font-weight: bold;
  color: #900;
}

.panel_content .details {
  font-size: 10px;
}

/* Stock Forecast page */
td.selected,
table.data tbody tr.even td.selected {
  background-color: #ccf;
}

#adjust_forecasts {
  margin-top: 1em;
  background-color: #57524F;
  overflow: hidden;
  padding: 1em;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#adjust_forecasts form {
}

#adjust_forecasts .panel {
  float: left;
  margin-left: 20px;
  width: 320px;
  height: 32px;
  padding: 1em;

  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#adjust_forecasts .slider.panel {
  width: 288px;
}

#adjust_forecasts .adjust {
}

#adjust_forecasts .frozen.panel {
  width: 161px;
}

#macro_adjust_forecasts {
  margin-top: 1em;
  background-color: #57524F;
  overflow: hidden;
  padding: 1em;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}
#macro_adjust_forecasts .macro_adjust_panel {
  margin: 0 auto;
  width: 90%;
  height: 184px;
  padding: 1em;

  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#macro_adjust_forecasts table {
  background-color: #fff;
}

#macro_adjust_forecasts .slider {
  float: right;
  width: 250px;
  margin-right: 84px;
  margin-top: 10px;
  display: none;
}

.close_btn {
  float: right;
}

.close_btn a,
.close_btn a:visited {
  text-decoration: none;
  color: #fff;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.close_btn a:hover {
  background-color: #ddd;
  color: #333;
}

#frozen_cnt {
  background-color: #ff9;
  padding: .5em;
  margin-left: 3em;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  display: none;
}

/* Filters */
.filter_panel {
  background-color: #57524F;
  background-color: rgba(87,82,79,.8);

  position: absolute;
  width: 930px;

  padding: 1em;
  margin-bottom: 2em;

  z-index: 11;

  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;

  font-size: 10px;
}

.filter_panel.inline {
  width: 892px;
}

.filter_panel .handle {
  float: left;
}

.filter_panel .also_available_in {
  float: right;
  text-align: right;
  line-height: 2.2em;
}

.filter_panel h2 {
  color: #fff;
  text-align: center;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

.filter_panel #btn_filter_handle,
.filter_panel #btn_filter_handle:visited,
.filter_panel #btn_also_available_in,
.filter_panel #btn_also_available_in:visited,
.filter_panel #btn_supersessions,
.filter_panel #btn_supersessions:visited,
.filter_panel .btn_handle,
.filter_panel .btn_handle:visited {
  color: #ccc;
  font-size: 13px;
  text-decoration: none;
  background-color: #333;
  padding: 2px 4px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.filter_panel .product_count {
  float: right;
  color: #fff;
  margin-bottom: 1px;
}

.filter_panel .some_filters #btn_filter_handle,
.filter_panel .some_filters #btn_filter_handle:visited {
  background-color: #600;
  color: #fff;
}

.filter_panel #btn_filter_handle:hover,
.filter_panel #btn_also_available_in:hover,
.filter_panel #btn_supersessions:hover,
.filter_panel .btn_handle:hover {
  color: #fff;
  background-color: #900;
}

.filter_panel .left {
  clear: both;
  width: 290px;
  margin-right: 10px;
  float: left;
}

.filter_panel .mid {
  width: 350px;
  float: left;
  margin-right: 10px;
}

.filter_panel input,
.filter_panel select {
  font-size: 10px;
}

.filter_panel input.filtering,
.filter_panel select.filtering {
  border-color: #900;
}

.filter_panel .button_panel {
  margin-top: 1em;
  text-align: right;
}

.filter_panel .large_help {
  text-decoration: none;
  font-family: 'IcoMoonRegular';
  color: #ddd;
  font-size: 22px;
  margin-left: .5em;
}

.filter_panel .large_help:hover {
  color: #fff;
}

.slider_panel {
  padding-top: 2em;
  clear: both;
  /*height: 200px;*/
  display: none;
}

a.checkbox_replacement {
  color: #999;
  text-decoration: none;
}

a.checkbox_replacement:hover {
  color: #900;
}

a.checkbox_replacement.checked {
  color: #900;
}

/* Policy parameters page */
#adjust_policy {
  width: 312px;
  float: right;
  margin-top: 3em;
  background-color: #57524F;
  overflow: hidden;
  padding: 1em;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#adjust_policy .panel {
  float: left;
  margin-left: 20px;
  width: 250px;
  height: 64px;
  padding: 1em;

  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

/* Dashboard */
#top_15 {
  min-height: 262px;
}

.loading {
  background: rgba(0,0,0,.15);
  padding: 8em 0;
  text-align: center;
}

.number_ind {
  width: 80px;
  float: right;
  text-align: right;
}

.number_ind .desc {
  color: #555;
  font-size: 10px;
  line-height: 0.8em;
}

.actual,
.actual a {
  font-size: 22px;
  line-height: 1.2em;
  color: #000;
  text-decoration: none;
  margin-bottom: 4px;
}

.target {
  font-size: 16px;
  color: #003C3C;
}

.sparkbar {
  width: 10px;
}

.dash_block h3,
.enquiry_block h3 {
  margin: 0.5em 0 0;
}

.dash_block table {
  background-color: #fff;
}

.overflow-hider {
  overflow: hidden;
}

.quickflip-wrapper {
  position: relative;
  top: 0px;
  transition: all 0.5s ease-in-out;
}

.dash_block .readmore {
  float: right;
  text-align: right;
}

.dash_block .readmore .btn_flip {
  font-family: 'IcoMoonRegular';
  font-size: 20px;
  position: absolute;
  margin-left: -.9em;
  margin-top: -.5em;
  color: #333;
  text-decoration: none;
}

.muted_until {
  float: right;
}

.hidden {
  display: none;
}

/* Regions display */
.level {
  min-height: 80px;
  border-bottom: 1px dashed #ccc;
  text-align: center;
}

.level .level_description {
  font-size: 10px;
  color: #ccc;
  position: absolute;
}

.location {
  display: inline-block;
  margin: 6px 6px 32px;
  padding: 1em;

  border: 1px solid #666;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;

  z-index:200;
  cursor: pointer;

  background: #ffffff; /* old browsers */

  opacity: 0.8;
  filter: alpha(opacity=80);
}

.region {
  background: #dff;
}

.location.selected {
  border: 2px solid #083164;
  color: #083164;
  margin: 5px 5px 31px;
}

.location.hover {
  color: #009;
}

.location.selected,
.location.hover {
  opacity: 1.0;
  filter: alpha(opacity=100);
}

._jsPlumb_connector {
  /*z-index: -100;*/
}

#add_region_block {
  position: absolute;
  width: 372px;
  z-index: 10;
}

#btn_add_region {
  float: right;
  margin-right: 4px;
}

#regions_spacer {
  height: 64px;
}

#regions_form {
  margin-top: 24px;
  display: none;
}

.field {
  display: inline-block;
}

.field input {
  margin-left: 1em;
  width: 200px;
}

/* users */
#user_details {
  margin-left: 56em;
  position: fixed
}

#user_locs_container {
  display: none;
}

/* table sorter */
table.data th.headerSortDown a {
  background: url(/assets/images/sort_up-35facc76cfceafee2c04a7dfcf719c069202583e522b7e092eb3bf09611608f5.png) no-repeat right;
  padding-right: 16px;
}

table.data th.headerSortUp a {
  background: url(/assets/images/sort_down-c8c94e423245e94caaa282dbf669e1ecaa7c3ced6023deb0477dc0284a55a4f0.png) no-repeat right;
  padding-right: 16px;
}

code {
  display: none;
}

/* site configs */
div.advanced {
  float: right;
  margin: 0 0 1em 1em;
}

/* Suppliers page */
.detail_grid {
  width: 390px; /* this is width of a span-10 */
  position: static;
}

/* Please Wait page */
#progress_bar {
  width:200px;
  border:1px solid #aaa;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  padding: 1px;
  margin-right: 1em;
  float:left;
  background-color: #fff;
}

#progress {
  background-color: #900;
  height: 1em;
  width: 0%;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

/* Menu items */
.settings {
  width: 200px;
}

.settings a,
.settings a:visited {
  display: block;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  line-height: 1.5em;
  border: 1px solid #fff;
  padding: .5em;
}

.settings a:hover {
  color: #900;
  background-color: #eee;
  border: 1px solid #999;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

/* Initial Setup */
.setup_step {
  padding: 2em;
  margin: 0 auto 4em;
  width: 500px;
  border: 1px solid #999;

  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.setup_step.completed {
  width: 200px;
  float: left;
  margin: 0 2em 2em 0;
}

.setup_step .completed_indicator {
  float: right;
  margin: 0 0 2em 2em;
}

.setup_step table {
  background-color: #fff;
}

.setup_step .error_row td {
  background-color: #900;
  color: #fff;
}

.ok {
  color: #666;
}

.fail {
  color: #900;
  font-weight: bold;
}

.recommended {
  color: #007a00;
  font-weight: bold;
}

#lt_in_ns {
  text-indent: 2em;
  display: none;
}

#first_import,
#first_import_completed,
#error,
#try_again {
  display: none;
}

#error {
  color: #900;
}

#try_again {
  margin-top: 2em;
}

/* projection */
#grid.slider_panel {
  clear: both;
}

#daily_projection,
#projected_orders,
#hist_po_grid {
  background-color: #fff;
  font-size: 12px;
}

table.data tbody tr.lt_line td {
  border-bottom: 2px dashed #090;
}

/* bom and supersession display */
.bom_level,
.super_level {
  padding: 1em 0;
  border-bottom: 1px dashed #ddd;
  text-align: center;
}

.bom_level_desc,
.super_level_desc {
  float: left;
  color: #999;
  font-size: 11px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

  position: absolute;
  height: 2em;
  width: 2em;
  line-height: 1em;
  margin: 30px 0 0;
}

.node_code a {
  font-size: 10px;
  color: #222;
  text-decoration: none;
}

.node_code a:hover {
  color: #900;
}

.ratio_label {
  color: #900;
  font-size: 10px;
  background-color: #fff;
  padding: 0 .25em;
  z-index: 10;
  border: 1px solid #ccc;
  border-radius: 2em;
}

.bom_node,
.super_node {
  display: inline-block;
  margin: 6px 4px 32px;
  padding: .25em .5em;

  border: 1px solid #666;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;

  z-index:200;
  cursor: pointer;

  background: #ffffff; /* old browsers */

  opacity: 0.8;
  filter: alpha(opacity=80);
}

.this_bom,
.this_super {
  border: 2px solid #083164;
  color: #083164;
  margin: 5px 5px 47px;
}

#bom_grid,
#cw_grid,
#co_grid,
#po_grid,
#promo_grid {
  max-height: 480px;
  overflow-y: auto;
}

#bom_grid table {
  background-color: #fff;
  position: relative;
  z-index: 11;
}

.bom_more {
  cursor: pointer;
}


/* Supersession display */

/* Recommended orders */
#supplier_list {
  margin-top: 2em;
}

.order_comment {
  width: 172px;
  height: 2em;
  margin-top: 1em;
  color: #222;
  background-color: #ffe;
  font-size: 11px;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.moq,
.moq_val {
  font-size: 10px;
}

.moq_val {
  color: #900;
}

.highlight_extra span.ideal_units {
  color: #eee;
  padding: .1em .25em;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.amended_order {
  width: 96px;
}

.amended_qty,
.amended_cost {
  font-size: 12px;

}

.fh_inner_container {
  border-bottom: 1px solid #B3B3A9;
}

#top_up_list {
  min-height: 460px;
  margin-bottom: 2em;
}

#augmented_items thead {
  z-index: 2;
}

#augmented_items tbody tr td {
  position: relative;
  z-index: 1;
}

#augmented_items tbody tr.even td,
#augmented_items tbody tr.even td.highlight_b,
#augmented_items tbody tr.odd td,
#augmented_items tbody tr.odd td.highlight_b { 
  background-clip: padding-box;
}

#augmented_items tbody tr td.ra.aug_cst_vol_wgh{
  width: 54px;
}

#augmented_summary {
  font-size: 10px;
}

#augmented_summary table tr {
  height: 24px;
}

#augmented_summary table tr th,
#augmented_summary table tr td {
  padding-top: 0;
  padding-bottom: 0;
}

#augmented_summary table tr th.controls ,
#augmented_summary table tr td.controls {
  width: 1em;
}

#augmented_summary table tr td.controls a {
  text-decoration: none;
  color: #333;
}

#target_panel {
  background: #ffb;
  padding: 2em;
  height: 8em;
  border: 1px solid #ccc;
}

#add_menu {
  display: none;
  padding: 1em;
  overflow: hidden;
}

.add_menu_item {
  margin-bottom: 1em;
}

#add_menu_item_group {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ccc;
  display: none;
}

#btn_add_item,
#btn_add_item_topup {
  width: 285px;
}

#search_ind {
  display: none;
}

#add_item_msg,
#add_sup_msg {
  display: none;
  text-align: center;
  color: #900;
}

#add_sup_msg {
  color: #fff;
}

#add_item_msg .ico,
#add_sup_msg .ico {
  font-family: 'IcoMoonRegular';
  font-size: 16px;
}

#supplier_lookup {
  width:408px;
  height: 48px;
  position: absolute;
  right: 2em;
  top: 5em;
  background-color: #57524F;
  color: #ccc;
  overflow: hidden;
  padding: 1em;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

/* Projection */
.num {
  width: 24px;
}

.pdate {
  width: 64px;
}

/* Central Warehouse */
.cw_more {
  cursor: pointer;
}

.nowrap {
  white-space: nowrap;
}

/* Projections */
.proj_spark {
  width: 50px;
}

/* Forecast tab */
.demand_highpoint {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 3px solid #007a00;
}

.demand_lowpoint {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid #900;
}

.grid_total_col {
  width: 140px;
}

.grid_total_value {
  width: 34px;
  margin: 0 .25em 0 0;
  float:right;
}

.grid_total_spark {
  width: 48px;
  float: right;
}

#currency_box {
  float: left;
  margin-left: 1em;
  border-radius: 4px;
  overflow: hidden;
  background-color: #666;
  color: #ddd;
}

#currency_box .flag {
  float: left;
}

#currency_box .flag img {
  height: 24px;
  vertical-align: bottom;
}

#currency_box .symbol {
  float: left;
  margin: 0 .5em;
  padding-top: .5em;
  cursor: default;
}

.currency_placeholder {
  height: 15px;
}

.currency_container {
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
  background-color: #666;
  color: #ddd;
  height: 15px;
}

.currency_container.inline {
  float: right;
  margin-left: .5em;
}

.currency_container .flag {
  float: left;
}

.currency_container .flag img {
  height: 15px;
  vertical-align: bottom;
}

.currency_container .symbol {
  font-size: 10px;
  float: left;
  margin: 0 3px;
  cursor: default;
}

/* Product tours */
#tour_menu {
  padding: 2em;
  display: none;
  text-align: center;
  background: #ffd;
}

#tour_menu .menu_item {
  display: inline-block;
  margin: 0 1em 1em 0;
}

.hopscotch-bubble ul {
  margin-top: 1em;
}

.hopscotch-bubble ul li {
  margin-bottom: .5em;
}

.hopscotch-bubble.hopscotch-callout {
  background: #fff;
}

.hopscotch-bubble.hopscotch-callout .hopscotch-bubble-arrow {
  border-bottom-color: #fff !important;
}

#btn_start_tour {
  display: none;
}

.small_bottom_pad {
  padding-bottom: 3px;
}

.lite_version_mp {
  font-weight: bold;
}
