* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -ms-content-zooming: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  font-family: "OpenSans-Regular", sans-serif, Arial;
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  /*ooverflow: hidden;*/
  font-family: "OpenSans-Regular", sans-serif, Arial;
  font-size: 16px;
  background-color: #000;
  color: #fff;
}

a, a:hover, a:active, a:visited {
  text-decoration: none;
  color: inherit;
}

#pano {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#titleBar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0px;
  height: 0px;
  text-align: center;
  background-color: #D33534;
}

#menuBar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0px;
  height: 45px;
  text-align: center;
  z-index:99;
}

#menuBar .leftlogo{
  position: absolute;
  top: 0;
  left: 0;
  display:none;
}

#menuBar .menu{
  padding:6px;
}

#menuBar .menu a{
  font-size: calc(.9vw + 6px);
  margin-left: 10px;
  z-index:99;
  background-color: #3D3737;
  opacity: .75;
  padding:5px;
  border-radius: 5px;
}
/*hid the loading box*/

.pnlm-load-box
{
  display: none !important;
}

#panorama {
  position: absolute;
  top:0px;
  width: 100%;
  height: 100%; /*calc(100% - 60px);*/
}

.custom-hotspot-sceneOLD {
  height: 48px;
  width: 48px;
  background-image: url("img/link.gif");
  background-repeat: no-repeat;
  background-position:center;
  background-size: 48px 48px;
  opacity: .95;
}

.custom-hotspot-scene {
  width: 60px;
  height: 60px;
  background: url('img/hotspot_ani.png') left center;
  animation: play 1.1s steps(16) infinite;
}

@keyframes play {
  100% { background-position: -960px; }
}

/*hotspot boxes*/
.custom-hotspotSPC, .custom-hotspotMB, .custom-hotspotHPL, .custom-hotspotVDL, .custom-hotspotCB,
.custom-hotspotSS, .custom-hotspotWXY, .custom-hotspotDM, .custom-hotspotTFL, .custom-hotspotQTZ {
    font-size: 16px;
    height: 25px;
    width: 42px;
    background: #000;
    color: #fff;
    opacity: .95;
    font-weight: 700;
    text-align: center;
    padding-top: 5px;
}
.hotspot_invert {
    filter: invert(1);
}

.custom-hotspotSPC:before, .custom-hotspotMB:before, .custom-hotspotHPL:before, .custom-hotspotCB:before,
.custom-hotspotVDL:before, .custom-hotspotSS:before, .custom-hotspotWXY:before,
.custom-hotspotDM:before, .custom-hotspotTFL:before, .custom-hotspotQTZ:before {
    NOPEpadding: 10px;
}
    .custom-hotspotSPC:before {
        content: 'SPC';
    }
    .custom-hotspotMB:before {
        content: 'MB';
    }
    .custom-hotspotHPL:before {
        content: 'HPL';
    }
    .custom-hotspotVDL:before {
        content: 'VDL';
    }
    .custom-hotspotSS:before {
        content: 'SS';
    }
    .custom-hotspotWXY:before {
        content: 'WXY';
    }
    .custom-hotspotDM:before {
        content: 'DM';
    }
    .custom-hotspotTFL:before {
        content: 'TFL';
    }
    .custom-hotspotQTZ:before {
        content: 'QTZ';
    }
    .custom-hotspotCB:before {
        content: 'CB';
}
/****************************************/

.custom-hotspot {
  height: 32px;
  width: 32px;
  background-image: url("img/i_button.png");
  background-repeat: no-repeat;
  background-position:center;
  background-size: 32px 32px;
  opacity: .5;
}

div.custom-tooltip span a{
  color:red;
}
div.custom-tooltip span, #popupinfo {
  visibility: hidden;
  position: absolute;
  border-radius: 3px;
  background-color: #fff;
  color: #000;
  text-align: center;
  max-width: 500px;
  padding: 5px 10px;
  margin-left: -420px;
  margin-top:-100px;
  cursor: default;

  font-size:14px !important;
  margin-top: -150px !important;
}
div.custom-tooltip:hover span{
  visibility: visible;
}

div.custom-tooltip:hover span:after, #popupinfo:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  bottom: 120px;
  left: -10px;
  margin: 0 50%;
}

div.custom-tooltip span, #popupinfo {
  visibility: hidden;
  position: absolute;
  border-radius: 3px;
  background-color: #fff;
  color: #000;
  text-align: center;
  max-width: 500px;
  padding: 5px 10px;
  margin-left: -420px;
  margin-top:-100px;
  cursor: default;

  font-size:14px !important;
  margin-top: -150px !important;
}
/* changer hotspot*/
.changer-hotspot-scene {
    height: 48px;
    width: 48px;
    background: url('img/Button_For_Changer.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 48px;
    opacity: .9;
}
/* changer hotspot*/
.leavechanger-hotspot-scene {
    height: 48px;
    width: 148px;
    background: url('img/Back_to_Tour_Button.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 48px;
    opacity: .9;
}
/* scnene info hotspot*/
.area-hotspot-scene {
    height: 44px;
    width: 55px;
    background: url('img/Info_Button.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55px 44px;
    opacity: .9;
}

div.scene-tooltip span {
    visibility: hidden;
    position: absolute;
    border-radius: 3px;
    background-color: #D33534;
    color: #ffffff;
    text-align: center;
    max-width: 200px;
    padding: 5px 10px;
    margin-left: -220px;
    cursor: default;
}

div.scene-tooltip:hover span {
    visibility: visible;
}

    div.scene-tooltip:hover span:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent transparent transparent;
        bottom: -20px;
        left: -10px;
        margin: 0 50%;
    }


/* popup text */
.popupContents{
  padding:5px;
}
.popupTitle{
  position: absolute;
  top:0px;
  left:0px;
  cursor: pointer;
  padding:3px;
  padding-left:10px;
  width:100%;
  background-color: #3D3737;
  color:#ffffff;
  font-size:.9rem;
}
.popupMaterials{
  padding:5px;
}

.popupMaterials h3{
  padding:5px;
  color:#ffffff;
}
.popupMaterials a{
  font-size: 10pt;
  color: #ffffff !important;
  text-decoration: underline;
  margin-left:5px;
}

.overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0;
  bottom: 0;
  font-size: 0;
  white-space: nowrap;
  text-align: center;
  z-index:101;
}

.overlay::before {
  content: "";
  height: 100%;
}

.overlay::before,.modal {
  display: inline-block;
  vertical-align: middle;
  font-size: 10pt;
  white-space: initial;
  text-align: left;
  margin: 0 auto;
}

.modal {
  position: absolute;
  background:#5E5E5E;
  opacity: .95;
  border-radius: 5px;
  padding:25px;
  padding-left:10px;
  padding-right: 10px;
  box-shadow: 0px 5px 15px -5px black;
  color:#ffffff;
  /*text-align: center;not centering becuase it looks beter left */
  vertical-align: middle;
  font-weight: bold;
  max-width:25%;
  min-width:400px;

}

.modal a{
  color: #ffffff !important;
  font-size: 10pt;
  text-decoration: underline;
}

.modal .closeoverlay{
  position: absolute;
  top:4px;
  right:4px;
  cursor: pointer;
  padding:3px;
  z-index: 99;
  color:#ffffff;
  width: 20px;
  height:18px;
  font-size:12px;
  background-color: #cccccc;
  text-align:center;

}

.modal .overlayheader{
  position: absolute;
  top:5px;
  left:5px;
  padding:3px;
}

.modal li{
  font-size: .8rem;
  color:green;
  text-decoration: underline;
  cursor: pointer;
}

#featuredbtn{
  display:none;/*they do not want this */
  position: absolute;
  top:0px;
  right:10px;
  cursor: pointer;
}

.helpimg {
    max-height: 100%;
    z-index: 99;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;

}
vertical-align: middle;
}

.helpicon{
  display:none;
  position: absolute;
  top:5px;
  right:5px;
  z-index:99;
  width:32px;
}

.hidden{
    display:none;
}

@media screen and (max-width: 900px) {

    .modal {
        min-width: 410px;
    }

    .popupTitle {
        font-size: .8rem;
    }
}

@media screen and (max-width: 500px) {

    .modal {
        min-width: 310px;
    }

    .popupTitle {
        font-size: .8rem;
    }
}


/*only do landscape on mobile */
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
    html {
        transform: rotate(-90deg);
        transform-origin: left top;
        width: 100vh;
        height: 100vw;
        overflow-x: hidden;
        position: absolute;
        top: 100%;
        left: 0;
    }
}