.hidden {
  display: none!important;
}

#webglmessage {
  position: absolute;
}

.threejs-control .dg .c,
.threejs-control .dg button,
.threejs-control .dg input,
.threejs-control .dg optgroup,
.threejs-control .dg select,
.threejs-control .dg textarea {
  line-height: normal;
}

.html-widget.threejs-brain-container {
  display: flex;
  position: relative;
  padding: 0;
  overflow: hidden;
}
.html-widget.threejs-brain-container>.threejs-brain-canvas {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}


.threejs-control {
  position: relative;
  float: right;
  max-width: 300px;
  margin-bottom: -100%;
  width: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 10;
  /* pointer-events: none; */
}

.threejs-control .dg .c select{
  color: cornflowerblue;
}
.threejs-control .dg {
  font: 11px monospace, 'Lucida Grande', sans-serif;
  position: relative;
}

.threejs-control .dg .cr.color .property-name {
  overflow-y: hidden;
}

.threejs-control .dg .cr.function .property-name {
  width: 100%;
}
.threejs-control .dg .cr.function .c {
  display: hidden;
}

.threejs-control .dg .property-name {
    text-overflow: clip;
    overflow-y: hidden;
    overflow-x: hidden;
    /* overflow-x: scroll; */
    white-space: nowrap;
    /* hide scrollbar */
    padding-bottom: 17px;
    margin-bottom: -17px;
}

.threejs-control *{
  /* pointer-events: auto; */
}


.threejs-control .dg.main {
  /* opacity: 0.4; */
  padding-bottom: 20px;
  width: 100% !important;
}


.threejs-control div.close-button{
  width:100%!important;
}


.threejs-control .dg.main,
.threejs-control .dg.main *,
.threejs-control .dg.main ::after,
.threejs-control .dg.main ::before{
  box-sizing: content-box;
}

.threejs-control .dg.main:hover {
    opacity: 1;
}


.THREEBRAIN-SIDE-DIVIDER {
  width: 5px;
  background-color: black;
  cursor: col-resize;
}

.THREEBRAIN-SIDE-DIVIDER::before {
  content: ' ';
}


.THREEBRAIN-SIDE {
  position: absolute;
  height: 250px;
  width: 250px;
  margin: 0;
  padding: 0;
  min-height: 100px;
  overflow: hidden;
  outline: 1px solid #2e2e2e;
  outline-offset: 0;
}
.THREEBRAIN-SIDE-HEADER {
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 21px;
  text-align: center;
  font-size: 12px;
  padding-top: 2px;
  background-color: rgb(100,100,100);
  background-color: rgba(100,100,100,0.5);
  color: #fff;
  cursor: move;
}

.THREEBRAIN-SIDE .zoom-tool {
  position: absolute;
  z-index: 9;
  width: 25px;
  height: 25px;
  right: 2px;
  background-color: rgb(200,200,200);
  background-color: rgba(200,200,200,0.5);
  color: #fff;
  cursor: pointer;
  line-height: 25px;
  text-align: center;
  font-size: 16px;
}

.THREEBRAIN-SIDE .zoom-tool.pan-active {
  background-color: rgb(250,200,200);
  background-color: rgba(250,200,200,0.8);
}




/**
* Resizable divs, by Hung Nguyen
* Use case:
<div class='resizable'>
  <div class='resizers'>
    <div class='resizer top-left'></div>
    <div class='resizer top-right'></div>
    <div class='resizer bottom-left'></div>
    <div class='resizer bottom-right'></div>
  </div>
</div>
*/


.resizable {
  position: absolute;
}

.resizable .resizers{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.resizable .resizers .resizer{
  width: 0;
  height: 0;
  /*border-radius: 50%; /*magic to turn square into circle*/
  background: transparent;
  /* border: 3px solid #4286f4;*/
  position: absolute;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #e2e2e2;
}

.resizable .resizers .resizer.top-left {
  left: 0;
  top: -5px;
  cursor: nwse-resize; /*resizer cursor*/
  transform: rotate(-135deg);
}
.resizable .resizers .resizer.top-right {
  right: 0;
  top: -5px;
  cursor: nesw-resize;
  transform: rotate(-45deg);
}
.resizable .resizers .resizer.bottom-left {
  left: 0;
  bottom: -5px;
  cursor: nesw-resize;
  transform: rotate(135deg);
}
.resizable .resizers .resizer.bottom-right {
  right: 0;
  bottom: -5px;
  cursor: nwse-resize;
  transform: rotate(45deg);
}


/* Tooltip text */
.threejs-control .dg .cr[viewer-tooltip] {
  position: relative;
}
.threejs-control .dg .cr[viewer-tooltip]:before {
  content: attr(viewer-tooltip);
  background-color: #f9f9f9;
  color: #000000;
  top: 1em;
  position: absolute;
  white-space: nowrap;
  transform: translate(-4px, -4px);
  right: 0;
  opacity: 0.7;
  font-family: inherit;
  font-weight: bold;
  text-shadow: none;
  padding: 0 3px;
  -webkit-border-radius: 0.2em;
  border-radius: 0.2em;
  z-index: 1;
  line-height: 17px;
  font-size: 0.85em;
}

