/* CSS definitions suitable for any GURPS page */

body {
	background: #ffffff;
	color: black;
	margin: 0;
}
body.prodpage {
	background: url(https://www.sjgames.com/img/siteframe/fade_leftcol.gif) repeat-y;
}
a:link {
	color: #CC0000;
}
a:active, a:visited {
	color: #990000;
}
.pagemainpane a img {
	border: none;
}
.del {
	text-decoration: line-through;
}

/* RPG-Frame definitions */

#topbar, #topbar4e, #topbar3e {
	background-color: #000000;
}

#topbar4e {
	background-image: url(https://www.sjgames.com/img/siteframe/gurps/logo_bg.jpg);
	height: 80px;
}

#topbar3e {
	height: 100px;
}

.pagetable {
	width: 100%;
	border: 0 none;
	margin: 0;
	padding: 0;
	border-spacing: 0;
	border-collapse: collapse;
}
#edge_corner {
	background-image: url(https://www.sjgames.com/img/siteframe/fade_corner.gif);
	height: 20px;
	padding: 0 95px;
}
#edge_top {
	background-image: url(https://www.sjgames.com/img/siteframe/fade_top.gif);
	height: 20px;
	padding: 0;
}
.pageleftcol {
	padding: 0 20px 0 0;
	width: 190px;
}
.pagemainpane {
	padding: 0 20px 0 0;
}
.erratamain {
	padding: 0 20px;
}
.erratamain > *:first-child {
	margin-top: 0;
}
.tightfit {
	border: none;
	margin: 0;
	padding: 0;
}
.excerpts {
	color: #ffffff;
	font-size: smaller;
}
.excerpts li {
	position: relative;
	left: -14px;
}

/* xover is used in the Crossovers part of the resources section */
#xover {
	margin: 0 10px;
	padding: 0;
	list-style: none;
	list-style-position: inside;
}
#xover li {
	display: inline-table;
	margin: 0 5px 5px 0;
	padding: 2px;
	width: 47%;
}
#xover li img {
	float: left;
	margin-right: 7px;
}

/* Use the "nw" class to prevent whitespace from wrapping - same as replacing all spaces with &nbsp; entities. */

.nw {
	white-space: nowrap;
}

/* Credits block: don't wrap names */

p.credits b { white-space: nowrap; }
p.credits img { border-style: none; padding: 0; }
img.gdot {
	border-style: none;
	padding: 0;
	width: 9px; height: 9px;
}

/* Origins nomination/award styles */

.originsdiv {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.originsnom, .originswin {
	padding: 0px 5px;
	margin-top: 0.5em;
	font-size: smaller;
}
.originsnom {
	color: red;
}
.originswin {
	color: white;
}

/* Text icon styles for the Worldbook pages. */

.wbkey {
	margin: 1em auto;
}

.wbkey td {
	padding: 0 0.3em;
}

.wblist {
	line-height: 1.4em;
}

.icon3e, .icon4e, .icone23, .iconw23 {
	font-weight: bold;
	padding-right: 3px;
	padding-left: 3px;
}

.icone23, .iconw23 {
	border-radius: 15%;
	text-decoration: none;
}

.icon3e {
	background: #e8cdac;
	color: #542a0c;
	border-radius: 40%;
}

.icon4e {
	background: #000000;
	color: #ff0000;
}

.icone23 {
	background: #b7ccf7;
	color: #144f91 !important;
}

.iconw23 {
	background: #11116b;
	color: #cac8d6 !important;
}

/* The store icons switch colors when moused over. */

a.icone23:hover {
	background: #144f91;
	color: #b7ccf7 !important;
}

a.iconw23:hover {
	background: #cac8d6;
	color: #11116b !important;
}

/* Errata page: "New!" icon */
.newerr {
	background-color: #11116b;
	color: #ffffff;
	padding: 0 0.25em;
	font-family: sans-serif;
}
