

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

* {
  -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);
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font: 400 16px/1.3em 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
  background-color: #000;
  color: #585858;
}

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;
}

#virtual-tour-titlebar {
  position: absolute;
opacity: 0.5;
background-color: rgb(255,255,255,.8); 
text-align: center;
left: 1px;
right: 1px;
padding : 10px 0;
}

#virtual-tour-titlebar h1 {color: #333; font-weight: 600;}


/* Link hotspot */

.link-hotspot {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -25px;
    margin-top: -25px;
    opacity: 0.9;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.no-touch .link-hotspot:hover {
  opacity: 1;
}

.mobile .link-hotspot {
  width: 70px;
  height: 70px;
}

.link-hotspot-icon {
    width: 82%;
    height: 82%;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    line-height: 1;
    top: 4px;
    left: 4px;
    position: relative;
}

.link-hotspot-tooltip {
  position: absolute;
  left: calc(100% + 8px);
  top: 4px;
  margin-left: 3px;
  font-size: 16px;
  max-width: 300px;
  padding: 8px 10px;
  border-radius: 5px;
  background-color: rgb(255,255,255);
  background-color: rgba(255,255,255,0.9);
  color: #585858;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  -ms-transform: translateX(-8px);
  -webkit-transform: translateX(-8px);
  transform: translateX(-8px);
  -webkit-transition: -ms-transform 0.3s,
                      -webkit-transform 0.3s,
                      transform 0.3s,
                      opacity 0.3s;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              opacity 0.3s;
}

.link-hotspot-icon .bsl-icon {
  background-size: 100%;
  height: 9px;
  margin-top: 0;
  margin-bottom: 3px;
  transform-origin: center;
  /* outline: 1px solid red; */
  background-position: 0;
}

.bsl-icon--left-align {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  margin-right: 11px;
}

.bsl-icon--right-align {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  margin-left: 11px;
}

.bsl-icon--down-align {
  margin-bottom: -4px !important;
  margin-top: 0px !important;
}

.mobile .link-hotspot {
  top: 19px; /* ( 70 - (16 + 2*8) ) / 2 */
}

.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  opacity: 1;
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* Prevent tooltip from triggering */
.link-hotspot-tooltip {
  pointer-events: none;
}
.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  pointer-events: all;
}

/* Fallback mode without pointer-events (IE8-10) */
.tooltip-fallback .link-hotspot-tooltip {
  display: none;
}
.no-touch .tooltip-fallback .link-hotspot:hover .link-hotspot-tooltip {
  display: block;
}



/* View control buttons */

.viewControlButtonGroup {
  position: absolute;
  bottom:90px;
  display:flex;
  height:80px;
  width:100%;
  justify-content: center;
}

.viewControlButton {
  width: 80px;
  height: 80px;
  padding: 24px 10px 10px;
  border-radius: 50%;
  background-color: rgb(255,255,255);
  background-color: rgba(255,255,255,0.9);
  border: 2px solid #ccc;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  color: #585858;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin:0 3px;
}

a.viewControlButton:hover {
  color: #585858;
  background-color: rgba(255,255,255,1);
}

.viewControlButton span.bsl-icon {
    margin-bottom: 8px;   
    width: 22px;
    height: 26px;
    margin-top: -15px;
    background-size: cover;
}

/* specific tweaks for specific icons */
.viewControlButton span.bsl-icon.bsl-icon--right {
  margin-left: 5px;
}

.viewControlButton span.bsl-icon.bsl-icon--plus,
.viewControlButton span.bsl-icon.bsl-icon--minus {
  width: 18px;
  height: 20px;
  margin-top: -10px;
}

/* exit button is on top right */
.viewControlButton.viewControlButton--exit {
  position: absolute;
  top:10px;
  right:20px;
  width: 60px;
  height: 60px;
  z-index: 1;
}

.viewControlButton span.bsl-icon.bsl-icon--close {
    width: 16px;
    margin-top: -13px;
    margin-bottom: 0;
}

/* Hide controls when width is too small */
@media (max-width: 600px) {
  body.view-control-buttons .viewControlButton {
    display: none;
  }
  body.view-control-buttons .viewControlButton.viewControlButton--exit {
      display: flex;
      right: 10px;
  }
}


#sceneListToggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  z-index:1;
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

.mobile #sceneListToggle {
  width: 50px;
  height: 50px;
}

#sceneListToggle .text {
  position: absolute;
  top: 5px;
  left: 15px;
  width: 100%;
  line-height: 30px;
}

#sceneListToggle .icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
}

.mobile #sceneListToggle .icon {
  top: 10px;
  right: 10px;
}

#sceneListToggle .icon.on {
  display: none;
}

#sceneListToggle .icon.off {
  display: block;
}

#sceneListToggle.enabled .icon.on {
  display: block;
}

#sceneListToggle.enabled .icon.off {
  display: none;
}

#sceneList {
  position: absolute;
  z-index:1;
  top: 40px;
  left: -250px;
  padding-top: 0;
  width: 250px;
  max-height: calc(100% - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  margin-left: 0;
  -webkit-transition: margin-left 0.5s ease-in-out;
  transition: margin-left 0.5s ease-in-out;
}

.mobile #sceneList {
  top: 50px;
}

#sceneList .scenes {
  width: 100%;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  padding: 0 10px;
}

.mobile #sceneList {
  width: 100%;
  height: 100%;
  left: -100%;
}

.mobile #sceneList.enabled {
  margin-left: 100%;
}

.mobile #sceneList .scenes {
  height: auto;
}

#sceneList.enabled {
  margin-left: 250px;
}

#sceneList .scene {
  display: block;
  width: 100%;
  height: auto;
  color:#ccc;
  padding: 5px 0;
}

.mobile #sceneList .scene {
  height: 52px;
}

#sceneList .scene .text {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile #sceneList .scene .text {
  line-height: 40px;
}

.no-touch #sceneList .scene:hover {
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

#sceneList .scene.current {
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

/* Hide scene list when only a single scene exists */
body.single-scene #sceneList, body.single-scene #sceneListToggle {
  display: none;
}

