body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  color: #FFF;
  background: #000;
}

label {
  cursor: pointer;
}

#head {
  postion: absolute;
  top: 0;
  height: 32px;
  background: #222;
}

#headlogo {
  float: left;
  width: calc(50% - 6px);
  margin-left: 6px;
  font-size: 26px;
  font-weight: bold;
}

#headbtns {
  float: right;
  width: 50%;
  text-align: right;
}

#headbtns button {
  margin: 3px 12px 0 0;
  width: 24px;
  height: 24px;
  background-color: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}

#headbtns button:hover {
  box-shadow: 0 0 3px #FFF;
}

#rtla {
  float: left;
  width: 48px;
  padding-top: 6px;
  text-align: center;
}

#fullscrbtn {
  background-image: url(/images/fullscr.png);
}

#cfgbtn {
  background-image: url(/images/cfg.png)
}

#helpbtn {
  background-image: url(/images/help.png)
}

.blob {
  position: absolute;
  top: 32px;
}

#ear0,
#ear1 {
  position: absolute;
  top: 0;
  width: 20vw;
  height: 20vw;
}

#ear0 {
  left: 0;
}

#ear1 {
  right: 0;
}


/* Popup boxes */

.popupbox {
  position: absolute;
  top: 40px;
  right: 8px;
  width: 320px;
  padding-bottom: 12px;
  color: #FFF;
  background: #333;
}

.boxcap {
  padding: 4px;
  background: #666;
  text-align: center;
}

.boxcap button {
  float: right;
  margin: -4px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

#cfgresponse {
  padding: 12px 6px 6px 6px;
}

.cfgtrig {
  margin-top: 12px;
  padding: 6px;
  border-top: 1px solid #CCC;
}

#helpcont {
  padding:6px 12px 6px 12px;
  max-height:480px;
  overflow-y:auto;
}


/* Custom */

.hid {
  display: none;
}

.ctr {
  text-align: center
}

.nmbtn {
  background: #CCC;
  border: 0;
  cursor: pointer;
}

.nmbtn:hover {
  background: #EEE;
  box-shadow: 0 0 6px #888;
}