@import url("https://fonts.googleapis.com/css?family=Noto+Sans:400,700");
.squares:nth-child(0) {
  height: 57px;
  width: 57px; }
  @media (min-width: 768px) {
    .squares:nth-child(0) {
      height: 57px;
      width: 57px; } }

.squares:nth-child(1) {
  height: 54px;
  width: 54px; }
  @media (min-width: 768px) {
    .squares:nth-child(1) {
      height: 54px;
      width: 54px; } }

.squares:nth-child(2) {
  height: 51px;
  width: 51px; }
  @media (min-width: 768px) {
    .squares:nth-child(2) {
      height: 51px;
      width: 51px; } }

.squares:nth-child(3) {
  height: 48px;
  width: 48px; }
  @media (min-width: 768px) {
    .squares:nth-child(3) {
      height: 48px;
      width: 48px; } }

.squares:nth-child(4) {
  height: 45px;
  width: 45px; }
  @media (min-width: 768px) {
    .squares:nth-child(4) {
      height: 45px;
      width: 45px; } }

.squares:nth-child(5) {
  height: 42px;
  width: 42px; }
  @media (min-width: 768px) {
    .squares:nth-child(5) {
      height: 42px;
      width: 42px; } }

.squares:nth-child(6) {
  height: 39px;
  width: 39px; }
  @media (min-width: 768px) {
    .squares:nth-child(6) {
      height: 39px;
      width: 39px; } }

.squares:nth-child(7) {
  height: 36px;
  width: 36px; }
  @media (min-width: 768px) {
    .squares:nth-child(7) {
      height: 36px;
      width: 36px; } }

.squares:nth-child(8) {
  height: 33px;
  width: 33px; }
  @media (min-width: 768px) {
    .squares:nth-child(8) {
      height: 33px;
      width: 33px; } }

.squares:nth-child(9) {
  height: 30px;
  width: 30px; }
  @media (min-width: 768px) {
    .squares:nth-child(9) {
      height: 30px;
      width: 30px; } }

.squares:nth-child(10) {
  height: 27px;
  width: 27px; }
  @media (min-width: 768px) {
    .squares:nth-child(10) {
      height: 27px;
      width: 27px; } }

.squares:nth-child(11) {
  height: 24px;
  width: 24px; }
  @media (min-width: 768px) {
    .squares:nth-child(11) {
      height: 24px;
      width: 24px; } }

.squares:nth-child(12) {
  height: 21px;
  width: 21px; }
  @media (min-width: 768px) {
    .squares:nth-child(12) {
      height: 21px;
      width: 21px; } }

.squares:nth-child(13) {
  height: 18px;
  width: 18px; }
  @media (min-width: 768px) {
    .squares:nth-child(13) {
      height: 18px;
      width: 18px; } }

.squares:nth-child(14) {
  height: 15px;
  width: 15px; }
  @media (min-width: 768px) {
    .squares:nth-child(14) {
      height: 15px;
      width: 15px; } }

.squares:nth-child(15) {
  height: 12px;
  width: 12px; }
  @media (min-width: 768px) {
    .squares:nth-child(15) {
      height: 12px;
      width: 12px; } }

.squares:nth-child(16) {
  height: 9px;
  width: 9px; }
  @media (min-width: 768px) {
    .squares:nth-child(16) {
      height: 9px;
      width: 9px; } }

.squares:nth-child(17) {
  height: 6px;
  width: 6px; }
  @media (min-width: 768px) {
    .squares:nth-child(17) {
      height: 6px;
      width: 6px; } }

.squares:nth-child(18) {
  height: 3px;
  width: 3px; }
  @media (min-width: 768px) {
    .squares:nth-child(18) {
      height: 3px;
      width: 3px; } }

.grid[data-row="1"][data-col="1"]:before {
  content: "A"; }

.grid[data-col="1"][data-row="1"]:before {
  content: "A"; }

.grid[data-row="1"][data-col="2"]:before {
  content: "B"; }

.grid[data-col="1"][data-row="2"]:before {
  content: "B"; }

.grid[data-row="1"][data-col="3"]:before {
  content: "C"; }

.grid[data-col="1"][data-row="3"]:before {
  content: "C"; }

.grid[data-row="1"][data-col="4"]:before {
  content: "D"; }

.grid[data-col="1"][data-row="4"]:before {
  content: "D"; }

.grid[data-row="1"][data-col="5"]:before {
  content: "E"; }

.grid[data-col="1"][data-row="5"]:before {
  content: "E"; }

.grid[data-row="1"][data-col="6"]:before {
  content: "F"; }

.grid[data-col="1"][data-row="6"]:before {
  content: "F"; }

.grid[data-row="1"][data-col="7"]:before {
  content: "G"; }

.grid[data-col="1"][data-row="7"]:before {
  content: "G"; }

.grid[data-row="1"][data-col="8"]:before {
  content: "H"; }

.grid[data-col="1"][data-row="8"]:before {
  content: "H"; }

.grid[data-row="1"][data-col="9"]:before {
  content: "I"; }

.grid[data-col="1"][data-row="9"]:before {
  content: "I"; }

.grid[data-row="1"][data-col="10"]:before {
  content: "J"; }

.grid[data-col="1"][data-row="10"]:before {
  content: "J"; }

* {
  margin: 0;
  padding: 0; }

html, body, #sidebar, .container {
  height: 100%; }

body {
  font-family: 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-size: 14px; }
  body p {
    font-size: 12px; }

.hide-xs {
  display: none; }
  @media (min-width: 768px) {
    .hide-xs {
      display: block !important; } }

@media (min-width: 768px) {
  .show-xs {
    display: none; } }

.container {
  clear: both; }

.grid {
  float: left;
  position: relative;
  overflow: hidden;
  height: 54px;
  width: 54px; }

.squares {
  position: absolute;
  border: 3px solid transparent;
  width: 0;
  height: 0; }
  .diagonal .squares:last-child {
    top: -3px;
    left: -3px; }
  .centerInwards .squares:last-child, .centerOutwards .squares:last-child {
    display: none; }

/*.colour-group .input-group {
  &:nth-child(n + 5) {
    display: none;
  }
}*/
.centerInwards .top.left .squares {
  top: 0;
  left: 0; }
.centerInwards .top.right .squares {
  top: 0;
  right: 0; }
.centerInwards .bottom.left .squares {
  bottom: 0;
  left: 0; }
.centerInwards .bottom.right .squares {
  bottom: 0;
  right: 0; }

.centerOutwards .top.left .squares {
  bottom: 0;
  right: 0; }
.centerOutwards .top.right .squares {
  bottom: 0;
  left: 0; }
.centerOutwards .bottom.left .squares {
  top: 0;
  right: 0; }
.centerOutwards .bottom.right .squares {
  top: 0;
  left: 0; }

#sidebar, #content {
  width: 100%;
  float: left;
  height: 100%; }

#content {
  overflow: scroll;
  height: calc(100% - 195px); }
  @media (min-width: 768px) {
    #content {
      width: calc(100% - 250px);
      height: 100%; } }

#topbar {
  width: 100%;
  background: #F4F4F4;
  padding: 5px 4px;
  box-sizing: border-box; }
  @media (min-width: 768px) {
    #topbar {
      padding: 5px 20px; } }
  #topbar table.colour-group {
    margin: 0 auto; }
    @media (min-width: 768px) {
      #topbar table.colour-group {
        margin: 0; } }
  #topbar table td {
    vertical-align: middle; }
    #topbar table td:first-child {
      width: 200px;
      padding-right: 15px; }

#sidebar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: auto;
  background: #F4F4F4;
  padding: 30px 25px;
  box-sizing: border-box;
  z-index: 1; }
  #sidebar table {
    width: 100%; }
    #sidebar table td {
      width: 1%; }
  @media (min-width: 768px) {
    #sidebar {
      width: 250px;
      position: relative; }
      #sidebar table td {
        width: 100%;
        display: block; } }

label {
  font-weight: 600; }

.input-group {
  margin-bottom: 10px; }
  .input-group label {
    display: block;
    margin-bottom: 3px; }
  .input-group input, .input-group select {
    border: 1px solid #CCC;
    height: 26px;
    /*width: 200px;*/
    width: 100%;
    border-radius: 4px; }
  .input-group input {
    padding: 0 10px;
    box-sizing: border-box; }
    .input-group input.input-colour {
      height: 27px;
      width: 27px;
      text-indent: -9999px; }
      @media (min-width: 768px) {
        .input-group input.input-colour {
          height: 30px;
          width: 30px; } }
  .input-group.colour-picker {
    width: 27px;
    float: left;
    padding: 5px 3.5px;
    position: relative;
    border: 1px dashed transparent;
    margin: 0; }
    @media (min-width: 768px) {
      .input-group.colour-picker {
        width: 30px;
        padding: 5px; } }
    .input-group.colour-picker.sortable-ghost {
      opacity: 0.5;
      border: 1px dashed #CCC; }
    .input-group.colour-picker label {
      text-align: center; }
    .input-group.colour-picker.disabled:after {
      content: '';
      width: 100%;
      height: 100%;
      display: block;
      background: #F4F4F4;
      top: 0;
      left: 0;
      position: absolute; }
  .input-group .chosen-print {
    border-radius: 4px;
    border: 15px solid transparent;
    display: none; }

.colour-draggable:before, .colour-draggable:after {
  content: '';
  display: block;
  clear: both; }

#generated-content {
  transform: scale(0.8); }
  @media (min-width: 768px) {
    #generated-content {
      transform: none; } }

#generated {
  margin: 10px 0;
  border: 1px solid #EEE; }
  @media (min-width: 768px) {
    #generated {
      margin: 60px 0 60px 70px; } }
  #generated:after {
    content: '';
    display: block;
    clear: both; }
  #generated .grid {
    /*&:before {
      content: '';
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      border: 1px solid #CCC;
      z-index: 1;
      top: 0;
      left: 0;
    }*/ }
    #generated .grid[data-row="1"]:before, #generated .grid[data-col="1"]:before {
      position: absolute; }
    #generated .grid[data-row="1"]:before {
      top: -30px;
      left: 50%;
      margin-left: -8px; }
    #generated .grid[data-col="1"]:before {
      left: -30px;
      top: 50%;
      margin-top: -8px; }
    #generated .grid[data-row="1"][data-col="1"]:before {
      margin-left: 0; }
    #generated .grid[data-row="1"][data-col="1"]:after {
      top: -30px;
      left: 50%;
      margin-left: -8px;
      content: 'A';
      position: absolute; }

/*button {
  border-radius: 20px;
  border: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  display: block;
  background-color: teal;
  height: 40px;
  width: 50%;
  margin: 0 auto;
  cursor: pointer;
  color: #FFF;
  font-weight: bold;
  text-transform: uppercase;
}*/
.hidden {
  display: none; }

.modal-container {
  text-align: center;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  background: #FFF;
  position: absolute;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 5px;
  left: 50%;
  width: 300px;
  margin-left: -150px;
  margin-top: -205px;
  top: 50%; }
  @media (min-width: 768px) {
    .modal-container {
      width: 600px;
      margin-left: -300px;
      margin-top: -99px; } }
  .modal-container table {
    margin-top: 30px;
    width: 100%; }
    .modal-container table td {
      display: block;
      width: 100%;
      padding-bottom: 20px; }
      @media (min-width: 768px) {
        .modal-container table td {
          display: table-cell;
          width: 1%; } }
      .modal-container table td p {
        font-size: 10px; }

button.close {
  border: none;
  background: transparent;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  width: 20px;
  height: 20px; }
  button.close span {
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: #000;
    display: block;
    position: absolute;
    top: 8px;
    left: 0; }
    button.close span:nth-child(1) {
      transform: rotate(45deg); }
    button.close span:nth-child(2) {
      transform: rotate(-45deg); }

.modal-donate {
  position: absolute;
  overflow: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5; }
  .modal-donate img {
    width: 100px; }

.print-content {
  display: none; }

table.colour-letters {
  position: absolute;
  top: 90px; }
  table.colour-letters td {
    display: none;
    width: 54px;
    height: 54px;
    text-align: center;
    vertical-align: middle; }
  table.colour-letters.horizontal {
    top: -45px; }
    @media (min-width: 768px) {
      table.colour-letters.horizontal {
        left: 71px; } }
  table.colour-letters.vertical {
    top: 0;
    left: -50px; }
    @media (min-width: 768px) {
      table.colour-letters.vertical {
        left: 20px; } }

#generated-content {
  position: relative; }

@media print {
  #sidebar {
    display: none; }

  #topbar .colour-group td:first-child {
    width: 50px; }
    #topbar .colour-group td:first-child p {
      display: none; }

  .input-colour {
    display: none; }

  .chosen-print {
    display: block !important; }

  table.colour-letters.horizontal {
    left: 70px; }
  table.colour-letters.vertical {
    left: 17px; }

  .print-content {
    display: block;
    margin-top: 30px;
    margin-bottom: 20px; } }
#modal-donate {
  display: none; }
