.textchatcontainer .chatlogmessage {
  padding-top: 10px;
}

.textchatcontainer a[href^="!"],
.textchatcontainer a[href^="~"] {
  background-color: rgb(206, 15, 105);
  padding: 5px;
  color: white;
  display: inline-block;
  border: 1px solid white;
}

.no-touch .textchatcontainer a[href^="!"]:hover,
.textchatcontainer a[href^="~"]:hover {
  text-decoration: none;
  cursor: pointer;
}

.textchatcontainer .content {
  line-height: 1.25em;
  font-size: 1.05em;
  word-wrap: break-word;
}

.textchatcontainer .tstamp {
  font-size: 0.8em;
  color: #666;
  display: block;
  padding: 0;
  margin: -4px 0px 2px 0px;
  position: relative;
  left: -5px;
  line-height: 1em;
}

.textchatcontainer .by {
  font-weight: bold;
  position: relative;
  left: -5px;
}

.hidden-message-peek {
  font-style: italic;
  background-color: lightsalmon;
  padding: 2px;
  color: black;
}

.textchatcontainer .message {
  padding-left: 45px;
  padding-right: 16px;
  padding-bottom: 7px;
  background-color: #f1f1f1;
  position: relative;
}

.textchatcontainer .news {
  position: relative;
  padding: initial;
}

.textchatcontainer .message.rollresult.hidden3d {
  display: none;
}

.textchatcontainer .message.hidden3d .inlinerollresult {
  color: rgba(255, 255, 255, 0);
  border: none !important;
}

.textchatcontainer .avatar {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 28px;
}

.textchatcontainer .inlinerollresult {
  background-color: #fef68e;
  border: 2px solid #fef68e;
  padding: 0px 3px 0px 3px;
  font-weight: bold;
  cursor: help;
  font-size: 1.1em;
}

.textchatcontainer .inlinerollresult.fullcrit {
  border: 2px solid #3fb315;
}

.textchatcontainer .inlinerollresult.fullfail {
  border: 2px solid #b31515;
}

.textchatcontainer .inlinerollresult.importantroll {
  border: 2px solid #4a57ed;
}

.textchatcontainer .formula .inlinerollresult {
  font-size: inherit;
}

.textchatcontainer .rollresult .avatar {
  top: 10px;
}

.textchatcontainer .rollresult.quantumRoll {
  background: url(https://app.roll20.net/images/quantumrollsm.png) no-repeat
    bottom left;
}

.inlineqroll {
  width: 18px;
  height: 18px;
  vertical-align: bottom;
}

.textchatcontainer .avatar img {
  max-width: 28px;
  max-height: 28px;
}

.textchatcontainer .message .spacer {
  background-color: #e1e1e1;
  height: 2px;
  margin-bottom: 7px;
  margin-left: -45px;
  margin-right: -12px;
}

.textchatcontainer .message .tstamp {
  display: none;
}

.textchatcontainer.withtimestamps .message .tstamp {
  display: block;
}

.textchatcontainer.withoutavatars .avatar {
  display: none;
}

.textchatcontainer.withoutavatars .message {
  padding-left: 15px;
}

.textchatcontainer.withoutavatars .message .spacer {
  margin-left: -15px;
}

.textchatcontainer .message.desc {
  padding-left: 15px;
}

.textchatcontainer .message.desc .spacer {
  margin-left: -15px;
}

.textchatcontainer .message.you {
  background-color: #d3e5f5;
}

.textchatcontainer .message.you .spacer {
  background-color: #b1d9fa;
}

.textchatcontainer .formula,
.textchatcontainer .rolled {
  display: inline;
  padding: 4px;
  background: white;
  border-radius: 3px;
  border: 1px solid #d1d1d1;
  font-size: 1.1em;
  line-height: 2em;
  word-wrap: break-word;
}

.textchatcontainer .formula .parsegroup {
  display: inline;
}

.textchatcontainer .formula .parsegroup .parsegroupitem {
  display: inline;
}

.textchatcontainer.withouticons .dicegrouping .diceroll .backing {
  display: none !important;
}

.diceroll.withouticons .backing {
  display: none !important;
}

.textchatcontainer .dicegrouping {
  display: inline;
}

.textchatcontainer .error {
  background: #ffd2ad;
  border-radius: 3px;
  border: 1px solid #d1d1d1;
}

.textchatcontainer .emote {
  font-style: italic;
  font-weight: bold;
  text-align: center;
  color: #653e10;
  background-color: #f5e4d3;
}

.textchatcontainer .emote .spacer {
  background-color: #f0c392;
}

.textchatcontainer .desc {
  font-style: italic;
  font-weight: bold;
  text-align: center;
}

.textchatcontainer .desc .spacer {
}

.textchatcontainer .message.private {
  background-color: #f2f5d3;
}

.textchatcontainer .message.private .spacer {
  background-color: #f0f092;
}

.diceroll {
  display: inline-block;
  font-size: 1.2em;
}

.diceroll.ui-sortable-helper {
  font-size: 1.4em;
}

.diceroll.ui-sortable-helper .backing {
  opacity: 1;
}

.textchatcontainer .formattedformula {
  display: block;
  float: left;
  padding: 0px 4px 0px 4px;
  margin: 5px 0px 5px 0px;
}

.textchatcontainer .formattedformula > .dicegrouping.ui-sortable {
  cursor: move;
}

.diceroll .dicon {
  display: inline-block;
  min-width: 30px;
  text-align: center;
  position: relative;
}

.diceroll .dicon .didroll img,
.diceroll .dicon .didroll video {
  width: 30px;
  height: 30px;
}

.diceroll .didroll {
  text-shadow: -1px -1px 1px #ffffff, 1px -1px 1px #ffffff, -1px 1px 1px #ffffff,
    1px 1px 1px #ffffff;
  z-index: 2;
  position: relative;
  color: black;
  height: auto;
  min-height: 29px;
  margin-top: -3px;
  top: 0px;
  text-align: center;
}

.diceroll .didroll img,
.diceroll .didroll video {
  max-width: 30px;
  max-height: 30px;
  vertical-align: middle;
}

.diceroll .backing {
  position: absolute;
  top: -2px;
  left: 0px;
  width: 100%;
  text-align: center;
  font-size: 30px;
  color: #8fb1d9;
  text-shadow: 0px 0px 3px #8fb1d9;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

.diceroll.d20 .backing {
  font-family: "dicefontd20";
}

.diceroll.d4 .backing {
  font-family: "dicefontd4";
}

.diceroll.d6 .backing {
  font-family: "dicefontd6";
}

.diceroll.d8 .backing {
  font-family: "dicefontd8";
}

.diceroll.d10 .backing {
  font-family: "dicefontd10";
}

.diceroll.d12 .backing {
  font-family: "dicefontd12";
}

.diceroll.d20 .backing:after,
.diceroll.d12 .backing:after,
.diceroll.d10 .backing:after,
.diceroll.d8 .backing:after,
.diceroll.d6 .backing:after,
.diceroll.d4 .backing:after {
  content: "0";
}

.textchatcontainer .rolled {
  cursor: move;
  font-weight: bold;
  color: black;
  font-size: 1.4em;
}

.textchatcontainer .parsegroup .parsegroupitem.dropped .diceroll {
  opacity: 0.4;
}

.diceroll.dropped {
  opacity: 0.4;
}

.diceroll.critsuccess .didroll {
  color: #247305;
  font-weight: bold;
}

.diceroll.critfail .didroll {
  color: #730505;
  font-weight: bold;
}

.diceroll .matchbar {
  border-top: 3px solid;
  max-width: 30px;
}

/* Repeat classes for API scripts */

.textchatcontainer .formula .userscript-parsegroup {
  display: inline;
}

.textchatcontainer .formula .userscript-parsegroup .userscript-parsegroupitem {
  display: inline;
}

.textchatcontainer.withouticons
  .userscript-dicegrouping
  .userscript-diceroll
  .userscript-backing {
  display: none !important;
}

.userscript-diceroll.withouticons .userscript-backing {
  display: none !important;
}

.textchatcontainer .userscript-dicegrouping {
  display: inline;
}

.sheet-rolltemplate-coc-1 table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}

tbody {
  display: table-row-group;
  vertical-align: middle;
  unicode-bidi: isolate;
  border-color: inherit;
}

tr {
  display: table-row;
  vertical-align: inherit;
  unicode-bidi: isolate;
  border-color: inherit;
}

.sheet-rolltemplate-coc-1 td.sheet-template_label {
  font-weight: bold;
}

.sheet-rolltemplate-coc-1 td.sheet-template_value {
  text-align: center;
}

.sheet-rolltemplate-coc-1 td {
  padding: 2px;
  border-bottom: 1px solid black;
}

.sheet-rolltemplate-coc-1 .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-1 caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}

.charsheet {
  background-color: #888888;
  border: 2px solid black;
  color: black;
  width: 840px;
}

.charsheet .dummy {
}

.charsheet input[type="number"]::-webkit-inner-spin-button,
.charsheet input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

.charsheet select {
  margin: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

.charsheet div[class^="repcontrol"] {
  margin: 0 0 0 0;
}

.charsheet
  div[class="repcontainer editmode"]
  ~ div[class^="repcontrol"]
  button[class="btn repcontrol_add"] {
  display: inline-block !important;
  visibility: hidden;
}

.charsheet .repcontrol_add,
.charsheet .repcontrol_edit,
.charsheet .repcontrol_del {
  display: block;
  background: #7c746a;
  color: white;
  box-shadow: none;
  font-size: 0.7em;
  height: 1.5em;
}

.charsheet input.sheet-hide:checked ~ div.sheet-2colrow,
.charsheet input.sheet-hide:checked ~ div.sheet-3colrow,
.charsheet input.sheet-hide:checked ~ div.sheet-section,
.charsheet input.sheet-hide:checked ~ h4.sheet-section-head {
  display: none;
}

.charsheet div.sheet-companions {
  display: none;
}

.charsheet .sheet-togglecompanions[value="1"]:checked ~ div.sheet-companions {
  display: block;
}

.charsheet div.sheet-vehicles {
  display: none;
}

.charsheet .sheet-togglevehicles[value="1"]:checked ~ div.sheet-vehicles {
  display: block;
}

.charsheet div.sheet-downtime {
  display: none;
}

.charsheet .sheet-toggledowntime[value="1"]:checked ~ div.sheet-downtime {
  display: block;
}

.charsheet div.sheet-spells {
  display: none;
}

.charsheet .sheet-togglespells[value="1"]:checked ~ div.sheet-spells {
  display: block;
}

.charsheet div.sheet-simplearmorsection {
  display: none;
}

.charsheet
  .sheet-togglesimplearmor[value="1"]:checked
  ~ div.sheet-simplearmorsection {
  display: block;
}

.charsheet div.sheet-armorsection {
  display: none;
}

.charsheet .sheet-togglearmor[value="1"]:checked ~ div.sheet-armorsection {
  display: block;
}

.charsheet div.sheet-dicerollsection {
  display: none;
}

.charsheet .sheet-toggledr[value="1"]:checked ~ div.sheet-dicerollsection {
  display: block;
}

.charsheet div.sheet-pulptalentssection {
  display: none;
}

.charsheet
  .sheet-toggletalents[value="1"]:checked
  ~ div.sheet-pulptalentssection {
  display: block;
}

.charsheet div.sheet-bompulpsection {
  display: none;
}

.charsheet .sheet-pulpbomtoggle[value="1"]:checked ~ div.sheet-bompulpsection {
  display: block;
}

.charsheet .sheet-pulpbomtoggle[value="1"]:checked ~ div.sheet-sanitysection {
  display: none;
}

.charsheet div.sheet-pulphpsection {
  display: none;
}

.charsheet .sheet-showpulp[value="1"]:checked ~ div.sheet-pulphpsection {
  display: block;
}

.charsheet .sheet-showpulp[value="1"]:checked ~ div.sheet-hpsection {
  display: none;
}

.charsheet div.sheet-heroinfo {
  display: none;
}

.charsheet .sheet-showpulp[value="1"]:checked ~ div.sheet-heroinfo {
  display: block;
}

.charsheet .sheet-showpulp[value="1"]:checked ~ div.sheet-investigatorinfo {
  display: none;
}

.charsheet div.sheet-pulplogosection {
  display: none;
}

.charsheet .sheet-showpulp[value="1"]:checked ~ div.sheet-pulplogosection {
  display: block;
}

.charsheet .sheet-showpulp[value="1"]:checked ~ div.sheet-logosection {
  display: none;
}

.charsheet div.sheet-skills1 {
  display: none;
}

.charsheet div.sheet-skills2 {
  display: none;
}

.charsheet div.sheet-skills3 {
  display: none;
}

.charsheet div.sheet-skills4 {
  display: none;
}

.charsheet div.sheet-skills5 {
  display: none;
}

.charsheet div.sheet-skills6 {
  display: none;
}

.charsheet div.sheet-skills7 {
  display: none;
}

.charsheet .sheet-showskills[value="1"]:checked ~ div.sheet-skills1 {
  display: block;
}

.charsheet .sheet-showskills[value="2"]:checked ~ div.sheet-skills2 {
  display: block;
}

.charsheet .sheet-showskills[value="3"]:checked ~ div.sheet-skills3 {
  display: block;
}

.charsheet .sheet-showskills[value="4"]:checked ~ div.sheet-skills4 {
  display: block;
}

.charsheet .sheet-showskills[value="5"]:checked ~ div.sheet-skills5 {
  display: block;
}

.charsheet .sheet-showskills[value="6"]:checked ~ div.sheet-skills6 {
  display: block;
}

.charsheet .sheet-showskills[value="7"]:checked ~ div.sheet-skills7 {
  display: block;
}

.charsheet span.sheet-is-config::after {
  content: " ⮟";
}

.charsheet .sheet-HideConfig:checked + span.sheet-is-config::after {
  content: " ⮝";
}

.charsheet span.sheet-is-config {
  text-align: center;
  display: inline-block;
  width: 5%;
  height: 16px;
  font-size: 9px;

  background: black;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  margin-left: -5%;
}

.charsheet input.sheet-HideConfig {
  width: 5%;
  height: 16px;
  cursor: pointer;
  margin-left: auto;
  margin-top: auto;
  opacity: 0;
  z-index: 9999;
}

.charsheet .sheet-HideConfig:checked + span.sheet-is-config {
  background: black;
  border-radius: 4px;
  color: white;
}

.charsheet label.sheet-configitem {
  margin-left: 10px;
  width: 50px;
  font-size: 0.9em;
  font-weight: normal;
}

.charsheet input.sheet-arrow::after {
  float: left;
  font-family: pictos;
  content: "E";
  opacity: 1.5;
}

.charsheet input.sheet-arrow {
  float: left;
  font-family: pictos;
  content: "E";
  opacity: 0.5;
}

.charsheet .sheet-arrow:checked ~ div.sheet-section,
.charsheet .sheet-arrow:checked ~ div.sheet-skills1,
.charsheet .sheet-arrow:checked ~ div.sheet-skills2,
.charsheet .sheet-arrow:checked ~ div.sheet-skills3,
.charsheet .sheet-arrow:checked ~ div.sheet-skills4,
.charsheet .sheet-arrow:checked ~ div.sheet-skills5,
.charsheet .sheet-arrow:checked ~ div.sheet-skills6,
.charsheet .sheet-arrow:checked ~ div.sheet-skills7 {
  display: none;
}

.charsheet .sheet-showskills[value="1"]:checked ~ h4.sheet-section-head {
  background-image: linear-gradient(black, #840032);
  background-color: #840032;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet .sheet-showskills[value="2"]:checked ~ h4.sheet-section-head {
  background-image: linear-gradient(black, #262626);
  background-color: black;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet .sheet-showskills[value="3"]:checked ~ h4.sheet-section-head {
  background-image: linear-gradient(black, #112749);
  background-color: #112749;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet .sheet-showskills[value="4"]:checked ~ h4.sheet-section-head {
  background-image: linear-gradient(black, #273f13);
  background-color: #273f13;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet .sheet-showskills[value="5"]:checked ~ h4.sheet-section-head {
  background-image: linear-gradient(black, #6b5a38);
  background-color: #6b5a38;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet .sheet-showskills[value="6"]:checked ~ h4.sheet-section-head {
  background-image: linear-gradient(black, #31657b);
  background-color: #31657b;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet .sheet-showskills[value="7"]:checked ~ h4.sheet-section-head {
  background-image: linear-gradient(black, #65356f);
  background-color: #65356f;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet .sheet-showpulp[value="1"]:checked ~ h4.sheet-section-head,
.charsheet
  .sheet-showpulp[value="1"]:checked
  ~ div.sheet-pulphpsection
  h4.sheet-section-head,
.charsheet
  .sheet-showpulp[value="1"]:checked
  ~ div.sheet-heroinfo
  h4.sheet-section-head {
  background-image: linear-gradient(#750000, #800000);
  background-color: #800000;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet h4.sheet-section-head {
  background-color: black;
  color: white;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  border: 1px solid black;
}

.charsheet hr {
  display: block;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
}

.charsheet div.sheet-section {
  background-color: #c4beb6;
  border: 2px solid black;
  padding: 1%;
  margin: 0 0 1% 0;
}

.charsheet table td.sheet-attr {
  width: 13.33%;
  height: 58px;
}

.charsheet table td.sheet-attr-label {
  height: 56px;
  font-size: 120%;
  text-align: center;
}

.charsheet input[type="text"].sheet-attr-input {
  width: 52px;
  height: 40px;
  font-size: 200%;
  text-align: center;
}

.charsheet table td.sheet-attr-roll {
  height: 56px;
  text-align: center;
}

.charsheet input.sheet-secondary-attr-input {
  width: 100%;
  text-align: center;
}

.charsheet input[type="number"].sheet-secondary-attr-input {
  width: 100%;
  text-align: center;
}

.charsheet table td.sheet-skill-label {
  width: 100%;
  height: 23px;
}

.charsheet input[type="text"].sheet-skill-input {
  width: 30px;
  height: 23px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1px;
}

.charsheet input[type="number"].sheet-skill-input {
  width: 30px;
  height: 23px;
  text-align: center;
  margin-bottom: 1px;
}

.charsheet input[type="text"].sheet-skill-name-input {
  height: 23px;
  text-align: left;
  margin-bottom: 1px;
}

.charsheet td.sheet-otherskill-reminder {
  font-size: 80%;
}

.charsheet input[type="text"].sheet-narrow-input {
  background-color: rgba(255, 255, 255, 0.5);
  color: black;
  height: 20px;
  text-align: center;
  font-size: 85%;
}

.charsheet texarea.sheet-backstory-box {
  height: 75px;
  background-color: rgba(255, 255, 255, 0.5);
}

.charsheet textarea {
  background-color: rgba(255, 255, 255, 0.5);
  resize: vertical;
  margin: 0 0 0 0;
}

.charsheet input {
  background-color: rgba(255, 255, 255, 0.5);
}

.sheet-rolltemplate-coc-defence table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-defence caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-defence td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-defence td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc-defence td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-defence .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-defence-1 table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-defence-1 caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-defence-1 td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-defence-1 td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc-defence-1 td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-defence-1 .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-vehicleattack table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-vehicleattack caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-vehicleattack td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-vehicleattack td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc-vehicleattack td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-vehicleattack .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-attack table,
.sheet-rolltemplate-type-coc-attack table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-attack caption,
.sheet-rolltemplate-type-coc-attack caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-attack td,
.sheet-rolltemplate-type-coc-attack td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-attack td.sheet-template_label,
.sheet-rolltemplate-type-coc-attack td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc-attack td.sheet-template_value,
.sheet-rolltemplate-type-coc-attack td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-attack .inlinerollresult,
.sheet-rolltemplate-type-coc-attack .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-1 table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-1 caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-1 td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-1 td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc-1 td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-1 .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-attack-1 table,
.sheet-rolltemplate-type-coc-attack-1 table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-attack-1 caption,
.sheet-rolltemplate-type-coc-attack-1 caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-attack-1 td,
.sheet-rolltemplate-type-coc-attack-1 td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-attack-1 td.sheet-template_label,
.sheet-rolltemplate-type-coc-attack-1 td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc-attack-1 td.sheet-template_value,
.sheet-rolltemplate-type-coc-attack-1 td.sheet-template_value {
  text-align: center;
  max-width: 170.3px;
  width: 165.56px;
}
.sheet-rolltemplate-coc-attack-1 .inlinerollresult,
.sheet-rolltemplate-type-coc-attack-1 .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-dice-roll table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-dice-roll caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-dice-roll td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-dice-roll td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-dice-roll td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-dice-roll .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-dice-roll .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-bomadness-da-rt table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-da-rt caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-bomadness-da-rt td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-bomadness-da-rt td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-bomadness-da-rt td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-da-rt .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-bomadness-da-rt .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-bomadness-rt table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-rt caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-bomadness-rt td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-bomadness-rt td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-bomadness-rt td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-rt .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-bomadness-rt .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-mixed-bomadness-rt table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-mixed-bomadness-rt caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-mixed-bomadness-rt td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-mixed-bomadness-rt td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-mixed-bomadness-rt td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-mixed-bomadness-rt .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-mixed-bomadness-rt .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-mixed-bomadness-summ table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-mixed-bomadness-summ caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-mixed-bomadness-summ td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-mixed-bomadness-summ td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-mixed-bomadness-summ td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-mixed-bomadness-summ .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-mixed-bomadness-summ .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-pulp-bomadness-rt table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-pulp-bomadness-rt caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-pulp-bomadness-rt td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-pulp-bomadness-rt td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-pulp-bomadness-rt td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-pulp-bomadness-rt .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-pulp-bomadness-rt .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-bomadness-da-summ table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-da-summ caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-bomadness-da-summ td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-bomadness-da-summ td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-bomadness-da-summ td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-da-summ .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-bomadness-da-summ .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-bomadness-summ table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-summ caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-bomadness-summ td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-bomadness-summ td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-bomadness-summ td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-bomadness-summ .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-bomadness-summ .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-pulp-bomadness-summ table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-pulp-bomadness-summ caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-pulp-bomadness-summ td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-pulp-bomadness-summ td.sheet-template_label {
  font-weight: Bold;
}
.sheet-rolltemplate-coc-pulp-bomadness-summ td.sheet-template_value {
  text-align: center;
  background: #ffffff;
}
.sheet-rolltemplate-coc-pulp-bomadness-summ .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc-pulp-bomadness-summ .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-defence-2 table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #e3dedb;
}
.sheet-rolltemplate-coc-defence-2 caption {
  display: table-caption;
  text-align: center;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-defence-2 td {
  padding: 2px;
  border-bottom: 1px solid black;
  background: #efefef;
}
.sheet-rolltemplate-coc-defence-2 td.sheet-template_label {
  font-weight: Bold;
  background: #efefef;
}
.sheet-rolltemplate-coc-defence-2 td.sheet-template_value {
  text-align: center;
  background: #efefef;
}
.sheet-rolltemplate-coc-defence-2 .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #c3c9bd;
}

.sheet-rolltemplate-coc-minionattack table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
}
.sheet-rolltemplate-coc-minionattack caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-minionattack td {
  padding: 2px;
  border-bottom: 1px solid black;
}
.sheet-rolltemplate-coc-minionattack td.sheet-template_label {
  font-weight: bold;
}
.sheet-rolltemplate-coc-minionattack td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-minionattack .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}

.sheet-rolltemplate-coc-miniondef table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #e3dedb;
}
.sheet-rolltemplate-coc-miniondef caption {
  display: table-caption;
  text-align: center;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-miniondef td {
  padding: 2px;
  border-bottom: 1px solid black;
  background: #efefef;
}
.sheet-rolltemplate-coc-miniondef td.sheet-template_label {
  font-weight: Bold;
  background: #efefef;
}
.sheet-rolltemplate-coc-miniondef td.sheet-template_value {
  text-align: center;
  background: #efefef;
}
.sheet-rolltemplate-coc-miniondef .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #c3c9bd;
}

.sheet-rolltemplate-coc-init-stc table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #e3dedb;
}
.sheet-rolltemplate-coc-init-stc caption {
  display: table-caption;
  text-align: center;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-init-stc td {
  padding: 2px;
  border-bottom: 1px solid black;
  background: #efefef;
}
.sheet-rolltemplate-coc-init-stc td.sheet-template_label {
  font-weight: Bold;
  background: #efefef;
}
.sheet-rolltemplate-coc-init-stc td.sheet-template_value {
  text-align: center;
  background: #efefef;
}
.sheet-rolltemplate-coc-init-stc .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #c3c9bd;
}

.sheet-rolltemplate-coc-init-reroll table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #e3dedb;
}
.sheet-rolltemplate-coc-init-reroll caption {
  display: table-caption;
  text-align: center;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-init-reroll td {
  padding: 2px;
  border-bottom: 1px solid black;
  background: #efefef;
}
.sheet-rolltemplate-coc-init-reroll td.sheet-template_label {
  font-weight: Bold;
  background: #efefef;
}
.sheet-rolltemplate-coc-init-reroll td.sheet-template_value {
  text-align: center;
  background: #efefef;
}
.sheet-rolltemplate-coc-init-reroll .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #c3c9bd;
}

.sheet-rolltemplate-coc-one-row-center table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #e3dedb;
}
.sheet-rolltemplate-coc-one-row-center caption {
  display: table-caption;
  text-align: center;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-one-row-center td {
  padding: 2px;
  background: #efefef;
}
.sheet-rolltemplate-coc-one-row-center td.sheet-ammo_td {
  font-weight: Bold;
  background: #efefef;
  text-align: center;
}

.charsheet .sheet-tabs-hth-head {
  width: 68%;
}

.charsheet .sheet-tabs-hth-1 {
  width: 30%;
}

.charsheet .sheet-tabs-hth-2 {
  width: 6%;
}

.charsheet .sheet-tabs-hth-3 {
  width: 16%;
}

.charsheet .sheet-tabs-hth-4 {
  width: 8%;
}

.charsheet .sheet-tabs-hth-5 {
  width: 8%;
}

.charsheet .sheet-tabs-hra-head {
  max-width: 100%;
}

.charsheet .sheet-tabs-hra-1 {
  width: 34.4%;
}

.charsheet .sheet-tabs-hra-2 {
  width: 5.5%;
}

.charsheet .sheet-tabs-hra-3 {
  width: 17%;
}

.charsheet .sheet-tabs-hra-4 {
  width: 7.2%;
}

.charsheet .sheet-tabs-hra-5 {
  width: 8%;
}

.charsheet .sheet-tabs-hra-6 {
  width: 5%;
}

.charsheet .sheet-tabs-hra-7 {
  width: 5%;
}

.charsheet .sheet-tabs-hra-8 {
  width: 0.7%;
  text-align: center;
}

.charsheet .sheet-tabs-hra-9 {
  width: 5%;
}

.charsheet .sheet-tabs-hra-10 {
  width: 5%;
}

.charsheet .sheet-tabs-shotgun-head {
  max-width: 100%;
}

.charsheet .sheet-tabs-shotgun-1 {
  width: 25.2%;
}

.charsheet .sheet-tabs-shotgun-2 {
  width: 6%;
}

.charsheet .sheet-tabs-shotgun-3 {
  width: 9%;
}

.charsheet .sheet-tabs-shotgun-4 {
  width: 7%;
}

.charsheet .sheet-tabs-shotgun-5 {
  width: 7%;
}

.charsheet .sheet-tabs-shotgun-6 {
  width: 7%;
}

.charsheet .sheet-tabs-shotgun-7 {
  width: 5%;
}

.charsheet .sheet-tabs-shotgun-8 {
  width: 5%;
}

.charsheet .sheet-tabs-shotgun-9 {
  width: 5%;
}

.charsheet .sheet-tabs-shotgun-10 {
  width: 5%;
}

.charsheet .sheet-tabs-shotgun-11 {
  width: 6%;
}

.charsheet .sheet-tabs-shotgun-12 {
  width: 1%;
  text-align: center;
}

.charsheet .sheet-tabs-shotgun-13 {
  width: 6%;
}

.charsheet .sheet-tabs-shotgun-14 {
  width: 5.1%;
}

.charsheet .sheet-tabs-explhv-head {
  max-width: 100%;
}

.charsheet .sheet-tabs-explhv-1 {
  width: 22.2%;
}

.charsheet .sheet-tabs-explhv-2 {
  width: 6%;
}

.charsheet .sheet-tabs-explhv-3 {
  width: 9%;
}

.charsheet .sheet-tabs-explhv-4 {
  width: 5.126%;
}

.charsheet .sheet-tabs-explhv-5 {
  width: 7%;
}

.charsheet .sheet-tabs-explhv-6 {
  width: 7%;
}

.charsheet .sheet-tabs-explhv-7 {
  width: 7%;
}

.charsheet .sheet-tabs-explhv-8 {
  width: 5%;
}

.charsheet .sheet-tabs-explhv-9 {
  width: 5%;
}

.charsheet .sheet-tabs-explhv-10 {
  width: 5%;
}

.charsheet .sheet-tabs-explhv-11 {
  width: 3.925%;
}

.charsheet .sheet-tabs-explhv-12 {
  width: 5.8%;
}

.charsheet .sheet-tabs-explhv-13 {
  width: 1%;
  text-align: center;
}

.charsheet .sheet-tabs-explhv-14 {
  width: 5.8%;
}

.charsheet .sheet-tabs-explhv-15 {
  width: 4.865%;
}

.charsheet .sheet-tabs-misc-head {
  max-width: 100%;
}

.charsheet .sheet-tabs-misc-1 {
  width: 17%;
}

.charsheet .sheet-tabs-misc-2 {
  width: 5%;
}

.charsheet .sheet-tabs-misc-3 {
  width: 6%;
}

.charsheet .sheet-tabs-misc-4 {
  width: 6%;
}

.charsheet .sheet-tabs-misc-5 {
  width: 5.91%;
}

.charsheet .sheet-tabs-misc-6 {
  width: 9.2%;
}

.charsheet .sheet-tabs-misc-7 {
  width: 5%;
}

.charsheet .sheet-tabs-misc-8 {
  width: 5%;
}

.charsheet .sheet-tabs-misc-9 {
  width: 4%;
}

.charsheet .sheet-tabs-misc-10 {
  width: 1%;
  text-align: center;
}

.charsheet .sheet-tabs-misc-11 {
  width: 4%;
}

.charsheet .sheet-tabs-misc-12 {
  width: 5%;
}

.charsheet .sheet-hide-tw {
  display: none;
}

.charsheet .sheet-showskills[value="2"]:checked ~ div.sheet-hide-tw {
  display: block;
}

.charsheet .sheet-rows-1,
.charsheet .sheet-rows-2,
.charsheet .sheet-rows-3,
.charsheet .sheet-rows-4,
.charsheet .sheet-rows-5,
.charsheet .sheet-rows-6,
.charsheet .sheet-rows-7 {
  display: none;
}

.charsheet .sheet-tabs-type-wp-rows1[value="1"] ~ div.sheet-rows-1,
.charsheet .sheet-tabs-type-wp-rows2[value="1"] ~ div.sheet-rows-2,
.charsheet .sheet-tabs-type-wp-rows3[value="1"] ~ div.sheet-rows-3,
.charsheet .sheet-tabs-type-wp-rows4[value="1"] ~ div.sheet-rows-4,
.charsheet .sheet-tabs-type-wp-rows5[value="1"] ~ div.sheet-rows-5,
.charsheet .sheet-tabs-type-wp-rows6[value="1"] ~ div.sheet-rows-6,
.charsheet .sheet-tabs-type-wp-rows7[value="1"] ~ div.sheet-rows-7 {
  display: block;
}

.charsheet .sheet-tabs-hth-hide,
.charsheet .sheet-tabs-hgun-hide,
.charsheet .sheet-tabs-rifle-hide,
.charsheet .sheet-tabs-shotgun-hide,
.charsheet .sheet-tabs-automatic-hide,
.charsheet .sheet-tabs-explhv-hide,
.charsheet .sheet-tabs-misc-hide {
  display: none;
}

.charsheet .sheet-tabs-type-wp1[value="hth"] ~ div.sheet-tabs-hth-hide,
.charsheet .sheet-tabs-type-wp2[value="hgun"] ~ div.sheet-tabs-hgun-hide,
.charsheet .sheet-tabs-type-wp3[value="rifle"] ~ div.sheet-tabs-rifle-hide,
.charsheet .sheet-tabs-type-wp4[value="shotgun"] ~ div.sheet-tabs-shotgun-hide,
.charsheet
  .sheet-tabs-type-wp5[value="automatic"]
  ~ div.sheet-tabs-automatic-hide,
.charsheet .sheet-tabs-type-wp6[value="explhv"] ~ div.sheet-tabs-explhv-hide,
.charsheet .sheet-tabs-type-wp7[value="misc"] ~ div.sheet-tabs-misc-hide {
  display: block;
}

.charsheet .sheet-normal-bouts {
  display: block;
}

.charsheet .sheet-mixed-bouts {
  display: none;
}

.charsheet .sheet-mixed-bouts[value="1"]:checked ~ div.sheet-normal-bouts {
  display: none;
}

.charsheet .sheet-mixed-bouts[value="1"]:checked ~ div.sheet-mixed-bouts {
  display: block;
}

.charsheet .sheet-show-hp-temp-checkbox {
  display: none;
}

.charsheet .sheet-show-major-wound-checkbox {
  display: inline-block;
}

.charsheet .sheet-hptemp[value="1"]:checked ~ div.sheet-show-hp-temp-checkbox {
  display: inline-block;
}

.charsheet
  .sheet-hptemp[value="1"]:checked
  ~ div.sheet-show-major-wound-checkbox {
  display: none;
}

.sheet-rolltemplate-coc-body-hit-loc table {
  width: 100%;
  border: 1px solid black;
  color: black;
  background: #ffffff;
  text-align: center;
}
.sheet-rolltemplate-coc-body-hit-loc caption {
  display: table-caption;
  text-align: center;
  background: black;
  color: white;
  font-weight: bold;
  padding: 2px;
  border: 1px solid black;
  line-height: 1.6em;
}
.sheet-rolltemplate-coc-body-hit-loc td {
  padding: 2px;
  border-bottom: 1px solid black;
  text-align: center;
}
.sheet-rolltemplate-coc-body-hit-loc td.sheet-template_label {
  font-weight: Bold;
  text-align: center;
}
.sheet-rolltemplate-coc-body-hit-loc td.sheet-template_value {
  text-align: center;
}
.sheet-rolltemplate-coc-body-hit-loc .inlinerollresult {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  border: 2px solid black;
  background: #bebebe;
}
.sheet-rolltemplate-coc--body-hit-loc .inlinerollresult.importantroll {
  border: 2px solid black;
  background: #bebebe;
  text-align: center;
}

.charsheet button[type="action"].sheet-type-weapons {
  background: #e2dfdb;
  border-radius: 8px;
  border: 1px solid #ccc;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.charsheet button[type="action"].sheet-type-weapons:hover {
  transform: scale(1.05);
}
.charsheet button[type="action"].sheet-type-weapons:active {
  background: #e2dfdb;
  border-color: #c4beb6;
  -webkit-box-shadow: inset 0px 0px 5px #c4beb6;
  -moz-box-shadow: inset 0px 0px 5px #c4beb6;
  box-shadow: inset 0px 0px 5px #c4beb6;
  outline: none;
}

.charsheet .sheet-badge {
  float: right;
  padding: 3.2px;
  width: 1px;
  height: 1px;
  background-color: #646464;
  margin: 0.3px -4.25px 1px 1.3px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.charsheet .sheet-badge.red {
  background-color: #cc0000;
}

.charsheet .sheet-badge-start {
  float: right;
  padding: 2.6px;
  width: 0px;
  height: 0px;
  background-color: #646464;
  margin: -21.3px 3.5px 1px 1.3px;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.charsheet .sheet-badge-start.red {
  background-color: #cc0000;
}

.charsheet .sheet-hidden {
  display: none;
}

.charsheet .sheet-count-ammo-css-checkbox {
  width: 25px;
}

.charsheet button[type="roll"].sheet-adv-roll,
.charsheet button[type="action"].sheet-adv-action {
  color: #390c63;
  background-color: #ffffff;
  font-weight: bolder;
  font-size: 1.4em;
  text-align: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
  font-family: dicefontd20;
  background: linear-gradient(
    to top,
    #390c6399 0%,
    #390c6399 40%,
    #ffffff 40%,
    #ffffff 100%
  );
  background-size: 100% 200%;
  background-position: 0 0;
  transition: background-position 0.3s;
  text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
}

.charsheet button[type="roll"].sheet-adv-roll:hover,
.charsheet button[type="action"].sheet-adv-action:hover {
  background-position: 0 96%;
}

.charsheet button[type="roll"].sheet-adv-roll::before,
.charsheet button[type="action"].sheet-adv-action::before {
  content: "";
}

.charsheet button[type="roll"].sheet-old-roll {
  color: #390c63;
  background-color: #390c63;
  font-weight: bolder;
  text-align: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
}

.charsheet button[type="roll"].sheet-nadv-roll,
.charsheet button[type="action"].sheet-nadv-action {
  color: #18650d;
  background-color: #ffffff;
  font-weight: bolder;
  font-size: 1.4em;
  text-align: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
  font-family: dicefontd20;
  background: linear-gradient(
    to top,
    #248c1599 0%,
    #248c1599 40%,
    #ffffff 40%,
    #ffffff 100%
  );
  background-size: 100% 200%;
  background-position: 0 0;
  transition: background-position 0.3s;
  text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
}

.charsheet button[type="roll"].sheet-nadv-roll:hover,
.charsheet button[type="action"].sheet-nadv-action:hover {
  background-position: 0 96%;
}

.charsheet button[type="roll"].sheet-nadv-roll::before,
.charsheet button[type="action"].sheet-nadv-action::before {
  content: "";
}

.charsheet button[type="roll"].sheet-new-roll {
  color: #18650d;
  background-color: #248c15;
  font-weight: bolder;
  text-align: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
}

.charsheet button[type="roll"].sheet-dice-roll {
  color: #000000;
  background-color: #000000;
  font-weight: bolder;
  text-align: center;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
}

.charsheet button[type="action"].sheet-dice-roll-action {
  color: #000000;
  font-weight: bolder;
  text-align: center;
  width: 20px;
  height: 20px;
  font-size: 16.5px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
  font-family: dicefontd20;
  background: linear-gradient(
    to top,
    #000000 0%,
    #000000 40%,
    #ffffff 40%,
    #ffffff 100%
  );
  background-size: 100% 200%;
  background-position: 0 0;
  transition: background-position 0.3s;
  text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
  vertical-align: middle;
}

.charsheet button[type="action"].sheet-dice-roll-action:hover {
  background-position: 0 96%;
}

.charsheet button[type="roll"].sheet-smallbutton-roll {
  color: #18650d;
  background-color: #248c15;
  font-weight: bolder;
  font-size: 12px;
  text-align: center;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
}

.charsheet button[type="roll"].sheet-smallnonskillbutton-roll {
  color: #000000;
  background-color: #000000;
  font-weight: bolder;
  font-size: 12px;
  text-align: center;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
}

.charsheet button[type="roll"].sheet-evensmallerbutton-roll {
  color: #000000;
  background-color: #1a1a1a;
  font-weight: bolder;
  font-size: 1px;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0em;
  border: 1px solid black;
  border-radius: 5px;
}
