/* For showing news (notes) on the top of a page, and for the banner of sales links on a book. */
/* Yes, they are completely unrelated, except that news is often used for sales? I don’t remember why I did it that way. */

div.news {
	margin-top: .5em;
	margin-bottom: .5em;
	padding-bottom: .3em;
}

div.news > div {
	border-style: inset;
	border-width: .15em;
	border-color: black;
	border-right-style: none;
	border-left-style: none;
}

div.news h3 {
	margin-bottom: .2em;
}
div.news p.dateline {
	margin-top: 0;
	margin-bottom: .5em;
	color: #888;
	font-size: 80%;
	display: inline;
}
div.news p.dateline:after {
	content: ":";
}

/* Book Ads */
div.masthead {
	clear: none;
	margin-left: 16em;
	margin-top: 1em;
}

div.masthead ul li a {
	font-style: normal;
	text-decoration: none;
}

div.news div.banner {
	border-style: none;
}

div.astounding ul.stores, div.bazin ul.stores, div.marquee {
	display: block;
	margin: 0;
	margin-left: 4%;
	padding: 0;
}

div.astounding ul.stores li, div.bazin ul.stores li, div.marquee ul li {
	display: inline-block;
	width: 18%;
	vertical-align: bottom;
	text-transform: uppercase;
	text-align: center;
	padding: 0;
	margin: 0;
}

div.bazin ul.stores li {
	width: 16%;
}
div.bazin ul.stores {
	text-align: center;
	margin-left: 2%;
}

/* Astounding Scripts Ads */
div.astounding {
	background-color: #0D0F20;
	color: #35FF26;
	padding: .5em;
	clear: both;
	border-radius: 15px;
	border: solid .2em black;
}

div.astounding h3 {
	font-weight: bold;
	font-size: 200%;
	text-align: center;
	margin-top: 0;
}

div.astounding h3 a {
	text-decoration: underline;
}

div.astounding p.dateline, div.bazin p.dateline, div.banner p.dateline {
	display: none;
}

div.banner h3 {
	display: none;
}

div.banner img {
	width: 100%;
}

div.astounding a, div#banner div.astounding a {
	color: #FFAF00;
}

/* Poor Bazin Ads */
div.bazin {
	background-color: #FAF8EC;
	padding: .5em;
	clear: both;
	border: inset .1em black;
}

div.bazin h3, div.bazin p.author {
	font-weight: bold;
	font-size: 400%;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

div.bazin p.author {
	font-size: 300%;
}

div#banner div.bazin h3 a {
	color: black;
	text-decoration: underline;
}

div.bazin p.dateline {
	display: none;
}

div.bazin a, div#banner div.bazin a {
	color: #050;
	font-weight: bold;
}
