html, body {
  font-size: 13px;
  text-transform: capitalize;
}

.btn {
  text-transform: lowercase;
}
.btn::first-letter {
  text-transform: uppercase;
}

a:link, a:visited, .btn-link {
  color: #161B29
}
a:hover, :active, .btn-link:hover {
  color: #142140
}

caption {
  display: none;
}

th {
  text-align: center;
}

.navbar {
  justify-content: inherit;
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px)
{
  .sidebar {
    top: 5rem;
}
}
.sidebar i {
  margin-right: .5em;
}

.sidebar .nav-link {
  margin-right: .5em;
  padding: 0.2em;
}

.sidebar .nm-nav-title a {
  color: #333;
}

.sidebar .nm-nav-gang {
  padding-left: .5em;
}

.nm-align-left {
  text-align: left;
}

.nm-align-center {
  text-align: center;
}

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

.nm-gang-leader {
  color: #FFAA00;
  padding-right: .5em;
}

.nm-list {
  border: 1px solid #dee2e6;
}
.nm-list h2 {
  text-align: center;
  font-size: 1em;
  margin: 0;
  padding: .2em;
}
.nm-list dl {
  margin: 0;
}
.nm-list dt {
  text-align: center;
  border: 1px solid #dee2e6;
  border-width: 1px 0;
  padding: .2em;
}

.nm-list dd {
  text-align: center;
  padding: .2em;
  margin: 0;
}

.nm-btn-table {
  padding: 0;
  padding-bottom: 0.1em;
  text-align: inherit;
}

.nm-print-only {
  display: none;
}

.table th, .table td {
  white-space: nowrap;
  padding: 0 0.1em;
  vertical-align: middle;
}

.nm-tradingpost-weapon .table td {
  border-bottom-width: 0;
}

#nm_page_menu .btn > i {
  padding-right: 0.2em;
}

.nm-card-ganger h2 {
  padding: 1em 0.5em;
  font-size: 1.3em;
  text-transform: uppercase;
}

.nm-card-ganger .nm-card-type {
  font-size: 0.8em;
}

.nm-card-ganger > .row {
  margin-bottom: 1em;
}
.nm-card-ganger > .row-alt {
  page-break-after: always;
}

.nm-card-ganger .card {
  height: 100%;
}

.nm-card-cost
{
  text-align: center;
  font-weight: bold;
  font-size: 2em;
  line-height: 2em;
  height: 100%;
}

.nm-card-ganger .nm-ganger-weapon {
  font-size: 0.9em;
}
.nm-card-ganger .nm-ganger-weapon thead > tr:first-child th {
  font-size: 0.8em;
}

.nm-page-break {
  display: none;
}

.nm-ganger-info .table th, .nm-ganger-info .table td {
  vertical-align: top;
}
.nm-ganger-info .table td {
  white-space: normal;
}

.nm-profile-rare {
  text-align: center;
}

#nm_loader {
  position: absolute;
    z-index: 1100;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding-top: 20%;
}
.nm-ganger-list td, .nm-ganger-list tbody th {
  border-bottom-width: 0;
}

.nm-ganger-list .nm-ganger-end {
  border-bottom: 1px solid #212529;
}

.nm-ganger-list .nm-ganger-end th, .nm-ganger-list .nm-ganger-end td {
  padding-bottom: 1em;
}
.nm-profile-carac, .nm-profile-cost {
  text-align: center;
  width: 5%;
}

.nm-profile-type {
  text-align: center;
  width: 10%;
}

.nm-profile-info {
  text-align: left;
  width: 10%;
}

.nm-profile-status {
  text-align: center;
  width: 5%;
}

.nm-profile-status .icon {
  padding-right: 0.5em;
}

.nm-ganger-status-dead, .nm-ganger-status-recover, .nm-ganger-status-retire {
  text-decoration: line-through;
}

.nm-ganger-status-active .nm-ganger-status-icon {
  color:darkgreen;
}

.nm-ganger-status-recover .nm-ganger-status-icon {
  color: darkgoldenrod;
}

.nm-ganger-status-dead .nm-ganger-status-icon {
  color: darkred;
}

.nm-ganger-status-retire .nm-ganger-status-icon {
  color: darkolivegreen;
}

.table .nm-profile-s {
  background-color: rgba(162,82,54,0.3);
}

.table .nm-profile-xp {
  background-color: rgba(162,82,54,0.7);
}

.nm-skill-new {
  font-weight: bold;
}

.nm-profile-highlight {
  font-weight: bold;
}
@media print {
  @page {
  margin: 1cm;
}

body, .btn {
  font-size : 8pt;
}

header, .navbar, #sidebarMenu {
  display: none !important;
}

main {
  width: 100% !important;
  margin: 0;
}

.nm-screen-only {
  display: none;
}

.nm-ganger-info tr, .nm-ganger-info th, .nm-ganger-info td {
  border-width: 0 !important;
}

  .nm-ganger-table {
    page-break-inside: avoid;
  }

.nm-card-tarot .card {
  width: 12cm !important; 
  height: 7cm !important;
}

.nm-card-gw .card {
  width: 11cm !important; 
  height: 7.5cm !important;
}

.table-responsive {
  overflow-x: visible;
}

.nm-page-break {
  display: block;
  page-break-before: always;
  width: 100%;
  height: 14em;
}

}
.nm-gang-stash-card {
  min-height: 10em;
  height: 100%;
}

.nm-gang-stash-card h2, .nm-gang-stash-card h3 {
  font-size: 1em;
}

.nm-gang-stash-card ul {
  list-style-type: square;
}

.nm-gang-stash-card li {
  font-size: 0.8em;
}
.nm-weapon-name {
  text-transform: lowercase;
}
.nm-weapon-name::first-letter {
  text-transform: uppercase;
}
.nm-weapon-cost, .nm-weapon-rare, .nm-weapon-carac {
  text-align: center;
}
.nm-wargear-name {
  text-transform: lowercase;
}
.nm-wargear-name::first-letter {
  text-transform: uppercase;
}
.nm-wargear-cost, .nm-wargear-rare {
  text-align: center;
}
.nm-wargear-ref {
  text-align: center;
  text-transform: none;
}
.nm-gang-territory-card {
  min-height: 10em;
  height: 100%;
}

.nm-gang-territory-card h2 {
  font-size: 1em;
}

.nm-gang-territory-card ul {
  list-style-type: square;
}

.nm-gang-territory-card li {
  font-size: 0.8em;
}
