article
{
	font-family: antic, serif;
}

main article a:link, main article a:visited
{
    color: #a90707 !important;
    text-decoration: underline;
    font-weight:bold;
    background-color:rgb(255,255,255);
}

div[dir=ltr]
{
-webkit-box-sizing: unset;
-moz-box-sizing: unset;
box-sizing: unset;
}

main #toc_container a:link, 
main #toc_container a:visited {
    color: #8B0000 !important;
}

body section h1,
body article h1 {
  border-style: solid;
  border-width: thin;
  border-color: rgb(153,0,0);
  font-size: 32px;
  font-weight: bolder;
  background-color: rgb(153,0,0);
  padding: 10px;
  margin: 0px 0px 30px 0px;
  color: rgb(255,255,255);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  line-height: 1.5;
  font-family: Antic,serif !important;
  text-transform: uppercase;
} 

body article h2, body article h3 {
	font-family: Paytone One,serif !important;
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 1em;
	color: #a90707;
	border-bottom: solid thin rgb(153,0,0);
	line-height: 1.5;
}

body .sidebar-left div, 
body .sidebar-left div.sidebar-widget > div.widget_srdpagelist li {
  background-color: #f8f8f8 !important;
	font-family: Aldrich,serif !important;
}

body .sidebar-left div.sidebar-widget > div > ul > li.page_item ul.children a,
body .sidebar-left div.sidebar-widget > div.widget_srdpagelist > ul > li a
{
	font-family: Aldrich,serif !important;	
	font-weight: bold;
}

body .sidebar-left div.sidebar-widget > div.widget_srdpagelist ul li {
  padding-top: 4px !important;
}

body .sidebar-left div.sidebar-widget > div.widget_srdpagelist > ul > li {
  border-top-color: #dddddd;
	border-top-width: 1px;
	border-top-style: solid;
}

body .sidebar-left div.sidebar-widget > div.widget_srdpagelist > ul li.current_page_item {
  background-color: #8b0000 !important;
}

body .sidebar-left div.sidebar-widget > div.widget_srdpagelist > ul li.current_page_item > a {
	color: #ffffff !important;	
}

body .sidebar-left div.sidebar-widget div.widget h2 {
	color: #ffffff !important;
	background-color: #666666 !important;
	width: 100%;
	padding: 2pt;
	display: block;
	font-family: inherit !important;
	font-size: 16px !important;
	margin-bottom: 5px;
}

body .sidebar-left div.sidebar-widget div.widget li a,
body .sidebar-left div.sidebar-widget div.widget ul li li.page_item a {
	font-family: Aldrich,serif !important;
	font-weight: bold;
	color: #8B0000 !important;
}

body .sidebar-left div.sidebar-widget div.widget li.current_page_item a,
body .sidebar-left div.sidebar-widget div.widget ul li li.current_page_item > a
{
	color: #FFF !important;
}

body article .textwidget a
{
	color:white !important;
	text-decoration:underline;
}

body article div#toc_container
{
  float:left;
  margin-right: 18px;    
}

body article
{
  font-size: 16px;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div[dir^="ltr"] > div:first-child
{
  border:solid 5px rgb(217,43,49);margin:0px;font-size:16px;border-radius:20px;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div[dir^="ltr"] > div:first-child > div:first-child
{
  height:20px;border:solid thin rgb(217,43,49);background-color:rgb(217,43,49);margin:0px;color:rgb(255,255,255);clear:both
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div[dir^="ltr"] > div:first-child > table tr td
{
  background-color:rgb(217,43,49);color:rgb(255,255,255);padding:10px;font-weight:bold;font-size:24px;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(2) tr td
{
	border-spacing: 5px;
	border-color: white;
	border-style:solid;
}

article div.sites-layout-vbox > table.sites-layout-hbox > tbody > tr > td:nth-child(2)
{
	background-color:#000;
	width:0;
	display:none;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(even) tr:nth-child(odd) td
{
  width:100px;height:50px;vertical-align:middle;padding:10px;background-color:rgb(217,43,49);color:rgb(255,255,255);text-align:center;font-weight:bolder;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(even) tr:nth-child(even) td
{
  width:100px;height:80px;vertical-align:middle;padding:10px;background-color:rgb(217,234,211);text-align:center;font-weight:bolder;font-size:24px;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(3) td
{
  width:50% !important;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(3) td > div
{
  border:solid thin rgb(153,153,153);margin:5px;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(3) td:nth-child(2) > div:nth-child(2) table td
{
	width:auto !important;
	text-align:left;
	padding:4px !important;;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(3) td:nth-child(2) table td a
{
	text-decoration:underline;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(3) td:nth-child(2) > div:nth-child(2) table tr:nth-child(odd)
{
  background-color:rgb(217,234,211);
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(3) td > div > div:nth-child(1)
{
  background-color:rgb(217,43,49);color:rgb(255,255,255);font-size:18px;font-weight:bold;padding:5px;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox td:first-child div:nth-child(3) table:nth-child(3) td > div > div:nth-child(2)
{
  padding:10px;
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox > tbody > tr > td > div > div 
{
	background-color:rgb(217,43,49);
}

article.gamemastering.npcs div.sites-layout-vbox > table.sites-layout-hbox > tbody > tr > td > div > div > div
{
	background-color:#fff;
}

article.powers table, article.gadgetsgear table table
{
  border-top:8px solid rgb(11,83,148);
}

article.powers table td, article.powers table table th, article.gadgetsgear table table td, article.gadgetsgear table table th
{
  text-align:center;
}

article.powers tr:nth-child(odd), article.gadgetsgear table table tr:nth-child(odd)
{
  background-color:rgb(207,226,243);
}

article div.subsection-title
{
border-style:solid;border-width:thin;border-color:rgb(11,83,148);font-size:26px;font-weight:bolder;background-color:rgb(11,83,148);padding:5px;margin:30px 0px;color:rgb(255,255,255);border-radius:10px 10px 10px 10px;
}

div.article-content > p:first-child {
    display: none;
}

article.powers {
  min-width: 980px;
}

article.archetypes
{
	min-width:800px;
}


div.archetype 
{
	border-style:solid;
	border-width:5px;
	border-color:rgb(56,118,29);
	margin:0px;font-size:16px;
	border-radius:20px;
	background-color: rgb(56,118,29);
}

div.article-content > div.archetype
{
	display:table;
}

div.archetype > table
{
	margin: 0px !important;
}

div.archetype > table:nth-of-type(1)
{
	width:100%;
	margin:0px 0px 0px 0px;
}

div.archetype > table:nth-of-type(2) img
{
	width:100%;
 height:100%;
}

div.archetype > table:nth-of-type(1) td
{
	color:rgb(255,255,255);
	padding:10px;
	font-weight:bold;
	font-size:24px;
}

div.archetype > table:nth-of-type(1) td:nth-of-type(1)
{
	width:85%;
}

div.archetype > table:nth-of-type(1) td:nth-of-type(2)
{
	width:15%;
}

div.archetype >table:nth-of-type(2), div.archetype > table:nth-of-type(3), div.archetype > table:nth-of-type(4)
{
	background-color:rgb(255,255,255);
}

div.archetype > table:nth-of-type(2) > tbody > tr > td, div.archetype table:nth-of-type(3)  tbody > tr > td, div.archetype table:nth-of-type(4)  tbody > tr > td
{
	padding:15px;
}

//stats table
div.archetype > table:nth-of-type(2) table
{
	width:100%;
	margin:0px 0px 10px 0px;
}

div.archetype > table:nth-of-type(2) table tr:nth-child(odd) td
{
	height:50px;
	vertical-align:middle;
	padding:10px;
	background-color:rgb(56,118,29);
	color:rgb(255,255,255);
	text-align:center;
	font-weight:bolder;
        font-size:16px;
border: 2px white solid;
}

div.archetype > table:nth-of-type(2) table tr:nth-child(even) td
{
	height:80px;
	vertical-align:middle;
	padding:10px;
	background-color:rgb(217,234,211);
	text-align:center;
	font-weight:bolder;
	font-size:24px;
border: 2px white solid;
	color:rgb(0,0,0);
}

div.archetype > table:nth-of-type(3) > tbody > tr > td > div
{
  border-style:solid;border-width:thin;border-color:rgb(153,153,153);margin:5px
}

div.archetype > table:nth-of-type(3) > tbody > tr > td > div > div:nth-child(1)
{
  background-color:rgb(56,118,29);color:rgb(255,255,255);font-size:18px;font-weight:bold;padding:5px
}

article.vehicles table caption 
{
	color:rgb(7,55,99);
	font-weight:bolder;
	text-align:center;
	display: table-caption;
}

article.vehicles table 
{
	border-collapse:collapse;
	border-color:rgb(136,136,136);
	border-width:1px;
	margin-top:5px
}

article.vehicles table th
{
	border-top:8px solid rgb(11,83,148);
	text-align:center;
}

article.vehicles table td
{
	text-align:center;
}

article.vehicles table tr:nth-of-type(odd)
{
	background-color:rgb(207,226,243);
}

article div.sidebar
{
	border-style:solid;
	border-width:thin;
	border-color:rgb(153,153,153);
	margin:10px;
	width:50%;
	float:right;
	background-color:rgb(244,204,204);
}

article div.sidebar div.sidebar-title
{
	font-weight:bold;
	background-color:rgb(153,0,0);
	padding:5px;
	color:rgb(255,255,255);
        margin-top:0;
}

article.vehicles div.sample div
{
	font-size:18px;
	background-color:rgb(126,160,82);
	color:rgb(255,255,255);
	border-radius:5px;
	padding:5px;
        margin:10px 0;
}

article.vehicles div.sample div:nth-of-type(1)
{
	border-style:solid;
	border-width:thin;
	border-color:rgb(11,83,148);
	font-size:26px;
	font-weight:bolder;
	background-color:rgb(11,83,148);
	margin:30px 0px;
	color:rgb(255,255,255);
	border-radius:10px 10px 10px 10px;
}

div.product-right {
	background-color:rgb(255,255,255);
	width:30%;
	min-width:184px;
	text-align:center;
	float:right;
	margin:20px;
}

div.product-left {
	background-color:rgb(255,255,255);
	width:225px;
	text-align:center;
	float:left;
	margin:20px 20px 20px 0px;
}

article table:not(.sites-layout-hbox) thead, table:not(.sites-layout-hbox) th
{
    background-color: rgb(207,226,243);
}

article table:not(.sites-layout-hbox) tr:nth-child(even)
{
    background-color:rgb(243,243,243);
}

p.shaded {
    background-color:rgb(252,237,209);
}