button {
  background-color: #111;
  color: #666;
  padding: 2px;
  margin: 0;
  border: none;
  border-right: 1px solid #ccc;
  font-size: 9px;
  line-height: 10px;
  font-weight: bold;
  height: 20px;
  cursor: pointer;
}

button:hover,
button.highlighted:hover {
  background-color: #333;
  color: white;
}

button.highlighted {
  background-color: #111;
  padding: 2px 0;
  margin: 0;
  border: none;
  border-right: 1px solid #ccc;
  font-size: 10px;
  line-height: 10px;
  font-weight: bold;
  height: 20px;
  cursor: pointer;
}

canvas {
  background-color: transparent;
}

canvas#brush_preview {
  background: #eee;
}

#drawing {
  cursor: crosshair;
}

/*-----------------------------------------------------------------------------
  TOOLBAR
-----------------------------------------------------------------------------*/
#toolbar {
  float: left;
  width: 100%;
  height: 20px;
}

div#toolbar ul,
div#toolbar ul li {
  float: left;
  height: 20px;
  margin: 0;
  padding: 0;
}


/*-----------------------------------------------------------------------------
  CANVAS
-----------------------------------------------------------------------------*/

#drawing-wrapper {
  width: 599px;
  height: 399px;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  background-color: #fff;
}

#drawing-handle {
  cursor: default;
}

#drawing-content {
  line-height: 0;
}

div.line {
  float: left;
  clear: both;
  margin: 10px 0;
  width: 100%;
  height: 1px;
  border-top: 4px solid #2A2A2A;
  overflow: hidden;
}

div.line_thin {
  float: left;
  clear: both;
  margin: 10px 0;
  width: 100%;
  height: 1px;
  border-top: 2px solid #2A2A2A;
  overflow: hidden;
}

.no_height {
  line-height: 0;
}


/*-----------------------------------------------------------------------------
  INSPECTOR
-----------------------------------------------------------------------------*/

#inspector-wrapper {
  position: absolute;
  width: 200px;
  top: 0;
  left: 500px;
  color: #eee;
}

#inspector-wrapper ul,
#inspector-wrapper ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#inspector-wrapper ul li {
  padding: 2px 10px;
}

#inspector {
  width: 200px;
  opacity: 0.98;
}

#inspector_content li {
  padding: 2px 10px;
  color: #666;
  font-family: "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;
  font-size: 9px;
  line-height: 12px;
  font-weight: normal;
  border-top: 1px solid #999;
}

#inspector_content li.status {
  background-color: #111;
  color: #eee;
}

#inspector_content div.line_thin {
  float: left;
  clear: both;
  margin: 10px 0;
  width: 100%;
  height: 1px;
  overflow: hidden;
}

.slider_element {
  margin: 10px 0 0 0;
  height: 12px;
}

.slider_track {
  float: left;
  width: 150px;
  height: 10px;
  padding-right: 5px;
  background-color: #eee;
  height: 1px;
  cursor:move;
}

.slider_handle {
  margin-top: -3px;
  width: 5px;
  height: 10px;
  background-color: #eee;
  cursor:move;
}

.slider_value {
  float: right;
  margin: 0;
  padding: 0;
  font-size: 10px;
  line-height: 4px;
  font-weight: bold;
}

ul#background_color_palette {
  width: 180px;
  margin-top: 4px;
}

ul#background_color_palette li {
  float: left;
  display: inline;
  width: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: 4px;
  border: none;
}

ul#background_color_palette li a {
  display: block;
  width: 10px;
  height: 10px;
  margin-right: 2px;
  border: 1px solid #333;
}

ul#background_color_palette li a:hover {
  border: 1px solid #A8A8A8;
}