* {
  -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;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -ms-content-zooming: none;
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
  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%;
}


#titleBar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  padding-left: 40px;
  padding-right: 40px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  text-align: center;
}

#titleBar .sceneName {
  height: 100%;
  line-height: 30px;
  display: inline-block;
  vertical-align: middle;
  padding: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

#titleBar .scenesCounter {
  margin-left: 1em;
}


.nav {
  display: block;
  position: absolute;
  bottom: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.7);
}


.prev,
.next {
 text-align: center; 
 cursor: pointer;
 transition: all .3s ease-in-out;
}

.prev {
 left: 0;
}

.next {
 right: 0;
}

.prev:hover,
.next:hover {
 background-color: rgba(103,115,131,1);
}

.prev:before,
.next:before {
 content: " ";
 display: block;
 position: absolute;
 width: 0;
 height: 0;
 top: 8px;
 border: 10px solid transparent;
 transition: all .3s ease-in-out;
}

.prev:before {
 right: 15px;
 border-right-color: rgba(255,255,255,.7);
}

.prev:hover:before{
 border-right-color: rgba(255,255,255,1);
}

.next:before {
 left: 15px;
 border-left-color: rgba(255,255,255,.7);
}

.next:hover:before{
 border-left-color: rgba(255,255,255,1);
}

#commentForm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -80px;

  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);

  padding: 10px;
}

#commentTextarea {
  width: 100%;
  height: 50px;
  resize: none;
  border: none;

  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;

  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
  color: #fff;
}

#commentForm h2 {
  margin-bottom: 0.5em;
}
#commentForm button {
  font-size: 14px;
}


.marker {
  background-color: red;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;

  pointer-events: none;
}

.comment {
  position: absolute;
  left: 30px;
  width: 200px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  padding: 0.5em;
}

textarea {
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}