* {
  font-family: sans-serif;
}

a {
  color: #654b24;
  text-decoration: none;
}

body {
  background: #f9f7ee url(mazeBg.png);
  color: #654b24;
  text-align: center;
}

.ui-tooltip {
  font-size: 11pt;
}

div#title {
  margin: 5mm 0 7mm 0;
}

h1 {
  background-color: #464646;
  border: 3px solid #625a4e;
  -moz-border-radius: 11mm;
  -khtml-border-radius: 11mm;
  -webkit-border-radius: 11mm;
  border-radius: 11mm;
  clear: all;
  color: #cfc0a0;
  font: bold 517% sans-serif;
  display: inline-block;
  margin: 0;
  padding: 0 17mm;
  position: relative;
}

h1>span {
  background: url(mazeBg.png);
  display: block;
  height: 100%;
  left: 0;
  opacity: .51;
  position: absolute;
  width: 100%;
}

div#zoom {
  display: inline-block;
  height: 11ex;
  margin: 0 0 -2.7ex 1ex;
}

div.slider {
  display: inline-block;
  margin: 5px 0 -2px 1mm;
  width: 300px;
}

table#settingsTable * {
  font-size: 11pt;
}

table#settingsTable button {
  font-weight: normal;
}

div#playground {
  /*background-color: #f0ffe0;*/
  background-image: url(paperBg.jpg);
  border: 3px solid #625a4e;
  -moz-border-radius: 2mm;
  -khtml-border-radius: 2mm;
  -webkit-border-radius: 2mm;
  border-radius: 2mm;
  display: inline-block;
  min-width: 100%;
  position: relative;
}

input#width, input#height, .ui-spinner {
  margin-right: 1ex;
  outline: none;  
  width: 73px;
}

canvas#labyrinth {
  margin: 3mm;
}

.pencil {
  cursor: url(pencil.cur);
}

div#settings {
  background-color: #e9e7dd;
  -webkit-border-bottom-left-radius: 1mm;
  -webkit-border-bottom-right-radius: 1mm;
  -moz-border-radius-bottomleft: 1mm;
  -moz-border-radius-bottomright: 1mm;
  border-bottom-left-radius: 1mm;
  border-bottom-right-radius: 1mm;
  border-top: 3px solid #625a4e;
  padding: 2mm;
}

div#topBox {
  background-color: #e9e7dd;
  border-bottom: 3px solid #625a4e;
  -webkit-border-top-left-radius: 1mm;
  -webkit-border-top-right-radius: 1mm;
  -moz-border-radius-topleft: 1mm;
  -moz-border-radius-topright: 1mm;
  border-top-left-radius: 1mm;
  border-top-right-radius: 1mm;
  color: black;
  padding: 1mm;
}

div#timerDiv {
  background-color: #464646;
  border: 3px inset #625a4e;
  display: inline-block;
  vertical-align: middle;
}

canvas#timerCanvas {
  height: 37px;
  padding: 0 1ex;
}

span#timerTitle {
  display: inline-block;
  font: bold 173% sans-serif;
  margin-right: .5ex;
  vertical-align: middle;
}

span#timerTitle.won {
  color: #0d7a23;
}

span#timerTitle.gaveUp {
  color: #ac3235;
}

span#speed {
  color: #0d7a23;
  display: inline-block;
  font: bold 117% sans-serif;
  margin-left: .5ex;
  vertical-align: middle;
}

div#dlgVictory, div#dlgGiveUp {
  display: none;
  font-weight: normal;
  font-size: 83%;
  text-align: justify;
}

div#addThis {
  margin-bottom: 1ex;
}

div#q {
  background-color: #e9e7dd;
  border: 1px solid #625a4e;
  -moz-border-radius: 1mm;
  -khtml-border-radius: 1mm;
  -webkit-border-radius: 1mm;
  border-radius: 1mm;
  display: inline-block;
  margin-top: 1ex;
  width: 500px;
}

div#qq {
  cursor: pointer;
  float: right;
  top: 0;
}

div#qd {
  font-size: 7pt;
  font-weight: bold;
}

div.layout {
  background-color: #e9e7dd;
  opacity: .83;
}

