body {
  padding: 0 40px;
  background-color: #fff;
  font-family: verdana, arial, sans-serif;
  width: 460px;
  margin: auto;
  font-size: .9em;
}

#options {
  border-collapse: collapse;
  width: 100%;
}

#options td {
  width: 50%;
  vertical-align: top;
  font-size: .8em;
  padding: 5px;
}

#options td:first-child {
  border-right: 2px solid black;
}

#options tr:first-child td {
  border-top: 2px solid black;
}

#options tr:last-child td {
  border-bottom: 2px solid black;
}

#board {
  border-collapse: collapse;
  table-layout: fixed;
  margin: 20px auto;
}

#board td.num {
  border-left: 2px solid #000;
  border-top: 2px solid #000;
  text-align: center;
  font-family: georgia, 'times new roman', serif;
  padding: 0;
  vertical-align: top;
  text-align: center;
}

#board td.num div.squarecontent {
  position: relative;
}

#board td.num div.pencil,
#board td.num div.mypencil,
#board td.num div.pen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#board td.num div.pencil,
#board td.num div.mypencil {
  font-family: courier, arial, sans-serif;
  color: #aaa;
  visibility: hidden;
}

#board td.col_0 {
  border-left: none;
}
#board td.row_0 {
  border-top: none;
}

#board td.col_3,
#board td.col_6 {
  border-left-width: 5px;
}
#board td.row_3,
#board td.row_6 {
  border-top-width: 5px;
}

fieldset {
  width: 200px;
  display: inline;
}
fieldset ul li {
  list-style: none;
}

.button {
    -moz-box-shadow:inset 0px 1px 3px 0px #91b8b3;
    -webkit-box-shadow:inset 0px 1px 3px 0px #91b8b3;
    box-shadow:inset 0px 1px 3px 0px #91b8b3;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #768d87), color-stop(1, #6c7c7c));
    background:-moz-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
    background:-webkit-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
    background:-o-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
    background:-ms-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
    background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#768d87', endColorstr='#6c7c7c',GradientType=0);
    background-color:#768d87;
    border:1px solid #566963;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:13px;
    font-weight:bold;
    padding:5px 15px;
    text-decoration:none;
    text-shadow:0px -1px 0px #2b665e;
    display: block;
    margin: 10px auto;
}
.button:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #6c7c7c), color-stop(1, #768d87));
    background:-moz-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
    background:-webkit-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
    background:-o-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
    background:-ms-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
    background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#6c7c7c', endColorstr='#768d87',GradientType=0);
    background-color:#6c7c7c;
}
.button:active {
    position:relative;
    top:1px;
}
.button:disabled {
  background: #aaaaaa;
  color: #dddddd;
}

/***** Sizing *****/


#board td.num {
  height: 48px;
  width: 48px;
  font-size: 40px;
  line-height: 44px;
}

#board td.num div.pencil,
#board td.num div.mypencil {
  font-size: 10px;
  line-height: 15px;
}
