﻿html {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif; }

body {
  background: black;
  color: white;
  height: 100%;
  margin: 0; }

[ui-view="main"] {
  height: 100%; }

.flex-row {
  display: flex;
  flex-direction: row; }

.flex-col {
  display: flex;
  flex-direction: column;
  flex: 1; }

.pull-right {
  float: right; }

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

.app-container {
  height: 100%; }

h1 {
  text-align: center;
  background: #222;
  margin: 0;
  padding: 10px 0; }

h2 {
  border-bottom: 1px solid white;
  text-align: center;
  margin: 0 auto 20px;
  padding: 0;
  width: 50%; }

.compendium-list {
  max-width: 1000px;
  margin: 0 auto; }
  .compendium-list ul {
    list-style: none;
    padding: 0; }
  .compendium-list .compendium {
    display: inline-block;
    margin: 0 10px;
    width: 350px;
    height: 500px;
    background-size: cover;
    text-align: center;
    position: relative; }
    .compendium-list .compendium .title {
      width: 75%;
      display: inline-block;
      position: absolute;
      top: 0;
      left: 12.5%; }

.main-body {
  max-width: 1200px;
  margin: 10px auto 0; }

.tomes {
  text-align: center; }
  .tomes ul {
    list-style: none;
    padding: 0; }
    .tomes ul li {
      margin: 0 20px;
      display: inline-block;
      width: 300px;
      height: 300px;
      background-size: contain;
      background-position: bottom center;
      background-repeat: no-repeat;
      position: relative; }
      .tomes ul li h3 {
        text-align: center;
        position: absolute;
        bottom: 0;
        width: 100%;
        background: linear-gradient(transparent, black);
        margin: 0;
        padding: 10px 0; }

breadcrumbs {
  text-align: left;
  text-transform: capitalize;
  display: block;
  margin: -10px 0 10px;
  padding: 5px 10px;
  color: #999;
  font-size: 14px; }
  breadcrumbs a:hover {
    color: #bbb; }
  breadcrumbs a:visited {
    color: inherit; }

[ui-sref] {
  cursor: pointer; }

main-menu {
  display: block;
  border-bottom: 1px solid white;
  background: #222; }
  main-menu .menu {
    position: relative;
    width: 1000px;
    margin: 0 auto; }
    main-menu .menu > li:hover .dropdown {
      display: block;
      background: black;
      border: 1px solid white; }
  main-menu .dropdown {
    position: absolute;
    top: 100%;
    display: none; }
  main-menu a {
    text-decoration: none;
    color: white;
    padding: 5px 20px;
    display: inline-block; }
    main-menu a:hover {
      color: yellow; }
  main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0; }
    main-menu ul li {
      padding: 0;
      display: inline-block; }
      main-menu ul li ul li {
        display: block; }

.spellBook {
  display: flex;
  flex-direction: column;
  height: 730px;
  border-radius: 5px;
  border: 1px solid white; }
  .spellBook .tableHeader {
    flex: 0 0 auto;
    background: #222;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px; }
    .spellBook .tableHeader tbody {
      margin-right: 20px;
      display: block;
      margin-left: 5px; }
  .spellBook .tableBody {
    overflow-y: scroll;
    flex: 1 1 auto;
    background: #111;
    padding-left: 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px; }
  .spellBook table {
    border-collapse: collapse;
    max-width: 100%;
    width: 100%;
    margin: 0 auto; }
    .spellBook table label {
      display: block;
      padding: 3px;
      user-select: none; }
    .spellBook table input[type="text"] {
      background: black;
      border: 1px solid white;
      border-radius: 10px;
      color: white;
      padding: 5px 8px;
      width: calc(100% - 20px);
      margin: 2px 10px 2px 0; }
      .spellBook table input[type="text"]:focus {
        outline: none;
        background: #444; }
    .spellBook table tr:hover {
      background: #222; }
    .spellBook table tr td {
      padding: 3px; }
      .spellBook table tr td:nth-child(1) {
        width: 10%; }
      .spellBook table tr td:nth-child(2) {
        width: 18%; }
      .spellBook table tr td:nth-child(3) {
        width: 18%; }
      .spellBook table tr td:nth-child(4) {
        width: 18%; }
      .spellBook table tr td:nth-child(5) {
        width: 18%; }
      .spellBook table tr td:nth-child(6) {
        width: 18%; }

.treeSpec {
  text-align: center; }
  .treeSpec ul {
    list-style: none;
    padding: 0;
    margin: 0; }
    .treeSpec ul li {
      margin: 0;
      display: inline-block;
      width: 250px;
      border: 1px solid white;
      margin: 10px;
      border-radius: 5px;
      background: #111;
      vertical-align: top;
      text-align: left; }
      .treeSpec ul li h3 {
        border-bottom: 1px solid white;
        margin: 0;
        padding: 5px;
        background: #222;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px; }
      .treeSpec ul li a {
        display: block;
        color: white;
        padding: 3px 5px;
        text-decoration: none; }
        .treeSpec ul li a:hover {
          color: #bbb; }
        .treeSpec ul li a:visited {
          color: inherit; }
          .treeSpec ul li a:visited:hover {
            color: #bbb; }

.species-list {
  border: 1px solid white;
  border-radius: 5px; }
  .species-list .filter {
    text-align: center;
    padding: 10px 0;
    background: #222;
    border-bottom: 1px solid white;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px; }
    .species-list .filter input {
      width: 40px;
      margin-right: 20px; }
  .species-list .species {
    padding: 10px;
    max-height: 700px;
    overflow: auto;
    text-align: center;
    background: #111;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px; }
    .species-list .species .container {
      display: inline-block;
      width: 33%;
      margin: 20px 0;
      vertical-align: top; }
      .species-list .species .container span {
        display: inline-block;
        margin: 0 4px; }
    .species-list .species img {
      height: 150px;
      margin-top: 20px; }
    .species-list .species .title {
      text-align: center;
      font-size: 20px;
      margin-top: 10px; }

.loading {
  margin: 200px auto;
  display: block;
  height: 100px; }

.talents talent-block {
  width: 325px;
  height: 200px;
  margin: 20px;
  border: 3px solid white;
  color: white;
  display: inline-block;
  position: relative;
  padding: 10px;
  vertical-align: top; }
  .talents talent-block:first-child {
    margin-left: 0; }
  .talents talent-block:before {
    position: absolute;
    top: -17px;
    right: -19px;
    background: black;
    width: 30px;
    height: 28px;
    content: " ";
    transform: rotate(-45deg);
    border-left: 3px solid white; }
  .talents talent-block h3 {
    margin: 0;
    background: #bb9b66;
    text-align: center;
    padding: 5px;
    text-transform: uppercase;
    z-index: 10;
    position: relative;
    overflow: hidden;
    font-size: 14px; }
    .talents talent-block h3:before {
      position: absolute;
      top: -19px;
      right: -19px;
      background: black;
      width: 30px;
      height: 30px;
      content: " ";
      transform: rotate(-45deg); }
    .talents talent-block h3.active {
      background: #105410; }
  .talents talent-block p {
    font-size: 16px; }
  .talents talent-block .force {
    position: absolute;
    top: -39px;
    left: -40px;
    z-index: 5; }
  .talents talent-block .ranked {
    position: absolute;
    bottom: -3px;
    left: -3px;
    z-index: 5;
    background-color: black; }
  .talents talent-block .cost {
    position: absolute;
    bottom: -11px;
    right: -26px;
    z-index: 5;
    transform: rotate(-45deg);
    padding: 5px;
    font-size: 24px;
    text-align: center;
    width: 60px;
    background-color: black;
    border-top: 3px solid white;
    font-weight: bold;
    height: 28px; }
  .talents talent-block .position {
    position: absolute;
    bottom: 5px;
    right: calc(50% - 50px);
    width: 100px;
    text-align: center; }
    .talents talent-block .position .talent-width span {
      width: 15px;
      height: 15px;
      border: 1px solid white;
      border-radius: 50%;
      display: inline-block;
      font-size: 15px;
      line-height: 1;
      margin: 0 4px;
      cursor: pointer;
      user-select: none; }
  .talents talent-block .edit-talent {
    margin-left: 50px; }
    .talents talent-block .edit-talent > div {
      padding: 5px; }

.talents.primary-tree talent-block {
  height: 180px; }

.talent-container {
  display: inline-block;
  position: relative;
  width: 25%; }
  .talent-container talent-block {
    width: calc(100% - 60px); }
    .talent-container talent-block.width2 {
      width: calc(200% - 60px);
      z-index: 100;
      background: black; }
    .talent-container talent-block.width3 {
      width: calc(300% - 60px);
      z-index: 100;
      background: black; }
    .talent-container talent-block.width4 {
      width: calc(400% - 60px);
      z-index: 100;
      background: black; }
    .talent-container talent-block .button {
      background: white;
      color: black;
      padding: 7px 10px;
      margin: 5px;
      display: inline-block; }
      .talent-container talent-block .button.edit, .talent-container talent-block .button.purchase {
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: 15; }
      .talent-container talent-block .button.save {
        position: absolute;
        bottom: 5px;
        right: calc(50% - 50px);
        width: 100px;
        text-align: center; }
    .talent-container talent-block .purchased {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 15;
      width: 14px;
      height: 14px;
      background: white;
      border: solid white 2px;
      margin: 2px; }
    .talent-container talent-block .button.purchase {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 15;
      width: 14px;
      height: 14px;
      background: transparent;
      border: solid white 2px;
      margin: 2px;
      padding: 0;
      cursor: pointer; }
  .talent-container [class*="-connector"] {
    position: absolute;
    text-align: center; }
    .talent-container [class*="-connector"].editable:not(.active):hover .add-icon {
      display: block; }
    .talent-container [class*="-connector"] .connection {
      background: white;
      width: 20px;
      height: 20px;
      display: none; }
      .talent-container [class*="-connector"] .connection .remove-icon {
        text-align: center;
        cursor: pointer; }
        .talent-container [class*="-connector"] .connection .remove-icon:before {
          font-size: 40px;
          line-height: 0.8;
          content: "-";
          font-weight: bold;
          color: red; }
    .talent-container [class*="-connector"].active .connection {
      display: inline-block; }
  .talent-container .top-connector {
    top: -20px;
    left: calc(50% - 120px);
    width: 200px;
    height: 40px; }
    .talent-container .top-connector .connection {
      height: 40px; }
  .talent-container .left-connector {
    left: -37px;
    top: calc(50% - 100px);
    padding-top: 80px;
    width: 40px;
    height: 120px; }
    .talent-container .left-connector .connection {
      width: 40px; }
      .talent-container .left-connector .connection .remove-icon:before {
        line-height: 0.4; }
  .talent-container .add-icon {
    text-align: center;
    display: none;
    cursor: pointer; }
    .talent-container .add-icon:before {
      font-size: 40px;
      line-height: 1;
      content: "+";
      font-weight: bold;
      color: green; }

.black-dice, .black {
  width: 10px;
  height: 10px;
  display: inline-block;
  border: 1px solid white;
  background: black;
  margin-right: 2px; }

.white-dice {
  width: 10px;
  height: 10px;
  display: inline-block;
  border: 1px solid black;
  background: white; }

.blue-dice:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "b";
  display: inline-block;
  color: lightblue; }

.yellow-dice:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "b";
  display: inline-block;
  color: yellow; }

.red-dice:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "c";
  display: inline-block;
  color: red; }

.green-dice:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "d";
  display: inline-block;
  color: green; }

.purple-dice:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "d";
  display: inline-block;
  color: purple; }

.advantage:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "a";
  display: inline-block;
  color: white; }

.failure:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "f";
  display: inline-block;
  color: white; }

.disadvantage:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "t";
  display: inline-block;
  color: white; }

.dispair:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "y";
  display: inline-block;
  color: white; }

.triumph:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "x";
  display: inline-block;
  color: white; }

.success:after {
  font-family: 'EotE_Symbol-Regular_v1';
  content: "s";
  display: inline-block;
  color: white; }

@font-face {
  font-family: 'EotE_Symbol-Regular_v1';
  src: url("../fonts/EotE_Symbol-Regular_v1.otf") format("opentype"); }
