html, body {
  margin: 0;
  padding: 0;
}

h1, h4 {
  margin-top: 16px;
  margin-left: 16px;
  color: white;
}

h5 {
  margin-left: 32px;
  color: white;
}

#display-container {
  display: flex;
  flex-direction: row;
  height: -webkit-fill-available;
  height: calc(100% - 47px);
}

#scene-container  {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: inherit;
  background-color: black;
}

#controlGUI {
  border-right: 1px solid white;
  width: 360px;
  position: absolute;
  height: inherit;
  background-color: rgb(0, 0, 0);
}

/**===== loading =====*/
.loading {
  display: block;
  position: absolute;
  /* top: 50%;
  left: 50%; */
  height: 50px;
  width: 50px;
  margin: -25px 0 0 -25px;
}
.loading div{
  margin-top: 15px;
  margin-bottom: 15px;
}
.loading span {
  margin-left: 5px;
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  -webkit-animation: loading 1s infinite ease-in-out;
          animation: loading 1s infinite ease-in-out;
}

.loading span:nth-child(1) {
  left: 0px;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

.loading span:nth-child(2) {
  left: 15px;
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

.loading span:nth-child(3) {
  left: 30px;
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

.loading span:nth-child(4) {
  left: 45px;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

@keyframes loading {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    background: rgba(201, 201, 201, 0.25);
  }
  50% {
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
    background: #ffffff;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    background: rgba(201, 201, 201, 0.25);
  }
}
@-webkit-keyframes loading {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    background: rgba(201, 201, 201, 0.25);
  }
  50% {
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
    background: #ffffff;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    background: rgba(201, 201, 201, 0.25);
  }
}
/** END of loading */

.input_video {
  display: none;
}

.output_canvas {
  height: 180px;
  width: 320px;
  transform: rotateY(180deg); /* make canvas mirrored*/
  background-color: gray;
}

.control-panel-entry {
  font-size: 14px;
  /* background: #cccccc; */
  opacity: 1;
  /* color: white; */
  width: 270px;
  border: 2px solid #fff;
  border-radius: 15px;
}
.control-panel-entry:last-child, .control-panel-entry:first-child {
  border: 2px solid #fff;
  border-radius: 15px;
}
.control-panel-shell {
  position: relative;
  margin-top: 0;
  margin-left: 0;
}
.dropdown-option {
  font-size: 14px;
}
.dropdown-options {
  font-size: 14px;
}
.dropdown-trigger {
  font-size: 14px;
  border: 0.1px solid white;
}

.dropdown {
  position: relative;display: block
}
.dropdown-trigger {
  position: relative;display: flex;
}

.swatchGrid {
  display: grid;
  grid-template-columns: repeat(8, 20px);
  grid-template-rows: repeat(2, 20px);
  grid-gap: 4px;
  margin-bottom: 16px;
}

.swatch {
  border-radius: 4px;
  cursor: pointer;
  border: 1px;
  border-color: rgb(164, 164, 164);
  border-style: solid;
}

.calibraBtnStyle {
  border: 2px solid #fff;
  border-radius: 15px;
  box-shadow: 1px 1px 10px #000000a0;
  box-sizing: content-box;
  line-height: 25px;
  margin-left: 16px;
  margin-right: 16px;
  width: 320px;
}

/*== header color style start ==*/
.lcyan {
  margin-bottom:0px;
  height: 47px;
  border-top: 1px solid #1d799e;
  border-bottom: 1px solid #155b76;
  background-color: #269CCB;
  background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMSAxIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48bGluZWFyR3JhZGllbnQgaWQ9ImdyYWQtdWNnZy1nZW5lcmF0ZWQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNkYWVkYiIgc3RvcC1vcGFjaXR5PSIxIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMjY5Q0NCIiBzdG9wLW9wYWNpdHk9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+PC9zdmc+);
  background-image: -moz-linear-gradient(top, #3daedb, #269CCB);
  background-image: -webkit-linear-gradient(top, #3daedb, #269CCB);
  background-image: -o-linear-gradient(top, #3daedb, #269CCB);
  background-image: linear-gradient(top, #3daedb, #269CCB);
  -webkit-box-shadow: inset 0 1px #63bde1, inset 0 -2px #1e82a9;
  -moz-box-shadow: inset 0 1px #63bde1, inset 0 -2px #1e82a9;
  box-shadow: inset 0 1px #63bde1, inset 0 -2px #1e82a9;
}
.lcyan ul{left:-1px;padding-top:0px;}
.lcyan .navbar-nav-lcyan li {border-right:1px solid #227393;border-right:1px solid rgba(0, 0, 0, 0.3);height:100%;}
.lcyan .navbar-nav-lcyan li:first-child {border-left:1px solid #227393;border-left:1px solid rgba(0, 0, 0, 0.3);}
.lcyan .navbar-nav-lcyan li > a {color:#fff;font-weight:600;line-height:18px;padding:13px 15px 16px;border-left:1px solid #59b5da;border-left:1px solid rgba(255, 255, 255, 0.2);cursor: pointer;text-shadow: 1px 0 #000;}
.lcyan .navbar-nav-lcyan li > span {color:#fff;font-weight:600;line-height:18px;padding:13px 15px 16px;border-left:1px solid #59b5da;border-left:1px solid rgba(255, 255, 255, 0.2);text-shadow: 1px 0 #000;}

.lcyan .navbar-nav-lcyan li:hover > a {
  background-color: #fff;
  color: #333;
  text-shadow:none;
  /* background-image:-moz-linear-gradient(top, #f0f0f0, #fff); */
  /* background-image:-webkit-linear-gradient(top, #f0f0f0,#fff); */
  /* background-image:linear-gradient(top, #f0f0f0, #fff); */
}

.lcyan .navbar-nav-lcyan .menu ul {background-color:#fff;border:1px solid #b3b3b3;border-top:none;overflow-y:auto;max-height:300px;}
.lcyan .navbar-nav-lcyan .menu ul > li > a {color:#555;font-weight:normal;font-size:13px;line-height:18px;padding:9px 12px;border-top:1px solid #e4e4e4;text-shadow: 0 0;}
.lcyan .navbar-nav-lcyan .menu ul > li > a:hover {background-color:#f0f0f0;border-left:3px solid #b3b3b3;}

.navbar-dark .navbar-nav .nav-link {
  color: white;
}

.navbar-dark .navbar-toggler {
  color: rgba(255,255,255,.55);
  border-color: rgba(255,255,255,.3);
}

.navbar-dark .navbar-nav:hover .nav-link:not(#fps):hover {
  color: #333;
}

#fps:hover {
  color: white;
}

.navbar-brand {
  padding-bottom: 8px;
}

.container-fluid {
  height: 100%;
  align-content: space-around;
}
/* == header color style end == */

/* auto open dropdown menu start */
.dropdown:hover .dropdown-menu {display: block;}

.input-group {
  width: 300px;
}

.chatBox {
  max-height: 500px;
  max-width: 300px;
}