#main h1 {
	margin-bottom: 0.5em;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	background: #EEEEEE;
	padding: 3px 5px;
	font-size: 125%;
}
#main h2 {
	margin-top: 2em;
	margin-bottom: 0.5em;
	border-bottom: 1px solid black;
	padding: 2px 3px;
	font-size: 110%;
}
#main h4 {
	margin-top: 6px;
	margin-bottom: 0px;
	font-style: italic;
	font-size: 100%;
	text-align: left;
}
#main p.advanced:before {
	content: "Advanced Note";
	display: block;
	text-align: right;
	margin-bottom: 1px;
	padding-bottom: 1px;
	border-bottom: 1px solid #DDDDDD;
	color: #AA7777;
	font-size: 80%;
	font-weight: bold;
}
#main p.advanced {
	font-size: 90%;
}
#main p.formula {
	margin: 1em 1cm;
	border: 1px solid #333333;
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	background: #EEEEEE;
	padding: 6px;
	text-align: center;
}
#main img.left_insert {
	float: left;
	margin-right: 1em;
	margin-bottom: 1ex;
}
#main img.right_insert {
	float: right;
	margin-left: 1em;
	margin-bottom: 1ex;
}
#main img.border {
	border: 1px solid black; 
}

.rcGold, .rcWood, .rcOre, .rcMercury, .rcSulfur, .rcCrystal, .rcGem {
	font-weight: bold;
}

table.tbl-racial-ability { 
	border-collapse: collapse; 
	width: 100%;
} 
table.tbl-racial-ability td,
table.tbl-racial-ability th { 
	border: 1px solid black; 
	padding: 3px; 
}
table.tbl-racial-ability td {
	width: 100%;
}
table.tbl-racial-ability img {
	border: 1px solid black;
	background-color: #FFFFFF;
}
table.tbl-racial-ability h5 {
	margin-top: 0px;
	margin-bottom: 3px;
	font-size: 100%;
	color: #FFFFFF;
}
table.tbl-racial-ability td ul {
	margin: 0px;
	padding-left: 25px;
}
table.tbl-racial-ability td li {
	margin: 0px;
	padding: 1px 5px 1px 0px;
}

table.ra-skill-list {
	width: 100%;
	margin: auto;
	border: none;
}
table.ra-skill-list img {
	border: 1px solid black;
	margin-right: 0.5em;
}
table.ra-skill-list td {
	width: 100%;
}
table.ra-skill-list h5 {
	margin-top: 0px;
	margin-bottom: 3px;
	font-size: 100%;
}

table.mechanics {
	width: 600px;
	margin: 1em auto;
	border-bottom: 1px solid #991111;
	border-collapse: collapse;
	empty-cells: show;
}
table.mechanics thead th {
	padding-bottom: 4px;
	color: black;
	text-align: center;
	vertical-align: bottom;
}
table.mechanics th img {
	width: 32px;
	height: 32px;
}
table.mechanics th {
	padding: 2px 4px;
	color: #991111;
	text-align: left;
}
table.mechanics td {
	padding: 2px 4px;
	text-align: center;
}
table.mechanics tr.l1 { background: #F8F8F8; }
table.mechanics tr.l2 { background: #EEEEEE; }
table.mechanics .new_part {
	border-left: 1px dotted #991111;
}

