/* Body Style */
body {
  font-family: "Arimo";
  color: #333333;
  font-size: 12px; }

/* Shared Styles */
.buttons,
.header {
  display: block;
  text-align: center; }

/* Header element */
.header {
  font-family: "Arimo";
  font-size: 32px;
  font-weight: 100;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .header {
      font-size: 72px;
      margin-top: 64px;
      margin-bottom: 64px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .header {
      font-size: 72px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .header {
      font-size: 32px;
      margin: 0 auto;
      margin-bottom: 16px; } }

/* Main Buttons (Start game & Solve game) */
.buttons button {
  border: 1px solid #5c85c2;
  border-radius: 1px;
  cursor: pointer;
  font-family: "Arimo";
  font-weight: 100;
  font-size: 12px;
  padding: 8px;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .buttons button {
      font-size: 48px;
      padding: 32px 16px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .buttons button {
      font-size: 32px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .buttons button {
      font-size: 16px; } }

button.start {
  background-color: #5c85c2;
  color: white; }

button.solve {
  background-color: white;
  color: #5c85c2; }

.buttons em {
  display: inline-block;
  font-style: normal;
  padding: 4px;
  cursor: pointer;
  color: #5c85c2; }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .buttons em {
      padding: 8px; } }
  .buttons em.selected {
    background-color: #e9e9e9;width: 85%; }
  .buttons em.unselected {
    background-color: white; }

.difficulty-levels {
  border-radius: 1px;
  border: 1px solid #5c85c2;
  display: block;
  width: 130px;
  margin: 0 auto;
  margin-top: 16px;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .difficulty-levels {
      margin-top: 32px;
      font-size: 48px;
      display: inline-block;} }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .difficulty-levels {
      font-size: 32px;
      width: 310px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .difficulty-levels {
      font-size: 16px;
      margin-top: 16px;
      width: 175px; } }

/* Board styles */
.board {
  background-color: #e9e9e9;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  display: table;
  margin: 32px auto;
  text-align: center;
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .board {
      margin: 8px auto; } }

/* Board square row (row of n squares) */
.board .square-row {
  display: block;
  width: auto; }

/* Board square inner row (row of n cells within a square) */
.board .square-inner-row {
  display: block;
  width: auto; }

.board span {
  border: 2px solid #5c85c2;
  display: inline-block; }

.board span label {
  display: inline-block;
  height: 32px;
  width: 32px;
  padding: 4px;
  vertical-align: text-bottom;
  border: 1px solid #5c85c2;
  line-height: 32px;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .board span label {
      font-size: 48px;
      height: 67px;
      padding: 12px;
      width: 67px;
      line-height: 72px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .board span label {
      font-size: 32px;
      height: 56px;
      padding: 8px;
      width: 56px;
      line-height: 56px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .board span label {
      font-size: 16px;
      height: 32px;
      padding: 8px;
      width: 32px;
      line-height: 32px; } }

.board span label.discovered-auto {
  background-color: rgba(0, 0, 0, 0.07); }

.currently-updating {
  background-color: rgba(143, 145, 148, 0.79);
  color: white; }

.discovered-auto {
  color: #8d8686;
  font-weight: bold; }

.invalid-cell {
  background-color: #d17676;
  color: white; }

/* Number Picker and Game Message element styles */
.number-picker,
.game-message {
  border: none;
  border-radius: 1px;
  padding: 8px;
  position: fixed;
  left: 26%;
  right: 26%;
  text-align: center;
  /* Smart Phone styles */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .number-picker,
    .game-message {
      left: 0;
      right: 0;
      top: 0; } }

.game-message {
  top: 32px;
  background-color: #ec6475;
  color: white;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .game-message {
      font-size: 48px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .game-message {
      font-size: 32px;
      left: 16%;
      right: 16%;
      top: 16px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .game-message {
      font-size: 16px;
      left: 26%;
      right: 26%;
      top: 2px; } }
  .game-message span {
    cursor: pointer;
    margin-left: 8px;
    opacity: 0.7;
    text-decoration: underline; }

.number-picker {
  background-color: #5c85c2;
  top: 16px;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .number-picker {
      top: 16px; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .number-picker {
      font-size: 32px;
      left: 10%;
      right: 10%; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .number-picker {
      font-size: 16px;
      left: 16%;
      right: 16%;
      top: 16px; } }
  .number-picker button {
    background-color: white;
    border: 1px solid DCDCDC;
    border-radius: 1px;
    cursor: pointer;
    color: #464444;
    display: inline-block;
    font-family: "Arimo";
    font-weight: 300;
    padding: 8px 16px;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    /* Smart Phone styles */
    /* Tablet styles */
    /* Tablet styles (landscape) */ }
    @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
      .number-picker button {
        font-size: 52px; } }
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
      .number-picker button {
        font-size: 32px; } }
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
      .number-picker button {
        font-size: 16px; } }
  .number-picker button:hover {
    opacity: 0.9; }

/* Solving Status message element */
.solving-status {
  background-color: #5c85c2;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  color: white;
  display: none;
  padding: 32px;
  position: fixed;
  left: 40%;
  right: 40%;
  top: 25%;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Tablet styles (landscape) */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .solving-status {
      font-size: 56px;
      left: 10%;
      padding: 48px;
      right: 10%; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .solving-status {
      font-size: 32px;
      left: 25%;
      right: 25%;
      text-align: center; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .solving-status {
      font-size: 16px;
      left: 15%;
      right: 15%;
      text-align: center; } }
  .solving-status span {
    display: block;
    background-color: white;
    border-radius: 1px;
    color: #5c85c2;
    cursor: pointer;
    margin: 0 auto;
    margin-top: 32px;
    padding: 8px 4px;
    text-align: center;
    width: 80%; }

.solving-status.invisible {
  top: -80px; }

/* Welcome message */
.welcome {
  display: none;
  position: fixed;
  background-color: #bcc363;
  top: 20%;
  left: 35%;
  right: 35%;
  padding: 32px;
  text-align: center;
  border-radius: 1px;
  box-shadow: rgba(0, 0, 0, 0.1);
  font-weight: 100;
  /* Smart Phone styles */
  /* Tablet styles */
  /* Smart Phone styles */ }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .welcome {
      bottom: 5%;
      top: 5%;
      left: 5%;
      right: 5%;
      border: 5px solid #777474; } }
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .welcome {
      top: 20%;
      left: 20%;
      right: 20%;
      border: 2px solid #777474; } }
  .welcome h1,
  .welcome h2,
  .welcome button {
    font-weight: 100;
    color: white; }
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    .welcome {
      font-size: 32px; } }
  .welcome h1 {
    font-size: 32px;
    /* Smart Phone styles */ }
    @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
      .welcome h1 {
        font-size: 128px;
        padding: 0;
        margin: 0;
        margin-top: 256px; } }
  .welcome button {
    font-weight: 300;
    display: inline;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    background-color: white;
    border: 1px solid white;
    padding: 16px 32px;
    border-radius: 1px;
    color: #bcc363;
    font-family: "Roboto Slab", sans-serif;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
    /* Smart Phone styles */ }
    @media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
      .welcome button {
        padding: 32px 64px;
        font-size: 64px;
        margin-top: 32px; } }
  .welcome button:hover {
    background-color: #bcc363;
    color: white; }
  .welcome a,
  .welcome a:visited,
  .welcome a:hover {
    color: white; }