* {
  color: black;
  font-family: Tahoma,Helvetica,Arial,Sans-Serif;
  font-size:   15px;
}

#pauseFrame {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  border-style: none;
  margin: 0;
  padding: 0;
}

body {
  background: black;
}

#instructions {
  font-size: 10pt;
  float: left;
  margin: 5px 10px 40px 10px;
}

#instructions a, #instructions span {
  font-size: 8pt;
}

#instructions b, #instructions b span {
  font-size: 14pt;
  color: #e57f00;
}

#logo {
  float: right;
  margin: 5px 5px 10px 5px;
}

#logo img {
  behavior: url('includes/pngbehavior.htc');
}

#tableContainer {
  transform-origin: top;
  transform: scale(1.5);
}

#gridContainer {
  overflow: auto; 
  height: 474px;
  vertical-align: top;
  padding: 3px;
}

#grid td, #pile td, #answer td {
  text-align: center; 
  cursor: default;
}

.gridBg {
  background: #003366;
  border: 1px solid #6699cc;
}

#pile td {
  cursor: pointer;
}

a {
  position: relative;
}

#pile td, #answer td {
  border:           1px solid black; 
  background-color: #6699cc;
  filter:           progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='images/white-fuzz-bg.png');
}

#pile td[id], #answer td[id] {
  background-image: url('../images/white-fuzz-bg.png');
}

.hit, .missed {
  border:         1px solid black;
  font-size:      12px;
  width:          10px; 
  height:         15px; 
  padding: 1px 1px 1px 2px;
  text-transform: capitalize;
}

.hit {
  background: #cce5ff;
}

.missed {
  background: #fff2cc;
}

#pile td, #answer td {
  width: 1em;
  height: 1em;
  font-size: 36pt;
  text-transform: capitalize;
}

#pileContainer, #answerContainer {
  text-align: left;
  margin-left: 35px;
  clear: both;
}

#pileContainer {
  margin-bottom: 20px;
}

#answerContainer {
  margin-bottom: 20px;
}

#notices, #timer {
  text-align: center;
}

#notices {
  font-size: 12pt;
  font-weight: bold;
  color: white;
  background: #e57f00;
  padding: 2px 5px;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 20px;
  border: 1px solid black;
}

#notices .small {
  color: white;
  font-size: 10pt;
}

#timer {
  color: #e57f00;
  font-size: 16pt;
  font-weight: bold;
  margin-bottom: 20px;
}

.gameBg {
  background-color: #ffcc99;
  border:           1px solid #6699cc;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='images/diag-grad-bg.png');
}

.gameBg[id] {
  background-image:  url('../images/diag-grad-bg.png');
  background-repeat: no-repeat;
}

#board {
  vertical-align: top;
}

form {
  display: inline;
  margin-bottom: 0;
}

#definition {
  background:  white;
  padding:     5px;
  display:     none;
  overflow:    auto;
  max-height:  100px;
}

.paused {
  color:  #e57f00;
}

#sheep {
  text-align: center;
  position: fixed;
  bottom: 1em;
  left: 50%;
}

.buttonBar {
  float: left;
  margin-right: 10px;
}

#dialog {
  color: white;
  background: #00264c;
  position:   absolute; 
  text-align: center; 
  /* width:      200px;  Set in javascript */
  height:     100px; 
  left:       0px;
  top:        -105px;
  border:     1px solid white;
  z-index:    1; 
}
#dialog p, #dialog p .white {
  color: white;
  font-weight: bold;
}
#dialog p {
  margin: 3px 0 15px 0;
}

#hiscore {
  color: #e57f00;
  font-size: 14pt;
  font-weight: bold;
  padding: 0 2px;
  position: relative;
  top: 2px;
}

input {
  font-size: 10pt;
  color: black;
  background: #ffe5cc;
  padding: 2px;
  border: 1px solid black;
}
