#bottom-container {
  height: 100%;
}

#plotconfig {
  min-width: 250px;
  max-width: 500px;
}

.plotarea {
  overflow: hidden;
}
.active-plot {
  position: relative;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

.active-plot .view {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.active-plot .view .display {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.active-plot #info {
  position: absolute;
  color: #2a8a46;
  top: 34px;
  left: 44px;
  display: none;
  font-size: 1.2em;
  font-weight: lighter;
}

.active-plot #info span {
  margin-right: 30px;
}

.gslide {
  width: 100%;
  height: 30px;
}

.gslide .slide {
  position: relative;
  height: 2px;
  top: 13px;
  width: 100%;
}

.gslide .slider {
  position: relative;
  display: inline-block;
  height: 22px;
  width: 22px;
  top: -1px;
  left: 0px;
  background: red;
  border-radius: 20px;
  cursor: pointer;
}

#gcanvas {
  background: white;
}

#toolbar {
  width: 100%;
  text-align: center;
}

#toolbar.hidden {
  display: none;
}

.tool-items i {
  display: block;
  width: 30px;
  height: 30px;
  margin-left: 7px;
}

.tool-container {
  box-shadow: none;
}

.tool-container.tool-left .arrow {
  border-color: transparent transparent transparent transparent;
}

.tool-left .tool-item,
.tool-left .tool-item:hover {
  border: none;
}

.bw-toolbutton > .bw-icon.bw-icon-fill-drop {
  display: block;
  position: absolute;
  z-index: 0;
  left: 4px;
  top: 4px;
}

.bw-icon.bw-icon-fill-drop-small {
  display: block;
  position: relative;
  z-index: 1;
  left: 0px;
  top: 0px;
}

#textedit {
  font-size: 110%;
  z-index: 30;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  position: absolute;
  display: none;
  border-radius: 3px;
}

#canvasoverlay {
  position: absolute;
  left: 0px;
  top: 0px;
}

canvas {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#plotconfig {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

#plotconfig .description {
  padding: 10px;
  box-sizing: border-box;
}

#parameters {
  margin-bottom: 20px;
}
#parameters .parameter {
  margin-top: 20px;
}

.formula {
  display: inline-block;
}

.formulabutton {
  margin-bottom: 10px;
}
.tool-container .bw-icon {
  font-size: 32px;
  width: 32px;
  height: 32px;
}

.tool-container.tool-top {
  box-shadow: none;
  border: none;
  background: #777777;
}

.tool-container.tool-top .tool-item {
  border: none;
  color: white;
}

.tool-container.tool-top .tool-item:hover {
  background: #aaaaaa;
}

.tool-container.tool-top .arrow {
  border-top-color: #777777;
}

.tool-container a {
  text-decoration: none;
}

#widthpopup,
#colorpopup {
  display: none;
}

#plotconfigwrapper {
  width: 0px;
}

.configseparator {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 15px;
}
[selected-tool="draw"] canvas {
  cursor: crosshair;
}

[selected-tool="eraser"] canvas {
  cursor: crosshair;
}

[selected-tool="pan"] canvas {
  cursor: move;
}

[selected-tool="text"] canvas {
  cursor: text;
}

#scratchpad {
  left: 0px;
  top: 100%;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#scratchpad .scratchboardgrid {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

#scratchpad .scratchboardwrapper {
  position: relative;
}

#scratchpad .scratchboard {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

#scratchpad .scratchboard {
  overflow: hidden;
}

#scratchpad .scratchpadtoolbar {
  text-align: center;
}

#scratchpad .scratchpadtoolbar .scratchpad-prev,
#scratchpad .scratchpadtoolbar .scratchpad-next {
  position: relative;
  top: 4px;
}

#dot-popup {
  position: absolute;
}

#dots-table {
  padding: 15px;
  box-sizing: border-box;
  margin-top: 10px;
  display: none;
}

#dots-table-body {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.dotstable {
  width: 100%;
  border-collapse: collapse;
}
.dotstable th {
  padding: 10px;
}
.dotstable td,
.dotstable th {
  width: 80px;
  text-align: center;
}

.dotstable th {
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.dotstable tr th:first-child,
.dotstable tr td:first-child {
  border-right-width: 2px;
  border-right-style: solid;
}

tr.fixed td {
  padding: 8px 0px;
  opacity: 0.5;
  font-style: italic;
}

.dotinput {
  width: 90%;
  text-align: center;
  margin: 8px 0px;
  border: none;
  background: none;
  padding: 0px;
}

.dotinput:invalid {
  width: 50%;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.mathInputs .placeholder {
  color: white;
  text-align: center;
  cursor: pointer;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 1.3em;
  font-style: italic;
}

.mathInput-enter {
  opacity: 0.01;
}

.mathInput-enter.mathInput-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in;
}

.mathInput-exit {
  opacity: 1;
}

.mathInput-exit.mathInput-exit-active {
  opacity: 0.01;
  transition: opacity 300ms ease-in;
}
