﻿html {
    height: 100%;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 12px;
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

li.list-group-item:hover{
    color: #555;
    text-decoration: none;
    background-color: #f5f5f5;
}

a:hover {
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

.body-content-wrapper {
    min-height: 100%;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 50px;
}

.custom-report-body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 0;
}

.footer {
    height: 50px;
    margin-top: -50px;
    padding-left: 2em;
    padding-right: 2em;
}

.singleline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

blockquote {
    font-size: 12px;
    border-left: 5px solid #C7E0F4;
}

.nowrap {
    white-space: nowrap;
}

.scrollable-menu {
    height: auto;
    max-height: 310px;
    overflow-x: hidden;
}

.tabbed {
    padding-left: 2rem;
}

/* datatables show # entries section */
.dataTables_length {
    flex-grow: 1;
}

.dataTables_info {
    flex-grow: 1;
}

.dataTables_paginate {
    flex-grow: 8;
}

.doc-actionbar {
    background-color: white;
    border: none;
    float: right;
    margin: 0;
}
.doc-actionbar > .container-fluid {
    padding: 0;
}
@media (min-width: 768px) {
  .doc-actionbar {
    width: 70%;
  }
}
.doc-actionbar-menu {
    padding-right: 0;
    -webkit-transition: height 0.01s;
    -moz-transition: height 0.01s;
    -ms-transition: height 0.01s;
    -o-transition: height 0.01s;
    transition: height 0.01s;
}
.doc-actionbar-menu > ul > li {
    padding-right: 8px;
    white-space: nowrap;
}

/* required for font awesome pseudo elements */
.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
    .doc-actionbar-menu.navbar-collapse {
        border: 0;
        overflow-y: visible;
        width: 100%;
        position: absolute;
        z-index: 1100;
    }
    .doc-actionbar-menu > ul > li {
        background-color: white;
        padding-left: 10px;
        padding-bottom: 5px;
        padding-top: 5px;
    }
    .doc-actionbar-menu > ul {
        margin-top: 0;
        padding-top: 0;
        border: 1px solid lightgray ;
    }
    .doc-actionbar .navbar-toggle {
        margin-bottom: 0;
        margin-top: 0;
    }
    .scrollable-menu {
        max-width: 350px;
    }
    .filterRow {
        display:none;
    }
}

.documentTable-DocSelector {
    max-width: 55px;
}

.documentTable-DocSelector > label { 
    display: block;
    cursor: pointer;
    margin: 0;
    width: 55px;
}

.documentTable-DocDate{
    white-space: nowrap;
    width: 50px;
    max-width: 60px;
}

.documentTable-ArchiveDocDate{
    white-space: nowrap;
    width: 150px;
}

.pending-receipt-icon:before {
    content: "\f017";
    color: gray;
}

.accepted-receipt-icon:before {
    content: "\f14a";
    color: forestgreen;
}

.pending-accepted-errors-receipt-icon:before {
    content: "\f071";
    color: orange;
}

.pending-negative-receipt-icon:before {
    content: "\f06a";
    color: crimson;
}

.upload-tracker-error-icon:before {
    content: "\f071";
    color: crimson;
}

.upload-tracker-sucess-icon:before {
    content: "\f14a";
    color: forestgreen;
}

.validation-indicator-error-icon:before {
    content: "\f0d7";
    color: crimson;
}

.validation-label-indicator-error-icon:before {
    content: "\f0d7";
    color: #fc9700;
}

.validation-indicator-positioning {
    float: right;
}

.template-actions{
    width: 95px;
    max-width: 95px;
}

@media  (max-width: 1024px) {
    .documentTable-DocPartner{
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .documentTable-DocType{
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .documentTable-ArchiveDocDate{
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media  (max-width: 767px) {
    .documentTable-DocId{
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.page-archive {
    margin-top: 2em;
}

.large-archive-view {
    visibility: visible;
}

.small-archive-view {
    visibility: hidden;
    display: none;
    float: right; /*change this ... only for the search/filter button to open modal*/
}

@media (max-width: 1024px) {
    .large-archive-view {
        visibility: hidden;
        display: none;
    }
    .small-archive-view {
        visibility: visible;
        display: block;        
    }
}
#ArchiveSearchTable td {
    border: 0;
    font-size: 14px;
    vertical-align: middle;
}
#ArchiveSearchTable .form-control{
    display: inline-block;
    width: auto;
}
#ArchiveSearchTable .input-group-btn{
    width: auto;
}

.archiveSearchTable td {
    border: 0;
    font-size: 14px;
    vertical-align: middle;
}

.archiveSearchTable tr {
    margin: 0;
    padding: 0;
}

.archiveSearchTable .form-control{
    display: inline-block;
    width: auto;
}

.archiveSearchTable .input-group-btn{
    width: auto;
}

.archiveSearchTable {
    float: left; 
    max-width: 50%;
    margin-bottom: 10px;
}

.archiveSearchTable > tbody > tr > td{
    border: none;
}

.archiveSearchTable-mobile {
    margin-bottom: 0;
}

.archiveSearchTable-mobile > tbody > tr > td {
    border: 0;
    font-size: 14px;
    vertical-align: middle;
}
.archiveSearchTable-mobile .form-control{
    display: inline-block;
    width: auto;
}
.archiveSearchTable-mobile .input-group-btn{
    width: auto;
}

#archiveSearchModal .modal-dialog {
    max-width: 600px;
    margin: 30px auto;
}

.archive-partner {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.archive-action:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1em;
    color: #080808;
}

.archive-action {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
    border: none;
}

.archive-action-clear:before {
    content: "\f00d";
    font-weight: 900;
}

.archive-action-clear {
    background-color: inherit;
}

.archive-action-search:before {
    content: "\f002";
    font-weight: 900;
}

.archive-action-search {
    background-color: inherit;
}

.archive-action-more:before {
    content: "\f0c9";
    font-weight: 900;
}

.archive-action-view:before {
    content: "\f15c";
    font-weight: 900;
}

.archive-action-more {
    background-color: inherit;
}

.archive-docType-filter.form-control[readonly] {
    background-color: #fff;
    color: #AAA;

}

.heading-row {
    height: 25px;
    line-height: 27px;
}

.filterRow {
    background-color: #eeeeee;
    height: 26px;
}

.usedOpenItem {
    background-color: #eeeeee;
}

.itemSelector-quantityEntered {
    width:50px; 
    text-align:right;
}

.dataTable-details {
    width: 0px;
    max-width: 35px;
}

.openItemTable-selector {
    width: 55px;
    max-width: 55px;
}
.openItemTable-selector > label { 
    display: block;
    cursor: pointer;
    margin: 0;
    width: 55px;
}
.openItemTable-DocDate{
    white-space: nowrap;
    width: 105px;
    max-width: 105px;
}

@media  (max-width: 1024px) {
    .openItemTable-ItemId{
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .openItemTable-ItemDescription{
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media  (max-width: 767px) {
    .openItemTable-DocId{
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .openItemTable-ItemDescription{
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.open-item-destination-selection {
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}
.open-item-destination-selection ul {
    -webkit-column-count: 3;
    column-count: 3;
    list-style-type: none;
}
@media  (max-width: 480px) {
    .open-item-destination-selection ul {
        -webkit-column-count: 1;
        column-count: 1;
    }
}

.open-items-mode-panel {
    font-size: 1.25em;
}
th.openItemTable-Destination,
td.openItemTable-Destination>div{
    max-width: 250px;
}

.catalogProduct-editor-control {
    margin: 5px;
}

.catalog-dropdown-height > select {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
}

.catalog-action {
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.catalog-action:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #080808;
}

.catalog-btn-add{
    margin-bottom: 20px;
}

.catalog-action-edit:before {
    content: "\f044";
    font-weight: 900;
}

.catalog-action-edit {
    background-color: inherit;
}

.catalog-action-edit:hover:before {
    color: #337AB7;
}

.catalog-action-more:before {
    content: "\f0c9";
    font-weight: 900;
}

.catalog-action-more {
    background-color: inherit;
}

.catalog-action-more:hover:before {
    color: #337AB7;
}

.input-group-xs>.form-control,
.input-group-xs>.input-group-addon,
.input-group-xs>.input-group-btn>.btn {
    height: 22px;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

.input-xs {
    height: 22px;
    padding: 2px 2px;
    font-size: 11px;
    line-height: 1.5;
    border-radius: 3px;
}

.requiredField {
    background-color: #ffb6c1;
}

tr.FieldSet:hover > td,
tr.FieldSet:focus > td {
  background-color: #f5f5f5;
}
tr.Field:hover > td,
tr.Field:focus > td {
  background-color: #f5f5f5;
}
tr.selected:hover > td,
tr.selected:focus > td {
  background-color: #C7E0F4;
}
.selected {
    background-color: #C7E0F4;    
}

tr.FieldSet .fieldset-toolbar {
    visibility: visible;
}
tr.FieldSet.selected .fieldset-toolbar,
tr.FieldSet:hover .fieldset-toolbar {
    visibility: visible;
}
.fieldset-toolbar .glyphicon:hover {
    color:#337ab7;
}

input.error {
    border:1px solid red;
}

.editor-panel .fieldSetEditorDefault {
    margin-bottom: 10px;
}

.editor-panel .panel-body-inner {
    padding-top: 6px;
}

.editor-panel .packagingTotals {
    margin-bottom: 10px;
}

/**
Bootstrap 3 - Disabled dropdown links
Bootstrap 3 has built-in visual support for disabled dropdown menu items, however these are simply 
visual changes and don't actually impact the interactivity of the element itself.
Once this is added to your styles, you can easily disable any dropdown item by applying a [disabled] attribute 
to the <a/> element itself, and adding the usual .disabled class to the parent <li>.
More information here: http://blog.craigsworks.com/bootstrap-3-disabled-dropdown-links/
**/

/*
Mimic cursor style from native .dropdown-menu > .disabled > a{} styles,
since `pointer-events: none` kills the cursor state, too. 
*/.dropdown-menu > .disabled{
 cursor: not-allowed; 
}

/* The real magic ;) */
.dropdown-menu > .disabled > a{
 pointer-events: none;
}

.dropdown-menu > li > a{
 cursor: pointer; 
}

.doc-action-menu-item {
    font-size: 1em;
}

.btn-outline-primary {
    border-color: #8abae2;
}

/*Override Bootstrap default styles for smaller text*/
.dropdown-menu-default {
  font-size: x-small;
}
/*Override Bootstrap default styles for smaller text*/
.btn-xs,
.btn-group-xs > .btn,
.btn-group-xs .dropdown-menu a{
  font-size: x-small;
}

.doc-action-btn-group{
  float: right;
}

.unopened-document{
    color: #0971c7;
}
.ready-send-document{
    color: #0971c7;
}

/* To allow multiple elements in a row. Copied from bootstrap.css and replaced <a> with <div> */
.dropdown-menu > li > div {
  padding: 3px 20px;
  clear: both;
  line-height: 1.42857143;
    min-width: 30em;
}
.dropdown-menu > li > div:hover,
.dropdown-menu > li > div:focus {
  background-color: #f5f5f5;
}
.dropdown-menu > li > div > a{
  display: inline-block;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  min-width: 60%;

  cursor: pointer;
}
.dropdown-menu > li > div > a.action{
  position: relative;
  top: -3px;
  min-width: 10%;
  width: 1em
    /*margin-right: 0.5em;
    padding-right: 1em;*/
}
.dropdown-menu > li > div > button.delete{
  position: relative;
  top: -3px;
  width: 1em;
    /*margin-right: 0.2em;
    padding-right: 1em;*/
  /*color: red;
  opacity: .5;*/
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*Override Bootstrap default styles for less padding*/
table.table {
    font-size: 12px;
}

@media  (max-width: 1024px) {
    table.table {
        font-size: 10px !important;
    } 
}

table.dataTable.dtr-column > tbody > tr.parent td.control:before,
table.dataTable.dtr-column > tbody > tr.parent th.control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
    font-family: "Glyphicons Halflings";
    content: "\e113";
    background-color: #ffffff;
}
table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    top: 6px;
    color: #337AB7;
    border: 0px solid white;
    box-shadow: 0 0 0px #444;
    font-family: "Glyphicons Halflings";
    content: "\e114";
    background-color: #ffffff;
} 

.table-condensed thead > tr > th,
.table-condensed tbody > tr > th,
.table-condensed tfoot > tr > th,
.table-condensed thead > tr > td,
.table-condensed tbody > tr > td,
.table-condensed tfoot > tr > td {
  padding: 0;
  padding-right: 5px;
  vertical-align:middle;
}

table.table-condensed.dataTable .sorting::after, 
table.table-condensed.dataTable .sorting_asc::after, 
table.table-condensed.dataTable .sorting_desc::after {
    top: 0px;
}

table.scrollable thead, 
table.scrollable tbody, 
table.scrollable tr, 
table.scrollable th, 
table.scrollable td { 
	display: block; 
}

table.scrollable tr:after {  /* clearing float */
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

table.scrollable tbody {
    max-height: 185px;
    overflow-y: auto;
    overflow-x: hidden;
}

table.scrollable tbody td, 
table.scrollable thead th {
    float: left;
}

.list-group-item {
    font-size: 12px;
    padding: 5px 10px;
}

.panel-body {
    padding: 10px;
}

.document-panel.standalone-view .document-panel-icon {
    display: none;
}
.document-panel.standalone-view > .collapse {
    display: block;
}

.document-panel .panel-body {
    padding: 0;
}

.document-panel thead > tr > th.sorting:hover, th.sorting_asc:hover, th.sorting_desc:hover {
    background-color: #eee;
}

.document-date {
    min-width: 7em;
}

.heavy-table > thead > tr > th {
    max-width: 9em;
}

.heavy-table > tbody > tr > td:not(.doc-actions) {
    white-space: nowrap; 
    text-overflow: ellipsis; 
    overflow: hidden; 
    max-width: 9em;
}

.grid-wrapper > table > thead > tr > th > .form-control {
    width: 100%;
}

.panel-title {

}

.form-group {
  margin-bottom: 5px;
}

/* Editor */
.tree-node {
    min-height: 1em;
}

.tree-node:before {
    color: #000;
    font-family: "Font Awesome 5 Pro";
    min-height: 1em;
    content: "\f068";
    font-weight: 900;
}

.tree-node-repeatable:before {
    color: #000;
    font-family: "Font Awesome 5 Pro";
    min-height: 1em;
    content: "\f054";
    font-weight: 900;
}

.tree-node-repeatable.tree-node-open:before {
    content: "\f078";
    font-weight: 900;
}

.tree-node.tree-node-error:before {
    color: #ff0000;
    content: "\f101";
    font-weight: 900;
}

.tree-node.tree-node-repeatable:before {
    content: "\f054";
    font-weight: 900;
}

.tree-node-repeatable.tree-node-repeatable-error:before {
    color: #ff0000;
}

.tree-node-repeatable.tree-node-error:before {
    color: #ff0000;
}

.tree-node-repeatable.tree-node-repeatable-childerror:before {
    color: #ff0000;
}

.tree-error:before {
    content: "\f0da";
    font-weight: 900;
    color: #ff0000;
}

.tree-indent {
    width: 18px;
    text-align: center;
}

.tree-fieldSetGrid {
    width: 100%;
    border: 1px solid lightgray;
}

.tree-fieldSetGrid th, .tree-fieldSetGrid td {
    padding-left: 5px;
}

.editor-savebar {
    position: -webkit-sticky;
    position: sticky;
    top: 53px; /* need to offset the top navbar */
    z-index: 10;
}

.editor-toolbar-button {
    min-width: 90px;
}

.editor-form {
    padding-top: 1em;
}

.editor-action {
    padding-left: 0.25em;
    min-width: 1em;
    cursor: pointer;
}

.editor-action:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1em;
    color: #080808;
}

.editor-action:hover:before {
    color: #337AB7;
}

.editor-action-more:before {
    content: "\f0c9";
    font-weight: 900;
}

.editor-action-more {
    background-color: inherit;
}

.editor-action-more:hover:before {
    color: #337AB7;
}

table.tree {
    width: 100%;
}

.validation-results{
    height: auto !important;
}

.validation-result-headers {
    font-weight: bold;
    color: #777;
    margin-top: 5px;
    margin-bottom: -8px;
}

.validation-result-headers > thead > tr > td {
    padding-left: 13px;
}

.validation-results-list {
    max-height: 190px;
    overflow: hidden; 
    overflow-y: auto;
    margin-top: 0.7em;
}

.validation-result{
    padding-left: 1em;
    display: block;
}

.validation-result-goto {
    cursor: pointer;
}

.validation-message-column {
    margin-left: 3em;
}
.validation-error-header {  
}
.validation-results-list li:hover {
    background: #fff5f5;
}
.validation-results-list li.validation-error-header:hover {    
    cursor: pointer;
}
.validation-sub-result {
    background: #f0f0f0;
    border-color: #ccc;
}
.validation-sub-result:hover {
    background: #f0e5e5;
}

/* Validation Results Tabs view*/
.validation-results-tabs {
    position: relative;
    top: 1px;
    padding-left: 49px;
    padding-bottom: 1px;
    z-index: 10;
}
.validation-results-tabs .nav-tabs {
    border-bottom: none;
}
.validation-results-tabs .nav-tabs > li > a {
    margin-right: 0;
    margin-left: 0;

    padding-top: 8px;
    margin-top: 8px;

    border: solid 1px #DDD;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    border-bottom: none;
    color: #777 !important;
}
.validation-results-tabs .nav-tabs > li.active > a {
    border-bottom: none;
}
.validation-results-tabs .nav-tabs > li.inactive > a {
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 14px;
}
.validation-results-tabs .nav-tabs > li.active > a.valid i { color: #60c060; }
.validation-results-tabs .nav-tabs > li > a.valid { border-color: #d6e9c6 !important; }
.validation-results-tabs .nav-tabs > li.inactive > a.valid {
    border-color: #4f9d4f !important;
    color: White !important;
    background: #60c060;
}
.validation-results-tabs .nav-tabs > li.inactive > a.valid:hover {
    background: #6cd96c;
}
.validation-results-tabs .nav-tabs > li.active > a.warning i { color: #fc9700; }
.validation-results-tabs .nav-tabs > li > a.warning { border-color: #f1daab !important; }
.validation-results-tabs .nav-tabs > li.inactive > a.warning {
    border-color: #e06700 !important;
    color: White !important;
    background: #fc9700;
}
.validation-results-tabs .nav-tabs > li.inactive > a.warning:hover {
    background: #fcb345;
}
.validation-results-tabs .nav-tabs > li.active > a.danger i { color: #da4932; }
.validation-results-tabs .nav-tabs > li > a.danger { border-color: #e0b1b8 !important; }
.validation-results-tabs .nav-tabs > li.inactive > a.danger {
    border-color: #b53d29 !important;
    color: White !important;
    background: #da4932;
}
.validation-results-tabs .nav-tabs > li.inactive > a.danger:hover {
    background: #fb5d44;
}
@media (max-width:400px) {
    .validation-results-tabs .tab-title {
        display: none;
    }
}


.guidance {
    border: 1px solid #999;
    white-space: pre-line;
}

.multi-edit-warning {
    background-color: transparent;
    border: 1px solid #337AB7;
}

.editor-field{
    
}

.editor-field-round {
    min-height: 26px;
    border-radius:3px;
    border: 1px solid #cccccc;
    display:inline-block;
    overflow:hidden;
    max-width: 250px;
}

@media (max-width:1023px) {
    .editor-field-round {
        max-width: 215px;
    }
}

.editor-field-padding{
    padding-left: 5px;
}

.field-cond-icon {
}

.field-req-icon{
}

.field-label-cond-icon {
}

.field-label-req-icon{
}

.fieldset-not-required {

}

.fieldset-not-label-required {

}

.field-req-override {
    display: none !important;
}

.field-editor-config {
    min-width: 40px;
}

.field-editor-controls {
    min-width: 85px;
}

.field-validation-error {
    display: block;
    font-weight: bold;
    padding-bottom: 0.5em;
}

#editor-controls > button{
    min-width: 70px;
}

.pointer {
    cursor: pointer;
}

.default-cursor {
    cursor: default;
}

.callout {
    padding: 5px 10px 10px 10px;
    margin: 8px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout h5 {
    margin-top: 0;
    margin-bottom: 5px;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout-default {
    border-left-color: #777;
}
.callout-default h5 {
    color: #777;
}

.callout-danger {
    border-left-color: #CC0000;
}
.callout-danger h5 {
    color: #CC0000;
}

.alert {
  border-radius: 0;
  -webkit-border-radius: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.11);
  display: table;
  width: 100%;
}

.alert-white {
  background-image: linear-gradient(to bottom, #fff, #f9f9f9);
  border-top-color: #d8d8d8;
  border-bottom-color: #bdbdbd;
  border-left-color: #cacaca;
  border-right-color: #cacaca;
  color: #404040;
  padding-left: 61px;
  position: relative;
}

.alert-white.rounded {
  border-radius: 3px;
  -webkit-border-radius: 3px;
}

.alert-white.rounded .icon {
  border-radius: 3px 0 0 3px;
  -webkit-border-radius: 3px 0 0 3px;
}

.alert-white .icon {
  text-align: center;
  width: 45px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #bdbdbd;
  padding-top: 15px;
}


.alert-white .icon:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  border: 1px solid #bdbdbd;
  position: absolute;
  border-left: 0;
  border-bottom: 0;
  top: 50%;
  right: -6px;
  margin-top: -3px;
  background: #fff;
}

.alert-white .icon i {
  font-size: 20px;
  color: #fff;
  left: 12px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
}

.alert-success {
  color: #000;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-white.alert-success .icon, 
.alert-white.alert-success .icon:after {
  border-color: #54a754;
  background: #60c060;
}

.alert-info {
  background-color: #7eb1dc;
  border-color: #7eb1dc;
  color: #000;
}

.alert-white.alert-info .icon, 
.alert-white.alert-info .icon:after {
  border-color: #7eb1dc;
  background: #7eb1dc;
}


.alert-white.alert-warning .icon, 
.alert-white.alert-warning .icon:after {
  border-color: #d68000;
  background: #fc9700;
}

.alert-warning {
  background-color: #fcf8e3;
  border-color: #f1daab;
  color: #c09853;
}

.alert-danger {
  background-color: #f2dede;
  border-color: #e0b1b8;
  color: #b94a48;
}

.alert-white.alert-danger .icon, 
.alert-white.alert-danger .icon:after {
  border-color: #ca452e;
  background: #da4932;
}

.alert-message {
    line-height: 2;
}

.text-primary {
    color: #373D3F
}

.show-menu {
    border: 1px solid #cccccc;
}

.show-menu .show-menu-item {
    height: 1.8em;
    display: inline-block;
}

.show-menu .show-menu-item > span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1em;
  padding-right: 0.5em;
}

table.dataTable tbody > tr.selected-row {
    background-color: #C7E0F4;  
}

.badge-primary {
  background-color: #337ab7;
}

/*All outer tables/grids only*/
#fieldSetTree > table > tbody > tr > td > .table-responsive {
    padding-right: 10px;
}

.table-responsive {
    padding-right: 5px; 
    padding-bottom: 5px;
    border: 0;
}

td > label { 
    display: block;
    cursor: pointer;
    margin: 0px;
    width:50px;
}

.support-user {
    color: #cc0000 !important;
}

.btn-white,
.btn-white:active,
.btn-white:visited,
.btn-white:focus {
    background-color: #fff;
    border-color: #ccc;
}

.btn-white:hover {
    background-color: #eee;
    border-color: #ccc;
}
 
.grid-category {
    height: 100%;
}

.category-link {
    padding-left: 0.5em;
}

@media screen and (max-width: 992px) {
    .row > div:not(:first-child) {
        padding-left: 15px;
    }
}
/* End */

#DocumentEditor {
    padding-left: 15px;
    padding-right: 15px;
}

#DocumentDefinitionEditor {
    padding-left: 15px;
    padding-right: 15px;
}

.dropdown-item-wide {
    width: 235px;
}

.category-icon {
    padding-right: 5px; 
}

.font-size-standard {
    font-size: 12px;
}

table.dataTable.table-condensed > thead > tr > th {
    padding-right: 5px;
}
table.dataTable.table-condensed tr.child td {
    white-space: normal;
}

.pad-sm {
    padding-left: 5px;
    padding-right: 5px;
}

.pad-xs {
    padding-left: 3px;
    padding-right: 3px;
}

.login-user-icon {
    padding-right: 5px;
}

.sp-replacer {
    background: #fff !important;
    border-radius: 4px;
    border-color: #ccc !important;
}

.sp-dd {
    margin-top: 8px !important;
    height: 12px !important;
    line-height: 12px !important;
}

.selected-item {
    background-color: #C7E0F4; 
}

.vertical-pad {
    padding-top: .5em;
    padding-bottom: .5em;
}

.horizontal-pad {
    padding-right: .5em;
    padding-left: .5em;
}

input[type=checkbox] {
    vertical-align: -2px;
}

.document-list { 
    min-height: 125px; 
}

a.document-panel-icon {        
    text-decoration:none;
}
.document-panel-icon:after {
    content: "\f077";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1.25em;
}
.document-panel-icon.collapsed:after {
    content: "\f078";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1.25em;
}

.document-panel {
    position: relative;
}

.fieldset-default-preferred {
    color: #ffb900;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;  
}

.message-results-list {
    max-height: 190px;
    overflow: hidden; 
    overflow-y: auto;
}

#web-notification > li {
    margin-bottom: 0.25em;
}

.navbar-brand {
    padding-top: 1px;
    padding-bottom: 1px;
    height: 52px;
}

.navbar-logo {
    padding-right: 1em;
}

.footer > hr  {
    border-top: 1px solid #337AB7;
}

.machine {
    display: none;
}

/* hide menu except on hover */
.table-hover tbody > tr > td.actions > div{
    visibility: hidden;
}

.table-hover > tbody > tr:hover > td.actions > div{
    visibility: visible;
}

/* if we dont remove the top margin the visibiliy makes the menu very difficult to hit without disappearing */
.doc-actions .dropdown-menu {
    margin-top: 0;
}

.actions .dropdown-menu {
    margin-top: 0;
}
/* hide menu except on hover */

.doc-actions {
    min-width: 65px;
}

.dropdown-toggle > .dropdown-toggle-icon:before {
    content: "\f0c9";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 1em;
    color: #080808;
}

.doc-action {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
    cursor: pointer;
}

.doc-action:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #808080;
}

.doc-action-disabled {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
    cursor: not-allowed;
}

.doc-action-disabled:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #808080;
}

.doc-action-edit:before {
    content: "\f044";
    font-weight: 900; 
}

.doc-action-edit:hover:before {
    color: #337AB7;
}

.doc-action-package:before {
    content: "\f49e";
    font-weight: 900; 
    visibility: visible;
}

.doc-action-package:hover:before {
    color: #337AB7;
}

.doc-action-packaging:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #808080;
    content: "\f49a";
    font-weight: 900; 
}

.doc-action-packaging {
    padding-top: 0.25em;
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
}

.doc-action-locked:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #808080;
    content: "\f06a";
    color: crimson;
}

.doc-action-locked {
    padding-top: 0.25em;
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
}

.doc-action-clear:before {
    content: "\f00d";
    font-weight: 900;
}

.doc-action-clear:hover:before {
    color: #337AB7;
}

.doc-action-clear {
    background-color: inherit;    
}

.doc-action-category:before {
    content: "\f024";
    font-weight: 900;
}

.doc-action-category {
    background-color: inherit;
}

.doc-action-category:hover:before {
    color: #337AB7;
}

.doc-action-more:before {
    content: "\f0c9";
    font-weight: 900;
}

.doc-action-more {
    background-color: inherit;
}

.doc-action-more:hover:before {
    color: #337AB7;
}

.doc-action-view:before {
    content: "\f15c";
    font-weight: 900;
}

.doc-action-view:hover:before {
    color: #337AB7;
}

.doc-action-view {
    background-color: inherit;
}

.doc-action-tempcreate:before {
    content: "\f0c5";
    font-weight: 900;
}

.doc-action-tempcreate:hover:before {
    color: #337AB7;
}

.doc-action-tempcreate {
    background-color: inherit;
}

.doc-action-download:before {
    content: "\f56d";
    font-weight: 900;
}

.doc-action-download:hover:before {
    color: #337AB7;
}

.doc-action-download {
    background-color: inherit;
}

.doc-actions-menu .btn-group {
    border-right: none;
}

.doc-actions-menu .btn {
    border: none;
}

.doc-actions-menu .btn-group > .btn.btn-default {
    padding: 1px 1px;
    min-width: 25px;
}

.doc-actions-menu.btn-toolbar {
    padding: 0;
}

.editor-body {
    padding-bottom: 20px;
} 
.editor-fieldset-panel>.panel-body {
    padding-bottom: 0;
}
.editor-fieldset-panel .btn-toolbar {
    background-color: #A7C0D4;
    padding: 4px 8px 2px 0;
    margin-left: -10px;
    margin-right: -10px;
}

@media (max-width: 1000px) {
    .hidden-1000 {
        display: none;
    }
}
@media (min-width: 1000px) {
    .visible-1000 {
        display: none;
    }
}
@media (max-width: 1200px) {
    .hidden-1200 {
        display: none;
    }
}
@media (min-width: 1200px) {
    .visible-1200 {
        display: none;
    }
}

.doc-filter-bar {
    background-color: #fff;
    width: 100%;
    min-height: 38px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    border-radius: 0;
    -ms-border-radius: 0;
    -webkit-border-radius: 0;
    /* background-color: #efefef; */
    margin-bottom: 3px;
}

.doc-refresh:before {
    content: "\f01e";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1.25em;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-refresh {
    border: none;
}

.doc-send-all:before {
    content: "\f1d8";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1.25em;
    padding-right: 8px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-send-all {
    border: none;
}

.doc-create-new:before {
    content: "\f067";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1.25em;
    padding-right: 3px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-create-new {
    border: none;
}

.doc-actionbar-menu > ul li{
    line-height: 35px;
}

.doc-create-new-template:before {
    content: "\f067";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1.25em;
    padding-right: 3px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-create-new-template {
    border: none;
}

.doc-create-new-upload:before {
    content: "\f574";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1.25em;
    padding-right: 3px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-create-new-upload {
    border: none;
}

.doc-actionbar-toggle-unread-icon, .report-btn {
    border: none;
}

.doc-actionbar-toggle-unread-icon:before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-weight: 400;
    font-size: 1.25em;
    padding-right: 5px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-actionbar-toggle-unread-icon.unopened:before {
    content: "\f14a";
}

.doc-actionbar-toggle-ready-icon {
    border: none;
}

.doc-actionbar-toggle-ready-icon:before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1.25em;
    padding-right: 5px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-actionbar-toggle-ready-icon.ready:before {
    content: "\f14a";
}

.doc-actionbar-toggle {
    min-width: 110px;
}

.doc-actionbar-leagacy-search-icon {
    border: none;
}

.doc-actionbar-leagacy-search-icon:before {
    content: "\f053";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    padding-right: 5px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-actionbar-archive-search-icon {
    border: none;
}

.doc-actionbar-archive-search-icon:before {
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    padding-right: 5px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.doc-actionbar-archive-reset-icon {
    border: none;
}

.doc-actionbar-archive-reset-icon:before {
    content: "\f01e";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    padding-right: 5px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.data-grid-wrapper {
    padding-top: 0.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: row;
    padding-top: 5px
}

.page-wrapper.visible-xs > .dataTables_paginate > .pagination > li:not(.previous):not(.next) > a{
    max-width: 25px;
    padding-left: 8px;
    padding-right: 10px;
}

.doc-action-all {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
}

.doc-action-all:before {
    font-family: "Font Awesome 5 Pro";
    color: #080808;
    font-size: 1em;
}

.doc-action-all-more:before {
    content: "\f0c9";
    font-weight: 900;
}

.doc-action-all-more {
    border: none;
}

.doc-action-all-category:before {
    content: "\f024";
    font-weight: 900;
}

.doc-action-all-category {
    border: none;
}

.docSetup-action {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
    cursor: pointer;
}

.docSetup-action:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #080808;
}

.docSetup-action-edit:before {
    content: "\f044";
    font-weight: 900; 
}

.docSetup-action-edit:hover:before {
    color: #337AB7;
}

.docSetup-account-setting {
    background-color: whitesmoke;
}

table.dataTable thead th.sorting *,
table.dataTable thead th.sorting_asc *,
table.dataTable thead th.sorting_desc * {
    cursor: pointer;
}

/* Move DataTable Sort icons from right to left */
table.dataTable thead th.sorting > span:after,
table.dataTable thead th.sorting > label:after{
    content: "\f0dc";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1em;
    padding-right: 3px;
    padding-left: 3px;
    color: #000;
}
table.dataTable thead th.sorting_asc > span:after,
table.dataTable thead th.sorting_asc > label:after{
    content: "\f0de";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1em;
    padding-right: 3px;
    padding-left: 3px;
    color: #337AB7;
}
table.dataTable thead th.sorting_desc > span:after,
table.dataTable thead th.sorting_desc > label:after{
    content: "\f0dd";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1em;
    padding-right: 3px;
    padding-left: 3px;
    color: #337AB7;
}

table.dataTable thead th.sorting:after {
    content: "";
}
table.dataTable thead th.sorting_asc:after {
    content: "";
}
table.dataTable thead th.sorting_desc:after {
    content: "";
}
/* END Move DataTable Sort icons from right to left */

.cat-action {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
}

.cat-action:hover:before {
    color: #337AB7;
}

.cat-action:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #080808;
}

.cat-action-edit:before {
    content: "\f044";
    font-weight: 900;
}

.cat-action-delete:before {
    content: "\f00d";
    font-weight: 900;
}

.cat-action-show:before {
    content: "\f070";
    font-weight: 900;
}

.cat-action-hide:before {
    content: "\f06e";
    font-weight: 900;
}

.category-title {
    font-size: 1.4em;
}

.cat-name {
    width: 50%;
}

.popover-content {
    color: black;
}

.tree tr {
    min-height: 21px;
}

.tree td {
    min-height: 21px;
}

.DefaultApplied {
    -webkit-animation-name: DefaultAppliedFade;
    -webkit-animation-timing-function: ease-in;
    -webkit-animation-duration: 2s;
    animation-name: DefaultAppliedFade;
    animation-timing-function: ease-in;
    animation-duration: 2s;
}

@-webkit-keyframes DefaultAppliedFade {
    from { background-color: #f7ffc1; }
    to { background-color: transparent; }
}

@keyframes DefaultAppliedFade {
    from { background-color: #f7ffc1; }
    to { background-color: transparent; }
}

/*Add to Bootstrap default style for empty DataTable*/
table.dataTable td.dataTables_empty,
table.dataTable th.dataTables_empty {
    color: #808080;
}

.load-table-failure {
    margin: 5px;
    text-align: center;
}

.defaults-action {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
    cursor: pointer;
}

.defaults-action:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #080808;
}

.defaults-actions .dropdown-menu {
    margin-top: 0;
}

.defaults-actions-menu .btn-group {
    border-right: none;
}

.defaults-actions-menu .btn {
    border: none;
}

.defaults-actions-menu .btn-group > .btn.btn-default {
    padding: 1px 1px;
    min-width: 25px;
}

.upload-wrap {
    overflow: hidden;
    text-overflow: ellipsis;
}

.defaults-actions-menu.btn-toolbar {
    padding: 0;
}

.defaults-action-edit:before {
    content: "\f044";
    font-weight: 900;
}

.defaults-action-edit {
    background-color: inherit;
}

.defaults-action-edit:hover:before {
    color: #337AB7;
}

.defaults-action-more:before {
    content: "\f0c9";
    font-weight: 900;
}

.defaults-action-more {
    background-color: inherit;
}

.defaults-action-more:hover:before {
    color: #337AB7;
}

.defaults-action-all {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
}

.defaults-action-all:before {
    font-family: "Font Awesome 5 Pro";
    color: #080808;
    font-size: 1em;
}

.defaults-action-all-more:before {
    content: "\f0c9";
    font-weight: 900;
}

.defaults-action-all-more {
    border: none;
}

.defaults-td {
    white-space: nowrap; 
    text-overflow:ellipsis; 
    overflow: hidden; 
    max-width:1px;
}

#field-error {
    color: #a94442;
    display: block;
}

#showItemIds {
    padding-bottom: 4px;
}

.open-items-toggle-show-ids:before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1.25em;
    padding-right: 5px;
    line-height: 18px;
}

.open-items-toggle-show-ids.show-ids:before {
    content: "\f14a";
}

.destinations-popover {
    display: block;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.field-visibility-toggle {
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
    cursor: pointer;
}

.field-visibility-toggle:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #080808;
}

.multi-edit-lock:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1.25em;
}

.multi-edit-lock.locked:before {
    content: "\f023";
}

.multi-edit-lock.unlocked:before {
     content: "\f3c1";
}

.editor-field-hide-toggle {
    background-color: inherit;
}

.editor-field-hide-toggle:hover:before {
    color: #337AB7;
}

.editor-field-show-toggle {
    background-color: inherit;
}

.editor-field-show-toggle:hover:before {
    color: #337AB7;
}

.editor-field-disabled {
    background-color: #ebebe4;
}

.partner-request-table > thead {
    overflow: auto;
    display: grid;
}

.partner-request-table > thead > tr > th {
    border-bottom-width: 0;
}

.partner-request-table > tbody {
    overflow: auto;
    display: grid;
    max-height: 450px;
}

.partner-request-row > td:nth-child(1) {
    min-width: 20px;
}

.partner-request-row > td:nth-child(2) {
    width: 100%
}

.partner-request-row > th:nth-child(1) {
    min-width: 20px;
}

.partner-request-row > th:nth-child(2) {
    width: 100%
}

.partner-request-message {
    background-color: transparent;
    border: 1px solid #337AB7;
    margin-left: 10px;
    margin-right: 10px;
}

.archive-results-info {
    border: 1px solid #337AB7;
    border-radius: 3px;
    margin-top: 50px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    clear: both;
}

.main-nav {
    padding-left: 0;
    padding-right: 5px;
}

.main-content {
    padding-left: 0;
}

.partner-button
{
    width: 100%;
    overflow-x: hidden; 
    text-align: left;
}

.navbar-partners { 
    margin-left: 4px; 
}
.navbar-partners .dropdown {
    margin-top: 5px;
}
.navbar-partners .partner-dropdown-menu {
    max-height: 400px;
    overflow: scroll;
}
.navbar-partners .partner-text {
    margin-top: 4px;
    max-width: 90%;
}
.navbar-partners .partner-button {
    margin: 6px 0 6px 6px;
    width: 170px;
}
@media (max-width: 500px) {
    .navbar-partners .partner-button { width: 110px; }
}
@media (max-width: 400px) {
    .navbar-partners .partner-button { width: 78px; }
    .navbar-partners .partner-text { max-width: 80%; }
}
@media (max-width: 360px) {
    .navbar-partners { display: none !important; }
}

.partner-text {
    max-width: 90%; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: inline-block;
}

.data-grid-checkbox {
    width: 25px;
}

.incrementor-seed-field {
    min-height: 26px;
    border-radius:3px;
    border: 1px solid #cccccc;
    display:inline-block;
    overflow:hidden;
    padding-left: 5px;
}

.notification-to-textbox {
    width: 200px;
}

.report-field-set-edit:before {
    content: "\f044";
    font-family: "Font Awesome 5 Pro";
    font-weight: 800;
    font-size: 1.25em;
    font-style: normal;
    color: #337AB7;
    padding-right: 5px;
    padding-left: 4px;
    line-height: 18px;
    cursor: pointer;
}

.report-add-lookup-value {
    border: none;
}

.report-delete-lookup-value:before {
    padding-right: 5px;
    line-height: 18px;
    color: crimson;
    cursor: pointer;
}

.report-edit-message {
    background-color: transparent;
    border: 1px solid #337ab7;
    margin-top: 12px;
    margin-bottom: 8px;
}

.report-field-code:after {
    content: "-\00a0"
}

.user-settings-data-cell {
    width: 50%;
}

#partner-list-div {
    width: 100%;
}

.panel-partners .dropdown-menu {
    position: inherit; 
    max-height: 500px; 
    overflow-y: auto;
    width: 100%;
}

@media (max-width: 767px) {
    #partner-list-div {
         margin: auto;
    }

    .panel-partners .dropdown-menu {
        max-height: 300px; 
    }

    .main-nav {
        margin-left: -15px;
        margin-right: -19px;
        margin-bottom:5px
    }

    .panel {
         margin: 0 -20px 15px -20px;
    }

    #visibility-tree-toggle {
         margin-top: 10px;
    }

    #DocumentEditor {
         margin-top: -15px;
    }

    .table-hover > tbody > tr > td.actions > div{
        visibility: visible;
    }
}

#ItemCodeType_Selected {
    min-height: 26px;
    border-radius:3px;
    border: 1px solid #cccccc;
    display:inline-block;
    overflow:hidden;
    max-width: 250px;
}

.packing-information-create:before {
    content: "\f067";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1.25em;
    padding-right: 3px;
    line-height: 18px; /* 35px/1.25em - padding 10*/
}

.packing-information-create {
    border: none;
}

.shipment-information-table tr > td {
    width: 33%;
}

.shipment-disabled-text {
    color: lightgray;
}

.borderless-td > tbody > tr > td{
    border: none;
}

/*#region Date picker*/
.date-picker {
    display: inline-block;
    margin-right: 2px;
}
.datepicker table tr td.today { 
    background-color: #DDD;
    border-color: #DDD;
}
.datepicker table tr td.today:hover {
    background-color: #CCC;
    border-color: #CCC;
}
.datepicker table tr td.today:not(.active):focus,
.datepicker table tr td.today:not(.active):active,
.datepicker table tr td.today:not(.active):active:hover
{
    background-color: #DDD;
    border-color: #DDD;
}
.date-picker .input-group {
    width: 1%;
}
.date-picker span.input-group-addon {
    padding: 0 6px 0 8px;
}
.date-picker input:disabled ~ span.input-group-addon {    
    cursor: default;
}
.date-picker input:disabled ~ span.input-group-addon img {
    opacity: .4;
}
.date-picker ~ *:not(.date-picker):not(.popover) {
    top: -25%;
    position: relative;
}
.datepicker-dropdown .table-condensed tr td {
    padding: 0;
}
.date-through
{
    vertical-align: top;
    padding-top: .15rem;
    display: inline-block;
}
.modal-dialog .date-through
{
    vertical-align: top;
    padding-top: .8rem;
    display: inline-block;
}
/*IE 10+ datepicker style hack*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .editor-field > .date-picker { width: 110px; }
    .date-picker ~ *:not(.date-picker):not(.popover) { top: -10px; }
}
/*#endregion*/

/*#region Document Activity*/

.doc-activity-search-panel {
    font-size: 14px;
    padding: 0.5em;
    border-bottom: 1px solid #999;
}

.doc-activity-search-container {
    display: inline-block;
}

.doc-activity-search-container-left {
    padding-right: 19%;
}

.doc-activity-search-container > div {
    display: flex;
    padding: 8px;
 }

.doc-activity-search-container > div.date-row {
    padding-bottom: 4px;
}

.doc-activity-search-container > div div:first-child {
    width:150px;
}

.doc-activity-search-container select, input {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.doc-activity-search-container select { width: 180px; }

.doc-activity-search-container div select:focus,.incoming-docs-search-container div input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.doc-activity-data-table tbody > tr {
    height: 18px;
}

.doc-activity-print-button i {
    color: #fff;
}

@media (max-width: 400px) {
    
    .doc-activity-search-panel {
        font-size: 12px;
    }

    .doc-activity-search-container div {
        flex-direction: column;
        padding: 2px;
    }
    
    .doc-activity-search-container select, input { 
        font-size: 11px;
    }

    .doc-activity-search-container input {
         width: 100px;
    }
}

/*#endregion Document Activity*/

/*#region Item Packaging*/
.packaging-options {
    background: #F7F7F7;
    margin-bottom: 1rem;
    border: solid 1px #BBB;
    border-radius: 3px;
    padding: 1px 1rem 1rem 1rem;
}
.packaging-options > div { margin-left: 2rem; }
.packaging-section {
    border: 2px solid #C7E0F4;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 1rem;
}
.packaging-section h4, .packaging-section h5 {
    font-weight: bold;
}
.packaging-section .validation-error {
    color: #cc0000;
}
.packaging-configuration {
    min-height: 300px;
}
.packaging-configuration .shipped-unit-indicator {
    padding-top: 20px;
    font-weight: bold;
}
.packaging-configuration hr {
    margin: 14px 0;
    border-top-width: 2px;
}
.packaging-item-table .needsReviewedText {
    color: #cc0000;
}
.packaging-item-table .readyText {
    color: #00aa00;
}
.packaging-item-table tr th:first-child,
.packaging-item-table tr td:first-child{
    text-align: center;
    padding-left: 4px;
    height: 18px;
}
table.packaging-item-table.dtr-column > tbody > tr > td.control:before,
table.packaging-item-table.dtr-inline.collapsed > tbody > tr > td:first-child:before {
    top: 2px;
}
.auto-pack-configuration-actions { display: flex; }
.auto-pack-configuration-actions > * { margin: 0 2px; }
.auto-pack-configuration-actions #AutoPackConfigDropdown {
    width: 60%;
    max-width: none;
    flex-grow: 100;
}
.auto-pack-toggle-show-ids:before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1.25em;
    padding-right: 5px;
    line-height: 18px;
}
.auto-pack-toggle-show-ids.show-ids:before {
    content: "\f14a";
}

/*#endregion*/

/*#region Item Packaging - Batch Lots*/
.batch-row-flex { display: flex; }
.batch-row-flex > div { margin: 0 2px; }
.batch-row-flex.batch-row-header > div { width: 70px; }
.batch-row-flex.batch-row-help > div:first-child { width: 70px; }
.batch-row-flex > div > input { width: 70px; }
.batch-row-flex > div:last-child { flex-grow: 100; }
.batch-row { margin-bottom: 4px; }
.batch-row-help { font-style: italic; padding-bottom: 8px; }

.batch-row-header { font-weight: bold; }
.batch-actions > span {
    margin: 2px;
    padding: 2px;
    cursor: pointer;
}
.batch-actions > span:hover { color: #23527c; }
/*#endregion*/

/*#region Help videos */
video {
    width: 100%;
}
.video-container {
    position: relative;
    margin: 5px 0 20px 0;
    padding-left: 20px;
    font-size: 1.7rem;
}
.video-container .glyphicon {
    font-size: 1.4em;
    position: relative;
    
    display: inline-block;
    vertical-align: top;
}
.video-container .video-title {
    position: relative;
    display: inline-block;
    width: 80%;
}
.video-container .video-link:hover {
    color: #CCC;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
.video-category-title {
    font-size: 2em;
    font-weight: 500;
    margin: 6px 0 6px 0;
    padding-right: 16px;
    color: White;
    background-color: rgba(51, 122, 183, 0.7);
    border-radius: 3px;
}
.video-player {
    text-align: center;
}
/* ReSharper disable once CssNotResolved */
video::cue {
    opacity: 1;
    background-color: #333;
    outline: solid #333 5px;
    font-size: .75em !important;
}
@-moz-document url-prefix() {
    /* ReSharper disable once CssNotResolved */
    video::cue {
        font-size: 1.9em !important;
    }
}
/*#endregion*/

/*#region Quick Edit*/
.quick-edit-column-control {
    white-space: nowrap; 
    padding-left: 10px; 
    padding-right: 15px;
    cursor: default;
    font-size: 0.8em;
}

.quick-edit-column-control:hover {
    background-color: whitesmoke;
}

.quick-edit-total-label {
    width: 100%; 
    cursor: not-allowed;
}

.quick-edit-not-editable {
    width: 100%; 
    cursor: not-allowed; 
    max-width: 200px; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.quick-edit-editable-label {
    display: inline-block; 
    width: 100%; 
    min-height: 13px; 
    max-width: 200px; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.quick-edit-editable-label:hover {
    border: 1px lightgrey solid;
    border-radius: 3px;
    height: 17px;
    cursor: text;
}

/*#endregion*/

/*#region Calculators*/
.calculator-menu-option {
    max-width: 300px;
}

.calculator-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*#endregion*/

/*#region Serial Numbers*/
.gs1-locked:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 1.25em;
    color: #808080;
    content: "\f06a";
    color: crimson;
}

.gs1-locked {
    padding-top: 0.25em;
    padding-left: 0.25em;
    padding-right: 0.25em;
    min-width: 2em;
}
/*#endregion*/

/*#region Merge Pallets*/
#PalletContentTable tbody tr,
#MixedPalletsTable tbody tr {
    height: 20px;
}

.merge-pallets-checkbox {
    max-width: 60px;
}

.merge-pallets-action-buttons {
    width: 100%;
    text-align: center;
}

.pallet-content-view {
    display: flex; 
    flex-direction: row; 
    width: 100%; 
    min-height: 150px;
}

.pallet-content-container {
    width: 100%;
    border: 1px solid lightgray;
}

.merged-pallet td{
    max-width: 500px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*#endregion*/

/*#region Merge Packs*/
#PackContentTable tbody tr,
#MixedPacksTable tbody tr {
    height: 20px;
}

.merge-packs-checkbox {
    max-width: 60px;
}

.merge-packs-action-buttons {
    width: 100%;
    text-align: center;
}

.pack-content-view {
    display: flex; 
    flex-direction: row; 
    width: 100%; 
    min-height: 150px;
}

.pack-content-container {
    width: 100%;
    border: 1px solid lightgray;
}

.merged-pack td{
    max-width: 500px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*#endregion*/

/*#region Auto-Fill (FieldSet Defaults)*/
.dropdown-menu > li > .default-configuration-option {
    padding: 6px 15px;
    display: flex;
    -o-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.editor-default-search {
    margin-left: 13px;
    margin-right: -10px;
    width: 92%;
    min-width: 92%;
}

.editor-default-dropdown {
    min-width: 300px;
    max-height: 235px;
    overflow-x: hidden;
    overflow-y: auto;
}

.editor-default-option {  /*li*/
    white-space: nowrap;
}

.dropdown-menu > li > .editor-default { /*div container*/
    cursor: pointer;
    padding: 6px 15px;
    display: flex;
    -o-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.editor-default-displayname {
    display: inline-block;
    padding-right: 10px;
}

.editor-default-actionGroup {
    display: inline-block;
    font-size: 1.5em;
    margin-top: -0.35em;
}

div.editor-default-action {
    top: 0.17em;
    margin-right: 0.2em;
}

div.editor-default-action-delete {
    top: 0.17em;
    margin-left: 0.2em;
}

div.editor-default-action {
    position: relative;
    cursor: pointer;
    color: #080808;
}

.editor-default-action:hover,
.editor-default-action:focus { color: #337ab7; }

.editor-default-group-name {
    min-height: 26px;
    border-radius:3px;
    border: 1px solid #cccccc;
    display:inline-block;
    overflow:hidden;
    padding-left: 5px;
}

.fieldset-default-content {
    font-size: 10px;
}

.fieldset-default-field-name {
    font-weight: bold;
}

.table-overflow-scroll > table > thead > tr > th > .form-control {
    width: 100%;
}

/*Indicate that the fieldset is set to be deleted*/
.fieldset-default-quickedit-delete {
    opacity: 0.5;
    color: darkred;
    background-color: inherit !important;
}

/*Used to prevent changes to fielsets set to delete*/
.fieldset-default-quickedit-noedit {
    pointer-events: none;
}

.fieldset-default-quickedit-strikethrough {
    text-decoration: line-through;
}

.fieldset-default-quickedit-checkbox-filter {
    height: 13px;
    padding: 2px 2px;
    line-height: 1.5;
    border-radius: 3px;
}

.fieldset-default-quickedit-x {
    color: darkred;
    margin: 4px -2px 0;
}

.fieldset-default-quickedit-message {
    font-style: italic;
    padding-right: 6px
}

.table-overflow-scroll {
    overflow-x: auto; 
    width: 100%
}

.mode-radio-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    max-width: 550px;
}

.mode-radio-container label {
    width: 550px;
}

.mode-radio-container input[type=radio] {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mode-radio-container label {
    cursor: pointer;
    font-weight: normal;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.mode-radio-container input[type=radio]:checked + label {
    border: 1px solid #337ab7;
    box-shadow: 0 0 5px #337ab7;
}

.override-group.input-group {
    max-width: 180px;
    margin-left: 10px;
}

label.packaging-totals {
    width:113px; 
    padding-right: 2px;
}

/*#endregion*/
.forecast-data-section input,
.forecast-data-section select {
    margin-left: 5px;
    margin-right: 5px;
}

.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-left {
    text-align: left;
}

.title-right {
    font-size: 12px;
    text-align: right;
    padding-right: 10px;
} 

.forecast-data-section select {
    min-width: 100px;
}

#forecast-search-button {
    margin-left: 50px;
    margin-right: 5px;
}

.forecast-data-table td, .forecast-data-table th { 
    border-left: 1px solid #ccc;
    padding-left: 20px;
}

.forecast-data-table td:last-child, .forecast-data-table th:last-child { 
    border-right: 1px solid #ccc;
}

.forecast-data-table tbody tr.odd {
    background-color: #eeeeee;
}

.forecast-data-table tbody tr.even {
    background-color: #ffffff;
}

#filter-layout {
    display: grid; 
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto; 
    /*gap: 8px;*/ 
    justify-content: center;
}

#filter-button-layout {
    grid-column: 9 / 11; 
    text-align: right; 
    padding-top: 8px;
}

th.forecast-table{
    font-weight: bold;
    font-size: 1.25em;
}

/*The DataTables extension fixedColumns 4.0.2 doesn't set the z-index 
        for the th and causes other headers to scroll over the headers for 
        the fixed columns. This class fixes that.*/
th.fix-header {
    z-index: 2;
}

th.forecast-table.center-date-header {
    text-align: center;
} 

.forecast-small-header {
    font-weight: normal;
    font-size: 0.7em;
} 

th.forecast-table.bottom-align {
    vertical-align: bottom;
}

td.forecast-table {
    padding-right: 30px;
}

td.forecast-table.date-only {
    text-align: right;
}

td.forecast-table.detail-order {
    text-align: center;
}

th.forecast-printing-table-head{
    font-weight: bold;
    font-size: 1.3em;
    padding-right: 10px;
}

td.forecast-printing-table-cell {
    padding-right: 10px;
}

div.forecast-printing-section {
    display: none;
}

a.is-disabled {
  cursor: not-allowed;
  text-decoration: none;
  opacity: 0.65; /* matches Bootstrap’s disabled tone */
}

