html,
body {
  height: 100%;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #222;
  color: #fff;
  font-size: 80%;
}

button,
input,
li,
table {
  margin-top: 0.2em;
}
li button,
li input {
  margin: 0;
}

#pageHeader h1 {
  display: inline-block;
  margin: 0;
  color: #fff;
}
#pageHeader a {
  color: #ddf;
}
#pageHeader #dwv-toolbar {
  display: inline-block;
  float: right;
}
#pageMain {
  position: absolute;
  height: 92%;
  width: 99%;
  bottom: 5px;
  left: 5px;
  background-color: #333;
}

.layerContainer {
  width: 500px;
  height: 500px;
}

/* Layers */
.layerGroup {
  position: relative;
  padding: 0;
  display: flex;
  justify-content: center;
  height: 100%;
}
.layer {
  position: absolute;
  pointer-events: none;
}

/* drag&drop */
.dropBox {
  text-align: center;
  width: 50%; height: 75%;
}
.dropBoxBorder {
  margin: 20px auto;
  border: 5px dashed #ccc;
}
.dropBoxBorder.hover {
  margin: 20px auto;
  border: 5px dashed #cc0;
}

/* toolbar */
#toolList ul {
  padding: 0;
}
#toolList li {
  list-style-type: none;
}

/* Info */
#infoLayer {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  width: 100%;
  height: 100%;
}
#infoLayer ul {
  margin: 0;
  padding: 2px;
  list-style-type: none;
}
#infoLayer li {
  margin-top: 0;
}
#infoLayer canvas {
  margin: 0;
  padding: 2px;
}
.info {
  color: #cde;
  text-shadow: 1px 1px #000;
  font-size: 80%;
}
.infoc {
  color: #ff0;
  text-shadow: 1px 1px #000;
  font-size: 120%;
}
.infotl {
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
}
.infotc {
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  text-align: center;
}
.infotr {
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
}
.infocl {
  position: absolute;
  bottom: 50%;
  left: 0;
  text-align: left;
}
.infocr {
  position: absolute;
  bottom: 50%;
  right: 2px;
  text-align: right;
}
.infobl {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
}
.infobc {
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  text-align: center;
}
.infobr {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
}

#plot {
  position: absolute;
  width: 100px;
  height: 50px;
  bottom: 15px;
  right: 0;
}
#infocm {
  position: absolute;
  bottom: 5px;
  right: 0;
}

/* Tag list */
table.tagsTable {
  border-collapse: collapse;
}
table.tagsTable thead th {
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0.5;
}
table.tagsTable tr:nth-child(even) {
  background-color: #333;
}
table.drawsTable {
  border-collapse: collapse;
}
table.drawsTable td {
  vertical-align: middle;
}
table.drawsTable thead th {
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0.5;
}
.highlighted {
  background: #f87217;
}
.tags form {
  width: 50%;
}

/* draw list */
#dwv-drawList tr:nth-child(even) {
  background-color: #333;
}
/* history list */
.history_list {
  width: 100%;
}

/* help */
.ui-icon {
  zoom: 125%;
}
