@font-face {
            font-family: 'RobotoMono';
            src: url('RobotoMono-Light.ttf') format('truetype');
            font-weight: 100;
            font-style: normal;
        }

@font-face {
    font-family: 'RobotoMono';
    src: url('RobotoMono-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

body {
  padding: 0px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  margin: 0;
  overflow: hidden;
}

a {
  color: #00B7FF;
}

canvas {
  width: 100%; height: 100%;
}

#modelcanvas {
  width: 100%;
  height: 100%;
  border: none;
}

.left {
  float:left;
}

.right {
  float:right;
}

.container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#input {
    width: 30%;
    min-width: 300px;
    max-width: 400px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: #666;
    background: #ddd;
    text-align: center;
    font-family: 'RobotoMono';
}

#output {
    width: 40%;
    min-width: 400px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: #444;
    color: #fff;
    font-family: 'RobotoMono';
}

#viewport {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}



#intro {
	width: 100%;
	height: 100vh;
	background: #f0d762;
	color: #827638;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#logo {
  width: 95vmin;
    min-width: 320px;
    max-width: 1216px;
  height: 40vmin;
  top: calc(50vh - 20vmin);
  left: calc(50% - 47.5vmin);
  position: absolute;
  background: url(../img/LOGO.jpg) no-repeat 50% 50%;
  background-size: contain;
  opacity: 0.01;
}

.question {
  width: 100%;
  height: 100%;
  text-align: center;
  position: absolute;
  opacity: 0.001;
}

.questionTitle {
  margin-top: 20vmin;
  margin-bottom: 5vmin;
  font-size: calc(1vw + 1vh + 1rem);
}

.answer {
  width: 23vw;
  max-width: 250px;
  height: 23vw;
  max-height: 250px;
  position: relative;
  display: inline-block;
  background: #555;
    cursor: pointer;
    transition: 0.2s;
}

.answer:hover {
  -webkit-transform: scale(1.02);
     -moz-transform: scale(1.02);
      -ms-transform: scale(1.02);
       -o-transform: scale(1.02);
          transform: scale(1.02);
    transition: 0.1s;
}

.answerText {
  width: 90%;
  position: absolute;
  top: 100%;
  left: 5%;
  font-size: calc(0.5vw + 0.5vh + 0.5rem);
}

#q1a1 {
  background: url(../img/q1a1_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q1a2 {
  background: url(../img/q1a2_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q1a3 {
  background: url(../img/q1a3_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q1a4 {
  background: url(../img/q1a4_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}



#q2a1 {
  background: url(../img/q2a1_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q2a2 {
  background: url(../img/q2a2_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q2a3 {
  background: url(../img/q2a3_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q2a4 {
  background: url(../img/q2a4_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}



#q3a1 {
  background: url(../img/q3a1_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q3a2 {
  background: url(../img/q3a2_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q3a3 {
  background: url(../img/q3a3_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#q3a4 {
  background: url(../img/q3a4_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filtered {
  width: 100%;
  height: 100%;
  text-align: center;
  position: absolute;
  text-align: center;
  opacity: 0.01;
}

.filteredItem {
	width: 40vmin;
	min-width: 250px;
    max-width: 300px;
	height: 40vmin;
	min-height: 250px;
    max-height: 300px;
	display: inline-block;
	position: relative;
}

.filteredPic {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/result2.png) no-repeat 50% 50%;
	background-size: cover;
}

.filteredButton {
	width: 90%;
	height: 3.5rem;
	position: absolute;
	bottom: -25%;
	left: 5%;
	font-size: 1.5rem;
    line-height: 3.5rem;
  background: #7B7030;
  color: #f0d762;
  cursor: pointer;
}

.filteredDesc {
  width: 50%;
  height: 70%;
  position: absolute;
  top: 0;
  right: -5%;
    text-align: left;
  font-size: calc(0.5vw + 0.5vh + 0.5rem);
}

#bucket {
  width: 100%;
  height: 15vmin;
  position: absolute;
  text-align: center;
}

.filteredMicro {
  width: 0vmin;
  height: 15vmin;
  display: inline-block;
  cursor: pointer;
}

.filteredMicro:hover {
  -webkit-transform: scale(1.03);
     -moz-transform: scale(1.03);
      -ms-transform: scale(1.03);
       -o-transform: scale(1.03);
          transform: scale(1.03);
    transition: 0.1s;
}

#filteredMicro_q1a1 {
  background: url(../img/q1a1_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q1a2 {
  background: url(../img/q1a2_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q1a3 {
  background: url(../img/q1a3_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q1a4 {
  background: url(../img/q1a4_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}



#filteredMicro_q2a1 {
  background: url(../img/q2a1_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q2a2 {
  background: url(../img/q2a2_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q2a3 {
  background: url(../img/q2a3_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q2a4 {
  background: url(../img/q2a4_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}



#filteredMicro_q3a1 {
  background: url(../img/q3a1_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q3a2 {
  background: url(../img/q3a2_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q3a3 {
  background: url(../img/q3a3_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}
#filteredMicro_q3a4 {
  background: url(../img/q3a4_ICO.png) no-repeat 0% 50%;
  background-size: contain;
}



::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0,0,0,0.2);
}



#primeInput {
    width: 100%;
    height: 100%;
/*    margin-left: 10px;*/
    overflow: auto;
    opacity: 0.01;
  -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.inputPic {
    width: 20vw;
    min-width: 200px;
    max-width: 300px;
    height: 5vw;
    min-height: 100px;
    max-height: 200px;
    display: inline-block;
    background: no-repeat 50% 50%;
    background-size: contain;
}

#control_P1_option_1 {
    background: url(../img/2nd_floor_A.svg) no-repeat 50% 50%;
    background-size: contain;
}

#control_P1_option_2 {
    background: url(../img/2nd_floor_B.svg) no-repeat 50% 50%;
    background-size: contain;
}

.inputLabel {
    font-size: 1.5rem;
    display: inline-block;
}

.inputValue {
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-block;
}

.secondaryInputValue {
    font-size: 1rem;
    margin: 5vh auto;
    display: inline-block;
}

#secondaryInput {
    position: absolute;
    width: 30%;
    height: 100vh;
    top: 0;
    right: -5px;
    pointer-events: none;
}

input[type=range] {
  -webkit-appearance: none;
  width: 85%;
  margin: 0.75rem 0 2rem 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: #666666;
  border-radius: 25px;
  border: 0px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 5px solid #dddddd;
  height: 40px;
  width: 40px;
  border-radius: 40px;
  background: #666666;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -15px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #6b6b6b;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: #666666;
  border-radius: 25px;
  border: 0px solid #010101;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 5px solid #dddddd;
  height: 40px;
  width: 40px;
  border-radius: 40px;
  background: #666666;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #616161;
  border: 0px solid #010101;
  border-radius: 50px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}
input[type=range]::-ms-fill-upper {
  background: #666666;
  border: 0px solid #010101;
  border-radius: 50px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}
input[type=range]::-ms-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 5px solid #dddddd;
  height: 40px;
  width: 40px;
  border-radius: 40px;
  background: #666666;
  cursor: pointer;
  height: 10px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #666666;
}
input[type=range]:focus::-ms-fill-upper {
  background: #6b6b6b;
}


.inputPicSmall {
  width: 10vw;
    min-width: 100px;
    max-width: 150px;
    height: 10vw;
    min-height: 100px;
    max-height: 150px;
    display: inline-block;
    background: no-repeat 50% 50%;
    background-size: contain;
    cursor: pointer;
    border: 2px solid transparent;
}

.option-chosen {
    border-bottom: 2px solid #666;
}

.inputPicSmall:active {
  -webkit-transform: scale(0.9);
     -moz-transform: scale(0.9);
      -ms-transform: scale(0.9);
       -o-transform: scale(0.9);
          transform: scale(0.9);
    transition: 0.1s;
}

#primeOutput {
    width: 100%;
    height: 100%;
    opacity: 0.01;
    text-align: center;
  -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.outputLabel {
    font-size: 1.5rem;
    display: inline-block;
}

.outputValue {
    font-size: 3rem;
    font-weight: 800;
    display: inline-block;
}

#continueButton {
    width: 60%;
    height: 5rem;
    left: 20%;
    bottom: 10%;
    position: absolute;
    display: inline-block;
    font-weight: 800;
    font-size: 2rem;
    line-height: 5rem;
    color: #444;
    background: #fff;
    cursor: pointer;
}

#floorControllerBig {
    width: 15vw;
    min-width: 100px;
    max-width: 150px;
    height: 15vw;
    min-height: 100px;
    max-height: 150px;
    display: inline-block;
}

#secondaryOutput {
    position: absolute;
    width: 30%;
    height: 100vh;
    top: 0;
    left: 5px;
    pointer-events: none;
    text-align: center;
}

.secondaryOutputValue {
    font-size: 1rem;
    margin: 5vh auto;
    display: inline-block;
}

#finalize {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 2%;
    left: 0;
    background: #444;
    color: #fff;
    text-align: center;
/*  opacity: 0.01;*/
}

#email-input {
    width: 80%;
    height: 3rem;
    font-size: 1.5rem;
    line-height: 3rem;
    text-align: center;
    background: none;
    border: none;
    border-bottom: 2px solid #ddd;
    color: #fff;
    outline: none;
}

#email-save {
    width: 40%;
    height: 3.5rem;
    font-size: 1.5rem;
    line-height: 3.5rem;
    text-align: center;
    color: #444;
    background: #fff;
    border: none;
}

#showEmailButton {
    width: 7vw;
    height: 7vw;
    position: absolute;
    bottom: 2%;
    right: 2%;
    background: url(../img/email-icon.png) no-repeat 50% 50%;
    background-size: cover;
    cursor: pointer;
}

#mainButtons {
    width: 90%;
    height: 4rem;
    margin: 0 auto;
    border-bottom: 2px solid #666;
    text-align: center;
}

.mainButton {
    width: 33%;
    height: 2rem;
    float: left;
    margin-top: 1rem;
}

#backButton {
    background: url(../img/back_button.svg) no-repeat 50% 50%;
    background-size: contain;
}

#autoRotateButton {
    background: url(../img/autoRotate_button.svg) no-repeat 50% 50%;
    background-size: contain;
}

#mouseButton {
    background: url(../img/mouse_button.svg) no-repeat 50% 50%;
    background-size: contain;
}
