#debugResizeBar {
  width: 100%;
  height: 13px;
  line-height: 13px;
  color: #c6cacd;
  font-size: 24px;
  text-align: center;
  cursor: ns-resize;
  white-space: nowrap;
}

#debug-buttons {
  display: inline;
  white-space: normal;
}

.debugger_button {
  border: 1px solid #0094ca;
  background-color: #0094ca;
  color: #fff;
  margin-left: 0px;
  margin-right: 3px;
  padding: 3px 6px;
  font-size: 14px;
  min-width: 120px;
}

#continueButton {
  border-color: #ffa400;
  background-color: #ffa400;
}

.debugger_button:focus {
  outline-style: none;
}

.debugger_button > img {
  float: left;
  opacity: 1;
}

#debug-area {
  position: absolute;
  bottom: 0;
  height: 43px;
  left: 0;
  right: 0;
  z-index: 2;
  max-height: calc(50% - 16px) !important;
}

#codeTextbox.pin_bottom {
  bottom: 43px;
}

#debug-commands-header {
  width: 270px;
  float: left;
  border-right: 1px solid gray;
}
#debug-commands-header .fa {
  margin: 0 0.25em;
}

#debug-watch-header {
  width: 201px;
  float: right;
  border-left: 1px solid gray;
}

#watchersResizeBar {
  height: 100%;
  width: 13px;
  cursor: ew-resize;
  position: absolute;
  right: 193.5px;
  z-index: 1;
  top: 13px;
}

.debug-commands, .debug-console, .debug-watch {
  display: block;
  background-color: #fff;
  border: 1px solid #ddd;
  position: absolute;
  top: 43px;
  bottom: 0;
}

.debug-commands {
  left: 0;
  width: 270px;
  text-align: center;
}

.debug-watch {
  right: 0;
  width: 200px;
  overflow-y: scroll;
}
.debug-watch.no-commands {
  max-width: calc(100% - 130px);
}

.debug-watch *, .debug-watch input {
  font-family: monospace;
  font-size: 12px;
}

.debug-watch-item {
  margin: 0;
  line-height: 14px;
  clear: both;
  margin-bottom: 1px;
}
.debug-watch-item .watch-variable, .debug-watch-item .watch-separator {
  color: purple;
}
.debug-watch-item .watch-unavailable {
  color: red;
}

.debug-console {
  left: 270px;
  right: 200px;
  min-width: 130px;
}
.debug-console.no-commands {
  left: 0;
}
.debug-console.no-watch {
  right: 0;
}

.debug-console *, .debug-console input {
  font-family: monospace;
  font-size: 12px;
}

#slider-cell {
  float: left;
  cursor: default;
}

/* Slider. */
.sliderContainer {
  float: left;
}

.sliderTrack {
  stroke: #ebe8f1;
  stroke-width: 4px;
  stroke-linecap: round;
}

.sliderKnob {
  fill: #ddd;
  stroke: #bbc;
  stroke-width: 1px;
  stroke-linejoin: round;
}

.sliderKnob:hover {
  fill: #eee;
}

/* Sprited icons. */
.pause-btn {
  background-position: 0px -84px;
  margin-right: 3px;
}

.continue-btn {
  background-position: -21px -84px;
  margin-right: 3px;
}

.step-in-btn {
  background-position: 0px -105px;
  margin-right: 3px;
}

.step-out-btn {
  background-position: -21px -105px;
  margin-right: 3px;
}

.step-over-btn {
  background-position: 0px 21px;
  margin-right: 3px;
}

#visualizationOverlay {
  position: absolute;
  top: 0;
  left: auto;
  overflow: hidden;
  outline: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  filter: progid:DXImageTransform.Microsoft.Blur(pixelradius=0);
}

#divApplab, #designModeViz, .draggingParent {
  overflow: hidden;
  outline: none;
  position: relative;
  z-index: 1;
  background-color: white;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#divApplab canvas, #designModeViz canvas, .draggingParent canvas {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: -1;
}
#divApplab img, #designModeViz img, .draggingParent img {
  opacity: 1;
  max-width: none;
}
#divApplab label, #designModeViz label, .draggingParent label {
  display: inline-block;
}
#divApplab div, #designModeViz div, .draggingParent div {
  overflow: hidden;
}
#divApplab div.textArea, #designModeViz div.textArea, .draggingParent div.textArea {
  overflow: auto;
  word-wrap: break-word;
  /* needed by Firefox */
  -moz-user-select: text;
}
#divApplab button, #designModeViz button, .draggingParent button {
  padding: 7px 12px;
  margin: 2px;
  font-size: 14px;
}
#divApplab input, #divApplab div.textArea, #divApplab button, #divApplab select, #divApplab img, #divApplab label, #designModeViz input, #designModeViz div.textArea, #designModeViz button, #designModeViz select, #designModeViz img, #designModeViz label, .draggingParent input, .draggingParent div.textArea, .draggingParent button, .draggingParent select, .draggingParent img, .draggingParent label {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  line-height: 1.2em;
  margin: 5px;
}
#divApplab input p, #divApplab div.textArea p, #divApplab button p, #divApplab select p, #divApplab img p, #divApplab label p, #designModeViz input p, #designModeViz div.textArea p, #designModeViz button p, #designModeViz select p, #designModeViz img p, #designModeViz label p, .draggingParent input p, .draggingParent div.textArea p, .draggingParent button p, .draggingParent select p, .draggingParent img p, .draggingParent label p {
  line-height: inherit;
}
#divApplab .chart, #designModeViz .chart, .draggingParent .chart {
  position: absolute;
  display: block;
  overflow: hidden;
}
#divApplab .chart .loading, #designModeViz .chart .loading, .draggingParent .chart .loading {
  background: url("/blockly/media/applab/spinner-big.gif") no-repeat center center;
}
#divApplab .design-mode-hidden, #designModeViz .design-mode-hidden, .draggingParent .design-mode-hidden {
  visibility: hidden;
}

#divApplab.notRunning canvas:not(#turtleCanvas), #designModeViz canvas:not(#turtleCanvas), .draggingParent canvas:not(#turtleCanvas) {
  background-color: #eee;
}
#divApplab.notRunning .chart, #designModeViz .chart, .draggingParent .chart {
  background-color: #eee;
}
#divApplab.notRunning .design-mode-hidden, #designModeViz .design-mode-hidden, .draggingParent .design-mode-hidden {
  visibility: visible;
  opacity: 0.3;
}

#divApplab.appModern, #designModeViz.appModern, .draggingParent {
  color: #333;
}
#divApplab.appModern button, #designModeViz.appModern button, .draggingParent button {
  border: 0;
  border-radius: 0;
}
#divApplab.appModern button:hover, #designModeViz.appModern button:hover, .draggingParent button:hover {
  background-image: url("/blockly/media/applab/brighter.png");
  box-shadow: none;
}
#divApplab.appModern button:active, #designModeViz.appModern button:active, .draggingParent button:active {
  background-image: url("/blockly/media/applab/darker.png");
  border: 0 !important;
}
#divApplab.appModern input[type=text], #divApplab.appModern input:not([type]), #divApplab.appModern div.textArea, #designModeViz.appModern input[type=text], #designModeViz.appModern input:not([type]), #designModeViz.appModern div.textArea, .draggingParent input[type=text], .draggingParent input:not([type]), .draggingParent div.textArea {
  border: 1px solid #999;
  padding: 5px;
  /* padding clips text in text inputs in Firefox */
}
#divApplab.appModern select, #designModeViz.appModern select, .draggingParent select {
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  border-radius: 0;
  padding: 0 30px 0 10px;
  color: #fff;
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: auto 50%;
  padding-right: 0\9 ;
  background: transparent\9 ;
}
#divApplab.appModern select::-ms-expand, #designModeViz.appModern select::-ms-expand, .draggingParent select::-ms-expand {
  display: none;
}
#divApplab.appModern select:hover, #designModeViz.appModern select:hover, .draggingParent select:hover {
  opacity: 0.8;
}
#divApplab.appModern button, #divApplab.appModern select, #divApplab.appModern input, #divApplab.appModern .textArea, #designModeViz.appModern button, #designModeViz.appModern select, #designModeViz.appModern input, #designModeViz.appModern .textArea, .draggingParent button, .draggingParent select, .draggingParent input, .draggingParent .textArea {
  outline: 0;
}
#divApplab.appModern img[data-canonical-image-url=""], #designModeViz.appModern img[data-canonical-image-url=""], .draggingParent img[data-canonical-image-url=""] {
  display: none;
}
#divApplab.appModern .screen, #designModeViz.appModern .screen, .draggingParent .screen {
  outline: 0;
}

_:-ms-fullscreen select, :root #divApplab.appModern select, #designModeViz.appModern select, .draggingParent select {
  background-position-x: right -35px;
}

#divApplab.notRunning img[data-canonical-image-url=""], #divApplab.notRunning canvas:not(#turtleCanvas), #divApplab.notRunning .chart, #designModeViz.appModern img[data-canonical-image-url=""], #designModeViz.appModern canvas:not(#turtleCanvas), #designModeViz.appModern .chart, .draggingParent img[data-canonical-image-url=""], .draggingParent canvas:not(#turtleCanvas), .draggingParent .chart {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  outline: 1px solid #bdc3c7;
  outline-offset: -1px;
}
#divApplab.notRunning img[data-canonical-image-url=""], #designModeViz.appModern img[data-canonical-image-url=""], .draggingParent img[data-canonical-image-url=""] {
  display: block;
  background: #bdc3c7 url("/blockly/media/applab/placeholder_img.png") center center no-repeat !important;
}
#divApplab.notRunning canvas:not(#turtleCanvas), #designModeViz.appModern canvas:not(#turtleCanvas), .draggingParent canvas:not(#turtleCanvas) {
  background: #bdc3c7 url("/blockly/media/applab/placeholder_canvas.png") center center no-repeat;
}
#divApplab.notRunning .chart, #designModeViz.appModern .chart, .draggingParent .chart {
  background: #bdc3c7 url("/blockly/media/applab/placeholder_chart.png") center center no-repeat;
}

div#visualization {
  height: 562.5px;
  width: 400px;
}

div#visualization.with_padding {
  border: 1px solid #ddd;
}

div#visualizationResizeBar {
  top: 30px;
}

#playSpaceHeader > div {
  height: 30px;
}

/*
 * Shrink the visualization area on small displays.
 *
 * Above 1150px, the play space is 400px wide. Between 1150px and 950px, the
 * play space width responsively decreases by 50px as the window width is
 * reduced by 50px. The scale factor and the play space height are scaled down
 * so as to preserve the aspect ratio.
 *
 * Vertical responsiveness causes the playspace width to grow and shrink by the
 * same increments. min-height and max-height breakpoints are chosen
 * experimentally to keep about the same amount of space below the phone frame
 * throughout the responsive range.
 */
@media screen and (min-width: 1151px), screen and (min-height: 849px) {
  div#visualization.responsive {
    max-height: 562.5px;
    max-width: 400px;
  }

  div#visualizationColumn.responsive {
    max-width: 400px;
  }

  div#visualizationColumn.responsive.with_padding {
    max-width: 402px;
  }

  .small-footer-base.responsive {
    max-width: 400px;
  }

  div.editor-column {
    left: 400px;
  }

  html[dir=rtl] div.editor-column {
    right: 400px;
  }

  div#visualizationResizeBar {
    left: 400px;
    line-height: 562.5px;
  }

  html[dir=rtl] div#visualizationResizeBar {
    right: 400px;
  }

  div#visualization.responsive > * {
    -webkit-transform: scale(1.25);
    -ms-transform: scale(1.25);
    transform: scale(1.25);
  }
}
@media screen and (min-width: 1101px) and (max-width: 1150px), screen and (min-height: 777px) and (max-height: 848px) {
  div#visualization.responsive {
    max-height: 492.1875px;
    max-width: 350px;
  }

  div#visualizationColumn.responsive {
    max-width: 350px;
  }

  div#visualizationColumn.responsive.with_padding {
    max-width: 352px;
  }

  .small-footer-base.responsive {
    max-width: 350px;
  }

  div.editor-column {
    left: 350px;
  }

  html[dir=rtl] div.editor-column {
    right: 350px;
  }

  div#visualizationResizeBar {
    left: 350px;
    line-height: 492.1875px;
  }

  html[dir=rtl] div#visualizationResizeBar {
    right: 350px;
  }

  div#visualization.responsive > * {
    -webkit-transform: scale(1.09375);
    -ms-transform: scale(1.09375);
    transform: scale(1.09375);
  }
}
@media screen and (min-width: 1051px) and (max-width: 1100px), screen and (min-height: 708px) and (max-height: 778px) {
  div#visualization.responsive {
    max-height: 421.875px;
    max-width: 300px;
  }

  div#visualizationColumn.responsive {
    max-width: 300px;
  }

  div#visualizationColumn.responsive.with_padding {
    max-width: 302px;
  }

  .small-footer-base.responsive {
    max-width: 300px;
  }

  div.editor-column {
    left: 300px;
  }

  html[dir=rtl] div.editor-column {
    right: 300px;
  }

  div#visualizationResizeBar {
    left: 300px;
    line-height: 421.875px;
  }

  html[dir=rtl] div#visualizationResizeBar {
    right: 300px;
  }

  div#visualization.responsive > * {
    -webkit-transform: scale(0.9375);
    -ms-transform: scale(0.9375);
    transform: scale(0.9375);
  }
}
@media screen and (min-width: 1001px) and (max-width: 1050px), screen and (min-height: 638px) and (max-height: 707px) {
  div#visualization.responsive {
    max-height: 351.5625px;
    max-width: 250px;
  }

  div#visualizationColumn.responsive {
    max-width: 250px;
  }

  div#visualizationColumn.responsive.with_padding {
    max-width: 252px;
  }

  .small-footer-base.responsive {
    max-width: 250px;
  }

  div.editor-column {
    left: 250px;
  }

  html[dir=rtl] div.editor-column {
    right: 250px;
  }

  div#visualizationResizeBar {
    left: 250px;
    line-height: 351.5625px;
  }

  html[dir=rtl] div#visualizationResizeBar {
    right: 250px;
  }

  div#visualization.responsive > * {
    -webkit-transform: scale(0.78125);
    -ms-transform: scale(0.78125);
    transform: scale(0.78125);
  }
}
@media screen and (max-width: 1000px), screen and (max-height: 637px) {
  div#visualization.responsive {
    max-height: 281.25px;
    max-width: 200px;
  }

  div#visualizationColumn.responsive {
    max-width: 200px;
  }

  div#visualizationColumn.responsive.with_padding {
    max-width: 202px;
  }

  .small-footer-base.responsive {
    max-width: 200px;
  }

  div.editor-column {
    left: 200px;
  }

  html[dir=rtl] div.editor-column {
    right: 200px;
  }

  div#visualizationResizeBar {
    left: 200px;
    line-height: 281.25px;
  }

  html[dir=rtl] div#visualizationResizeBar {
    right: 200px;
  }

  div#visualization.responsive > * {
    -webkit-transform: scale(0.625);
    -ms-transform: scale(0.625);
    transform: scale(0.625);
  }
}
#visualizationColumn.wireframeShare {
  max-width: none !important;
  width: 352px;
  height: 612px;
  margin: 0 auto;
  padding: 20px 0;
  background-size: initial;
}
#visualizationColumn.wireframeShare #playSpaceHeader, #visualizationColumn.wireframeShare #gameButtons {
  display: none;
}
#visualizationColumn.wireframeShare #phoneFrameScreen {
  width: 320px;
  height: 480px;
}
#visualizationColumn.wireframeShare #visualization {
  top: 68px;
  left: 16px;
  border: 0;
}

#visualizationColumn.chromelessShare #playSpaceHeader, #visualizationColumn.chromelessShare #gameButtons {
  display: none;
}

#visualizationColumn.widgetWidth, #visualization.widgetWidth {
  width: 600px;
  max-width: 600px;
}
#visualizationColumn.widgetHeight, #visualization.widgetHeight {
  height: 450px;
  max-height: 450px;
}

#divApplab, #designModeViz {
  outline: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#divApplab {
  position: relative;
  z-index: 1;
  background-color: white;
}

#designModeViz {
  overflow: visible;
}
#designModeViz.clip-content {
  overflow: hidden;
}
#designModeViz .screen {
  overflow: visible;
}

#visualizationOverlay {
  z-index: 3;
}

#divApplab canvas, #designModeViz canvas {
  position: absolute;
  overflow: hidden;
  top: 0px;
  left: 0px;
  z-index: -1;
}

#divApplab label, #divApplab input, #divApplab button, #divApplab select, #divApplab textarea {
  font-size: 14px;
}
#divApplab select {
  height: 30px;
  width: 220px;
}
#divApplab button, #divApplab input, #divApplab select, #divApplab textarea {
  vertical-align: middle;
}

#divApplab.running label {
  cursor: default;
}

/* When not running, show default arrow cursor for all UI elements
   so that they do not look active. */
#divApplab.notRunning button, #divApplab.notRunning label, #divApplab.notRunning select, #divApplab.notRunning input, #divApplab.notRunning img, #divApplab.notRunning div.chart, #divApplab.notRunning canvas, #divApplab.notRunning div[contenteditable=true] {
  cursor: default;
}

#divApplab.notRunning.withCrosshair {
  cursor: crosshair;
}
#divApplab.notRunning.withCrosshair button, #divApplab.notRunning.withCrosshair label, #divApplab.notRunning.withCrosshair select, #divApplab.notRunning.withCrosshair input, #divApplab.notRunning.withCrosshair img, #divApplab.notRunning.withCrosshair div.chart, #divApplab.notRunning.withCrosshair canvas, #divApplab.notRunning.withCrosshair div[contenteditable=true] {
  cursor: crosshair;
}

/* In design mode, show grab/grabbing cursor for all UI elements
 * so that they look draggable. */
#designModeViz button, #designModeViz label, #designModeViz select, #designModeViz input, #designModeViz img, #designModeViz div.chart, #designModeViz canvas, #designModeViz div[contenteditable=true] {
  cursor: move;
  /* fallback if grab cursor is unsupported */
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
#designModeViz button:active, #designModeViz label:active, #designModeViz select:active, #designModeViz input:active, #designModeViz img:active, #designModeViz div.chart:active, #designModeViz canvas:active, #designModeViz div[contenteditable=true]:active {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
#designModeViz button.toDelete, #designModeViz label.toDelete, #designModeViz select.toDelete, #designModeViz input.toDelete, #designModeViz img.toDelete, #designModeViz div.chart.toDelete, #designModeViz canvas.toDelete, #designModeViz div[contenteditable=true].toDelete {
  opacity: 0.5;
}
#designModeViz.withCrosshair {
  cursor: crosshair;
}

#visualizationResizeBar {
  margin-left: 2px;
  width: 13px;
}

#runButton, #resetButton {
  margin-right: 0;
  outline-style: none;
}

/* Sprited icons. */
.icon21 {
  height: 21px;
  width: 21px;
  background-image: url("/blockly/media/applab/icons.png");
  background-size: 42px 147px;
  margin-bottom: -3px;
}

.code {
  background-position: -21px 0px;
}

.link {
  background-position: 0px 0px;
}

.run {
  background-position: 0px -21px;
  margin-right: 3px;
}

.stop {
  background-position: -21px -21px;
  margin-right: 3px;
}

.left-btn {
  background-position: -21px -42px;
  margin-right: 3px;
}

.right-btn {
  background-position: -21px -63px;
  margin-right: 3px;
}

.up-btn {
  background-position: 0px -63px;
  margin-right: 3px;
}

.down-btn {
  background-position: 0px -42px;
  margin-right: 3px;
}

#share-cell {
  display: inline-block;
  vertical-align: top;
}
#share-cell.share-cell-none {
  display: none;
}

#submitButton {
  border-color: #7665a0;
  background-color: #7665a0;
  color: white;
}

#unsubmitButton {
  border-color: #a69bc1;
  background-color: #a69bc1;
  color: white;
}

.assetRow {
  border-bottom: 1px solid #999;
}

.assetRow:last-child {
  border-bottom: none;
}

.assetRow:hover {
  background: #cfc9de;
}

.no-outline:focus {
  outline: none;
}

.justify-contents {
  text-align: justify;
  line-height: 0;
}
.justify-contents:after {
  content: "";
  width: 100%;
  display: inline-block;
}

.rightalign-contents {
  text-align: right;
  line-height: 0;
}
.rightalign-contents:after {
  content: "";
  width: 100%;
  display: inline-block;
}

.hover-pointer:hover {
  cursor: pointer;
}

.chooseAssetDropdownOption {
  color: #0596ce;
  text-decoration: underline;
}

*[contenteditable] {
  -webkit-user-select: auto !important;
}

.inline-flex {
  /* PhantomJS 2.1.3 requires this vendor-specific prefix, which
   * Radium 0.18.1 does not automatically apply. */
  display: -webkit-inline-flex;
  display: inline-flex;
}

.flex {
  /* PhantomJS 2.1.3 requires this vendor-specific prefix, which
   * Radium 0.18.1 does not automatically apply. */
  display: -webkit-flex;
  display: flex;
}

.design-element-image {
  width: 72px;
}

.rainbow-gradient {
  background: -webkit-linear-gradient(to bottom right, red, orange, yellow, green, blue);
  /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(to bottom right, red, orange, yellow, green, blue);
  /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(to bottom right, red, orange, yellow, green, blue);
  /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom right, red, orange, yellow, green, blue);
  /* Standard syntax */
}

#divApplab img#turtleImage {
  position: absolute;
  height: 24px;
  width: 24px;
  margin: 0px;
}

/*
 * Reposition the bottom and right click targets to keep them from overlapping with
 * the bottom-right resize handle. Also increase the effective size of the bottom and
 * right click targets by making them overlap more with the wrapper.
 */
#designModeViz .ui-resizable-e {
  height: calc(100% - 12px);
  right: 0;
}

#designModeViz .ui-resizable-s {
  width: calc(100% - 12px);
  bottom: 0;
}

.theme-dropdown .Select-value {
  height: 44px;
}
.theme-dropdown .Select-value .theme-dropdown-label img {
  width: 36px;
  height: 36px;
}
.theme-dropdown .Select-value-label .checkbox {
  visibility: hidden;
}
.theme-dropdown .Select-menu, .theme-dropdown .Select-menu-outer {
  height: 70vh;
  max-height: 70vh;
  border-bottom: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
}
.theme-dropdown .Select-control {
  height: 44px;
}
.theme-dropdown .form-control .Select-arrow-zone {
  display: table-cell !important;
}