.sheet-rolltemplate-Magic,
		.sheet-rolltemplate-npc {
			font-family: sans-serif;
		}


		.sheet-rolltemplate-Magic a[href^="~"] {
			background-color: transparent;
			padding: 0px 0px 0px 0px;
			color: #182C4A;
			display: inline-block;
			border: none;
			text-align: left;
			font-family: sans-serif;
			font-size: 0.95em;
			line-height: 1em;
			text-transform: capitalize;
			white-space: pre;
			font-weight: bold;
		}

		.sheet-rolltemplate-Magic a:hover {
			color: #BE202E;
		}


		.sheet-rolltemplate-Magic .inlinerollresult,
		.sheet-rolltemplate-npc .inlinerollresult {
			background-color: transparent;
			border: none;
			padding: 0px 0px;
			font-weight: bold;
			cursor: help;
			font-size: 1.25em;
			padding: 2px;
		}

		.sheet-rolltemplate-Magic .inlinerollresult {
			color: #182C4A;
		}

		.sheet-rolltemplate-npc .inlinerollresult {
			color: #222;
		}

		.sheet-rolltemplate-Magic .sheet-resright .inlinerollresult,
		.sheet-rolltemplate-npc .sheet-bigres .inlinerollresult {
			font-size: 1.6em;
			line-height: 1.45em;
		}

		.sheet-rolltemplate-Magic .sheet-success,
		.sheet-rolltemplate-npc .sheet-success {
			color: #247305;
		}

		.sheet-rolltemplate-Magic .sheet-failure,
		.sheet-rolltemplate-npc .sheet-failure {
			color: #BE202E;
		}

		.sheet-rolltemplate-Magic .inlinerollresult.fullcrit,
		.sheet-rolltemplate-npc .inlinerollresult.fullcrit {
			border: none;
			color: #247305;
		}

		.sheet-rolltemplate-Magic .inlinerollresult.importantroll,
		.sheet-rolltemplate-npc .inlinerollresult.importantroll {
			border: none;
			color: #4A57ED;
		}

		.sheet-rolltemplate-Magic .inlinerollresult.fullfail,
		.sheet-rolltemplate-npc .inlinerollresult.fullfail {
			border: none;
			color: #BE202E;
		}


		.sheet-rolltemplate-Magic .sheet-flexatk,
		.sheet-rolltemplate-npc .sheet-flexatk {
			display: flex;
			justify-content: space-between;
			align-items: center;
		}

		.sheet-rolltemplate-Magic .sheet-flexatk {
			border-top: 1px dotted #182C4A;
		}

		.sheet-rolltemplate-npc .sheet-flexatk {
			border-top: 1px dotted #3C2517;
		}

		.sheet-rolltemplate-Magic .sheet-spacer,
		.sheet-rolltemplate-npc .sheet-spacer {
			flex-grow: 2;
		}

		.sheet-rolltemplate-Magic .sheet-flexdmg,
		.sheet-rolltemplate-npc .sheet-flexdmg {
			display: flex;
			align-items: center;
		}


		.sheet-rolltemplate-Magic div,
		.sheet-rolltemplate-Magic span,
		.sheet-rolltemplate-Magic img,
		.sheet-rolltemplate-npc div,
		.sheet-rolltemplate-npc span,
		.sheet-rolltemplate-npc img {
			box-sizing: border-box;
		}

		.sheet-rolltemplate-Magic div,
		.sheet-rolltemplate-npc div {
			margin: 0px;
			padding: 0px;
		}

		.sheet-rolltemplate-Magic img,
		.sheet-rolltemplate-npc img {
			margin: 0px;
			padding: 0px;
		}

		.sheet-rolltemplate-Magic .sheet-center,
		.sheet-rolltemplate-npc .sheet-center {
			text-align: center;
		}

		.sheet-rolltemplate-Magic .sheet-right,
		.sheet-rolltemplate-npc .sheet-right {
			text-align: right;
		}

		.sheet-rolltemplate-Magic .sheet-ital,
		.sheet-rolltemplate-npc .sheet-ital {
			font-style: italic;
		}

		.sheet-rolltemplate-Magic .sheet-inl,
		.sheet-rolltemplate-npc .sheet-inl {
			display: inline;
		}

		.sheet-rolltemplate-Magic .sheet-bold,
		.sheet-rolltemplate-npc .sheet-bold {
			font-weight: bold;
		}

		.sheet-rolltemplate-Magic .sheet-vtop,
		.sheet-rolltemplate-npc .sheet-vtop {
			vertical-align: top;
		}

		.sheet-rolltemplate-Magic .sheet-myrow,
		.sheet-rolltemplate-npc .sheet-myrow {
			padding: 5px;
			border: 1px solid #182C4A;
			border-top: 0px;
			border-bottom: 0px;
			background: #fff;
		}

		.sheet-rolltemplate-Magic .sheet-vtop+.sheet-myrow {
			background: linear-gradient(to left, white, #D8DBE6);
		}

		.sheet-rolltemplate-npc .sheet-bordered .sheet-myrow:nth-child(even) {
			background: linear-gradient(to left, #c3996b7a, white);
		}

		.sheet-rolltemplate-Magic div.sheet-charname {
			border-style: solid;
			border-width: 1px 1px 0px 1px;
			padding: 1px 1px 1px 2px;
			background-color: white;
			border-color: #182C4A;
		}

		.sheet-rolltemplate-npc div.sheet-charname {
			padding: 4px 0px 1px 0px;
			background-color: transparent;
			margin-left: -14px;
			text-shadow: 1px 1px #FDFDFD;
			font-size: 1em;
		}

		.sheet-rolltemplate-Magic div.sheet-notes,
		.sheet-rolltemplate-npc div.sheet-notes {
			max-height: 220px;
			overflow-y: auto;
			border-width: 1px;
			border-style: solid;
			margin-top: 2px;
			padding: 1px 1px 1px 2px;
			background-color: #DDD;
			border-color: #BBB;
		}

		.sheet-rolltemplate-Magic div.sheet-desc,
		.sheet-rolltemplate-npc div.sheet-desc {
			max-height: 220px;
			overflow-y: auto;
			border-width: 1px;
			border-style: solid;
			padding: 1px 1px 1px 2px;
			border-bottom-width: 0;
		}

		.sheet-rolltemplate-Magic div.sheet-desc {
			background-color: white;
			border-color: #182C4A;
		}

		.sheet-rolltemplate-npc div.sheet-desc {
			border-color: #3C2517;
			background-color: white;
		}

		.sheet-rolltemplate-Magic span.sheet-notes,
		.sheet-rolltemplate-npc span.sheet-notes {
			font-family: sans-serif;
			font-size: 0.9em;
			color: black;
		}

		.sheet-rolltemplate-Magic .sheet-lbl,
		.sheet-rolltemplate-npc .sheet-lbl {
			text-align: left;
			font-family: sans-serif;
			font-size: 0.95em;
			line-height: 1em;
			text-transform: capitalize;
			white-space: pre;
		}

		.sheet-rolltemplate-Magic .sheet-lbl {
			color: #182C4A;
		}

		.sheet-rolltemplate-npc .sheet-lbl {
			color: #3C2517;
		}

		.sheet-rolltemplate-Magic .sheet-bordered,
		.sheet-rolltemplate-npc .sheet-bordered {

			border-bottom: 1px solid #182C4A;
			text-align: left;
			vertical-align: top;
			position: relative;
		}


		.sheet-rolltemplate-Magic .sheet-icon,
		.sheet-rolltemplate-npc .sheet-icon {
			position: absolute;
			top: 6px;
			left: -40px;
			width: 40px;
			text-align: center;
		}

		.sheet-rolltemplate-Magic .sheet-icon::after,
		.sheet-rolltemplate-npc .sheet-icon::after {
			font-size: 1.55em;
		}

		.sheet-rolltemplate-Magic .sheet-icon::after {
			color: #182C4A;
		}

		.sheet-rolltemplate-npc .sheet-icon::after {
			color: #3C2517;
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-initiative::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-initiative::after {
			font-family: "Pictos";
			content: 'g';
			font-size: 2em;
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-skill::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-skill::after {
			font-family: "Pictos";
			content: 'x';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-hp::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-hp::after {
			font-family: "Pictos";
			content: 'k';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-save::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-save::after {
			font-family: "Pictos Custom";
			content: 'e';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-attackdamage::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-attackdamage::after {
			font-family: "Pictos Custom";
			font-weight: bold;
			content: '⚔t';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-attack::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-attack::after {
			font-family: "Pictos Custom";
			font-weight: bold;
			content: '⚔';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-damage::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-damage::after {
			font-family: "Pictos Custom";
			font-weight: bold;
			content: 't';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-ability::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-ability::after {
			font-family: "Pictos";
			content: 'U';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-feat::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-feat::after {
			font-family: "Pictos";
			content: 'E';
		}

		.sheet-rolltemplate-Magic .sheet-icon.sheet-spell::after,
		.sheet-rolltemplate-npc .sheet-icon.sheet-spell::after {
			font-family: "Pictos Three";
			content: 'j';
			font-size: 2em;
		}

		.sheet-rolltemplate-Magic .sheet-symbol,
		.sheet-rolltemplate-npc .sheet-symbol {
			font-family: "Pictos Custom";
			font-size: 1.3em;
			font-weight: bold;
			line-height: 1em;
		}

		.sheet-rolltemplate-Magic .sheet-smallname,
		.sheet-rolltemplate-npc .sheet-smallname {
			font-family: sans-serif;
			font-size: 0.9em;
		}

		.sheet-rolltemplate-Magic .sheet-smallname {
			color: #182C4A;
		}

		.sheet-rolltemplate-npc .sheet-smallname {
			color: #3C2517;
		}


		.sheet-rolltemplate-Magic img.sheet-brdright,
		.sheet-rolltemplate-Magic img.sheet-brdleft {
			display: inline-block;
			position: absolute;
			vertical-align: top;
			top: 0px;
		}

		.sheet-rolltemplate-Magic img.sheet-brdleft {
			left: 0px;
		}

		.sheet-rolltemplate-Magic img.sheet-brdright {
			right: 0px;
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel,
		.sheet-rolltemplate-npc .sheet-blacklabel {
			display: inline-block;
			vertical-align: top;
			border: none;
			position: relative;
			font-size: 0.9em;
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel {
			background-color: #182C4A;
			color: white;
		}

		.sheet-rolltemplate-npc .sheet-blacklabel {
			background-color: transparent;
			color: #3C2517;
			font-weight: bold;
		}

		.sheet-rolltemplate-Magic .sheet-img {
			padding-bottom: 10px;
		}

		.sheet-rolltemplate-Magic .sheet-img img,
		.sheet-rolltemplate-npc .sheet-img img {
			display: block;
			margin: 0 auto;
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel.sheet-top,
		.sheet-rolltemplate-npc .sheet-blacklabel.sheet-top {
			display: block;
			border-radius: 5px 5px 0 0;
			overflow: hidden;
			padding: 10px;
			font-size: 14px;
			text-align: center;
		}


		.sheet-rolltemplate-Magic span.sheet-med {
			font-weight: normal;
			font-size: 0.9em;
		}

		.sheet-rolltemplate-npc span.sheet-med {
			font-style: italic;
			color: #3C2517;
			font-size: 0.9em;
			font-weight: bold;
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel.sheet-med,
		.sheet-rolltemplate-npc .sheet-blacklabel.sheet-med {
			height: 20px;
			vertical-align: top;
			white-space: nowrap;
			line-height: 1.5em;
			font-weight: bold;
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel.sheet-med {
			min-width: 75px;
			padding: 0px 20px 0px 2px;
		}

		.sheet-rolltemplate-npc .sheet-blacklabel.sheet-med {
			min-width: 70px;
			padding: 0px 2px 0px 2px;
			background: linear-gradient(to right, #c3996b7a, white);
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel.sheet-med.sheet-right {
			padding: 0px 2px 0px 20px;
			text-align: right;
		}

		.sheet-rolltemplate-npc .sheet-blacklabel.sheet-med.sheet-right {
			text-align: right;
			background: linear-gradient(to left, #c3996b7a, white);
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel.sheet-med.sheet-yellow {
			color: #E6DD94;
			font-weight: normal;
		}

		.sheet-rolltemplate-npc .sheet-blacklabel.sheet-med.sheet-yellow {
			color: #501414;
			font-weight: normal;
		}

		.sheet-rolltemplate-Magic .sheet-blacklabel.sheet-med img.sheet-brdleft,
		.sheet-rolltemplate-npc .sheet-blacklabel.sheet-med img.sheet-brdleft,
		.sheet-rolltemplate-Magic .sheet-blacklabel.sheet-med img.sheet-brdright,
		.sheet-rolltemplate-npc .sheet-blacklabel.sheet-med img.sheet-brdright {
			height: 20px;
		}

        
		.sheet-rolltemplate-Magic .sheet-blacklabel .sheet-big,
		.sheet-rolltemplate-npc .sheet-big {
			display: block;
			font-size: 12px;
			padding: 0 0 5px;
			text-align: center;
			font-weight: normal;
			border-bottom: 1px solid rgba(255, 255, 255, .3);
			margin-bottom: 5px;
		}

		.sheet-rolltemplate-npc .sheet-big {
			color: #3C2517;
		}

		.sheet-rolltemplate-Magic .sheet-resright,
		.sheet-rolltemplate-npc .sheet-resright {
			display: block;
			text-align: center;
			border: 1px solid #182C4A;
			border-top: 0px;
			border-bottom: 0px;
			background: #fff;
			clear: both;
			font-size: 1.3em;
			text-transform: uppercase;
			line-height: 1.0em;

		}
		
.sheet-rolltemplate-modulation-table table {
	width: 100%;
	border: 1px solid black;
	color: black;
	background: #FFFFFF;
  }
  .sheet-rolltemplate-modulation-table caption {
	text-align: center;
	background: black;
	color: white;
	font-weight: bold;
	padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
  }
  .sheet-rolltemplate-modulation-table td {
  padding: 2px;
  border-bottom: 1px solid black;
  }
  
  
  
  .sheet-rolltemplate-fate-mutation-table table {
	width: 100%;
	border: 1px solid black;
	color: black;
	background: #FFFFFF;
  }
  .sheet-rolltemplate-fate-mutation-table caption {
	text-align: center;
	background: black;
	color: white;
	font-weight: bold;
	padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
  }
  .sheet-rolltemplate-fate-mutation-table td {
  padding: 2px;
  border-bottom: 1px solid black;
  }
  
  
  
  .sheet-rolltemplate-ordinary-scene-table table {
	width: 100%;
	border: 1px solid black;
	color: black;
	background: #FFFFFF;
  }
  .sheet-rolltemplate-ordinary-scene-table caption {
	text-align: center;
	background: black;
	color: white;
	font-weight: bold;
	padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
  }
  .sheet-rolltemplate-ordinary-scene-table td {
  padding: 2px;
  border-bottom: 1px solid black;
  }
  
  
  
  .sheet-rolltemplate-fumble-table table {
	width: 100%;
	border: 1px solid black;
	color: black;
	background: #FFFFFF;
  }
  .sheet-rolltemplate-fumble-table caption {
	text-align: center;
	background: black;
	color: white;
	font-weight: bold;
	padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
  }
  .sheet-rolltemplate-fumble-table td {
  padding: 2px;
  border-bottom: 1px solid black;
  }
    
  .sheet-rolltemplate-event-table table {
	width: 100%;
	border: 1px solid black;
	color: black;
	background: #FFFFFF;
  }
  .sheet-rolltemplate-event-table caption {
	text-align: center;
	background: black;
	color: white;
	font-weight: bold;
	padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
  }
  .sheet-rolltemplate-event-table td {
  padding: 2px;
  border-bottom: 1px solid black;
  }
  