#testbox{
    width: 40%;
    height: 40%;
}

.inputBox {
    width: 40px;
    font-size: 14px;
}

#object3D {
}

html, body{
    background-color: #000000;
    color: #ffffff;
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
}

.infolink:after {
    content: '?';
    display: inline-block;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    font-size: 0.8em;
    line-height: 0.8em;
    border-radius: 50%;
    margin-left: 6px;
    padding: 0.13em 0.2em 0.09em 0.2em;
    color: green;
    border: 1px solid;
    text-decoration: none;
}

.button {
    background-color: #ffffff;
    border: none;
    padding: 1px 1px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
} 

.container {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.sub_control{
    position: relative;
    left: 2%;
    top: 5px;
    padding: 2px 2px;
    width: calc(96% - 10px);
    border: 3px solid green;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.disableddiv {
    display: none;
    position: absolute;             
    z-index: 1001;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(200,255,200,0.7);
    color: #ffffff;
}

.close_button {
    position: absolute;
    width: 100px;
    height: 25px;
    text-align:right;
    top: 5px;
    right: 5px;
    background-color: rgba(0,0,0,0);
    color: #ffffff;
}

.mypopup {
    border-radius: 20px;
    width: 300px;
    height: 200px;
    position: absolute;
    color: #000000;
    background-color: rgba(255,255,255,0.9);
    /* To align popup window at the center of screen*/
    padding: 5px;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -150px;
    border: 3px solid green;
}

@media screen and (orientation:portrait) {
  .control {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 30%;
    color: #000000;
    background-color: #ffffff;
    overflow: scroll;
    border: solid green;
  }
  .player {
    position: fixed;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 70%;
    color: #ffffff;
    background-color: #000000;
    border: solid green;
    overflow: scroll;
  }
}

@media screen and (orientation:landscape) {
  .control {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 30%;
    height: 100%;
    color: #000000;
    background-color: #ffffff;
    overflow:scroll;
    border: solid green;
  }

.player {
    position: fixed;
    right: 0px;
    top: 0px;
    width: 70%;
    height: 100%;
    color: #ffffff;
    background-color: #000000;
    border: solid green;
    overflow: scroll;
  }
}


.cube {
  position: absolute;
  right:40%;
  top:40%;
  height: 100px;
  margin: 0 auto;
  width: 100px;
  font-size:8pt;
  -webkit-transform-style: preserve-3d;
  /*-webkit-backface-visibility: hidden;*/
  -webkit-transform: perspective(200);
}

input.right {
    float: right;
}

.face {
  position: absolute;
  background-color: rgb(50, 50, 50);
  -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
  /*-webkit-backface-visibility: hidden;*/ /* Safari */
  /* backface-visibility: hidden;*/
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  opacity: 0.8;
  /*overflow: hidden;*/
  text-align: center;
  vertical-align: middle;
}


.top  {
  background-color: rgb(0, 0, 255);
  -webkit-transform: rotateX(90deg) translateZ(50px);
}

.bottom {
  background-color: rgb(255, 255, 0);
  -webkit-transform: rotateX(-90deg) translateZ(50px) rotate(180deg);
}

.back {
  background-color: rgb(255, 0, 255);
  -webkit-transform: rotateY(180deg) translateZ(50px);
}

.front {
  background-color: rgb(0, 255, 0);
  -webkit-transform: translateZ(50px);
}

.left {
  background-color: rgb(255, 0, 0);
  -webkit-transform: rotateY(90deg) translateZ(50px);
}


.right {
  background-color: rgb(0, 255, 255);
  -webkit-transform: rotateY(-90deg) translateZ(50px);
}

