h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.2em;
}

h3.filter-subtitle {
  padding-top: 1em;
}

.heading {
  font-size: 1.3em;
  font-weight: 600;
}

li.heading {
  list-style: none;
}

.errorlist {
  color: #dc3545;
}

table.list {
  width: 100%;
}
table.list td {
  padding: 1em 0.25em;
  vertical-align: top;
}

li.heading {
  margin-left: -1em;
}

ul.flat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.flat-list li {
  display: inline-block;
  padding: 0.5rem;
}

#action_menu ul {
  padding-left: 1.5rem;
}

.list th {
  position: relative;
}

.list caption {
  caption-side: top;
}
.list th {
  position: relative;
}

.nav {
  padding-left: 0;
}

.nav li {
  display: inline;
  list-style-type: none;
  padding-right: 20px;
}

.box {
  margin: 0.25em;
  padding: 1em;
  border: 1px solid #000;
  border-radius: 1em;
  position: relative;
}

.pel-countdown {
  background-color: #e9ecef;
  display: inline-block;
  padding: 0.5em 1em;
}
.pel-countdown .pel-countdown-clock {
  font-weight: bold;
  white-space: nowrap;
}

.item-navigation {
  margin-right: 0.25em;
}

.content-align-right {
  text-align: right;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.header-group {
  width: 45%;
}

.page-item span {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  background-color: #fff;
  border: 1px solid transparent;
}

input[type=checkbox] {
  margin: 0 0.5rem;
}

.data td, .data th {
  padding: 0.25em;
}
.data tr th:first-child {
  text-align: right;
  vertical-align: top;
}

.point-input {
  width: 4rem;
}

.event-registration h2 {
  margin-top: 0;
}
.event-registration td:first-child {
  vertical-align: top;
  padding: 0.25em 1em 0 0;
}

#player_transfer_cp #id_amount {
  width: 4em;
}

#character_concept_approve {
  display: inline-block;
}

#character_history_approve {
  display: inline-block;
}

.tabs {
  position: relative;
  min-height: 100px;
  /* This part sucks */
  clear: both;
  margin: 25px 0;
}
.tabs .delete-row {
  line-height: 2.25em;
  margin-left: 2em;
}

.tab {
  float: left;
}

.tab label {
  background: #eee;
  padding: 0.25em 1em;
  border: 1px solid #ccc;
  position: relative;
}

.tab [type=radio] {
  display: none;
}

.tab-content {
  position: absolute;
  top: 2em;
  left: 0;
  background: white;
  right: 0;
  bottom: 0;
  padding: 20px;
  border: 1px solid #ccc;
}

[type=radio]:checked ~ label {
  background: white;
  border-bottom: 1px solid white;
  z-index: 2;
}

[type=radio]:checked ~ label ~ .tab-content {
  z-index: 1;
}

.filter label {
  display: inline-block;
  width: 4em;
}
.filter input[type=text] {
  width: 20em;
}

.bga-item {
  display: flex;
  flex-wrap: wrap;
  padding-top: 1.5em;
}
.bga-item h3 {
  width: 100%;
}

.bga-item-left {
  width: 33%;
  padding-right: 0.5em;
  border-right: 1px solid #000;
}

.bga-item-right {
  max-width: 66%;
  padding-left: 0.5em;
}

.bga-tags-list {
  padding: 0.25em;
  margin-top: 0.25em;
  border-top: 1px solid #333;
}

.print-ability-list .bga-list-item {
  border-top: 1px solid #333;
}
.print-ability-list .bga-question {
  border-bottom: 1px dashed #333;
}

.list-characters td:first-child {
  width: 30%;
}

.list-influence td:first-child {
  padding-left: 2rem;
}

table.list td.influence-current {
  width: 4rem;
  padding-left: 0.5rem;
  padding-right: 1.5rem;
  text-align: right;
}

.influence-update input[type=text] {
  width: 3rem;
  text-align: right;
}

.portrait {
  float: right;
  width: 100%;
  max-width: 400px;
}

@media print {
  .flex-container {
    display: block;
  }

  .header-group {
    width: 100%;
    column-count: 2;
    column-gap: 2em;
  }

  .header-label {
    display: block;
    page-break-inside: avoid;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  .skill-group {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}
.list-comment {
  list-style: none;
  padding-left: 0.5rem;
}
.list-comment h4 {
  font-size: 1rem;
  font-weight: 700;
}

#player_list_filter_submit {
  position: absolute;
  bottom: 1em;
  right: 1em;
}

.registration-request {
  border-bottom: dotted #333 1px;
  padding: 1em;
}
.registration-request:last-child {
  border-bottom: none;
}

.header-category {
  width: 100%;
}

.group.grants {
  width: 100%;
}

.rule {
  padding: 1em 0.5em;
}

.skill-point-display {
  width: 1rem;
}

.update-skill {
  text-decoration: none;
  padding: 0.075rem 0.15rem;
  margin: 0 0.15rem;
  line-height: 100%;
}

.alternating-container > *:nth-of-type(even) {
  background: #e0e0e0;
}

.hidden {
  display: none;
}

.ordering-arrow {
  position: absolute;
  bottom: 25%;
  right: 10%;
}
.ordering-arrow.desc {
  transform: rotate(180deg);
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.15);
}

.spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 60px;
  width: 60px;
  margin: 0px auto;
  -webkit-animation: rotation 0.6s infinite linear;
  -moz-animation: rotation 0.6s infinite linear;
  -o-animation: rotation 0.6s infinite linear;
  animation: rotation 0.6s infinite linear;
  border-left: 6px solid rgba(0, 174, 239, 0.15);
  border-right: 6px solid rgba(0, 174, 239, 0.15);
  border-bottom: 6px solid rgba(0, 174, 239, 0.15);
  border-top: 6px solid rgba(0, 174, 239, 0.8);
  border-radius: 100%;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(359deg);
  }
}
@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@-o-keyframes fadeIt {
  0% {
    background-color: #76c76a;
  }
  100% {
    background-color: rgba(118, 199, 106, 0);
  }
}
@keyframes fadeIt {
  0% {
    background-color: #76c76a;
  }
  100% {
    background-color: rgba(118, 199, 106, 0);
  }
}
.value_update {
  background-image: none !important;
  -o-animation: fadeIt 1s ease-out;
  animation: fadeIt 1s ease-out;
}

@media screen {
  .print-page-break {
    border-bottom: 1px solid #333;
    margin-bottom: 2em;
  }
}
@media print {
  #cms-top {
    display: none;
  }

  a[href]:after {
    content: none !important;
  }

  .no-print {
    display: none !important;
  }

  .print-page-break {
    page-break-after: always;
  }
}
.highlight {
  background-color: #17a2b8;
  color: #f8f9fa;
  padding: 0 0.15em;
  border-radius: 0.15em;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
}