html {
	font-family: 'Lora', serif;
	background-image: url("../img/boxBG.jpg");
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    font-size: 15px;
}

a {
	color: inherit;
	text-decoration: inherit;
}

table {
    border-collapse:collapse;
    border-spacing:0;
    margin-left: auto;
    margin-right: auto;
	background-color: #f4efdb;
	width: 100%;
}

thead, .tableHeaderRow {
	background-color: #2A3A42 !important;
	color: #ffffff !important;
	font-weight: bold !important;
}

tr:nth-child(even) {
	background-color: #d7ded8;
}

td, th {
	padding: 0.25em;
}

p {
	margin: 0;
	padding: 0;
}

caption {
	font-family: 'Vollkorn', serif;
	font-size: 1.75em;
	font-weight: 700;
	font-variant: small-caps;
  	vertical-align: middle;
  	color: white;
  	text-shadow: 0px 1px 1px #000000;
  	text-align: left;
}

.actionSymbol {
	width:1.75em;
	height:auto;
  	vertical-align: middle;
}

.boxHeader {
	border-radius: 15px 15px 0px 0px;
	color: white;
	margin-left: -0.5em;
	margin-right: -0.5em;
	padding-left: 0.5em;
}

.boxTitle {
	font-size: 2em;
	font-weight: 700;
	font-variant: small-caps;
  	vertical-align: middle;
  	text-shadow: 0px 1px 1px #000000;
}

.box {
	background-color: #dbd1b8;
	border-radius: 15px;
	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.1em;
	margin-bottom: 1em;
	max-width: 50em;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	background-image: url("../img/boxBG.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;	
}

.featBox .boxHeader {
	background-color: #5f82af;
}

#contentContainer {
	margin-top: 5em;
	width: 800px;
	max-width: 90vw;
	margin-left: auto;
	margin-right: auto;
}

.heading1, .heading2, .heading3, h1, h2, h3 {
	/* color: #ffffff; */
	font-weight: 700;
	font-variant: small-caps;
  	vertical-align: middle;
  	line-height: 0.75;
  	margin-bottom: 0.33em;
}


.heading4, .heading5, .heading6, h4, h5, h6 {
	/* color: #ffffff; */
	font-weight: 700;
  	vertical-align: middle;
  	line-height: 0.75;
  	margin-bottom: 0.33em;
}

.heading1 {
	font-size: 5em;
}

.heading2 {
	font-size: 2.5em;
}

.heading3 {
	font-size: 1.5em;
}

.space-after {
	margin-bottom: 0.75em;
}

.indent-text {
	text-indent: 1.5em;
}

.flavor-text {
	font-style: italic;
	margin-bottom: 0.75em;	
}

.power-rules p:first-child{/* 
	margin-top: 0.75em;	 */
}
.power-rules p:last-child, .feat-rules p:last-child{
	margin-bottom: 0.75em;	
}

a.button{
	display: inline-block;
	padding: 0.7em 1.4em;
	margin: 0 0.3em 0.3em 0;
	border-radius: 0.15em;
	box-sizing:  border-box;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 400;
	color: #FFFFFF;
	background-color: #9f2121;
	box-shadow: inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
	text-align: center;
	position: relative;
}

a.button:active{
	top: 0.1em;
}

a.button:hover{
	background-color: #d21515;
}

@media all and (max-width: 30em){
	a.button{
		display: block;
		margin: 0.4em auto;
	}
}

.item-heading-bar, .item-heading {
	background-color: #442012;
	color: #d6854d;
	padding: 5px;
	margin-top: -1px;
	margin-bottom: 0px;
	margin-right: -1px;
}

.item-heading {
	text-transform: capitalize;
}

.item-info-box {
	padding: 5px;
}

.item-card {
	border: #d6854d;
	background-color: #fff8f1;
	margin-top: 1em;
	margin-bottom: 1em;
	border-style: solid;
	border-width: 1px;
    box-shadow: 0px 5px 10px #00000073;
}

.card-rules p:first-child{/* 
	margin-top: 0.75em;	 */
}
.card-rules p:last-child{
	margin-bottom: 0.75em;	
}

.comma:not(:first-child) {
  margin-left: -.3em;  
}

.comma:empty {
  display: none;
}

.comma:not(:first-child):before {
  content: ", ";
}


nav[data-toggle="toc"] {
  top: 42px;
}

#toc {
	position: fixed;
	margin-left: -50px;
}

#toc a {
	font-size: 1em;
	color: black;
}

#toc li {
    list-style-type: none;	
}

@media (max-width: 1300px) {
	#toc {
	    position: relative;
	}
}

/* small screens */
@media (max-width: 768px) {
  /* override stickyness so that the navigation does not follow scrolling */
  nav[data-toggle="toc"] {
    margin-bottom: 42px;
    position: static;
  }



  /* PICK ONE */
  /* don't expand nested items, which pushes down the rest of the page when navigating */
  nav[data-toggle="toc"] .nav .active .nav {
    display: none;
  }
  /* alternatively, if you *do* want the second-level navigation to be shown (as seen on this page on mobile), use this */
  /*
  nav[data-toggle='toc'] .nav .nav {
    display: block;
  }
  */
}

.actionCostIcon {
	max-height: 1.5em;
	width: auto;
	display: inline-block;
    margin-top: -7px;
    margin-bottom: -7px;
}