

body {
  background-color: #9c9;
  font: 12px verdana, arial, helvetica, sans-serif;
  margin: 0 auto;
}

th a, th a:visited, th a:hover {
  color: #040;
  text-decoration: underline;
}

a, a:visited, a:hover {
  color: #090;
  text-decoration: underline;
}

.note-body > a {
  color: #5555bb;
}

.note-body {
  background-color: #F6F7F9;
}

div.qContainer,
div.q-container {
  background-color: #7a7;
  border-color: #030;
  border-style: solid;
  border-width: 1px;
  margin: 20px 0;
  padding: 7px;
}

table.layoutTable {
  border-width: 0;
  color: #000;
  font: 12px verdana, arial, helvetica, sans-serif;
  width: 100%;
}

.outline {
  border-color: #ada;
  border-style: solid;
  border-width: 2px;
  margin: 2px;
  padding: 2px;
}

.errorMessage,
.error-message {
  color: red !important;
  font-weight: 700;
}

div.actionErrors,
div.action-errors {
  background-color: #FFF;
  border: 2px solid #a00;
  margin: 5px 0;
  padding-bottom: 5px;
}

div.actionErrors div.actionErrorsHeading,
div.action-errors div.action-errors-heading {
  background-color: #a00;
  color: #FFF;
  font-weight: 700;
  padding: 3px;
}

#headerDiv,
#header-div {
  background-color: #070;
  border-width: 0;
  padding: 0;
}

#appName,
#app-name {
  background-color: #070;
  color: #FFF;
  float: right;
  font-size: 15px;
  font-weight: 700;
  padding-right: 5px;
  padding-top: 3px;
}

#pageTitle,
#page-title {
  -moz-border-radius-bottomright: 10px;
  background-color: #FFF;
  border-bottom: solid 1px #000;
  border-right: solid 1px #000;
  color: #000;
  float: left;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 5px 10px 5px 5px;
}

#brandingContainer,
#branding-container {
  float: right;
  text-align: right;
}

#buttonBar,
#button-bar {
  margin-top: 27px;
}

#contentAreaDiv,
#content-area-div {
  margin-top: 27px;
}

.inputWarning,
.input-warning {
  background-color: #ff8;
  color: red;
  font-weight: 700;
}

.inputError,
.input-error {
  background-color: #fcc;
  color: #000;
  font-weight: 700;
}

div.warningData,
div.warning-data {
  /*margin:-5px;*/
  padding: 3px;
}

div.badData,
div.bad-data {
  margin: -5px;
  padding: 3px;
}

.qhidden {
  display: none;
}

.messageBox,
.message-box {
  background-color: #E0FFE0;
  border-style: solid;
  border-width: 1px;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px 0;
  padding: 5px;
}

.warningBox,
.warning-box {
  background-color: #FFA;
  border: 6px solid #C90;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px 0;
  padding: 5px;
}

.errorBox,
.error-box {
  background-color: #F66;
  border: 6px solid #FF4040;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px 0;
  padding: 5px;
}

.errorBox a,
.errorBox span.fakeHyperlink,
.error-box a,
.error-box span.fake-hyperlink {
  color: #fff;
}

.fakeHyperlink,
.fake-hyperlink {
  color: #090;
  cursor: pointer;
  text-decoration: underline;
}

.flash_notice,
.flash-notice {
  background-color: #afa;
  border: 1px solid green;
  font-size: 1.2em;
  font-weight: 700;
  margin: 5px 0;
  padding: 10px;
}

.flash_warning,
.flash-warning {
  background-color: #ffa;
  border: 1px solid #c90;
  font-size: 1.2em;
  font-weight: 700;
  margin: 5px 0;
  padding: 10px;
}

.flash_error,
.flash-error {
  background-color: #fcc;
  border: 1px solid red;
  font-size: 1.2em;
  font-weight: 700;
  margin: 5px 0;
  padding: 10px;
}

.numeric {
  text-align: right;
}

ul.subsection_tabs,
ul.subsection-tabs {
  border-bottom: 1px solid #7a7;
  clear: both;
  height: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.subsection_tabs li,
ul.subsection-tabs li {
  float: left;
  margin-right: 7px;
  text-align: center;
}

ul.subsection_tabs li a,
ul.subsection-tabs li a {
  background-color: #7A7;
  border-color: #000;
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  color: #000;
  display: block;
  font-weight: 700;
  height: 19px;
  padding: 0 6px;
  position: relative;
  text-decoration: none;
  top: 1px;
  width: 80px;
}

ul.subsection_tabs li a:hover,
ul.subsection-tabs li a:hover {
  background-color: #ADA;
}

ul.subsection_tabs li a.active,
ul.subsection-tabs li a.active {
  background-color: #ADA;
  height: 20px;
}

table tr th.gap {
  height: 5px;
}

.button_replace,
.button-replace {
  vertical-align: middle;
}

ul.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.align-left {
  text-align: left !important;
}

span.error {
  color: #a00;
  font-weight: bold;
  clear: both;
  display: block;
}

.field_with_errors,
.field-with-errors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation,
#error-explanation {
  background-color: #FFF;
  border: 2px solid red;
  margin-bottom: 20px;
  padding: 7px 7px 12px;
}

#errorExplanation h2,
#error-explanation h2 {
  background-color: #c00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin: -7px;
  padding: 5px 5px 5px 15px;
  text-align: left;
}

#errorExplanation p,
#error-explanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li,
#error-explanation ul li {
  font-size: 12px;
  list-style: square;
}

div.fieldWithErrors input,
div.field-with-errors input {
  background-color: #faa;
  display: table;
  padding: 2px;
}

form.button_to,
form.button-to {
  display: inline;
}

form.button_to div,
form.button-to div {
  display: inline;
}

a.button {
  padding: 1px 3px 1px 2px;
  background-color: #dcdcdc;
  border: 1px solid #666;
  border-top-color: #fff;
  border-left-color: #fff;
  color: #444;
  text-decoration: none;
}

.sortable {
  text-decoration: underline;
}


.required-field-for-products {
  border-color: #0000FF !important;
  border-width: 2px !important;
}

.numerical-input {
  text-align: right;
}

.ui-widget-overlay {
  background: #666;
  opacity: .5;
}

.ui-dialog-titlebar {

}

table.align-top-table td {
  vertical-align: top;
}

.text-very-muted {
  color: #BBBBBB;
}

/* Discussion thread styles. */
.note-text-box, #new-thread-content {
  width: 100%;
  height: 10em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.note-author {
  background-color: #ddd;
}

.serialized-thread {
  display: block;
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid #ddd;
}

.serialized-thread:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
}

.inline {
  display: inline;
}

.button-bar-form {
  margin-top: 2px;
}

/* Discussion thread styles. */
.note-text-box, #new-thread-content {
  width: 100%;
  height: 10em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.wwFormTable input[type=checkbox] {
  position: relative;
  margin: 0 0 0 0;
}

.table input[type=checkbox] {
  position: relative;
  margin: 0 0 0 0;
}

table.wwFormTable .radio {
  display: inline;
}

table.wwFormTable .radio label {
  min-height: 0;
}

table.wwFormTable .radio input[type=radio] {
  position: static;
  margin-left: 5px;
  margin-right: 5px;
}

/* Bootstrap override*/

.alert-success {
  border-color: #267f26;
  border-width: 2px;
}

.alert-danger {
  border-color: #a94342;
  border-width: 2px;
}

form.form-tight .form-group {
  margin-bottom: 5px;
}

form.form-tight .form-control {
  height: 24px;
  padding: 3px;
  font-size: 12px;
}

form.form-tight textarea.form-control {
  height: 48px;
}

.active-text, .inactive-text {
  font-weight: bold;
  font-size: 120%;
}

.active-text {
  color: green;
}

.inactive-text {
  color: gray;
}

.panel-form {
  background-color: #ddd;
}

.form-control {
  border: 1px #777 solid;
}

/* Bootstrap override*/
.column-heading {
  padding: 8px 8px 4px 8px;
  font-weight: bold;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 15px;
}

.panel-body {
  padding: 3px;
}

.panel-heading {
  padding: 3px 8px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.help-block {
  margin: 3px;
}

/* Data Tables */

.dataTables_paginate, .dataTables_filter {
  float: right;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.dataTable td.right {
  text-align: right;
  padding-right: 5px;
}

.dataTables_info {
  margin-left: 5px;
  margin-bottom: 10px;
}

/* bootstrap form tightening */
.form-group.fg-condensed {
  margin-bottom: 5px;
}

.panel-body .row.spaced {
  margin-top: 10px;
}


/* Turn off number spinners*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/*.row [class*='col-'] {
  background-color: #ffeeee;
  background-clip: content-box;
  min-height: 20px;
}
*/

/* Panels */
.short-div {
  height: 130px !important;
}

table thead tr th a,
table thead tr th a:active,
table thead tr th a:hover {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
}

table thead tr th a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

table thead tr th a.current.asc::after {
  content: '\00A0\2191';
  font-weight: bold;
}

table thead tr th a.current.desc::after {
  content: '\00A0\2193';
  font-weight: bold;
}

.flex-filterbar {
  display: flex;
}

.flex-filterbar .filter-group {
  margin-right: 10px;
}

.tip-expand > span {
  cursor: help;
  display: block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* embedded ember app */
.qms-page-header {
  background-color: #79bd78;
}

table {
  &.table-baseline {
    td, th {
      vertical-align: baseline;
    }
  }
}

.text-baseline {
  vertical-align: baseline;
}
