@page {
  size: A4 portrait;
  margin: 0.5cm;
  background-color: white;
}

.bg-grey {
  background: white !important;
}

.container .two-thirds.column {
    width: 500px;
}
.container .one-third.column {
    width: 180px;
}

.sidebar ul li {
    margin-bottom: 10px;
}

header {
    display: none;
}
.mobile-nav, .menu-navigation-container, .noprint, .ml-slider, #dpsp-floating-sidebar, #wpfront-scroll-top-container, #disqus_thread, .search, .swp_social_panel, .mainMenu, nav, .dataTables_filter, .reset {
    display: none !important;
}

.aside, .covid-aside {
    clear: both !important;
    page-break-before: always;
    width: 60% !important;
}

.trip_database {
    width: 45% !important;
    clear: both;
}

a {
   font-weight: bolder;
   text-decoration: none;
}

a[href^=http]:after {
    clear: both;
font-size: 12px;
line-height: 0.4em !important;
font-weight: normal;
content:" [" attr(href) "] "; 
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
}

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

header h1 {
   margin-right: 200px;
   margin-bottom: 2rem;
   line-height: 1.5;
}

#content {
    display: block;
    padding: 0 !important;
}
#comments {
    display: none;
}
.printonly {
    display: block !important;
}
aside {
    display: none !important;
}
footer {
    display: none;
}

body { 
    background: white; 
    color: black;
    margin:0; 
}

h1 {
    color: black;
}

h1+p {
    font-size: 16pt;
    font-style: italic;
    width: 620px;
    color: black;
}

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

img {
   max-width: 100% !important;
}

article {
   page-break-before: always;
}

ul, img {
   page-break-inside: avoid;
}

aside h2 {
font-size: 18pt;
}

.wp-caption {
    border: 2px solid black;
    background-color: black !important; 
    color: white !important;
}

.wp-caption-text:before {
    border-top: 1px solid grey;
}

/* Adding custom messages before and after the content */
body:after {
content: "\ All Rights Reserved. (c) 2020 Centre for Evidence-Based Medicine - cebm.net";
color: #999 !important;
font-size: 1em;
padding-top: 30px;
text-align: center;
}

@media print and (color) {
   * {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
   }
}

/*
nav:before {
content: "\ This article was originally published on the Catalogue of Bias (https://catalogofbias.org/) and was prepared by staff at the Centre for Evidence-Based Medicine. Thank you for printing it.";
color: #777 !important;
font-size: 1em;
padding-top: 30px;
text-align: center !important;    
}
*/