*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html,body{
    background-color: #000000;
    /* font-family set in fonts.css (offline system stack) */
    overflow: hidden;
    height:100%;
}


#helpBtn{
    background-image: url("../images/helpBtn.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    pointer-events: auto;
    height: 30px;
    width: 70px;
    margin:0px;
    margin-right: 140px;
	margin-top: 10px;
    float:right;
}
#renderCanvas{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#clientLogo{
    border: 0;
    height: 200px;
    width: 200px;
    margin-bottom: 15px;
    display: none;
}

a:link {
    text-decoration: none;
    color: black;
}
ul{
    list-style-type: none;
}
.mainpage{
    background-color: white;
    width:90%;
    max-width:1200px;
    min-width:320px;
    margin-left: auto;
    margin-right: auto;
}
.header_inner{
    width:95%;
    display: inline-flex;
    padding:30px;
}
.header_inner .logo img{
    width:310px;
    height: 56px;
}
.main_menu ul{
    float: right;
    list-style-type: none;
    text-decoration: none;

}
.menu-item{
    float:right;
    position: relative;
    padding: 0 17px;
    color: #9d9d9d;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;

}
.fRight{
    margin-left: auto;
    margin-right: 10px;
    padding-top: 6px;;
}
.pagetitle{
    width:100%;
    text-align: center;
    font-size: 30px;
    color: #00578e;
    text-transform: uppercase;
}
.pagetitle-hline{
    width:95%;
    background-color: #00578e;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    margin-top:15px;
}
.content{
    min-height: 580px;
    position: relative;
    display: block;
}
.vrInstruct{
    width:70%;
    margin-top: 50px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 35px;
}
.exampleList{
    width: 100%;
    display: inline-flex;
    padding: 0px;
}
.exampleList

.exampleList li{
    width:45%;
}
.exampleItem{
    padding: 0px;
    display:block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    min-width: 45%;
    max-width: 400px;
}
.exampleItem div{
    text-align: center;
}
.exampleItem img{
    width: 80%;
}
.hidden{
    display:none !important;
}
.cameraTool{
    background-image: url("../images/cameratool.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 50px;
}
#toggleToFullScreen{
    background-image: url("../images/toggleToExpand.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    pointer-events: auto;
    height: 30px;
    width: 30px;
    margin:0px;
    margin-right: 10px;
    float:right;
}
#toggleFromFullScreen{
    background-image: url("../images/toggleFromExpand.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    pointer-events: auto;
    height: 30px;
    width: 30px;
    margin:0px;
    margin-right: 10px;
    float:right;
}
#showOptions{
    background-image: url("../images/floorPlanIcon.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 50px;
    margin:0px;
    margin-left: 5px;
}
#toggleToRotationTouch{
    background-image: url("../images/toggleDevicePoint.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 62px;
}
#togglePauseVideo{
    background-image: url("../images/pause.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 50px;
}
#togglePlayVideo{
    background-image: url("../images/play.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 50px;

}
#compassMap{
    transform: matrix(0.2 0 0 0.2 0 0);
}
#keyMapHolder{
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 200px;
    width: 200px;
}


#toggleToRotationDevice{
    background-image: url("../images/toggleDeviceOrient.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 62px;
}
#toggleFullScreenCB {
    background-image: url("../images/toggle2VR.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 62px;
    float:right;
    pointer-events: auto;
    margin-right: 10px;
}
#toggleFullScreen{
    background-image: url("../images/back.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 50px;
    margin-left: 6px;
}
#buttonTogglemenu{
    background-image: url("../images/floorPlanIcon.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    height: 50px;
    width: 62px;
}

.vrControls{
    width:100%;
    position: absolute;
    bottom: 10px;
    pointer-events: none;
}
.topControls{
    top:10px;
    height:30px;
}
#vrControlBar{
    width: 130px;
    height: 52px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255,255,255,0.4);
    border: solid gray 0.5px;
    border-radius: 5px;
    pointer-events: auto;
}
.vrControlBarIcon{
    pointer-events: auto;
    display:inline-flex;
    margin-left: auto;
    margin-right: auto;
}

#vrContent{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#rotateToLand{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width:100%;
    background-color: rgba(0,0,0,0.8);
}
#rotateToLandImg{
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 342px;
}
#rotateToLandImg img{
    margin-left: auto;
    margin-right: auto;
}

#vrInstruction{
    pointer-events: auto;
    position: absolute;
    width: 100%;
    height: 100%;
    top:0px;
    left:0px;
    background-color: rgba(0,0,0,0.3);
}

#vrInstructionSub{
    position: absolute;
    min-width: 96%;
    min-height: 96%;
    top:2%;
    left:2%;
    background-color: rgba(0,0,0,0.3);
}
#vrInstructionSub img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    max-width:640px;
}
body{
    background-color: #2e2c2c;
    margin: 0px;
}
.mainpage{
    max-width: none;
}
.header_inner {
    width: 100%;
    display: block;
    padding: 0px;
    padding-top: 20px;
    background-color: white;
}
.mainpage {
    width: 100%;
    background-color: #2e2c2c;
}
.pagetitle{
    padding-top: 20px;
    color:#ffffff;
}
.pagetitle-hline{
    display: none;
}
.exampleList {
    width: 100%;
    display: block;
    color:#ffffff;
}
.vrInstruct{
    font-size: 16px ;
    width:85%;
    color:#ffffff;
    margin-top: 20px;
}
.header_inner {
    display: block;
    padding-bottom: 20px;
}
.header_inner .logo img{
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0px;
    height: auto;
    width: 65%;
    max-width: 300px;
}
.fRight{
    width:100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.main_menu{
    overflow: hidden;
    height: 0px;
}
.main_menu ul {
    color:#333333;
    display: block;
    padding: 15px;
    width: 100%;
    background-color: white;
    font-family: 'Oswald', sans-serif;
    height:30px;
    padding-top:15px;
    margin: 0px;

}
.menu-item{
    min-width: 80px;
    margin-left: auto;
    width: 74%;
    margin-right: auto;
    float: none;
    height: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: solid 1px #d0d0d0;
    padding-left: 0px;
    font-style: normal;
    font-weight: 400;
    text-transform:none;
    font-size: 18px;
    color:#000;
}
#buttonTogglemenu{
    position: absolute;
    top:30px;
    left:5%;
    height: 30px;
    width:30px;
}
.inActive{
    display: none;
    pointer-events: none;
}
#statusText{
    font-weight: bold;
}
#coverScreen{
    background-color: #0f0f0f;
    color: #555555;
    background-size: cover;
    pointer-events: all;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 18px;
 }
#coverScreenWhite{
    background: #ffffff30;
    background: radial-gradient(#FFFFFF 15%, #FFFFFF30 100%);
}
/* Replaces Bootstrap 3's .progress/.progress-bar/.progress-bar-success (only classes this project used) */
.progress{
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}
.progress-bar{
    float: left;
    width: 0%;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    transition: width .6s ease;
}
.progress-bar-success{
    background-color: #5cb85c;
}
#coverScreen .progress{
    width:50%;
    height:8px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
}
.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
    pointer-events: none;
}
.middle {
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}
.inner {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 80%;
    color: #000;
    pointer-events: none;
}
#titleArea{
    position: fixed;
    top: max(68px, calc(env(safe-area-inset-top) + 68px));
    left: max(16px, env(safe-area-inset-left));
    background-color: #00000044;
    color: #FFFFFF;
    float: none;
    width: 280px;
    height: 62px;
    padding-left: 40px;
    padding-top: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    border: solid gray 0.5px;
    border-radius: 8px;
}
#titleArea-bottomLine{
    font-weight: 500;
    font-size: 24px;
}
.alwaysHidden{
    display: none;
}
.btn{
    pointer-events: all;
}
#configurationPanel{
    position: absolute;
    top: 0px;
    right:0px;
    float:right;
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.5);
    color:white;
}
.showFOV{
    position: absolute;
    top:0;
    left: 0;
    font-family: "Arial";
    font-size:30px;
}



#moveForwardTouch{
    position: absolute;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    background-image: url("../images/nodeTarget/nodeTarget_0000.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 34px 34px;
    pointer-events: auto;
}
#moveKeyLegend{
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: rgba(0,0,0,0.4);
    color: rgba(255,255,255,0.9);
    font-family: "Arial";
    font-size: 12px;
    line-height: 1.6;
    pointer-events: none;
}
#moveKeyLegend .moveKeyRow{
    display: block;
    white-space: nowrap;
}
#moveKeyLegend .moveKeySep{
    margin: 0 8px;
    opacity: 0.6;
}
@media (max-width: 720px) {
  .topControls {
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    left: auto;
    width: auto;
    height: auto;
  }
  #toggleToFullScreen,
  #toggleFromFullScreen {
    float: none;
    margin-right: 0;
  }
  #titleArea {
    display: none !important;
  }
  .vrControls {
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  #moveForwardTouch {
    bottom: max(80px, calc(env(safe-area-inset-bottom) + 72px));
  }
}

/* Portrait no longer blocks the tour — capture and the editor are phone-first. */
@media (orientation: portrait) {
    #rotateToLand{
        display: none !important;
    }
}
@media (orientation: landscape) {
    #rotateToLand{
        display:none;
    }
}
