@media print {
	/* plain black on white style for printing */
	html {
		color : black;
		background-color : white;
	}
	a {
		color : black;
		background-color : transparent;
	}
}

@media screen, tv, projection {
	/* color media */
	html {
		color : black;
		background-color : white;
	}
	a {
		text-decoration : inherit;
		border-bottom : 1px solid #B3B3B3;
	}
	a:hover {
		border-bottom : 1px solid #90F;
	}
	a:link {
		color : #90F;
		background-color : transparent;
	}
	a:visited {
		color : #306;
		background-color : transparent;
	}
	a.local:hover, a.internal:hover {
		border-bottom : 1px solid #06C;
	}
	a.local:link, a.internal:link {
		color : #06C;
		background-color : transparent;
	}
	a.local:visited, a.internal:visited {
		color : #036;
		background-color : transparent;
	}
	a.reference:link, a.background:link, a.irrelevant:link,
	a.reference:visited, a.background:visited, a.irrelevant:visited {
		color : black;
		background-color : transparent;
	}
	a:active {
		color : red;
		background : #FFD700 none;
	}
	a[rev~=affiliate]:link,
	a[rel~=advert]:link {
		color : #096;
		background-color : transparent;
	}
	a[rev~=affiliate]:visited,
	a[rel~=advert]:visited {
		color : #063;
		background-color : transparent;
	}
	a[rev~=affiliate]:hover,
	a[rel~=advert]:hover {
		border-bottom : 1px solid #096;
	}
}