
html {
	background-color:#fff ! important;
}
	
body {
	width: 500px !important;
	/*margin-bottom: 160px !important;*/
}

/* first page */
@page:first {
  @bottom-right {
    content: normal;
    margin: 0;
  }

  @bottom-left {
    content: normal;
    margin: 0;
  }
  
  @top-right{
	content: normal;
	margin: 0;
  }
}

/* get the title of the current section - this will be the content of the h1, h2 */
h1, h2 {
    string-set: doctitle content();
    line-height: 1.3;
}

#TOC h5{
	border-bottom: none ! important;
}

h1, h2, h3, h4, h5 { 
	page-break-after: auto;
}

.avoid-page-break-after{
	page-break-after: avoid !important;
}

#toolbarbuttons{
	page-break-inside: avoid;
}

table, figure, ul.normal-list {
	page-break-inside: avoid;
} 

table.center td{
	padding: 1px;
}

table.right td{
	padding-top: 2px;
}

/* create page numbers using target-counter in the TOC */
#TOC a:after {
  content: leader('.') target-counter(attr(href), page);
}

a.xref{
	font-style: italic;
}

a {
	color: #000;
}

#legal{
	color:#000 !important;
	background-color:#fff !important;
}