html {
  margin: 0;
  padding: 0;
  background: #080808;
  color: #e0e0e0;
  text-align: center;
  min-width: 800px;
}

body {
  margin: 0 auto;
  padding: 0;
  padding-top: 1px;
  background: black;
  width: 800px;
  height: 100%;
  border-left: 1px solid #111;
  border-right: 1px solid #111;
}

h1 {
  margin-left: 30px;
  margin-right: 30px;
  border-bottom: 1px solid #333;
}

#steps {
  display: block;
  margin: 0;
  padding: 0;
}

#steps li {
  display: inline;
  margin-left: 10px;
  margin-right: 10px;
  color: #666;
  font-size: 90%;
  font-variant: small-caps;
  -webkit-transition: color 0.2s;
}

#steps.st-1 #step-1, #steps.st-2 #step-2, #steps.st-3 #step-3, #steps.st-4 #step-4 {
  color: white;
}

#workspaces {
  position: relative;
  width: 800px;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
}

#workspaces-scroll {
  position: absolute;
  width: 3200px;
  height: 600px;
  -webkit-transition: left 0.5s;
}

#workspaces-scroll.ws-1 { left: 0; }
#workspaces-scroll.ws-2 { left: -800px; }
#workspaces-scroll.ws-3 { left: -1600px; }
#workspaces-scroll.ws-4 { left: -2400px; }

.workspace {
  position: absolute;
  width: 800px;
  height: 600px;
  top: 0;
}

#workspace-1 { left: 0; }
#workspace-2 { left: 800px; }
#workspace-3 { left: 1600px; }
#workspace-4 { left: 2400px; }

#w1-modes {
  position: absolute;
  width: 800px;
  height: 30px;
  top: 0;
  padding-top: 15px;
}

#img-source-label, #img-target-label {
  position: absolute;
  padding-top: 10px;
  width: 400px;
  height: 40px;
  top: 40px;
}

#img-source-label { left: 0; }
#img-target-label { left: 400px; }

#img-source-container, #img-target-container {
  position: absolute;
  width: 390px;
  height: 410px;
  top: 83px;
  border: 1px dashed #222;
  overflow: auto;
}

#img-source-container { left: 3px; }
#img-target-container { left: 403px; }

canvas {
  display: block;
}

#canv-mask, #canv-overlay {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

#canv-mask {
  cursor: crosshair;
  opacity: 0.5;
  -webkit-transition: opacity 0.2s;
}

#canv-mask.hidden {
  opacity: 0;
}

#canv-overlay {
  cursor: move;
}

.buttons {
  position: absolute;
  width: 800px;
  top: 510px;
}

a.button {
  padding: 2px 10px 7px 10px;
  margin: 0 5px;
  vertical-align: middle;
  text-decoration: none;
  color: #ccc;
  -webkit-transition: background 0.2s;
  border-top: 5px solid rgba(0,0,0,0.5);
}

a.button:link, a.button:visited { background: #080808; }
a.button:hover, a.button:active { background: #111; }

a.button-hilite:link, a.button-hilite:visited { background: #181818; }
a.button-hilite:hover, a.button-hilite:active { background: #222; }

a.button-next:link, a.button-next:visited { background: #081118; }
a.button-next:hover, a.button-next:active { background: #111822; }

a.button-prev:link, a.button-prev:visited { background: #181108; }
a.button-prev:hover, a.button-prev:active { background: #221811; }

