html, body {
  margin: 0px;
  padding: 0px;
  background-color: black;
  color: white;
  overflow: hidden;
}

html, body, button {
  font-family: Candara, Times New Roman, serif;
  font-size: 16pt;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

div.comicpage {
  background-color: white;
  width: 1032px;
  padding: 10px;
  margin-top: 2px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  border-width: 2px;
  border-radius: 2px;
  border-color: black;
  border-style: solid;
  /* css is awful and the only way to disable divs floating to 
     the left is to disable whitespace and wrapping entirely.
     this means we will have to wrap elements ourselves in js. :|
  */
  white-space: nowrap;
  font-size: 0pt;
  overflow: hidden;
}

div.panel {
  position: relative;
  display: inline-block;
  clear: none;
  padding: 0px;
  margin: 0px;
  margin-right: 8px;
  margin-bottom: 8px;
  width: 500px;
  height: 500px;
  border-width: 4px;
  border-radius: 0px;
  border-color: black;
  border-style: solid;
  font-size: 14pt;
  background-size: contain;
}

div.actors, div.bubbles {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  overflow: hidden;
  padding: 0px;
  margin: 0px;
}

div.actors {
  z-index: 1;
}

div.bubbles {
  z-index: 2;
}

div.actors img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
}

div.speechbubble {
  position: absolute;
  padding: 12px;
  margin: 0px;
  min-width: 250px;
  max-width: 400px;
  min-height: 60px;
  border-width: 2px;
  border-radius: 24px;
  border-color: black;
  border-style: solid;
  white-space: normal;
  word-wrap: break-word;
  color: black;
}

div.speechbubble.call {
  top: 16px;
}

div.speechbubble.response {
  top: 120px;
}

li.choice {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 13pt;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  border-radius: 6px;
  border-color: rgba(0, 0, 0, 0.7);
  color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  padding: 1px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-bottom: 2px;
  text-decoration: underline;
}

li.choice.disabled {
  background-color: transparent !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  color: rgba(0, 0, 0, 0.5) !important;
}

li.choice:hover, li.choice.selected {
  background-color: white;
  border-color: rgba(0, 0, 0, 0.8);
  color: rgba(0, 0, 0, 1);
}

li.choice.disabled, li.choice.selected {
  cursor: default !important;
}

div#templates {
  display: none;
}

.spacetimevoid {
  background-color: black;
}

.actorchoice, .turndisplay {
  padding: 6px;
  padding-top: 64px;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  overflow-x: none;
  overflow-y: auto;
}

button {
  background-color: black;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  border-radius: 4px;
  color: white;
}

.actorchoice, .actorchoice button, .turndisplay, .turndisplay button {
  background-color: black;
  border-color: white;
  color: white;
  font-size: 16pt;
  display: inline-block;
  text-align: center;
}

.actorchoice button, .turndisplay button {
  min-width: 200px;
  min-height: 48px;
  padding: 4px;
}

.showchoices {
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
  color: rgb(0, 0, 64);
}

.showchoices:hover {
  color: rgb(0, 0, 128);
}

#buttons {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding-bottom: 8px;
  z-index: 995;
}

#endTurn {
  width: 150px;
  min-height: 48px;
  font-size: 16pt;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.introcontainer {
  background-color: black;
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: 997;
}

.turndisplay {
  z-index: 998;
}

.actorchoice {
  z-index: 999;
}

.introcontainer div {
  position: relative;
  display: block;
  width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.introcontainer button {
  display: block;
  min-width: 400px;
  min-height: 64px;
  font-size: 24pt;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
} 

.viewport {
  padding-bottom: 64px;
}

.licenseplate {
  display: block;
  position: absolute;
  font-family: Share Tech Mono, Consolas, Courier New, monospace;
  color: black;
  -webkit-transform-origin: 0% 0%;
  -moz-transform-origin: 0% 0%;
  transform-origin: 0% 0%;  
}

#licenseplate_1 {
  top: 345px;
  left: 390px;
  font-size: 12pt;
  -webkit-transform: rotateZ(7.7deg) rotateX(40deg) rotateY(40deg) scaleX(0.65) scaleY(1.05); 
  transform: rotateZ(7.7deg) rotateX(40deg) rotateY(40deg) scaleX(0.65) scaleY(1.05); 
}

#licenseplate_2 {
  top: 1613px;
  left: 186px;
  font-size: 12pt;
  -webkit-transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg) scaleX(0.33) scaleY(0.6); 
  -moz-transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg) scaleX(0.33) scaleY(0.6); 
  transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg) scaleX(0.33) scaleY(0.6); 
}

#licenseplate_3 {
  top: 2268px;
  left: 514px;
  font-size: 20pt;
  -webkit-transform: rotateZ(-9deg) rotateX(0deg) rotateY(0deg) scaleX(0.99) scaleY(1.2); 
  -moz-transform: rotateZ(-9deg) rotateX(0deg) rotateY(0deg) scaleX(0.99) scaleY(1.2); 
  transform: rotateZ(-9deg) rotateX(0deg) rotateY(0deg) scaleX(0.99) scaleY(1.2); 
}

#licenseplate_4 {
  top: 351px;
  left: 613px;
  font-size: 12pt;
  -webkit-transform: rotateZ(-20deg) rotateX(0deg) rotateY(0deg) scaleX(0.79) scaleY(1); 
  -moz-transform: rotateZ(-20deg) rotateX(0deg) rotateY(0deg) scaleX(0.79) scaleY(1); 
  transform: rotateZ(-20deg) rotateX(0deg) rotateY(0deg) scaleX(0.79) scaleY(1); 
}

#licenseplate_5 {
  top: 389px;
  left: 518px;
  font-size: 12pt;
  -webkit-transform: rotateZ(-8.5deg) rotateX(0deg) rotateY(0deg) scaleX(0.7) scaleY(0.9); 
  -moz-transform: rotateZ(-8.5deg) rotateX(0deg) rotateY(0deg) scaleX(0.7) scaleY(0.9); 
  transform: rotateZ(-8.5deg) rotateX(0deg) rotateY(0deg) scaleX(0.7) scaleY(0.9); 
}

.credits {
}

.credits table {
  margin-left: auto;
  margin-right: auto;
}

.credits th {
  text-align: left;
  padding-right: 8px;
  margin-right: 8px;
}

.credits td {
  text-align: right;
  padding-left: 8px;
}

.credits a, .credits a:visited {
  color: silver;
}

.credits a:hover {
  color: white;
}