body {
  background-color: #cdc39a;
  color: #3b3f41;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Impact, Charcoal, sans-serif;
  text-align: center;
}

h1 {
  font-size: 200%;
  font-weight: normal;
  margin: 0;
}

h2 {
  font-weight: normal;
  font-size: 120%;
  margin: 0;
}

h3 {
  margin: .3em 0 .5em 0;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-style: italic;
  font-size: 100%;
  font-weight: lighter;
}

h4 {
  font-size: 150%;
  margin: 1em;
}

#version {
}

#main, #instructions {
  display: inline-block;
  text-align: left;
}

#instructions {
  width: 1000px;
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#mission_menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 794px;
  z-index: 2;
  background-color: #f4edcf;
  border: 3px solid #202020;
  display: none;
}

#mission_list {
  list-style-type: none;
}

.mission_x {
  display: inline-block;
  color: #A00;
  width: 1em;
  font-size: large;
}

.mission_radio {
  display: none;
}

#background_image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background-color: #82a7ba; /* For until the picture loads */
}

#canvas_container {
  border: 1px solid #3b3f41;
  position: relative;
  width: 1000px;
  height: 600px;
  float: left;
}

#controls {
  line-height: 90%;
}

#controls th,
#controls td {
  padding-left: .5em;
}

#controls th {
  text-align: left;
}

.action {
  padding-left: 2em;
  font-style: italic;
}

#sidebar {
  display: none;  
  float: right;
  /* Text inside changes width all the time, prevent div from changing too. */
  width: 250px; 
  padding-left: 1em;
}

#sidebar > div {
  background-color: #ddd3aa;
  /* Force divs with <p> as firstChild to have background color all the way to
   * the top 
   */
  border: solid 1px #ddd3aa; 
}

.tabs {
  list-style: none;
  border-bottom: solid 1px #3b3f41;
  margin-bottom: 0;
}

.tabs > li {
  display: inline-block;
  background-color: #cdc39a;
  border-bottom: solid 1px #3b3f41;
  margin-bottom: -1px;
  padding: 5px;
}

.tabs > li.selected {
  background-color: #ddd3aa;
  border: solid 1px #3b3f41;
  border-bottom-color: #ddd3aa;
}

#copyright {
  font-style: italic;
}

#headerPhrase {
  display: None;
}
