/* ######################################################################## */
/* #                                                                      # */
/* # Taalportaal: Style sheet for printing                                # */
/* #                                                                      # */
/* ######################################################################## */

@media print {
 
   /* stuff to hide ---------------------------------------------------------- */

   #navbarwrapper,
   #backtotop,
   .container-left-background,
   .exportoptions,
   .topicstructure,
   .extrafiller,
   .enlargenotice,
   {
      display: none;
   }

   /* show hidden stuff ------------------------------------------------------ */

   .extra,
   .sectioncontent {
      display: block;
   }

   div.sectiontitlecontainer[style] { /* overrule inline style */
      display: block !important;
   }

   /* topic content repositioning -------------------------------------------- */

   body {
      width: 95%;
   }

   .topic p {
      width: 99.9%;
   }

   .topic .section {
       width: inherit;
   }

   #mainwrapper,
   #navbarwrapper,
   #containerwrapper,
   .container,
   .container-right,
   .sectiontitlecontainer,
   .topic,
   .ilexample {
      left: 0;
      width: 99.9%;
   }

   .sectiontitlecontainer {
      margin-left: 0;
   }

   .topic {
      height: inherit;
      min-height: inherit;
   }

   ul.breadcrumbs {
      margin-top: 15em;
   }

   .topic-toc {
       margin-top: 0;
   }

   .quickinfo-titlecontainer {
       margin-bottom: 0;
   }

   .imagecaption {
      margin: 0;
      padding: 0;
   }

   .generalization {
      margin: 20px 0 20px 0;
   }

   p {
      width: 99.9%;
   }

   div.readmore > ul {
      margin-left: -26px;
   }

   .ilexample {
      page-break-inside: avoid;
   }

   table[class=ilex_table] { /* bh, new 10-11-2015. FL, increased font-size from 8 to 10px, 04-11-2018 */
      font-size: 10px;
   }

   /* ABOUT THIS TOPIC box repositioning/rearranging ------------------------- */

   div.metadata {
      left: 0;
      margin: 0;
      padding: 0;
      position: absolute;
      top: 0;
      width: 99.9%;
   }

   div.label {
      clear: both;
      display: flex;
      float: left;
   }

   div#metadata-author,
   div#metadata-category,
   div#metadata-pubdata,
   div#metadata-keywords {
      margin-left: 120px;
      padding-top: 5px;
      text-align: left;
   }

   /* remove colors, reduce border-width ----------------------------------------------- */

   div.metadata,
   ul.breadcrumbs,
   .box-left-title,
   .box-left-title-activetab,
   .box-left-title-nonactivetab,
   .box-right-title,
   .container a,
   .lingterm,
   .readmore-titlecontainer,
   .topic-toc ul,
   .topic a,
   .extra,
   .references_box,
   .ilexample_index  {
      border-color: #000;
      border-width: 1px;
      color: #000;
   }

   /* adjust tables ---------------------------------------------------------- */

   .tableCaption {
      margin: 0;
      border: none;
   }

   table[class=simpletable1] {
      font-size: 11px; /* bh new, 20-01-2016 */
      margin: 0;
      page-break-inside: avoid;
   }

   table[class=simpletable1] tr td[class=columnheader],
   table[class=simpletable1] tr td[class=lexample],
   table[class=simpletable1] tr,
   table[class=simpletable1] td {
      background-color: none;
      border: 1px solid #000;
      color: #000;
   }

   table[class=simpletable1] td:last-child:empty { /* bh new, 19-01-2016, last column: hide empty cell */
      display: none;
   }

   .simpletable1 {
      max-width: 99.9%; /* don't exceed limit */
      white-space: nowrap !important; /* bh new, 19-01-2016 */
      width: 0; /* cancel current value */
   }

   /* adjust references and hidden extras ------------------------------------ */

   .references_box,
   .extra {
      width: 99.9%;
      margin-left: 0;
      margin-top: 10px;
   }

   div.references_header {
      width: 99.9%;
      padding-top: 10px;
   }

   ul.references-list {
      padding-right: 10px;
   }

   li.book,
   li.incollection,
   li.article,
   li.unpublished,
   li.thesis {
      width: 99.9%;
   }

   /* disclaimer ----------------------------------------------------------------------- */

   div.disclaimer_hb {
      background-color: transparent;
      border: 1px solid #000;
      color: black;
      font-size: 10px;
      margin-top: 14px;
      width: 99.9%;
   }

   /* suggestions for further reading -------------------------------------------------- */

   .reltop-content,
   .reltop-list {
      display: block !important;
   }

   .reltop {
      border: 1px solid #000 !important;
   }

   /* derivation and composition ------------------------------------------------------- */

   .topic-toc ul:not(:empty) {
      border: 1px solid #000 !important;
   }

   /* ---------------------------------------------------------------------------------- */
}
