/*------------------------------------------------------------------

[Print Stylesheet]

  Project:     Volvo Impact
  Version:     3.17
  Last change: 22/05/2014
  Assigned to:

-------------------------------------------------------------------*/

/*------------------------------------------------------------------
[1. Global]
*/
*:not(br) {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  padding-top: 0 !important;
}

.detailsIframe {
 top: 0;
 position: relative !important;
 overflow: visible;
}

.popover {
  border: 0;
  top: auto !important;
  position: relative !important;
  opacity: 1 !important;
  color: #000 !important;
  background: #fff !important;
  -webkit-print-color-adjust:exact;
  -webkit-filter:opacity(1);
}

#infoContent {
 overflow: visible;
}
#exchangedDoc {
  overflow-y: visible;
  height: 100%;
}
#content, .detailsArea, .menubar {
  top: auto !important;
}

#imgDiv {
  display: block !important;
  page-break-inside: avoid !important;
  page-break-before: always !important;
}

#imgDiv img {
  display: block !important;
  page-break-inside: avoid !important;
}
.lt-ie9 body {
  margin : 5pt
}

/* Bootstrap's grid overwrite */
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
  clear: none !important;
  float: none !important;
  width: auto !important;
}

/* Hide layout main sections: tabs, search form, hide growls */
.bootstrap-growl,
#menutabs,
#subtabs,
#searchform,
#infoSubtabs,
#searchResultBtns,
.btnList,
.hidden-print {
  display: none !important;
}

a.link [class^="iconf-"]:before,
a.link [class*=" iconf-"]:before {
  color: #000;
}


#supersededContent .table-bordered {
  width: 100% !important;
}

input[type="checkbox"] + label {
  visibility: hidden;
}
input[type="checkbox"],
input[type="checkbox"]:checked {
  display: block;
  opacity: 1;
  width: 20pt !important;
  height: 20pt !important;
}
/*------------------------------------------------------------------
[2. Search results]
*/

/* Make main containers and wrappers visible on all print pages */
.searchResults,
.dataTables_scroll,
.modal-body,
#list,
#infoContent,
#subContent #infoContent,
#supersededContent,
#exchangedContent {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
}

/* Make superseded arrows more visible on printouts */
.iconf-super-down:before,
.iconf-super-arrow:before {
  margin-left: 0;
  font-size: 12pt !important;
  line-height: 13pt !important;
}

/* Remove unnecessary borders on print page */
.panel {
  border: none !important;
}

/*------------------------------------------------------------------
[3. Details page]
*/

.menubar {
   margin-bottom: 20pt !important;
}
.menubar > .list-inline > li > .btn-icon,
.row > .btnList > li > .btn-icon {
  display: none;
}
.menubar > .list-inline > li {
  display: block !important;
}
.menubar > .list-inline > li > h4 {
  margin: 20pt 0 !important;
}
.menubar > .list-inline > li.hidden-print {
  display: none !important;
}
/* Overwrite Bootstrap's popover, we want to see its content on print page */
.menubar .popover.right {
  width: 100% !important;
  margin-left: 0;
  position: relative !important;
  top: 0pt !important;
  left: auto;
  float: none;
  border: none;
}
/* Hide popover's arrow and iframe IE fix */
.menubar .popover.right .arrow,
.menubar .popover.right iframe.cover {
  display: none;
}

.img-thumbnail {
  display: block;
  margin: 20pt auto !important;
  line-height: normal !important;
}

/*--------------------
[Tools details]
*/
/* #toolBoards .col-md-8 { */
/*   margin-top: 20pt !important; */
/* } */
/* .printmargTop { */
/*   top: 200pt; */
/* }           */

/*--------------------
[My list]
*/
#currentlist {
  top: auto !important;
}
#currentlist .panel {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
#currentlist .btnList,
#currentlist .delete,
#unCheck {
  display: none !important;
}
#currentlist .col-md-4 table {
  margin: 20pt 0 !important;
  width: 1%;
  white-space: nowrap !important;
}
#currentlist .col-md-4 table td.text-right {
  padding-right: 1em !important;
}

/* Print footer */
.visible-print.copyrightPrint {
  height: 10%;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  text-align: center !important;
  top: auto !important;
  bottom: 0 !important;
  position: static !important;
}

/* Fix content containers */
.scrollable {
  height: auto !important;
}
.wrapper {
  height: auto !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
}

/* Tables
   ========================================================================== */

.dataTables_scrollBody,
.dataTables_wrapper {
  height: auto !important;
}
.dataTables_scrollHead,
.dataTables_wrapper .bottom {
  display: none !important;
}

/* Clear fixed dataTables header */
.dataTables_scroll {
  bottom: auto !important;
  height: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
}
.dataTables_scrollHead {
  display: none !important;
}

.is-ie11 table {
  page-break-inside: auto !important;
}

.dataTable,
.table,
.table-bordered,
table {
  page-break-after: avoid !important;
  page-break-before: avoid !important;
  page-break-inside: auto !important;
  -webkit-region-break-inside: avoid;
  
  border-collapse : collapse;
  border-spacing  : 0 !important;
  border          : 1px solid black;
  bottom          : auto !important;
  float           : none !important;
  left            : auto !important;
  margin          : 20px 0 !important;
  padding         : 0 !important;
  position        : relative !important;
  right           : auto !important;
  table-layout    : auto !important;
  width           : auto !important;
}
.lt-ie9 .dataTable,
.lt-ie9 .table,
.lt-ie9 .table-bordered,
.lt-ie9 table {
  display         : block !important;
}


.table tbody > tr,
.table tfoot > tr,
.table thead > tr,
table tr {
  page-break-after: auto !important;
  page-break-before: auto !important;
  page-break-inside: avoid !important;
  
  display: table-row !important;
  height: 8mm !important;
  width: auto !important;
}
.lt-ie9 .table tbody > tr,
.lt-ie9 .table tfoot > tr,
.lt-ie9 .table thead > tr,
.lt-ie9 table tr {
  display: block !important;
}

.table tbody > tr > td,
.table tfoot > tr > td,
.table thead > tr > td,
table tr td {
  page-break-after: avoid !important;
  page-break-before: avoid !important;
  page-break-inside: avoid !important;
  
  border-bottom-width: 1px !important;
  border-top-width: 1px !important;
  border: 1px solid black;
  display: table-cell !important;
  font-size: 10pt !important;
  height: 8mm !important;
  margin: 0 !important;
  padding: 1mm !important;
  width: auto !important;
}
/* Fix dataTable header */
table.dataTable thead tr[style] {
  height: auto !important;
}
table.dataTable thead tr th[style] {
  height: 8mm !important;
  margin: 0 !important;
  padding: 1mm !important;
  width: auto !important;
}
table.dataTable thead tr th.sorting {
  background-image: none;
  margin: 0 !important;
}
table.dataTable thead tr th div[style] {
  height: auto !important;
  overflow: visible !important;
}

table tr td a {
  color: #000 !important;
  text-decoration: none !important;
}

/* Search results */
#searchResultHeading .searchTitle,
.partsNotIll,
.partsNotIll * {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}
#searchResultHeading .searchTitle {
  font-size: 100%;
}

/*
   ========================================================================== */

.copyright {
  text-align: center !important;
}

iframe.cover {
  display: none !important;
}

@page {
  margin: 5mm !important;
}