/**
 * Print stylesheet for pro.dentaltix.com
* @version         1.0
* @lastmodified    01.10.2018
*/

@media print {

  /* Setting content width, unsetting floats and margins */
  /* Attention: the classes and IDs vary from theme to theme. Thus, set own classes here */
  #content,#page {
    width: 100%; 
    margin: 0; 
    float: none;
  }

  /** Setting margins */       
  @page { margin: 2cm }

  /* Or: */
  @page :left {
    margin: 1cm;
  }

  @page :right {
    margin: 1cm;
  }

  /* The first page of a print can be manipulated as well */
  @page :first {
    margin: 1cm 2cm;
  }

  /* Set font to 16px/13pt, set background to white and font to black.*/
  /* This saves ink */
  * { background: none !important; }

  body {
    /*font: 13pt Georgia, "Times New Roman", Times, serif;*/
    line-height: 1.3;
    background: #fff !important;
    color: #000;
  }

  h1 {
    font-size: 24pt;
  }

  h2, h3, h4 {
    font-size: 14pt;
    margin-top: 25px;
  }

  /* The following settings are possible: */
  /* Defining all page breaks */
  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 
  }

  /* Displaying link color and link behaviour */
  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) "> ";
  }*/

  /**
   * Making intergated videos disappear, and removing the iframes' whitespace to zero. 
   */
  .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;
  }


  /* Hiding unnecessary elements for the print */

  .noprintable, .noprintable, #stock, .hidden, .hide_product {
    display: none;
  }

  /* Adding custom messages before and after the content */
  header:before {
    content: "\ Documento generado desde DentaltixPRO.";
    color: #777 !important;
    font-size: 1em;
    padding-top: 30px;
    text-align: center !important;    
  }

  footer.main-footer {
    display: none;
  }
  div.wrapper:after {
    content: "Documento generado desde DentaltixPRO | Dentaltix.com - Tu depósito dental online";
    color: #999 !important;
    font-size: 1em;
    padding-top: 30px;
  }

  .inline { display: block !important; }
  .printable, .printable div{
    overflow: hidden;
    display: inherit;
  }
  .text-right {
    text-align: right;
  }
  #table_product {
    clear: both;
    display: block;
  }
  .fila_ped:nth-child(odd) {
    background: white;
  }
  .fila_ped:nth-child(even) {
    background: #eee !important;
  }
}


@media only print {
  .row {
    clear:both;
  }
  .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 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
  .col-sm-pull-12 {
    right: 100%;
  }
  .col-sm-pull-11 {
    right: 91.66666667%;
  }
  .col-sm-pull-10 {
    right: 83.33333333%;
  }
  .col-sm-pull-9 {
    right: 75%;
  }
  .col-sm-pull-8 {
    right: 66.66666667%;
  }
  .col-sm-pull-7 {
    right: 58.33333333%;
  }
  .col-sm-pull-6 {
    right: 50%;
  }
  .col-sm-pull-5 {
    right: 41.66666667%;
  }
  .col-sm-pull-4 {
    right: 33.33333333%;
  }
  .col-sm-pull-3 {
    right: 25%;
  }
  .col-sm-pull-2 {
    right: 16.66666667%;
  }
  .col-sm-pull-1 {
    right: 8.33333333%;
  }
  .col-sm-pull-0 {
    right: auto;
  }
  .col-sm-push-12 {
    left: 100%;
  }
  .col-sm-push-11 {
    left: 91.66666667%;
  }
  .col-sm-push-10 {
    left: 83.33333333%;
  }
  .col-sm-push-9 {
    left: 75%;
  }
  .col-sm-push-8 {
    left: 66.66666667%;
  }
  .col-sm-push-7 {
    left: 58.33333333%;
  }
  .col-sm-push-6 {
    left: 50%;
  }
  .col-sm-push-5 {
    left: 41.66666667%;
  }
  .col-sm-push-4 {
    left: 33.33333333%;
  }
  .col-sm-push-3 {
    left: 25%;
  }
  .col-sm-push-2 {
    left: 16.66666667%;
  }
  .col-sm-push-1 {
    left: 8.33333333%;
  }
  .col-sm-push-0 {
    left: auto;
  }
  .col-sm-offset-12 {
    margin-left: 100%;
  }
  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-sm-offset-9 {
    margin-left: 75%;
  }
  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-sm-offset-6 {
    margin-left: 50%;
  }
  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-sm-offset-3 {
    margin-left: 25%;
  }
  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-sm-offset-0 {
    margin-left: 0;
  }
}