/*
    Document   : main
    Created on : 17/04/2013, 12:46:27 PM
    Author     : bryan
    Description:
        Purpose of the stylesheet follows.
*/
.progress-small {
  margin-bottom: inherit;
  height: 10px;
  /*box-shadow: none;*/
  /*border-radius: 0;*/
}
#message-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 400px;
  width: 100%;
  display:block;
  /*  max-height: 500px;*/
  overflow: auto;
}
#message-list>.message {
  border: solid 1px #ccc;
  margin-top: .25em;
  position: relative;
  display: block;
}
#message-list>.message>a {
  color: inherit;
  padding: .75em;
  display: block;
  position:relative;
}
#message-list>.message:hover {
  background: #f3f3f3;
}
#message-list>.message>a:hover {
  text-decoration: none;
}
#message-list>.message span {
  display: inline-block;
  padding: initial;
}
#message-list>.message span.date,
#message-list>.message span.author,
#message-list>.message span.actions {
  white-space: nowrap;
}
#message-list>.message span.author {
  font-weight: bolder;
}
#message-list>.message span.date {
  position: absolute;
  right: 0;
  margin-right: 1em;
  font-weight: lighter;
}
#message-list>.message span.subject {
  display: block;
  margin-top: .5em;
  font-weight: 500;
}
#message-list>.message span.subject {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#message-list>.message span.unread {
  display: inline-block;
  position: absolute;
  right: 0;
  margin-right: 1em;
  bottom: 0;
  margin-bottom: .75em;
}
#message-list>.message span.preview {
  display: block;
  clear: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
}
#message-list>.message span.actions {
  position: absolute;
  right: 0;
  bottom: .2em;
  display: none;
}
#message-list>.message:hover span.actions {
  display: inline-block;
}
#message-list>.message span.actions .action {
  background: #f3f3f3;
  border: solid 1px #ccc;
  padding: .2em .5em;
  /*margin-top: .2em;*/
}

#message-viewer {
  display: inline-block;
}


/*
 * Scrolling panels:
 */

div.scrollContainer {
  overflow: hidden;
  position: relative;
}
div.scrollWrap {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
}

div.scrollBody {
  position: relative;
}
div.scrollContent {
}



.frm .field, .frm .value, .col, .frm > .col {
  display: inline-block;
  vertical-align: top;
}
.frm .field {
  color: #1464B4;
  font-weight: bold;
  width: 80px;
}
.frm .col.f150 .field {
  width: 150px;
}
.frm .col.v150 .value {
  width: 150px;
}
.frm .col.f125 .field {
  width: 125px;
}
.frm .col.v125 .value {
  width: 125px;
}
.frm .col.f100 .field {
  width: 100px !important;
  min-width: 100px;
}
.frm .col.v100 .value {
  width: 100px !important;
  min-width: 100px;
}
.frm .col.f75 .field {
  width: 75px !important;
  min-width: 75px;
}
.frm .col.v75 .value {
  width: 75px !important;
  min-width: 75px;
}
.frm .value {
  max-width: 250px;
  min-width: 175px;
  padding-left: 10px;
  padding-right: 20px;
}
.frm .grp {
  margin-bottom: 0.6em;
}
.frm .field, .frm .value {
  margin: 2px;
}


a {
  text-decoration: none;
  color: #1464B4;
}
a:hover {
  text-decoration: underline;
}


div.tabs-outer {
  /*
  border-bottom: 1px solid #aaa;
  clear: both;
  margin: 8px;
  padding: 8px;
  */

  border-bottom: 1px solid #CCCCCC;
  clear: both;
  height: 34px;
  margin-bottom: 15px;
}

div.tabs {
  border: 0 none;
  float: left;
  font-weight: normal;
}

div.tabs a {
  background: inherit;
  border: 1px solid #fff;
  display: block;
  float: left;
  height: 24px;
  line-height: 22px;
  margin: 8px 8px 0 0;
  padding: 0 11px;
  text-decoration: none;
}
div.tabs a.selected {
  border-color: #aaa #aaa #fff;
  border-left: solid 1px;
  border-right: solid 1px;
  border-color: #ccc #ccc #FFFFFF;
  border-style: solid;
  border-width: 1px;
  color: black;
  height: 30px;
  line-height: 28px;
  margin-top: 3px;
  padding: 0 11px;
}
/*
div.tabs a:hover:not(.selected) {
  border-color: #aaa #aaa #fff;
  border-left: solid 1px;
  border-right: solid 1px;
  border-color: #ccc #ccc #FFFFFF;
  border-style: solid;
  border-width: 1px;
  height: 26px;
  line-height: 22px;
  margin-top: 7px;
}
*/

div.tabs span.tabCount {
  background-color: #0077DD;
  border-radius: 3px 3px 3px 3px;
  color: white;
  /*
  display: inline-block;
  */
  font-size: 90%;
  font-weight: bold;
  margin-right: 4px;
  margin-top: -4px;
  padding: 0 5px;
  vertical-align: middle;

  display: inline;
  padding: 4px;
}
/*
div.tabs a.selected span.tabCount {
  background-color: #0077DD;
  border-radius: 3px 3px 3px 3px;
  color: white;
  display: inline-block;
  font-size: 90%;
  font-weight: bold;
  margin-right: 4px;
  margin-top: -4px;
  padding: 0 5px;
  vertical-align: middle;
}
*/
div.tool-buttons {
  margin: 10px 0;
}
div.tool-buttons button, div.tool-buttons a {
  margin-right: 4px;
}
div.tool-buttons > div {
  display: inline-block;
  margin-right: 8px;
}
.tool-buttons2 {
  margin: 10px 0;
}
.tool-buttons2 button,
.tool-buttons2 input[type=submit],
.tool-buttons2 a {
  margin-right: 4px;
}
.tool-buttons2 > div {
  display: inline-block;
  margin-right: 8px;
}
.tool-buttons2 :not(:first-child) {
  margin-left: .25em;
}
.tool-buttons2 button,
.tool-buttons2 input[type=submit],
.tool-buttons2 a,
.tool-buttons2 a:link,
.tool-buttons2 a:visited,
.tool-buttons2 a:hover,
.tool-buttons2 a:active {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  text-align: center;
  vertical-align: middle;
  background-color: #eee;
}
.tool-buttons2 a,
.tool-buttons2 a:link,
.tool-buttons2 a:visited,
.tool-buttons2 a:hover,
.tool-buttons2 a:active {
  padding-top: 5px;
  padding-bottom: 4px;
}
.tool-buttons2 a,
.tool-buttons2 button,
.tool-buttons2 input[type=submit]
{
  display: inline-block; padding: 4px 8px;
  /*background: ButtonFace;*/
  color: #555;
  border: solid 1px #ccc;
}
.tool-buttons2 button:hover:not(:disabled),
.tool-buttons2 input[type=submit]:hover:not(:disabled),
.tool-buttons2 a:hover {
  background: white;
  text-decoration: none;
}
.tool-buttons2 :disabled {
  color: #bbb;
}


table.simple-data {
  border-collapse: collapse;
}
table.simple-data th {
  font-weight: normal;
  padding: 3px 5px;
  border-bottom: 1px solid #aaa;
}
table.simple-data td {
  color: #555;
  padding: 4px 8px 2px;
}
table.simple-data tbody tr:hover td {
  background-color: #F3F3F3;
}

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

table.sortable thead tr th {
  cursor: pointer;
}

table.sortable thead tr th:after {
  /*content: "";*/
  float: right;
  width: 16px;
  height: 16px;
  margin: 0 0 0 2px;
}
table.sortable th.headerSortUp:after, table.sortable th.headerSortDown:after {
  background: url(jquery-ui.1.11.4/images/ui-icons_222222_256x240.png);
  content: "";
}
table.sortable thead tr th.headerSortUp:after {
  background-position:0 -16px;
}
table.sortable thead tr th.headerSortDown:after {
  background-position:-64px -16px;
}

table.sortable tr.highlight {
  background-color: #ffd;
}

.sorting-asc:after {
  float: right;
  width: 16px;
  height: 16px;
  margin: 0 0 0 2px;
  background: url(jquery-ui.1.11.4/images/ui-icons_222222_256x240.png);
  content: "";
  background-position:-64px -16px;
}
.sorting-desc:after {
  float: right;
  width: 16px;
  height: 16px;
  margin: 0 0 0 2px;
  background: url(jquery-ui.1.11.4/images/ui-icons_222222_256x240.png);
  content: "";
  background-position:0 -16px;
}


td.actions a+a {
  margin-left: 5px;
}

/** Customer notes */
#note-container {
  max-width: 600px;
}
.cust-note:first-child {
  border-top: solid 1px #ccc;
}
.cust-note {
  /*background: #eee;*/
  margin-top: 1px;
  padding: 10px 20px;
  border-bottom: solid 1px #ccc;
}
.cust-note-header {
  padding: 4px;
  /*background: #5e87b0;*/
  /*color: white;*/
}
.cust-note-header-b {
  padding: 4px;
}
.cust-note-comment {
  padding: 4px;
  margin: 0 5px;
}
.cust-note-date {
  /*margin-right: 10px;*/
  float: right;
}
.cust-note-user {

}
.cust-note-header-b {
  float: right;
}

.doc-entry {
  border-bottom: solid 1px #999;
  padding-top: 10px;
  padding-bottom: 10px;
}

select.nochrome {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: checkbox-container;
  border-style: none;
}
select.nochrome::-ms-expand {
  display: none;
}



div.tabs-outer-2 {
  border-bottom: 1px solid #CCCCCC;
  clear: both;
  height: 34px;
  margin-bottom: 15px;
}

div.tabs-2 {
  border: 0 none;
  float: left;
  font-weight: normal;
}

div.tabs-2 a {
  background: inherit;
  border: 1px solid #fff;
  display: block;
  float: left;
  height: 24px;
  line-height: 22px;
  margin: 8px 8px 0 0;
  padding: 0 11px;
  text-decoration: none;
}
div.tabs-2 a.selected {
  background-color: #999999;
  border-color: #FFFFFF #FFFFFF #CCCCCC;
  border-style: solid;
  border-width: 1px;
  color: #FFFFFF;
  line-height: 28px;
  /*margin: 3px 0;*/
  padding: 0 6px;
}

div.tabs-2 span.tabCount {
  background-color: #0077DD;
  border-radius: 3px 3px 3px 3px;
  color: white;
  font-size: 90%;
  font-weight: bold;
  margin-right: 4px;
  margin-top: -4px;
  padding: 0 5px;
  vertical-align: middle;

  display: inline;
  padding: 4px;
}

.hide-single-child > :only-child {
  display: none;
}

#message-view-wrap {
  display: table;
  width: 100%;
  table-layout: fixed;
}
#message-view-wrap>div {
  display:table-row;
}
#message-view-wrap>div>div:not(:first-child) {
  padding-left: 10px;
}
#message-view-wrap>div>div {
  display:table-cell;
  margin-left: 10px;
}
#message-view-participants {
  width: 225px;
}
#message-view-participants ul {
  list-style: none;
  padding: 0;
}
#message-view-participants span {
  display: inline-block;
}
#message-view-participants span.date {
  display: inline-block;
  position: absolute;
  right: 15px;
}
#message-view-participants-inner {
  border: solid 1px #ccc;
  padding: 0 15px;
  position: relative;
}


#message-view-viewer .message {
  position: relative;
}
#message-view-viewer .message .user {
  display: inline-block;
  font-weight: bolder;
}
#message-view-viewer .message .date {
  position: absolute;
  right: 0;
  display: inline-block;
  font-weight: lighter;
}

.table-auto-width {
  width: auto !important;
}

@media (max-width: 767px) {
  .right-xs {
    text-align: right;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .right-sm {
    text-align: right;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .right-md {
    text-align: right;
  }
}
@media (min-width: 1200px) {
  .right-lg {
    text-align: right;
  }
}


/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -90%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -90%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 90%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 90%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 90%; /* 6 columns */
  }
}

@media (max-width: 767px) {
  .visible-xs-relaxed {
    display: block ;
  }
  html, body {
    height: 100%;
  }
  body {
    margin-bottom: 0;
  }
}

.navbar-header .navbar-toggle {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
}


.github-fork-ribbon-wrapper.feature-beta.left .github-fork-ribbon,
.github-fork-ribbon-wrapper.feature-new.left .github-fork-ribbon {
  top: 16px;
  left: -73px;
}
.github-fork-ribbon-wrapper.feature-beta,
.github-fork-ribbon-wrapper.feature-new {
  width: 100px;
  height: 100px;
}
.github-fork-ribbon-wrapper.feature-beta .github-fork-ribbon a,
.github-fork-ribbon-wrapper.feature-beta .github-fork-ribbon a:hover,
.github-fork-ribbon-wrapper.feature-new .github-fork-ribbon a,
.github-fork-ribbon-wrapper.feature-new .github-fork-ribbon a:hover{
  width: 200px;
  line-height: 13px;
}
.github-fork-ribbon-wrapper.feature-new .github-fork-ribbon {
  /* Set the base colour */
  background-color: #0a0;
}
.github-fork-ribbon-wrapper.feature-beta .github-fork-ribbon {
  /* Set the base colour */
  background-color: #a00;
}
.github-fork-ribbon-wrapper.beta .github-fork-ribbon {
  /* Set the base colour */
  background-color: #00a;
}


.pkId {
  font-weight: bold;
}
.pkLoc {
  position: absolute;
  left: 80px;
}
.pkTurned {
  position: absolute;
  right: 70px;
}
.pkSingles {
  position: absolute;
  right: 15px;
}

.pkItem {
  margin-left: 15px;
}
.pkVend {
  position: absolute;
  right: 170px;
  text-align: center;
}
.pkBc {
  /*float: right;*/
  position: absolute;
  right: 30px;
  /*margin-right: 15px;*/
}

.matched {
  background-color: yellow;
}

.pkPrice {
  /*float: right;*/
  position: absolute;
  right: 15px;
}


.breadcrumb {
  background-color: inherit;
}


.nav .breadcrumb {
  /*margin: 0 7px;*/
}

.nav .breadcrumb {
  /*margin: 7px 10px;*/
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767px) {
  .nav .container.bc {
    padding-left: 0;
    padding-right: 0;
  }
}



@media print {
  a[href]:after {
    content: "";
  }
  abbr[title]:after {
    content: "";
  }
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter:none !important;
    -ms-filter: none !important;
  }
  @page {
    margin: 0.25cm;
  }
}

.badge {
  padding: 2px 7px;
}

.editable-pre-wrapped {
  white-space: pre-line !important;
}

.pad-10 {
  padding-left: 10px; padding-right: 10px;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal .modal-dialog.modal-body-scroll {
  margin-top: 10px;
}
.modal .modal-dialog.modal-body-scroll .modal-body {
  /*max-height: calc(100vh - 210px);*/
  overflow-y: auto;
  padding-bottom: 0;
  min-height: 200px
}

.nowrap {
  white-space: nowrap !important;
}

tbody.href-nav tr,
.href-nav tbody>tr,
tr.href-nav {
  cursor: pointer;
}

thead.tableFloatingHeaderOriginal>tr {
  background-color: white !important;
}

/* create a dark grey button similar to the default label look */
.btn-dark-grey {
  background-color: #777777 !important;
  color: white !important;
}

.btn-dark-grey:hover,
.btn-dark-grey:active,
.btn-dark-grey:visited,
.btn-dark-grey:focus {
  background-color: #666666 !important;
  border-color: #666666 !important;
}

.table-outer-cmp-mnt {
    max-height: 80vh;
    overflow-x: auto;
    thead {
        background: white;
        position: sticky;
        top: 0;
        z-index: 10;
    }
}
