
/* CSS Document - only to be used with pages that are using automated footnotes*/

/* Automated footnotes */

/* Reset the counter to zero in the body*/
body {
  counter-reset: notes;
}

/* footnotes in the text */
p a.fn-lnk::after, li a.fn-lnk::after, h1 a.fn-lnk::after, h2 a.fn-lnk::after, h3 a.fn-lnk::after, h4 a.fn-lnk::after {
  counter-increment: notes; /* 1 */
  content: counter(notes); /* 2 */
}

/* reset the counter for the bottom of the page*/
.wb-fnote{counter-reset: bttm-notes;}


/* footnote text at the bottom of the page */
.wb-fnote .fn-rtn a span:nth-child(2)::before {
  counter-increment: bttm-notes; /* 1 */
  content: counter(bttm-notes); /* 2 */
}

/* footnote text at the bottom of the page */
.wb-fnote dl{counter-reset: bttm-notes-1;}

aside.wb-fnote dl dt::after {
  counter-increment: bttm-notes-1; /* 1 */
  content: counter(bttm-notes-1); /* 2 */
}



/*Add for lists used as long descriptions for charts or figures*/
	
.fn-lnklst:focus, .fn-lnklst:hover, .wb-fnote .fn-rtn a:focus, .wb-fnote .fn-rtn a:hover, .wb-fnote dd:focus .fn-rtn a {
	background-color: #555;
	border-color: #555;
	color: #fff!important
}	

.fn-lnklst, .wb-fnote .fn-rtn a {
	background-color: #eee;
	border: 1px solid #ccc;
	display: inline-block;
	padding: 1px 10px 2px;
	white-space: nowrap
}

.fn-lnklst {
	line-height: 1.15;
	margin-left: 5px
}

[dir=rtl] sup .fn-lnklst {
	margin-left: 0;
	margin-right: 5px
}


@media print {
	.fn-lnklst, .wb-fnote .fn-rtn a {
		background-color: transparent;
		border: 0;
		padding: 0
	}
}