/* dialog resizeable borders */
div.cd-mainWindow .ui-resizable-n, div.cd-mainWindow .ui-resizable-s {
  height:0px;
}
div.cd-mainWindow .ui-resizable-w, div.cd-mainWindow .ui-resizable-e {
  width:0px;
}
div.ui-resizable-se {
  width:14px;
  height:14px;
  display:block;
}

/* content */
div.cd-mainWindow div.ui-dialog-content,
div.cd-boxWindow div.ui-dialog-content {
  overflow:hidden;
}

/* dialog title */
div.cd-mainWindow div.ui-dialog-titlebar,
div.cd-boxWindow div.ui-dialog-titlebar {
  cursor:move;
}
div.cd-mainWindow div.ui-dialog-titlebar {
  height:19px;
}

div.cd-mainWindow-titleBar-title {
  display:inline-block;
  padding:1x;
}
div.cd-mainWindow-titleBar-buttonsBar {
  display:inline-block;
  float:left;
}
div.cd-mainWindow a.ui-dialog-titlebar-close,
div.cd-boxWindow a.ui-dialog-titlebar-close {
  display:inline-block;
  padding:3px 7px 4px 8px;
  outline:none;
}
div.cd-mainWindow a.ui-dialog-titlebar-close {
  padding:0 7px 3px 8px;
}
div.cd-boxWindow a.ui-dialog-titlebar-close {
  margin: -2px 2px 0 0;
  padding: 0;
}
div.cd-mainWindow a.ui-dialog-titlebar-close:hover,
div.cd-boxWindow a.ui-dialog-titlebar-close:hover {
  border:none;
  outline:none;
}

/* console */
div.cd-mainWindow-console div.ui-inputConsole {
  border-left:0px;
  border-right:0px
}

/* status bar */
div.cd-mainWindow-statusBar table.ui-inputStatusBar {
  border:none;
  font-size:80%;
}
div.cd-mainWindow-statusBar table.ui-inputStatusBar td {
  padding:1px;
}
#cd-mainWindow-sb-nfoHelp {
  border-right:none;
  text-align: left;
}
#cd-mainWindow-sb-nfoKeyCTRL, #cd-mainWindow-sb-nfoKeyALT {
  border:none;
}
#cd-mainWindow-sb-nfoKeySHIFT, #cd-mainWindow-sb-nfoKeyALT, #cd-mainWindow-sb-nfoKeyCTRL {
  text-align:center;
}
#cd-mainWindow-sb-nfoZoom {
  text-align:center;
}
#cd-mainWindow-sb-nfoSize, #cd-mainWindow-sb-nfoPosition {
  text-align:right;
  padding-right:3px;
}


div#iBtToolsSelect,
div#iBtToolsZoom,
div#iBtToolsLines,
div#iBtToolsTexts,
div#iBtToolsShapes,
div#iBtToolsArrows,
div#iBtToolsImages {
  width:22px;
  height:22px;
  margin:0;
  padding:0;
  float:left;
}

div#iBtToolsSelect {
  background-position:0 0;
}
div#iBtToolsSelect:hover {
  background-position:0 -24px;
}
div#iBtToolsZoom {
  background-position:-24px 0;
}
div#iBtToolsZoom:hover {
  background-position:-24px -24px;
}
div#iBtToolsLines {
  background-position:-48px 0;
}
div#iBtToolsLines:hover {
  background-position:-48px -24px;
}
div#iBtToolsTexts {
  background-position:-70px 0;
}
div#iBtToolsTexts:hover {
  background-position:-70px -24px;
}
div#iBtToolsShapes {
  background-position:-94px 0;
}
div#iBtToolsShapes:hover {
  background-position:-94px -24px;
}
div#iBtToolsArrows {
  background-position:-118px 0;
}
div#iBtToolsArrows:hover {
  background-position:-118px -24px;
}
div#iBtToolsImages {
  background-position:-142px 0;
}
div#iBtToolsImages:hover {
  background-position:-142px -24px;
}

/* drawing area */
div.ui-drawingArea {
  width:100%;
  height:100%;
  overflow:hidden;
}
table.ui-drawingArea-container {
  width:100%;
  height:100%;
  border-collapse: collapse;
  display:block;
}
div.ui-drawingArea-viewport {
  position:absolute;
  overflow:hidden;
  width:100%;
  height:100%;
}
div.ui-drawingArea-sheet {
  width:100%;
  height:100%;
  position:relative;
}
canvas.ui-drawingArea-grid,
canvas.ui-drawingArea-cursor,
canvas.ui-drawingArea-prev,
canvas.ui-drawingArea-current,
canvas.ui-drawingArea-next {
  position:absolute;
  display:block;
}
canvas.ui-drawingArea-grid { z-index: 160; opacity:0.5; filter:alpha(opacity=50); }
canvas.ui-drawingArea-cursor  { z-index: 150; opacity:0.5; filter:alpha(opacity=50); }
canvas.ui-drawingArea-prev { z-index: 120; }
canvas.ui-drawingArea-current  { z-index: 110; }
canvas.ui-drawingArea-next  { z-index: 100; }

div.ui-drawingArea-sliderH {
  position:absolute;
  height:14px;
}
div.ui-drawingArea-sliderV {
  position:absolute;
  width:14px;
}
div.ui-drawingArea div.ui-slider {
  cursor:pointer;
}

div.ui-drawingArea div.ui-slider-horizontal {
  height:13px;
  margin:0px;
}
div.ui-drawingArea div.ui-slider-vertical {
  width:13px;
  margin:0px;
}

div.ui-drawingArea a.ui-slider-handle {
  border-style:solid;
  border-width:1px;
  display:inline-block;
  height:10px;
  margin-top:1px;
  outline:medium none;
  position:absolute;
  width:10px;
}



/* drawing graph */
div.ui-drawingGraph {
  overflow:hidden;
}
div.ui-drawingGraph-viewport {
  position:absolute;
  overflow:hidden;
}
div.ui-drawingGraph-sheet {
  position:relative;
}
canvas.ui-drawingGraph-cursor,
canvas.ui-drawingGraph-axis,
canvas.ui-drawingGraph-graph {
  position:absolute;
  display:block;
}
canvas.ui-drawingGraph-cursor  { z-index: 120; }
canvas.ui-drawingGraph-axis { z-index: 130; }
canvas.ui-drawingGraph-graph { z-index: 110; }

