* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

button,
input[type="submit"] {
  -webkit-font-smoothing: antialiased;
  background-color: #477dca;
  border-radius: 0.1875em;
  color: white;
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  line-height: 1;
  padding: .75em 1em;
  text-decoration: none; }
  button:hover,
  input[type="submit"]:hover {
    background-color: #2c5999;
    color: white; }

body {
  -webkit-font-smoothing: antialiased;
  background-color: white;
  color: #333333;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 1em;
  line-height: 1.5; }

h1, h2, h3, header, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  line-height: 1.25em;
  margin: 0;
  text-rendering: optimizeLegibility; }

h1 {
  font-size: 2.25em; }

h2 {
  font-size: 2em; }

h3, header {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin: 0 0 0.75em; }

a {
  -webkit-transition: color 0.1s linear;
  -moz-transition: color 0.1s linear;
  transition: color 0.1s linear;
  color: #477dca;
  text-decoration: none; }
  a:hover {
    color: #2c5999; }
  a:active, a:focus {
    color: #2c5999;
    outline: none; }

hr {
  border-bottom: 1px solid #dddddd;
  border-left: none;
  border-right: none;
  border-top: none;
  margin: 1.5em 0; }

img {
  margin: 0;
  max-width: 100%; }

blockquote {
  border-left: 2px solid #dddddd;
  color: #595959;
  margin: 1.5em 0;
  padding-left: 0.75em; }

cite {
  color: #737373;
  font-style: italic; }
  cite:before {
    content: '\2014 \00A0'; }

fieldset {
  background: #f7f7f7;
  border: 1px solid #dddddd;
  margin: 0 0 0.75em 0;
  padding: 1.5em; }

input,
label,
select {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 1em; }

label {
  font-weight: bold;
  margin-bottom: 0.375em; }
  label.required:after {
    content: "*"; }
  label abbr {
    display: none; }

textarea,
input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"],
select[multiple=multiple] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border-color;
  -moz-transition: border-color;
  transition: border-color;
  background-color: white;
  border-radius: 0.1875em;
  border: 1px solid #dddddd;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 1em;
  margin-bottom: 0.75em;
  padding: 0.5em 0.5em;
  width: 100%; }
  textarea:hover,
  input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover,
  select[multiple=multiple]:hover {
    border-color: #c4c4c4; }
  textarea:focus,
  input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus,
  select[multiple=multiple]:focus {
    border-color: #477dca;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(55, 112, 192, 0.7);
    outline: none; }

textarea {
  resize: vertical; }

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none; }

input[type="checkbox"], input[type="radio"] {
  display: inline;
  margin-right: 0.375em; }

input[type="file"] {
  margin-bottom: 0.75em;
  padding-bottom: 0.5em;
  width: 100%; }

select {
  width: auto;
  max-width: 100%;
  margin-bottom: 1.5em; }

table {
  border-collapse: collapse;
  margin: 0.75em 0;
  table-layout: fixed;
  width: 100%; }

th {
  border-bottom: 1px solid #b7b7b7;
  font-weight: bold;
  padding: 0.75em 0;
  text-align: left; }

td {
  border-bottom: 1px solid #dddddd;
  padding: 0.75em 0; }

tr, td, th {
  vertical-align: middle; }

ul, ol {
  margin: 0;
  padding: 0;
  list-style-type: none; }
  .rules ul {
    list-style-type: disc;
    margin-bottom: 0.75em;
    padding-left: 1.5em; }
  .rules ol {
    list-style-type: decimal;
    margin-bottom: 0.75em;
    padding-left: 1.5em; }

dl {
  margin-bottom: 0.75em; }
  dl dt {
    font-weight: bold;
    margin-top: 0.75em; }
  dl dd {
    margin: 0; }

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap; }

.players > li {
  position: relative;
  margin-bottom: 1em;
  display: block; }
  .players > li:after {
    content: "";
    display: table;
    clear: both; }
  .players > li input {
    margin: 0 0 0 10px;
    background-color: white;
    border: none;
    display: block;
    width: 98%;
    border-left: 20px solid purple;
    padding-left: 10px; }
  .players > li.purple input {
    border-left-color: purple;
    border-top: 2px solid purple; }
  .players > li.orange input {
    border-left-color: orange;
    border-top: 2px solid orange; }
  .players > li.red input {
    border-left-color: red;
    border-top: 2px solid red; }
  .players > li.blue input {
    border-left-color: blue;
    border-top: 2px solid blue; }
  .players > li.green input {
    border-left-color: green;
    border-top: 2px solid green; }
  .players > li.yellow input {
    border-left-color: yellow;
    border-top: 2px solid yellow; }
.players .colours {
  margin-left: 40px; }
  .players .colours li {
    display: block;
    width: 50px;
    height: 30px;
    margin-right: 4px;
    float: left; }
  .players .colours .red {
    background-color: red; }
  .players .colours .orange {
    background-color: orange; }
  .players .colours .blue {
    background-color: blue; }
  .players .colours .purple {
    background-color: purple; }
  .players .colours .green {
    background-color: green; }
  .players .colours .yellow {
    background-color: yellow; }

.board {
  cursor: pointer;
  position: relative; }
  .board .block {
    position: absolute; }
    .board .block.exploded {
      background-color: white !important; }

game-board {
  display: block; }

.game-select {
  background-color: white;
  color: black;
  width: 100%;
  margin-bottom: 3em; }
  .game-select > div {
    max-width: 68em;
    margin-left: auto;
    margin-right: auto; }
    .game-select > div:after {
      content: "";
      display: table;
      clear: both; }
  .game-select .game-actions a {
    background-image: url(../imgs/dark-icons.png); }
  .game-select .game-actions li:last-child {
    margin-left: 1em; }
  .game-select header {
    color: black !important;
    margin-bottom: 0;
    padding-bottom: 0; }
  .game-select .delete {
    margin: 2em auto;
    text-align: center; }
    .game-select .delete button:last-child {
      margin-left: 2em; }
  .game-select section:first-child {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 23.23176%; }
    .game-select section:first-child:last-child {
      margin-right: 0; }
    .game-select section:first-child ul li {
      margin: 1em 0 0 1em;
      padding-bottom: 3px;
      cursor: pointer; }
      .game-select section:first-child ul li.investigating {
        padding-bottom: 0;
        border-bottom: 3px solid #e4e4e4; }
    .game-select section:first-child label {
      margin-top: 4em; }
      .game-select section:first-child label span {
        font-weight: normal;
        color: #1f1f1f; }
    .game-select section:first-child input[type="submit"] {
      width: 100%; }
  .game-select section:last-child {
    color: black !important;
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 74.41059%; }
    .game-select section:last-child:last-child {
      margin-right: 0; }

a.act-play {
  overflow: hidden;
  display: inline-block;
  height: 30px;
  background: url("../imgs/icons.png") center center no-repeat;
  background-position: -1.5px -2.5px;
  width: 22px; }
  a.act-play:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

a.act-copy {
  overflow: hidden;
  display: inline-block;
  height: 30px;
  background: url("../imgs/icons.png") center center no-repeat;
  background-position: -25.5px -2.5px;
  width: 22px; }
  a.act-copy:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

a.act-edit {
  overflow: hidden;
  display: inline-block;
  height: 30px;
  background: url("../imgs/icons.png") center center no-repeat;
  background-position: -54.5px -2.5px;
  width: 25px; }
  a.act-edit:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

a.act-delete {
  overflow: hidden;
  display: inline-block;
  height: 30px;
  background: url("../imgs/icons.png") center center no-repeat;
  background-position: -84.5px -2.5px;
  width: 23px; }
  a.act-delete:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

a.act-list {
  overflow: hidden;
  display: inline-block;
  height: 30px;
  background: url("../imgs/icons.png") center center no-repeat;
  background-position: -110.5px -2.5px;
  width: 36px; }
  a.act-list:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

a.bomb-active {
  overflow: hidden;
  display: inline-block;
  height: 60px;
  background: url("../imgs/bomb_undo.png") center center no-repeat;
  background-size: auto 60px;
  background-position: -5px, center !important;
  width: 38px; }
  a.bomb-active:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

a.bomb-inactive {
  overflow: hidden;
  display: inline-block;
  height: 60px;
  background: url("../imgs/bomb_undo.png") center center no-repeat;
  background-size: auto 60px;
  background-position: -50.5px, center !important;
  width: 38px;
  opacity: 0.5; }
  a.bomb-inactive:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

a.undo {
  overflow: hidden;
  display: inline-block;
  height: 60px;
  background: url("../imgs/bomb_undo.png") center center no-repeat;
  background-size: auto 60px;
  background-position: -101.5px, center !important;
  width: 43px; }
  a.undo:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }
  a.undo.inactive {
    opacity: 0.5; }

.paint-brush {
  display: block;
  height: 60px;
  width: 60px; }

.paint-brush a {
  overflow: hidden;
  display: inline-block;
  height: 60px;
  background: url("../imgs/paintbrush.png") center center no-repeat;
  background-size: auto 60px;
  background-position: -60px center !important;
  width: 60px; }
  .paint-brush a:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; }

.paint-brush.selected a {
  background-position: 0 center !important; }

.editor {
  max-width: 68em;
  margin-left: auto;
  margin-right: auto; }
  .editor:after {
    content: "";
    display: table;
    clear: both; }
  .editor .export {
    float: right;
    position: relative;
    top: -2em; }
  .editor input[ng-model="edit.game.name"] {
    margin-top: -0.3em; }
  .editor .help-block {
    margin-bottom: 1em; }
  .editor .board-setup {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 40.29137%; }
    .editor .board-setup:last-child {
      margin-right: 0; }
  .editor .meta {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 14.70196%; }
    .editor .meta:last-child {
      margin-right: 0; }
    .editor .meta ul li {
      float: right !important;
      clear: both; }
      .editor .meta ul li:first-child {
        width: 50px; }
  .editor section:last-child {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 40.29137%; }
    .editor section:last-child:last-child {
      margin-right: 0; }

.game-def {
  color: black;
  border-radius: 5px;
  padding: 0.2em; }

.number-picker .mark {
  width: 25px;
  height: 20px;
  margin: 5px 2px;
  border-left: 0.1em solid black;
  border-top: 0.1em solid #e4e4e4;
  display: inline-block; }
  .number-picker .mark.active {
    background-color: #e4e4e4; }

.modal label {
  cursor: pointer;
  margin-bottom: 0; }
.modal .btn {
  border: 1px solid #b9b9b9;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 0 white;
  color: #333333;
  display: inline-block;
  font-size: inherit;
  font-weight: bold;
  background-color: #dddddd;
  background-image: -webkit-linear-gradient(#dddddd, #c1c1c1);
  background-image: linear-gradient(#dddddd, #c1c1c1);
  padding: 7px 18px;
  text-decoration: none;
  text-shadow: 0 1px 0 #e7e7e7;
  background-clip: padding-box;
  border: 1px solid #c0b3b3;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 0 white;
  color: #333333;
  display: inline-block;
  font-size: inherit;
  font-weight: bold;
  background-color: #dddddd;
  background-image: -webkit-linear-gradient(#dddddd, #c7bbbb);
  background-image: linear-gradient(#dddddd, #c7bbbb);
  padding: 7px 18px;
  text-decoration: none;
  text-shadow: 0 1px 0 #eae5e5;
  background-clip: padding-box;
  font-size: 1em;
  margin-bottom: 1.5em; }
  .modal .btn:hover:not(:disabled) {
    box-shadow: inset 0 1px 0 0 #eaeaea;
    cursor: pointer;
    background-color: #d0d0d0;
    background-image: -webkit-linear-gradient(#d0d0d0, #b9b9b9);
    background-image: linear-gradient(#d0d0d0, #b9b9b9); }
  .modal .btn:active:not(:disabled), .modal .btn:focus:not(:disabled) {
    border: 1px solid #b9b9b9;
    box-shadow: inset 0 0 8px 4px #b2b2b2, inset 0 0 8px 4px #b2b2b2; }
  .modal .btn:hover:not(:disabled) {
    box-shadow: inset 0 1px 0 0 #eaeaea;
    cursor: pointer;
    background-color: #d0d0d0;
    background-image: -webkit-linear-gradient(#d0d0d0, #bfb4b4);
    background-image: linear-gradient(#d0d0d0, #bfb4b4); }
  .modal .btn:active:not(:disabled), .modal .btn:focus:not(:disabled) {
    border: 1px solid #c0b3b3;
    box-shadow: inset 0 0 8px 4px #b7acac, inset 0 0 8px 4px #b7acac; }
  .modal .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed; }
.modal .modal-open {
  overflow: hidden; }
.modal .modal-window {
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  text-align: left;
  visibility: hidden;
  z-index: 99999999999; }
  .modal .modal-window .modal-bg {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    cursor: pointer; }
.modal .modal-close {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  bottom: auto;
  left: auto;
  height: 1.5em;
  width: 1.5em;
  cursor: pointer;
  background: #1f1f1f; }
  .modal .modal-close:after, .modal .modal-close:before {
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 0;
    left: 50%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    height: 1.5em;
    width: 0.15em;
    background: #dddddd;
    content: '';
    display: block;
    margin: -3px 0 0 -1px; }
  .modal .modal-close:hover:after, .modal .modal-close:hover:before {
    background: #c4c4c4; }
  .modal .modal-close:before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg); }
.modal .modal-inner {
  color: #dddddd;
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  border-radius: 0.1875em;
  background: #1f1f1f;
  margin: auto;
  max-height: 95%;
  position: relative;
  overflow: auto;
  width: 95%;
  padding: 1.5em;
  margin-top: .6em; }
  @media screen and (min-width: 40em) {
    .modal .modal-inner {
      padding: 3em;
      width: 60%;
      max-height: 60%;
      margin-top: 10em; } }
  @media screen and (min-width: 53.75em) {
    .modal .modal-inner {
      width: 50%;
      margin-top: 10em; } }
  .modal .modal-inner p {
    font-size: 1em;
    max-width: 100% !important;
    padding: 0;
    text-align: left; }
    .modal .modal-inner p.intro {
      color: #477dca;
      line-height: 1.6em; }
    .modal .modal-inner p.body {
      color: #dddddd;
      line-height: 1.45em; }
      @media screen and (min-width: 40em) {
        .modal .modal-inner p.body {
          -webkit-columns: 2 8em;
          -moz-columns: 2 8em;
          columns: 2 8em; } }
  .modal .modal-inner a.cta {
    color: white;
    display: inline-block;
    margin-right: .5em;
    margin-top: 1em; }
    .modal .modal-inner a.cta:last-child {
      padding: 0 2em; }
.modal .modal-window {
  opacity: 1;
  visibility: visible; }
.modal .modal-window .modal-inner {
  top: 0; }

body {
  margin: 0;
  padding: 20px;
  color: #e4e4e4;
  background-color: #1f1f1f; }
  body > .game-actions {
    text-align: center;
    padding-bottom: 0.3em; }

a {
  cursor: pointer; }

a.help {
  color: #e4e4e4;
  background-color: #1f1f1f;
  border-radius: 3em;
  display: inline-block;
  text-align: center;
  font-size: 90%;
  width: 1.5em;
  float: right;
  opacity: 0.8; }
  a.help.invert {
    color: #1f1f1f;
    background-color: #e4e4e4; }

header {
  color: #e4e4e4;
  margin: .3em 0 1em 0; }
  header ul, header li {
    display: inline; }
  header a {
    vertical-align: middle; }

.game {
  max-width: 68em;
  margin-left: auto;
  margin-right: auto; }
  .game:after {
    content: "";
    display: table;
    clear: both; }
  .game header {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 100%; }
    .game header:last-child {
      margin-right: 0; }
  .game game-board {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 31.76157%; }
    .game game-board:last-child {
      margin-right: 0; }
  .game section:last-child {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 40.29137%; }
    .game section:last-child:last-child {
      margin-right: 0; }

section.meta {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 14.70196%;
  color: #e4e4e4; }
  section.meta:last-child {
    margin-right: 0; }
  section.meta ul:first-child {
    display: block; }
    section.meta ul:first-child li {
      height: 60px;
      float: left; }
    section.meta ul:first-child li:last-child {
      float: right; }
  section.meta li {
    display: inline;
    margin-left: 0.3em; }
  section.meta .history {
    clear: both; }
    section.meta .history li {
      display: block; }
      section.meta .history li div {
        display: inline-block;
        width: 10px;
        height: 10px; }

footer {
  font-size: 70%;
  text-align: center;
  opacity: 0.7; }
