button {
  background-color: #fff;
  color: #333;
  padding: 2px 0;
  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: yellow;
  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: transparent;
}

#drawing {
  cursor: crosshair;
}

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

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

/*-----------------------------------------------------------------------------
  PANEL
-----------------------------------------------------------------------------*/

.panel_handle {
  cursor: move;
  width: 100%;
  height: 20px;
  opacity: 0.9;
  background-color: #232323;
  border-bottom: 1px solid #2B2B2B;
  font-size: 10px;
  text-align: center;
  color: #A8A8A8;
  overflow: hidden;
  -webkit-box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -w3c-box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
}

.panel_close {
  float: left;
  cursor: pointer;
  padding: 4px 0 0 4px;
}

.panel_title {
  text-align: center;
  padding: 2px;
  color: white;
}

.panel_content {
  width: 100%;
  background-color: transparent;
  color: #B2B2B2;
  font-size: 12px;
  line-height: 18px;
}


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

#drawing-wrapper {
  width: 499px;
  height: 499px;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  background-color: #efefef;
  position: absolute;
}

#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;
}

/*-----------------------------------------------------------------------------
  PANEL
-----------------------------------------------------------------------------*/

.panel_handle {
  cursor: move;
  width: 100%;
  height: 20px;
  opacity: 0.9;
  background-color: #232323;
  border-bottom: 1px solid #2B2B2B;
  font-size: 10px;
  text-align: center;
  color: #A8A8A8;
  overflow: hidden;
  -webkit-box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -w3c-box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
}

.panel_close {
  float: left;
  cursor: pointer;
  padding: 4px 0 0 4px;
}

.panel_title {
  text-align: center;
  padding: 2px;
  color: white;
}

.panel_content {
  width: 100%;
  background-color: #efefef;
  color: #B2B2B2;
  font-size: 12px;
  line-height: 18px;
}

/*-----------------------------------------------------------------------------
  LOADER
-----------------------------------------------------------------------------*/

#load_drawing-wrapper {
  width: 560px;
  height: 360px;
  z-index: 1000;
}

#load_drawing-handle {}

#load_drawing-content {
  width: 100%;
  height: 100%;
  font-size: 11px;
  opacity: 0.95;
  overflow: auto;
  -webkit-box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
  -w3c-box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
}

#load_drawing-nav {
  padding: 4px;
  padding-right: 10px;
  border-bottom: 1px solid #333;
  text-align: right;
  height: 15px;
}

#load_drawing-nav a {
  color: #333;
  font-size: 10px;
  font-weight: bold;
  text-decoration: none;
}

#load_drawing-nav a:hover { color: #A8A8A8; }

#load_drawing-list {
  padding: 4px;
}

.drawing_thumb {
  float: left;
  margin: 4px;
  width: 100px;
  height: 100px;
  border: 1px solid #333;
  cursor: pointer;
}

.drawing_thumb:hover { border: 1px solid #A8A8A8; }

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

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

#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_title {
}

#inspector_content {
  padding-bottom: 10px;
}

#inspector_content li {
  padding: 2px 10px;
  color: #333;
  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: #999;
  height: 1px;
  cursor:move;
}

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

.slider_value {
  float: right;
  margin: 0;
  padding: 0;
  font-size: 10px;
  color: #333;
  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;
}
