/* 
$startFinishInstep: distance between bottom of 
Start-box's top-border and top of maze's top-border.
*/
/* measured, fudged */
/* measured, fudged */
/* measured, fudged */
/* measured, fudged */
/* Calculated: */
/* borders are handled with internal elements, so we *do* inculude them in startFinishHW */
#maze-chrome {
  /* gets activated by JSS */
  visibility: hidden; }

h1 {
  font-weight: normal;
  margin-bottom: 16px;
  color: #222; }

#points_outer {
  white-space: nowrap;
  height: 1.5em; }

#points_outer div {
  float: left;
  white-space: nowrap; }

#instructions {
  clear: both;
  white-space: nowrap;
  margin-bottom: 16px; }

#points {
  margin: 0 4px; }

#maze-container {
  position: relative;
  height: 800px;
  margin-bottom: 48px; }

#maze {
  position: relative;
  top: 118px;
  left: 118px;
  width: 0;
  /* otherwise it takes up 1037 pixels for some unknown reason, creating h-scroll */ }

#maze .cell {
  position: absolute;
  height: 24px;
  width: 24px;
  border: 18px solid #222222; }

#maze .cell.S {
  border-bottom-style: none;
  padding-bottom: 18px; }

#maze .cell.N {
  border-top-style: none;
  padding-top: 18px; }

#maze .cell.W {
  border-right-style: none;
  padding-right: 18px; }

#maze .cell.E {
  border-left-style: none;
  padding-left: 18px; }

.cell.y0 {
  top: 0px; }

.cell.y1 {
  top: 42px; }

.cell.y2 {
  top: 84px; }

.cell.y3 {
  top: 126px; }

.cell.y4 {
  top: 168px; }

.cell.y5 {
  top: 210px; }

.cell.y6 {
  top: 252px; }

.cell.y7 {
  top: 294px; }

.cell.y8 {
  top: 336px; }

.cell.y9 {
  top: 378px; }

.cell.y10 {
  top: 420px; }

.cell.y11 {
  top: 462px; }

.cell.y12 {
  top: 504px; }

.cell.x0 {
  left: 0px; }

.cell.x1 {
  left: 42px; }

.cell.x2 {
  left: 84px; }

.cell.x3 {
  left: 126px; }

.cell.x4 {
  left: 168px; }

.cell.x5 {
  left: 210px; }

.cell.x6 {
  left: 252px; }

.cell.x7 {
  left: 294px; }

.cell.x8 {
  left: 336px; }

.cell.x9 {
  left: 378px; }

.cell.x10 {
  left: 420px; }

.cell.x11 {
  left: 462px; }

.cell.x12 {
  left: 504px; }

/* debug */
div.lastcell {
  background-color: yellow; }

@font-face {
  font-family: brock;
  src: url("/files/BrockScript.ttf"); }

#start, #finish {
  position: absolute;
  height: 178px;
  width: 178px; }

#start-text {
  cursor: pointer; }

#start-text, #finish-text {
  font-family: brock;
  font-size: 45px; }

#start_inner, #finish_inner, #start_borders, #finish_borders {
  height: 100%;
  width: 100%;
  position: relative; }

#start {
  top: 0;
  left: 0; }

#start_borders .topleft-borders {
  position: absolute;
  top: 0;
  left: 0;
  height: 160px;
  width: 160px;
  border-top: 18px solid #222222;
  border-left: 18px solid #222222; }

#start_borders .right-border {
  position: absolute;
  top: 0;
  right: 0;
  border-right: 18px solid #222222;
  height: 136px; }

#start_inner .bottom-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 136px;
  border-bottom: 18px solid #222222; }

#finish {
  top: 622px;
  left: 622px; }

#finish_inner .left-border {
  position: absolute;
  bottom: 0;
  left: 0;
  border-left: 18px solid #222222;
  height: 136px; }

#finish_inner .top-border {
  position: absolute;
  top: 0;
  right: 0;
  width: 136px;
  border-top: 18px solid #222222; }

#start-text {
  position: absolute;
  top: 49px;
  left: 29px; }

#finish-text {
  position: absolute;
  top: 671px;
  left: 651px; }

#highlight {
  height: 24px;
  width: 24px;
  position: absolute;
  padding: 18px;
  display: none; }

#highlight-inner {
  height: 18px;
  width: 18px;
  margin: 3px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  cursor: pointer; }
