html, body {
  width:  100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  
  font-family: verdana, meiryo, sans-serif, Arial Unicode MS, Cambria Math;
}

#loadingImg {
  position: fixed;
  top: 1em;
  left: 1em;
  width: 10em;
  height: 10em;
  background-color: #ffffffaa;
  border-radius: 5em;
  z-index: 999;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: visibility .2s ease,opacity .2s ease;
}

#loadingImg.vis {
  visibility: visible;
  opacity: 1;
}

#sysinfo {
  position: absolute;
  z-index: 999;  
  display: none;
}

#plotdiv {
  width: 100%;
  height: 20em;
  border-bottom: 1px solid black;
  display: inline-block;
}

#plotdiv > .js-plotly-plot {
  height: 100%;
}

#uidiv {
  width: 33em;
  height: 100%;
  border-left: 1px solid black;
  display: inline-block;
  margin-left: -6px;
}

#uidiv tr:nth-child(3), #uidiv tr:nth-child(4), #uidiv tr:nth-child(5), #uidiv tr:nth-child(6), #uidiv tr:nth-child(7), #uidiv tr:nth-child(9), #uidiv tr:nth-child(10), #uidiv tr:nth-child(12), #uidiv tr:nth-child(13), #uidiv tr:nth-child(14), #uidiv tr:nth-child(1) td:nth-child(2), #uidiv tr:nth-child(15) td:nth-child(2) {
  position: relative;
  left: 1em;
}

#uidiv input::-webkit-outer-spin-button, #uidiv input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#uidiv input[type=number] {
  width: 4em;
  -moz-appearance: textfield;
}

#uidiv tr:nth-child(15) td:nth-child(2) div:nth-child(1), #uidiv tr:nth-child(15) td:nth-child(2) div:nth-child(2) {
  display: inline-block;
  width: 2em;
  height: 1em;
  border: 1px solid grey;
  margin-right: .5em;
  vertical-align: middle;
}

#uidiv tr:nth-child(15) td:nth-child(2) div:nth-child(1) {
  background-color: white;
}

#uidiv tr:nth-child(15) td:nth-child(2) div:nth-child(2) {
  background-color: black;
}

#uidiv tr:nth-child(15) td:nth-child(2) div:nth-child(1):hover, #uidiv tr:nth-child(15) td:nth-child(2) div:nth-child(2):hover {
  cursor: pointer;
  border: 1px solid red;
}


#fv_merged2_min, #fv_merged2_max {
  width: 6em !important;
}

#uidiv input[type=color] {
  width: 2em;
  vertical-align: middle;
}

#plotdiv > div {
  height: 22em;
}

.molmil_UI_container {
  top: -20em;
  width: calc(100% - 33em - 1px);
  height: calc(100vh - 20em);
}

#help {
  position: absolute;
  top: 1.5em;
  left: 1em;
  z-index: 999;
  cursor: pointer;
  border: 1px solid black;
  border-radius: 1em;
  padding: .2em .5em .2em .5em;
}

#help:hover {
  color: #C8323A;
  border: 1px solid #C8323A;
}

#help_content {
  position: absolute;
  top: 2.25em;
  left: 1em;
  border: 1px solid black;
  border-radius: 1em;
  padding: .5em .5em .5em 2em;
  width: 30em;
  background-color: white;
}
