/**
 * \brief Print Stylesheet
 *
 * \see https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/
 */
@media print {

////////////////////////////////////////////
// 1) Margins / Font Sizes
////////////////////////////////////////////
/** 
 * \brief Full page config : Margins
 *
 * -# Set content width
 * -# Unset floats and margins
 *
 * NOTE : Set own classes here
 */
/*
#content,#page {
  width  : 100%; 
  margin : 0; 
  float  : none;
}
 */

@page {
  margin : 0mm;
}

@page : left {
  margin : 1cm;
}

@page : right {
  margin : 1cm;
}

/*
@page : first {
  margin : 1cm 2cm;
}
 */

/**
 * \brief body config
 * -# Font to 16px/13pt, 
 * -# Background to white and font to black.*/
 * -# Font to black
 *
 * White background saves ink
 */
/*
 * 22-09-26 jcs  Set below
 *
body {
  font        : Georgia, Times New Roman, Times, serif;
  font-size   : 13pt;
  line-height : 1.3;
  background  : #fff !important;
  color       : #000;
}
 */

/** \brief h1 thru h4 element font-size (Not used) */
h1 {
 font-size : 24pt;
}

h2, h3, h4 {
 font-size  : 14pt;
 margin-top : 25px;
}    
 
////////////////////////////////////////////
// 2) Page Breaks : Prevent break-up
////////////////////////////////////////////
a {
  page-break-inside : avoid
}

blockquote {
  page-break-inside : avoid;
}

h1, h2, h3, h4, h5, h6 { 
  page-break-after  : avoid; 
  page-break-inside : avoid; 
}

img { 
  page-break-inside : avoid; 
  page-break-after  : avoid; 
}

table, pre { 
  page-break-inside : avoid; 
}

ul, ol, dl {
  page-break-before : avoid; 
}

// mr meowezers
    
////////////////////////////////////////////
// 3) Links : Highlighted
////////////////////////////////////////////
/* Linkfarbe und Linkverhalten darstellen */
a:link, a:visited, a {
   background      : transparent;
   color           : #520;
   font-weight     : bold;
   text-decoration : underline;
   text-align      : left;
}

a {
    page-break-inside:avoid
}

a[href^=http]:after {
      content:" <" attr(href) "> ";
}

$a:after > img {
   content: "";
}

article a[href^="#"]:after {
   content: "";
}

a:not(:local-link):after {
   content:" <" attr(href) "> ";
}

////////////////////////////////////////////
// 4) Hide Videos / iframes
////////////////////////////////////////////
/**
 * Eingebundene Videos verschwinden lassen und den Whitespace der iframes auf null reduzieren.
 */
.entry iframe, ins {
    display: none;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    line-height: 0pt !important;
    white-space: nowrap;
}
.embed-youtube, .embed-responsive {
  position: absolute;
  height: 0;
  overflow: hidden;
}
    
////////////////////////////////////////////
// 5) Hide unnecessary Widgets
////////////////////////////////////////////
#header-widgets, 
    nav, 
    aside.mashsb-container, 
    .sidebar, 
    .mashshare-top,
    .mashshare-bottom, 
    .content-ads, 
    .make-comment, 
    .author-bio, 
    .heading, 
    .related-posts, 
    #decomments-form-add-comment, 
    #breadcrumbs, 
    #footer, 
    .post-byline, 
    .meta-single, 
    .site-title img, 
    .post-tags, 
    .readability 
{
  display : none;
}


////////////////////////////////////////////
// 6) Add msgs before / after printing
////////////////////////////////////////////
.entry:after {
  content     : "\ (c)2021-2022 JMT WorkFlow Inc.";
  color       : #999 !important;
  font-size   : 1em;
  padding-top : 30px;
}

#header : before {
  content: "\ Thank you for choosing JMT WorkFlow Inc.";
  color       : #999 !important;
  font-size   : 1em;
  padding-top : 30px;
  text-align  : center !important;    
}


////////////////////////////////////////////
// 7) Misc : Full Font, etc.
////////////////////////////////////////////
p, address, li, dt, dd, blockquote {
  font-size : 100%
}

/* Zeichensatz fuer Code Beispiele */
code, pre { 
  font-family : "Courier New", Courier, mono;
}

ul, ol {
  list-style    : square; 
  margin-left   : 18pt;
  margin-bottom : 20pt;    
}

li {
  line-height : 1.6em;
}    

////////////////////////////////////////////
// 8) Existing shit
////////////////////////////////////////////
.print_ignore {
  display : none;
}

body, table, th, td {
  color            : #000000;
  background-color : #ffffff;
  font-size        : 8pt;
}

img {
  border : 0;
}
/*
 * class WorkCardPrint handles this
 *
table, th, td {
  border-width : 1px;
  border-color : #000000;
  border-style : solid;
}
 */

table {
  border-collapse : collapse;
  border-spacing  : 0;
}

th, td {
  padding : 0.2em;
}

th {
  font-weight      : bold;
  background-color : #e5e5e5;
}


////////////////////////////////////////////
// 9) workCardPrint.css : Existing shit
////////////////////////////////////////////
body {
  background-color     :  #FFFFFF;
  margin               :  0,0;
  Color                :  #000000;
  font-family          :  verdana,arial,sans-serif;
  font-size            : 14px;
}
.frameCell {
  border-top           :  solid #003682 1px;
  border-bottom        :  solid #003682 1px;
  border-left          :  solid #003682 1px;
  border-right         :  solid #003682 1px;
}
.titleText {
  font-family          :  verdana,arial,sans-serif;
  font-size            : 14px;
  font-weight          :  bolder;
  text-decoration      : none;
  color                :  #003682;
}
.smallText {
  font-family          :  verdana,arial,sans-serif;
  font-size            : 8px;
  font-weight          :  bolder;
  text-decoration      : none;
  color                :  #003682;
}
.pageText {
  font-family          : verdana,arial,sans-serif;
  font-size            : 14px;
  font-weight          : bolder;
  text-decoration      : none;
  color                : #003682;
}
.stampText {
  font-family          : verdana,arial,sans-serif;
  font-size            : 14px;
  font-weight          : bold;
  text-decoration      : none;
  color                : #003682;
}
.pageTextII {
  font-family          : verdana,arial,sans-serif;
  font-size            : 14px;
  text-decoration      : none;
  color                : #003682;
}
.pageTextIII {
  font-family          : verdana,arial,sans-serif;
  font-size            : 13px;
  text-decoration      : none;
  color                : #003682;
}
.thCellLeft {
  font-family          :  verdana,arial,sans-serif;
  font-size            : 14px;
  font-weight          :  bolder;
  text-decoration      : none;
  color                :  #003682;
  border-top           :  solid #003682 1px;
  border-bottom        :  solid #003682 1px;
  border-left          :  solid #003682 1px;
}
.thCellRight {
  font-family          :  verdana,arial,sans-serif;
  font-size            : 14px;
  font-weight          :  bolder;
  text-decoration      : none;
  color                :  #003682;
  border-top           :  solid #003682 1px;
  border-bottom        :  solid #003682 1px;
  border-left          :  solid #003682 1px;
  border-right         :  solid #003682 1px;
}
.CellLeft {
  font-family          : verdana,arial,sans-serif;
  font-size            : 14px;
  font-weight          : bolder;
  text-decoration      : none;
  color                : #003682;
  border-bottom        : solid #003682 1px;
  border-left          : solid #003682 1px;
}
.CellRight {
  font-family          : verdana,arial,sans-serif;
  font-size            : 14px;
  font-weight          : bolder;
  text-decoration      : none;
  color                : #003682;
  border-bottom        : solid #003682 1px;
  border-left          : solid #003682 1px;
  border-right         : solid #003682 1px;
}

P.breakhere  {
   page-break-before : always;
   margin-top        : 0.5in;
}

#WorkCardPrint_barcode {
/*
   width  :  33%;
   height : 50px;
 */
   width  : 2.75in; 
   height : 0.50in;
}

#BillOfLading_barcode {
   width  : 2.75in; 
   height : 0.50in;

}

.ScanCode_barcode {
   width  : 2.75in;
   height : 0.50in;
}

.ScanCode_print {
   width  : 2.75in;
   height : 2.75in;
}

.ScanCodeName {
  font-family          : verdana,arial,sans-serif;
  font-size            : 24px;
  font-weight          : bolder;
  text-decoration      : none;
  color                : #003682;
}

} // @media print
