/* ==========================================================================
   Custom style overwrittes for printing
   ========================================================================== */

/* -- Default styles -------------------------------------------------------- */

.content-wrapper {
  border: none;
}

.no-print {
  display: none;
}

.only-print {
  display: inherit;
}

/* -- Printable page --------------------------------------------------------- */

.uc-table-wrapper {
  overflow: visible;
}

.printable-page .panel {
  border: none;
}

.printable-page .panel-body,
.printable-page .panel-footer {
  padding: 0;
}

.printable-page .panel-heading {
  padding: 1em 0;
}

.printable-page table {
  border-collapse: collapse !important;
}

.printable-page table,
.printable-page th,
.printable-page td,
.printable-page .well {
  border: 1px solid black !important;
}

.printable-page table.fabrics-table,
.printable-page table.fabrics-table th,
.printable-page table.fabrics-table td {
  border: none !important;
}


.printable-page table.dataTable thead th {
  border-bottom: 1px solid black !important;
}

.printable-page th .btn,
.printable-page td .btn,
.printable-page .ui-select-toggle {
  display: inherit !important;
  width: initial !important;
  height: initial !important;
  border: none !important;
}

.printable-page a[href='']:after {
  content: '';
}

.printable-page input,
.printable-page .ui-select-toggle {
  border: none !important;
  box-shadow: unset !important;
  padding: 0;
  text-align: inherit;
}

.printable-page .ui-select-toggle .caret,
.printable-page .ui-select-toggle .caret + a {
  display: none !important;
}

.printable-page .checkbox {
}

.printable-page .checkbox span {
  border: none !important;
}

.printable-page input[type='number'] {
  -moz-appearance:textfield;
}

.printable-page input::-webkit-outer-spin-button,
.printable-page input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Printable modals */

body.modal-open .printable-page:not(.printable-modal) {
  display: none;
}

body.modal-open .modal {
  position: relative;
}

body.modal-open .modal-dialog {
  position: inherit;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0;
}

body.modal-open .modal-content {
  border: none;
  overflow: visible;
}

/* Printable headers */

table.print-header {
  width: 100%;
  margin-bottom: 2em;
}

table.print-header th,
table.print-header td {
  text-align: center;
  padding: .2em;
}

/* Custom styles for the style status page */

.stylestatus-page .style-done,
.stylestatus-page .style-1days,
.stylestatus-page .style-7days,
.stylestatus-page .style-14days {
  padding: .2em 1em !important;
}

.stylestatus-page .style-done {
  background-color: rgba(0, 255, 0, 0.3) !important;
}

.stylestatus-page .style-1days {
  padding: .5em 0;
  background-color: rgba(255, 0, 0, 0.3) !important;
}

.stylestatus-page .style-7days {
  padding: .5em 0;
  background-color: rgba(255, 127, 0, 0.7) !important;
}

.stylestatus-page .style-14days {
  padding: .5em 0;
  background-color: rgba(255, 255, 0, 0.3) !important;
}