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

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

   .left-wrapper,
   aside,
   header,
   .topheader,
   .headermenu-small,
   #overdeans,
   #prevnext,
   .toggle-extra {
      display: none !important;
   }

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

   .extra,
   .section.isHidden {
      display: block !important;
   }

   div.sectiontitlecontainer[style] { /* overrule inline style */
      display: block !important;
   }
	
	/*
   .note:not(.copy){
      display: block;
      border: 1px solid #ccc;
      padding: 10px;
      font-size: 12px;
      margin: 10px;
      visibility: visible;
   }

   .note:not(.copy) p{
      display: block;   
   }
	*/

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

   body {
      width: 95%;
   }

   .topic p, .topic .p {
      width: 99.9%;
   }

   .topic .section {
       width: inherit;
   }

	#article-nav{
		left: 0;
		margin-left: 0px !important;
		width: 99.9%;
	}
   
   
   .main-wrapper,
   .right-wrapper,
   .container-right,
   .sectiontitlecontainer,
   .topic,
   .ilexample {
      left: 0;
	  margin-left: 0px !important;
      /*width: 99.9%;*/
      width: 99.9%;
   }
   
   .content{
	width: 95% !important;
   }

   .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, .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: transparent;
      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;
	  padding: 20px;
   }
   
   .extra-title-main{
	   padding-left: 0px ! important;
	   padding-bottom: 10px !important;
   }

   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%;
   }


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

	.article-extra-content,
	.related.article-extra,
	.literature.article-extra
   {
      display: block !important;
   }
   
   .toggle-article-extra{
	   display: none;
   }

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

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

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

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