.scheme-wrapper {
  overflow: auto;
  position: relative; /*affects scrolling and scaling*/
}

.scheme-wrapper.loading {
  background-image: url("../images/loading.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.scheme {
  position: absolute; /*affects scaling*/
  transform-origin: left top; /*affects scaling*/
}
.scheme .comp {
  box-sizing: border-box;
  line-height: normal;
  position: absolute;
}
.scheme .comp.action {
  cursor: pointer;
}
.scheme .cmd-frame {
  background-image: url("../images/loading.gif");
  background-position: center;
  background-repeat: no-repeat;
  width: 100px;
  height: 50px;
  left: 50%;
  top: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  background-color: white;
  background-size: 40px 40px;
  border: 1px solid #999;
  border-radius: 6px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  overflow: hidden;
}

/* Notification Panel */
#divNotif {
  position: fixed;
  top: 0;
  left: 0;
  max-height: 100px;
  padding: 10px;
  background-color: white;
  border-bottom: 1px solid #ced4da;
  font-size: 12px;
  overflow: auto;
  white-space: nowrap;
}
#divNotif .message {
  color: #0073aa;
}
#divNotif .message.error {
  color: red;
}

/* Toolbar (above the scheme) */
#divToolbar {
  position: fixed;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  left: 0;
  top: 0;
  color: #9ca1a6;
  display: inline-block;
  font-size: 14px;
  white-space: nowrap;
}
#divToolbar:hover span {
  opacity: 1;
}
#divToolbar .tool-btn {
  height: 30px;
  margin: 0 5px 0 0;
  padding: 0 10px;
  cursor: pointer;
  background-color: white;
  display: inline-block;
  line-height: 30px;
  vertical-align: top;
  opacity: 0.5;
}
#divToolbar .tool-btn:hover {
  color: #00b9eb;
}

#spanCurScale {
  height: 30px;
  margin: 0 5px 0 0;
  padding: 0 10px;
  cursor: pointer;
  background-color: white;
  display: inline-block;
  line-height: 30px;
  vertical-align: top;
  opacity: 0.5;
  cursor: default;
  font-size: 12px;
}

/* Debug tools */
#divDebugTools {
  padding: 0 10px;
  display: none; /*inline-block*/
  font-size: 12px;
  vertical-align: top;
}

/* Scheme */
#divSchWrapper {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
}
