


.print {display:none;}
@media print {
  html,body,table.tbl-program,html.program table thead th.agenda-time,html.program table tr:nth-child(even), table.tbl-program tr:nth-child(even),html.program table tbody, table.tbl-program tbody {background:transparent !important;color:#000; color: cmyk(0,0,0,100%);margin:0;padding:0;}
  html,body {font-size:3mm}
  #body {width:auto;margin:0.5cm}
  html.program table tbody tr:nth-child(odd), table.tbl-program tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
  }
  html.program table tr {page-break-inside: avoid;}
  #header > div,footer,#footer,#navbar,#sidebar,html.program ul.paper-files, html.program #body #c1 *, html.program #toc-overview,#freshworks-container,.screen{display:none;}
  html.program #body #c1 h1 {
    display:block;color:#1a1338;text-transform: none;
  }
  html.program #body #c1 h4 {
    display:block;
    font-weight:normal;
  }

  .print {display:block !important;}
  #header .print {
    background:@default-bkg;
  }
  .header1 {
    position:relative;
    z-index:2;
    text-align:center;
    border-bottom: 2px solid @box-border;
    background:@default-bkg;
    & > p {display:block;margin:0 auto;width:30em;padding: 5em 0 2em 0}
    h3 {
        color:#fff;font-size:1.15em;border:2px solid @box-border;
        display: inline-block;
        padding: 0.2em 0.5em;
        background:@default-bkg;
        margin:0;
        transform: translateY(1em);
        img {height:1.25em;vertical-align:middle;margin-left:0.5em}
    }
    &:after {
      content:' ';
      background: url(/_/e/firstcti26/print-header.png) repeat-x;
      overflow-x:hidden;
      overflow-y:hidden;
      display:block;
      height:0;
      opacity:0;        
    }
    & ~ p {display:none}
  }
  .header-continue {
    position: fixed;
    z-index:1;
    top: 0;
    width:100%;
    border-bottom: 2px solid @box-border;
    background:@default-bkg;
    & > p {display:inline-block;margin:0 auto;width:15em;padding: 2em 2em 2em 2em}
    h3 {position:absolute;right:2em;top:2em;margin:0;padding:0;white-space:nowrap;
      img {height:2.5em;}
      a:after {display:none !important}
    }
  }
  .hidden, #toc-overview, .backtop, .paper-files {display:none !important;}
  tr, th, td { page-break-inside: avoid;}
  h4, thead {page-break-after: avoid;}
  #body {background:transparent;}
  table.tbl-program thead {
    display:table-header-group !important; margin-top:3cm !important; 
    padding-top: 3cm !important;
  }
  .paper-files {
    h3, .p-speaker { page-break-after: avoid; }
  }
  .paper-files li .flags .flag {width:2.5em}
  .paper-files li .backtop ~ .flags {margin-right: 0;}
  h1, h2, h3, h4, .data-preview table thead th {color:#3d617d; border-color: #3d617d}
  table.tbl-program thead th:first-child:before {
    content: element(h2);
  }
  @page :first {
    margin: 5.1cm 0 1.5cm 0;
    background-color: transparent;
    background-image: url('/_/e/firstcti26/print-header1.png');
    background-size: 210mm 46mm;
    background-position: 0 -5.1cm;
    background-repeat: no-repeat;
  }
  @page {
    margin: 3.8cm 0 1.5cm 0;
    background-color: transparent;
    background-image: url('/_/e/firstcti26/print-header.png');
    background-size: 210mm 30mm;
    background-position: 0 -3.8cm;
    background-repeat: no-repeat;
    @top-center {
      content: ' ';
    }
    @top-left {
      content: ' ';
    }
    @top-right {
      content: ' ';
    }
    @bottom-left {
      content: '#FIRSTCTI26';
      padding-left:0.5cm;
      font-size: 2.5mm;
      color: #444;
    }
    @bottom-right {
        content: counter(page) " / " counter(pages);
        padding-right:0.5cm;
        font-size: 2.5mm;
        color: #444;
    }
  }
}
