body {
  font-family: arial, helvetica, sans-serif;
  color: #000000;
  background-color: #f8f8f8;
  margin: 0px;
}

body.dark-mode {
  color: #f8f8f8;
  background-color: #222222;
}

div.content.dark-mode {
  color: #f8f8f8;
  background-color: #222222;
}

div#overlay {
  /*  background-color: rgba(0.97, 0.97, 0.97, 0.5);*/
}

div#container {
  /*  margin: auto;*/
  padding: 3px;
  border: solid 1px #f8f8f8;
}

a:link, a:visited {
  text-decoration: none;
  color: blue;
}

a.blacklink {
  color: black;
}

a:hover {
  color: #ffffff;
  background: #0000ee;
}

/*
   header stuff
*/
div#page_title {
  background: #005689;
}

a.headerlink {
  color: white;
  height: 36px;
}

div.menu_header {
  padding-top: 4px;
  height: 24px;
  color: white;
  font-weight: 700;
}

div.menu_header:hover {
  cursor: pointer;
  text-decoration: underline;
  background: #005689;
}

li.menu_item {
  z-index: 5000;
  padding-left: 8px;
  border: solid 1px lightgrey;
  border-top: none;
}

a.headerlink:hover {
  text-decoration: underline;
  background: #005689;
}

a.twitter_link:hover {
  color: blue;
  background: white;
  font-weight: bold;
}

a.blacklink:hover {
  color: blue;
  background: white;
}

a.image_link {
  background: white;
}

a.account_image_link {
  background: #e1effd;
}

td.cell_large {
  border: solid black 1px;
  background: white;
  width: 72px;
  height: 72px;
  /*  font-size: medium;*/
  font-size: 24px;
  text-align: left;
}

div.guesses_large {
  width: 72px;
  height: 32px;
  margin-top: 32px;
  font-size: small;
}

td.cell_medium {
  border: solid black 1px;
  background: white;
  width: 54px;
  height: 54px;
  /*font-size: medium;*/
  font-size: 18px;
  text-align: left;
}

div.guesses_medium {
  width: 54px;
  height: 24px;
  margin-top: 22px;
  font-size: x-small;
}

td.cell_small {
  border: solid black 1px;
  background: white;
  width: 32px;
  height: 32px;
  /*  font-size: x-small;*/
  font-size: 12px;
  text-align: left;
}

div.guesses_small {
  width: 32px;
  height: 13px;
  margin-top: 12px;
  font-size: xx-small;
}

span.cell_size {
  border: solid black 1px;
  padding: 4px;
  cursor: pointer;
}

span.font_medium {
  font-size: medium;
}

span.font_small {
  font-size: small;
}

div#bonus_announcement, div#timed_announcement {
  border: solid 1px black;
  background: #ffd789;
  text-align: center;
  width: 800px;
  padding: 8px;
  margin: 8px;
}

span#languages {
  font-size: 75%;
  /*  border: solid 1px #c0c0c0;*/
  /*  padding: 4px;*/
  display: block;
  /*  margin-top: 4px;*/
  background: #f8f8f8;
  /*  width: 90%;*/
  text-align: left;
}

.nobr {
  white-space: nowrap;
}

.coordinates {
  color: #238c47;
  display: none;
}

.coordinate_cell {
  /*  background: $body_background;*/
  display: none;
}

#chooser {
  margin: 0px;
  padding: 0px;
  -webkit-text-size-adjust: none;
}

#chooser-button-blocker {
  position: absolute;
  top: 311px;
  left: 0px;
  height: 38px;
  width: 300px;
}

#chooser-grid-div {
  position: absolute;
  top: 0px;
  opacity: 0.8;
  background-color: #000f37;
  border: 2px solid white;
  -webkit-border-radius: 10px;
  padding: 5px;
  filter: alpha(opacity=80);
}

#chooser-grid {
  border: 0px none black;
  padding: 0px;
  margin: 0px auto;
  text-align: center;
}

#chooser-grid > tr > td {
  padding: 2px;
}

div.alert-button {
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 8px 0px;
  margin: 0px;
  border: 1px solid black;
  -webkit-border-radius: 5px;
  background-color: #37456c;
  opacity: 1;
  cursor: pointer;
}

div.alert-button:hover {
  background-color: #505e82;
}

div.alert-button:active {
  background-color: #233158;
}

div#dimensions_table td {
  /*  background: #fff1d5;*/
  /*  background: #ffe8b7;*/
  border-bottom: solid 1px #808080;
  border-right: solid 1px #808080; /*#ffe8b7;*/
}

div.hardest_header {
  border: solid 2px #ff8c00;
  text-align: center;
  padding: 4px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

div.icon_holder {
  float: left;
  padding-top: 2px;
  padding-left: 4px;
  padding-right: 4px;
  position: relative;
}

div.icon_holder_no_padding {
  float: left;
}

#puzzle0, #puzzle1, #solved, #explanation {
  -moz-box-shadow: 10px 10px 5px #888888;
  -webkit-box-shadow: 10px 10px 5px #888888;
  box-shadow: 10px 10px 5px #888888;
}

.promo_banner {
  color: white;
  background: #a2c563;
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: left;
  border-radius: 4px;
  font-weight: bold;
  margin: 4px;
  margin-bottom: 8px;
  border-top: solid 1px #d0d0d0;
  border-bottom: solid 1px #d0d0d0;
}

.twitter-share-button {
  width: 130px !important;
}

#___plusone_0 {
  width: 80px !important;
}

span.f14 {
  font-size: 14px;
}

#header_table td {
  padding: 0px;
  margin: 0px;
  vertical-align: top;
}

.draggable {
  cursor: move;
  /*  border: solid 2px orange;*/
}

/*
   for account menu
*/
/*body {font-family:arial; font-size:11px;}*/
.clear {
  clear: both;
}

/* remove the list style */
.nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* make the LI display inline */
/* its position relative so that position absolute */
/* can be used in submenu */
.nav li {
  float: left;
  display: block;
  width: 220px;
  /*  background: #ccc; */
  position: relative;
  z-index: 5000;
  margin: 0 1px;
}

/* this is the parent menu */
.nav li a {
  display: block;
  padding: 8px 5px 0 5px;
  font-weight: 700;
  height: 23px;
  text-decoration: none;
  color: #fff;
  /*  text-align: center; 
    color: #333;*/
}

/*.nav li a:hover
{
  text-decoration: underline;
}*/
/* submenu, it's hidden by default */
.nav ul {
  position: absolute;
  left: 0;
  display: none;
  margin: 0 0 0 -1px;
  padding: 0;
  list-style: none;
}

#puzzle_menu ul {
  -moz-box-shadow: 10px 10px 5px #888888;
  -webkit-box-shadow: 10px 10px 5px #888888;
  box-shadow: 10px 10px 5px #888888;
}

.nav ul li {
  width: 220px;
  float: left;
  background: white;
  /*  border-bottom: 1px solid #dfdfdf;*/
}

.nav ul li:hover {
  font-weight: 700;
  cursor: pointer;
  background-color: #fff08b;
}

#bottom_panel .nav ul li {
  width: 300px;
  font-size: 75%;
}

/* display block will make the link fill the whole area of LI */
.nav ul a {
  display: block;
  height: 15px;
  padding: 8px 5px;
  color: black;
  background: #f6f6f6;
}

.nav ul li a:hover {
  text-decoration: underline;
}

#unsolved_extras_list a:hover {
  text-decoration: underline;
}

#bottom_panel .nav ul a {
  /*  background: #dfdfdf;*/
}

div#button_bar, div#bottom_panel, div#puzzle_info_bar, div#puzzle_bar, div#iphone_button_bar {
  margin: 0px;
  height: 36px;
  line-height: 36px;
  vertical-align: middle;
  background: #008956;
}

div#iphone_button_bar {
  background: #005689;
}

div#puzzle_info_bar, div#puzzle_bar {
  background: none;
}

div#bottom_panel {
  /*  background: #9f9f9f;*/
  background: none;
  margin-bottom: 16px;
}

div#puzzle_bar {
  /*    background: #f8f8f8; */
}

a.button, a.blackbutton {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding-left: 8px;
  padding-right: 8px;
}

a.blackbutton {
  color: black;
}

a.button:hover, a.blackbutton:hover {
  text-decoration: underline;
  background: none;
  cursor: pointer;
}

a.button:focus, a.blackbutton:focus {
  outline: 0;
}

span#datepicker:hover {
  text-decoration: underline;
}

.new_chooser {
  display: none;
}

div#new_day_wait {
  width: 100%;
  border: solid 5px #d46a6a;
  border-radius: 15px;
  box-sizing: border-box;
  text-align: center;
  padding: 16px;
  font-size: 150%;
  margin-top: 16px;
  margin-bottom: 16px;
  color: black;
}

.bottom_button {
  height: 42px;
  text-align: center;
  background: #ECECEC;
  border-radius: 10px;
  padding: 0px 0px;
  display: block;
  font-family: arial;
  font-weight: bold;
  color: #7f7f7f;
  text-decoration: none;
  text-shadow: 0px 1px 0px #fff;
  border: 1px solid #a7a7a7;
  width: 60px;
  margin: 0px auto;
  margin-top: 0px;
  box-shadow: 0px 2px 1px white inset, 0px -2px 8px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
  -webkit-transition: box-shadow 0.5s;
}

.bottom_placeholder {
  height: 42px;
  width: 60px;
  padding: 0px 0px;
}

.bottom_placeholder_iphone {
  height: 40px;
  width: 40px;
  padding: 0px 0px;
}

.bottom_button:hover {
  box-shadow: 0px 2px 1px white inset, 0px -2px 20px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
}

.bottom_button:active {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5) inset, 0px -2px 20px white, 0px 1px 5px rgba(0, 0, 0, 0.1), 0px 2px 10px rgba(0, 0, 0, 0.1);
  background: -webkit-linear-gradient(top, #d1d1d1 0%, #ECECEC 100%);
}

div#puzzle_info_bar .dark-mode {
  background-color: #222222 !important;
  color: white !important;
}

div#inner_puzzle_info_bar .dark-mode {
  background-color: #222222 !important;
  color: white !important;
}

div#puzzle_info_bar div#inner_puzzle_info_bar {
  /*  background-color: #f0f0f0;*/
}

table#puzzles .dark-mode {
  color: white !important;
}

td.cell_large.dark-mode {
  border: solid 1px white;
}

td.cell_medium.dark-mode {
  border: solid 1px white;
}

td.cell_small.dark-mode {
  border: solid 1px white;
}

#puzzle0.dark-mode, #puzzle1.dark-mode, #solved.dark-mode, #explanation.dark-mode {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.points_count {
  font-weight: bold;
  font-size: 150%;
  color: darkgreen;
}
