
@page{
  size: auto;   /* auto is the initial value */ 
  margin: 2mm;
  margin: 6.21mm;
  /*border: 2px solid;*/
}
*{
  overflow: visible;
}

html, body{
  height: 99%;
}
body{
  background: #fff;
  /*padding: 3.81mm;*/
}
.single-printer-friendly body{
  font-family: 'Roboto', sans-serif;
}
.container{
  width: 100%;
  padding: 10px 20px 0;
}
.single-printer-friendly .container{
  padding: 0;
}



/* links */
a[href^=http]:after {
   content: "";
}
/*.single article a[href^=http]:after {
   content: "";
}*/
.single-printer-friendly a#print-page{
  display: block;
  text-decoration: none;
  font-size: .7em
}
@media print{
  a#print-page, .single-printer-friendly a#print-page,
  a.post-edit-link{
    display: none;
  }

}


/* logo */
#print-logo{
  display: block;
}
.header-top .logo{
  padding: 0;
  /*margin: 0 auto;*/
  /*text-align: center;*/
  float: left;
  width: 100%;
}
header, .single.single-printer-friendly header{
  position: absolute;
  top: 0; top: 3.81mm;
  left: .5cm;
}
.single.single-printer-friendly header{
  top: -2mm;
  left: 0;
}
.single header{
  position: static;
}



.collapse{
  display: block;
}


.secondary-nav,
.site-search-container,
.header-top .logo a,
#main-nav,
.sidebar.sidenav,
#main-footer,
aside.related-links,
aside.related-videos,
.terms, nav.terms,
ul.post-tags,
form#search-answers,
.browse-answers .question .pull-letter,
.google-map,
.footer-logo{
  display: none;
}
.container.sub-footer{
  padding: 10px 20px 0;
}
.sub-footer .disclaimer{
  padding: 0;
  display: none;
}




.content article, .content article.right{
  padding-top: 10px;
  padding-left: 0;
  padding-right: 0;
}
.content article, .content article.right{
  padding: 0;
}



.content article,
.container.sub-footer{
  font-size: .8em;
}

/* headings */
.content article h1,
.content article.right h1{
  border: none !important;
  margin-top: 0;
  margin-top: .5em;
  margin-bottom: .8em;
  text-decoration: underline;
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 2.5em;
}
.single-printer-friendly .content article h1, 
.single-printer-friendly .content article.right h1{
  margin-bottom: .8em;
  font-size: 1.5em;
  font-weight: 600;
}
.content article h2{
  margin-top: 1.2em;
}
.content article h4{
  margin-top: .5em;
}


/* paragraphs + lists */
.content article p{
  margin: .75em 0 !important;
  page-break-inside:avoid;
  overflow: visible;
}
.content article p,
.single-printer-friendly .content article p{
  margin: 0.5em 0 0.6em !important;
}
.content article p + ul{
  margin-bottom: .3em;
}
.content article p + ul,
.single-printer-friendly .content article p + ul{
  margin-bottom: 0;
}
.content article ul ul,
.single-printer-friendly .content article ul ul{
  margin-top: 0.1em;
}
.content article ul li, 
.content article ol:not(.carousel-indicators) li,
.single-printer-friendly .content article ul li, 
.single-printer-friendly .content article ol:not(.carousel-indicators) li{
  margin-bottom: 0.15em;
  line-height: 1.3;
  font-size: .95em;
}


/* other elements */
.related-videos-heading,
.related-videos-list{
  display: none;
}

/* tables */
table, .table{
  margin-bottom: 1.5em;
  margin-top: -1em;
  page-break-inside:avoid;
}
table tr, table th, table td,
.table tr, .table th, .table td{
  page-break-inside:avoid;
  overflow: visible;
  page-break-before: auto;
}

table ul{
  margin: 0 !important;
  page-break-inside: avoid;
  overflow: visible;
}
table ul li, .content article table ul li{
  margin: 0;
  line-height: 1.3;
  page-break-inside: avoid;
  overflow: visible;
}
table ul li + li, .content article table ul li + li{
  margin-top: .3em;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
  padding: 7px;
}
.table>thead>tr>th{
  padding-top: 3px;
  text-align: left;
}


/* sidebar */
.content .sidebar{
  font-size: .85em;
  padding: 0;
}
.content .sidebar h4{
  margin-top: 1em;
  padding-top: 1em;
}
.sidebar aside.call-out{
  font-size: 1em;
  margin: 1.2em 0;
}
.sidebar aside.call-out + aside.call-out, 
.sidebar h3 + aside.call-out{
  margin: .8em 0;
}
ul.leaders span:first-child{
  background: white !important;
}
ul.leaders span + span{
  background: white !important;
}
