* {
  -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-family: 'Helvetica Neue', 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%;
  overflow: hidden;
}

#titleBar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 40px;
  height: 40px;
  text-align: center;
}

#titleBar.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.mobile #titleBar {
  height: 50px;
  right: 50px;
}

/* If there is a fullscreen button the title bar must make space for it */
body.fullscreen-enabled #titleBar {
  right: 40px;
}

body.fullscreen-enabled.mobile #titleBar {
  right: 60px;
}

/* If there are multiple scenes the title bar must make space for the scene list toggle */
body.multiple-scenes #titleBar {
  left: 40px;
}

body.multiple-scenes.mobile #titleBar {
  left: 50px;
}

#titleBar .sceneName {
  width: 100%;
  height: 100%;
  line-height: 30px;
  padding: 5px;
  background-color: rgb(58, 68, 84);
  background-color: rgba(58, 68, 84, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

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

.mobile #titleBar .sceneName {
  line-height: 40px;
}

#fullscreenToggle {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
}

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

body.fullscreen-enabled #fullscreenToggle {
  display: block;
}

#back {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
  z-index: 50;
}

#back.enabled {
  display: block;
}

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

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

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

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

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

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

#autorotateToggle {
  display: block;
  position: absolute;
  bottom: 0;
  right: 40px;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
}

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

/* If there is a fullscreen button, autorotate must placed a bit to the left */
body.fullscreen-enabled #autorotateToggle {
  right: 40px;
}

body.fullscreen-enabled.mobile #autorotateToggle {
  right: 50px;
}

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

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

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

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

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

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

#sceneListToggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  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;
  top: 0;
  left: -220px;
  padding-top: 40px;
  width: 220px;
  max-height: 100%;
  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 {
  padding-top: 50px;
}

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

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

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

.mobile #sceneList .scenes {
  height: 100%;
}

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

#sceneList .scene {
  display: block;
  width: 100%;
  height: 30px;
}

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

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

/* Link hotspot */

.link-hotspot {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  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: 100%;
  height: 100%;
  cursor: pointer;
}
.link-hotspot.right .link-hotspot-tooltip {
	left: 100%;
}

.link-hotspot.left .link-hotspot-tooltip {
	right: 100%;
	left: -320%;
}
#hack {
	display: none;
	border: 1px solid red;
    height: 12px;
    position: absolute;
    bottom: 10px;
    width: 12px;
    left: 40%;
}
.link-hotspot.small .link-hotspot-tooltip {
	width: 150px;	
}

.link-hotspot.small.left .link-hotspot-tooltip {
	width: 150px;
	left: -260%;
}

.link-hotspot.small.left .hotspot-ok {
	left: -195px;
}

.link-hotspot.small.left .hotspot-micro {
	left: -195px;
}

.link-hotspot.small.right .hotspot-ok {
	right: -175px;
}

.link-hotspot.small.right .hotspot-micro {
	right: -175px;
}

.link-hotspot.left .hotspot-ok {
	left: -225px;
}


.link-hotspot.left .hotspot-micro {
	left: -225px;
}

.link-hotspot-tooltip {
  position: absolute;
  left: 100%;
  top: 14px; /* ( 60 - (16 + 2*8) ) / 2 */

  margin-left: 3px;

  font-size: 16px;

  max-width: 300px;

  padding: 8px 10px;

  border-radius: 5px;

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

  color: #fff;

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

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

/* Info hotspot */

.info-hotspot {
  line-height: 1.2em;
  opacity: 0.9;
  -webkit-transition: opacity 0.2s 0.2s;
  transition: opacity 0.2s 0.2s;
}

.no-touch .info-hotspot:hover {
  opacity: 1;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.info-hotspot.visible {
  opacity: 1;
}

.info-hotspot .info-hotspot-header {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: rgb(103, 115, 131);
  cursor: pointer;
  -webkit-transition: width 0.3s ease-in-out 0.5s, border-radius 0.3s ease-in-out 0.5s;
  transition: width 0.3s ease-in-out 0.5s, border-radius 0.3s ease-in-out 0.5s;
}

.mobile .info-hotspot .info-hotspot-header {
  width: 50px;
  height: 50px;
  border-radius: 25px;
}

.desktop.no-touch .info-hotspot .info-hotspot-header:hover {
  width: 260px;
  border-radius: 5px;
  -webkit-transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
  transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

.desktop .info-hotspot.visible .info-hotspot-header,
.desktop.no-touch .info-hotspot.visible .info-hotspot-header:hover {
  width: 260px;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  -webkit-transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
  transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

.info-hotspot .info-hotspot-icon-wrapper {
  width: 40px;
  height: 40px;
}

.mobile .info-hotspot .info-hotspot-icon-wrapper {
  width: 50px;
  height: 50px;
}

.info-hotspot .info-hotspot-icon {
  width: 90%;
  height: 90%;
  margin: 5%;
}

.info-hotspot .info-hotspot-title-wrapper {
  position: absolute;
  left: 40px;
  top: 0;
  width: 0;
  height: 40px;
  padding: 0;
  overflow: hidden;
  -webkit-transition: width 0s 0.4s, padding 0s 0.4s;
  transition: width 0s 0.4s, padding 0s 0.4s;
}

.desktop .info-hotspot.visible .info-hotspot-title-wrapper,
.desktop.no-touch .info-hotspot .info-hotspot-header:hover .info-hotspot-title-wrapper {
  width: 220px;
  padding: 0 5px;
  -webkit-transition: width 0s 0.4s, padding 0s 0.4s;
  transition: width 0s 0.4s, padding 0s 0.4s;
}

.info-hotspot .info-hotspot-title-wrapper:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.info-hotspot .info-hotspot-title {
  display: inline-block;
  vertical-align: middle;

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

.info-hotspot .info-hotspot-close-wrapper {
  position: absolute;
  left: 260px;
  top: 0;
  height: 40px;
  width: 40px;
  border-top-right-radius: 5px;
  background-color: rgb(78, 88, 104);
  visibility: hidden;
  -ms-transform: perspective(200px) rotateY(90deg);
  -webkit-transform: perspective(200px) rotateY(90deg);
  transform: perspective(200px) rotateY(90deg);
  -ms-transform-origin: 0 50% 0;
  -webkit-transform-origin: 0 50% 0;
  transform-origin: 0 50% 0;
  -webkit-transition: -ms-transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s, transform 0.3s 0.3s,
    visibility 0s 0.6s;
  transition: -ms-transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s, transform 0.3s 0.3s,
    visibility 0s 0.6s;
}

.desktop .info-hotspot.visible .info-hotspot-close-wrapper {
  visibility: visible;
  -ms-transform: perspective(200px) rotateY(0deg);
  -webkit-transform: perspective(200px) rotateY(0deg);
  transform: perspective(200px) rotateY(0deg);
  -webkit-transition: -ms-transform 0.3s, -webkit-transform 0.3s, transform 0.3s, visibility 0s 0s;
  transition: -ms-transform 0.3s, -webkit-transform 0.3s, transform 0.3s, visibility 0s 0s;
}

.info-hotspot .info-hotspot-close-icon {
  width: 70%;
  height: 70%;
  margin: 15%;
}

.info-hotspot .info-hotspot-text {
  position: absolute;
  width: 300px;
  height: auto;
  max-height: 200px;
  top: 40px;
  left: 0;
  padding: 10px;
  background-color: rgb(58, 68, 84);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  overflow-y: auto;
  visibility: hidden;
  /* rotate(90deg) causes transition flicker on Firefox 58 */
  -ms-transform: perspective(200px) rotateX(-89.999deg);
  -webkit-transform: perspective(200px) rotateX(-89.999deg);
  transform: perspective(200px) rotateX(-89.999deg);
  -ms-transform-origin: 50% 0 0;
  -webkit-transform-origin: 50% 0 0;
  transform-origin: 50% 0 0;
  -webkit-transition: -ms-transform 0.3s, -webkit-transform 0.3s, transform 0.3s, visibility 0s 0.3s;
  transition: -ms-transform 0.3s, -webkit-transform 0.3s, transform 0.3s, visibility 0s 0.3s;

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

.desktop .info-hotspot.visible .info-hotspot-text {
  visibility: visible;
  -ms-transform: perspective(200px) rotateX(0deg);
  -webkit-transform: perspective(200px) rotateX(0deg);
  transform: perspective(200px) rotateX(0deg);
  -webkit-transition: -ms-transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s, transform 0.3s 0.3s,
    visibility 0s 0s;
  transition: -ms-transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s, transform 0.3s 0.3s,
    visibility 0s 0s;
}

/* Info hotspot modal */

.desktop .info-hotspot-modal {
  display: none;
}

.info-hotspot-modal {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 11000 !important;
  background-color: rgba(0, 0, 0, 0.5);
  line-height: 1.2em;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s ease-in-out 0.5s, visibility 0s 0.7s;
  transition: opacity 0.2s ease-in-out 0.5s, visibility 0s 0.7s;
}

.info-hotspot-modal.visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.2s ease-in-out, visibility 0s 0s;
  transition: opacity 0.2s ease-in-out, visibility 0s 0s;
}

.info-hotspot-modal .info-hotspot-header {
  position: absolute;
  top: 60px;
  left: 10px;
  right: 10px;
  width: auto;
  height: 50px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out 0.2s;
  transition: opacity 0.3s ease-in-out 0.2s;
}

.info-hotspot-modal.visible .info-hotspot-header {
  opacity: 1;
  -webkit-transition: opacity 0.3s ease-in-out 0.2s;
  transition: opacity 0.3s ease-in-out 0.2s;
}

.info-hotspot-modal .info-hotspot-icon-wrapper {
  width: 50px;
  height: 50px;
}

.info-hotspot-modal .info-hotspot-icon {
  width: 90%;
  height: 90%;
  margin: 5%;
}

.info-hotspot-modal .info-hotspot-title-wrapper {
  position: absolute;
  top: 0;
  left: 50px;
  right: 50px;
  width: auto;
  height: 50px;
  padding: 0 10px;
}

.info-hotspot-modal .info-hotspot-title-wrapper:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.info-hotspot-modal .info-hotspot-title {
  display: inline-block;
  vertical-align: middle;

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

.info-hotspot-modal .info-hotspot-close-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: rgb(78, 88, 104);
  background-color: rgba(78, 88, 104, 0.8);
  cursor: pointer;
}

.info-hotspot-modal .info-hotspot-close-icon {
  width: 70%;
  height: 70%;
  margin: 15%;
}

.info-hotspot-modal .info-hotspot-text {
  position: absolute;
  top: 110px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 10px;
  background-color: rgb(58, 68, 84);
  background-color: rgba(58, 68, 84, 0.8);
  overflow-y: auto;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;

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

.info-hotspot-modal.visible .info-hotspot-text {
  opacity: 1;
  -webkit-transition: opacity 0.3s ease-in-out 0.4s;
  transition: opacity 0.3s ease-in-out 0.4s;
}

/* View control buttons */

.viewControlButton {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
}

body.view-control-buttons .viewControlButton {
  display: block;
}

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

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

/* Center is at margin-left: -20px */
.viewControlButton-1 {
  margin-left: -145px;
}

.viewControlButton-2 {
  margin-left: -95px;
}

.viewControlButton-3 {
  margin-left: -45px;
}

.viewControlButton-4 {
  margin-left: 5px;
}

.viewControlButton-5 {
  margin-left: 55px;
}

.viewControlButton-6 {
  margin-left: 105px;
}

#toggleDeviceOrientation {
  width: 40px;
  height: 40px;
  position: absolute;
  bottom: 0px;
  right: 200px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
}

#toggleDeviceOrientation img {
  width: 34px;
  margin: 3px;
}

#toggleDeviceOrientation .disable {
  display: none;
}

#toggleDeviceOrientation.enabled .disable {
  display: block;
}

#toggleDeviceOrientation.enabled .enable {
  display: none;
}

.hotspot {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
}

.hotspot img {
  width: 74%;
  height: 74%;
  //margin-top: 12%;
  //margin-left: 12%;
}

.hotspot img:hover + div {
  opacity: 1;
}

.device-balloon {
  position: absolute;
  color: black;
  top: -60px;
  left: 10px;
  display: block;
  width: 180px;
  height: auto;
  background: #fff;
  padding: 10px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  font-size: 18px;
}

.device-balloon:before {
  content: '';
  position: absolute;
  left: 9px;
  bottom: -15px;
  margin-top: 0px;
  display: block;
  width: 0px;
  height: 0px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
  transform: rotateZ(270deg);
}

.device-balloon.hidden {
  display: none;
}

#actor {
  position: absolute;
  bottom: 0;
  right: 120px;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
}
#compass {
  position: absolute;
  bottom: 0;
  right: 160px;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
}

#compass img {
  width: 100%;
}

#dot {
  position: absolute;
  bottom: 0;
  right: 80px;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
}

#dot.hidden { 
  display: none;
}

#dot img {
  width: 100%;
}

.link-hotspot.active .link-hotspot-tooltip {
  display: block;
  opacity: 1;
}

.hotspots-container .hotspot-image-wrapper {
  width: 100%;
  height: 100%;
}

.link-hotspot-tooltip {
  pointer-events: all;
}

.hotspot-image-wrapper {
  cursor: pointer;
}

.hotspot-image-wrapper.active + .link-hotspot-tooltip {
  display: block;
  opacity: 1;
}

.link-hotspot-tooltip textarea {
  resize: none;
}

.hotspot-remove {
  background: url(img/delete.png);
  width: 25px;
  height: 25px;
  display: none;
  z-index: 30000;
  background-repeat: no-repeat;
  background-size: 15px;
  background-color: #333;
  border-radius: 50px;
  background-position: center;
  cursor: pointer;
}

.hotspot-image-wrapper.active ~ .hotspot-remove,
.hotspot-image-wrapper.active ~ .hotspot-edit,
.hotspot-image-wrapper.active ~ .hotspot-ok,
.hotspot-image-wrapper.active ~ .hotspot-micro {
  display: block;
}

.hotspot-edit {
  background: url(img/edit-xxl.png);
  width: 25px;
  height: 25px;
  display: none;
  z-index: 30000;
  background-repeat: no-repeat;
  background-size: 15px;
  background-color: #333;
  border-radius: 50px;
  background-position: center;
  cursor: pointer;
  top: 35px;
  left: -23px;
  position: absolute;
  display: none !important;
}

.hotspot-ok {
  background: url(img/ok-xxl.png);
  width: 25px;
  height: 25px;
  display: none;
  z-index: 30000;
  background-repeat: no-repeat;
  background-size: 15px;
  background-color: #333;
  border-radius: 50px;
  background-position: center;
  cursor: pointer;
  top: 35px;
  right: -215px;
  position: absolute;
}

.hotspot-micro {
  width: 25px;
  height: 25px;
  display: none;
  z-index: 30000;
  background-repeat: no-repeat;
  background-size: 15px;
  background-color: #333;
  border-radius: 50px;
  background-position: center;
  cursor: pointer;
  top: 0px;
  right: -215px;
  position: absolute;
}

.voice {
  width: 25px;
  height: 25px;
  pointer-events: none;
}

.clip {
  width: 170px;
  hight: 76px;
}

.link-hotspot .hotspot-ok,
.link-hotspot textarea {
  display: none !important;
}

.link-hotspot .hotspot-micro {
  display: none !important;
}

.link-hotspot.edit .hotspot-micro {
  display: block !important;
}

.link-hotspot.edit .hotspot-ok,
.link-hotspot.edit textarea {
  display: block !important;
  max-width: 100%;
}

.link-hotspot-tooltip audio {
  resize: none;
}

.link-hotspot.edit span {
  display: none;
}

.blink {
  animation-name: blink;
  animation-timing-function: linear;
  animation-duration: 0.4s;
  animation-iteration-count: infinite;
  width: 14px;
  height: 22px;
  left: 12px;
  top: 12px;
  /* / / border-width: 12 px;
/ / border-style: solid;
/ / border-bottom-color: transparent;
/ / border-right-color: transparent;
/ / margin: 10 px;
/ / position: relative;
/ / display: inline-block;
/ / vertical-align: middle;
/ / color: #3f51b5; */
  box-sizing: border-box;
  /* / / transform: rotate(- 90 deg); */
  background: url(img/cursor.png);
  background-size: cover !important;
}

.blink:before {
  /* / / right: - 11 px;
/ / top: 9 px;
/ / position: absolute;
/ / height: 4 px;
/ / box-shadow: inset 0 0 0 32 px;
/ / transform: rotate(45 deg);
/ / width: 15 px;
/ / transform-origin: right top;
/ / content: "";
/ / box-sizing: border-box; */
}

.blink:after {
  /* / / content: "";
/ / box-sizing: border-box; */
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.actorList.active {
  display: flex;
}

.actorList {
  position: absolute;
  max-width: 100%;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: none;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  left: 10px;
  top: 10px;
}

.actor {
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  -webkit-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;
  padding: 5px;
  text-align: center;
  height: 60px;
  box-sizing: content-box;
  position: relative;
}

.actor.hidden {
  display: none;
}

.actor svg {
  max-width: 100%;
  width: 2.5rem;
  padding: 3px;
  box-sizing: border-box;
}

.actor.current {
  border: 3px solid white;
}

.actor.current.publisher {
  border-top: 3px solid white;
  border-bottom: 3px solid white;
  border-left: 3px solid white;
  border-right: none;
}

.actor.listner {
  border-top: 3px solid white;
  border-bottom: 3px solid white;
  border-right: 3px solid white;
  border-left: none;
}

.actorList .listner:first-child {
  border-top: 3px solid white;
  border-bottom: 3px solid white;
  border-right: none;
  border-left: 3px solid white;
}

.actorList .listner:first-child ~ .publisher {
  border-top: 3px solid white;
  border-bottom: 3px solid white;
  border-right: 3px solid white;
  border-left: none;
}

#buttonBlink.visible {
  visibility: visible;
}

#buttonBlink {
  position: absolute;
  bottom: 0;
  right: 120px;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103, 115, 131);
  background-color: rgba(103, 115, 131, 0.8);
  visibility: hidden;
}

#buttonBlink img {
  width: 100%;
}

.actor.publisher:before {
  content: '';
  width: 10px;
  height: 10px;
  display: inline-block;
  background: red;
  position: absolute;
  left: 36px;
  border-radius: 50%;
}

.hotspot-image-wrapper.active {
  background: url(img/hotspot_active.png);
  background-size: contain !important;
  background-repeat: no-repeat !important;
  width: 44.39px;
  height: 44.39px;
  //margin: 7.188px 0 0 7.188px;
}

.hotspot-image-wrapper.active img {
  display: none;
}

.hotspot-image-wrapper.active + .link-hotspot-tooltip {
  display: block;
  opacity: 1;
  background-color: white;
  border: 1px solid #42c0fb;
  color: black;
}

.text1d {
  line-height: 28px;
  color: #ffffff;
  font-size: 150%;
  font-family: sans-serif;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  align-content: center;
}

.qualitySettings {
  cursor: pointer;
  position: absolute;
  z-index: 60;
  right: 26px;
  width: 60px;
  height: 60px;
  top: 10px;
}

.qualitySettings.hidden {
  display: none;
}

.qualitySettings.icon {
  width: 50px;
  height: 50px;
  margin: -2px -22px 0 0;
  text-align: center;
  font-weight: 550;
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em;
  border-radius: 4.2px;
  position: absolute;
  padding: 9px 0 0 0;
  background: #ffffff;
  color: #000000;
}

.qualitySettings.name {
  position: relative;
  font-weight: bold;
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  letter-spacing: 0.00938em;
  padding: 50px 2px 0 0;
  left: -10px;
  color: #ffffff;
}

.qualitySettings.icon::before {
  content: '';
  background-image: url(img/up-arrow.png);
  width: 29px;
  height: 22px;
  display: inline-block;
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  background-size: 80% !important;
  padding: 2px;
  left: -34px;
  position: absolute;
  top: 12px;
}

.qualitySettings-menu {
  width: 698px;
  height: auto;
  position: absolute;
  display: none;
  overflow-x: hidden;
  overflow-y: hidden;
  z-index: 60;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 600px) {
  .qualitySettings-menu {
    width: 330px;
  }
}

@media (max-width: 600px) and (orientation: landscape) {
  .qualitySettings-menu {
    width: 330px;
    top: 39%;
  }
}

.qualitySettings-title {
  display: flex;
  position: absolute;
  width: inherit !important;
  height: 94px;
  text-align: center;
  border-bottom: 2px solid #2a2a2a;
}

@media (max-width: 600px) {
  .qualitySettings-title {
    font-size: 63px;
    height: 63px;
  }
}

.qualitySettings-title-text {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 35px;
  line-height: 47px;
  color: #2a2a2a;
}

@media (max-width: 600px) {
  .qualitySettings-title-text {
    font-size: 22px;
    line-height: 28px;
  }
}

.qualitySettings-close.hidden {
  display: none;
}

.qualitySettings-back.active {
  display: inline-block;
}

.qualitySettings-close {
  cursor: pointer;
  top: 13px;
  display: inline-block;
  position: relative;
  right: 10px;
  width: 42px;
  height: 27px;
  background-image: url(img/close.png);
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  background-size: contain;
}

.qualitySettings-back {
  cursor: pointer;
  top: 13px;
  display: none;
  position: relative;
  width: 42px;
  left: 10px;
  height: 27px;
  background-image: url(img/arrow-left.png);
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  background-size: contain;
}

.qualitySettings-menuList {
  margin: 119px 0 0 -3px;
  padding: 0;
  position: relative;
  list-style: none;
  display: flex;
}

@media (max-width: 600px) {
  .qualitySettings-menuList {
    margin: 73px 0 0 -3px;
  }
}

.qualitySettings-menuList.hidden {
  display: none;
}

.qualitySettings-menuList--item-container {
  height: auto;
  width: auto;
}

.qualitySettings-menuList--scale-container {
  height: auto;
  width: auto;
}

.qualitySettings-menuItem-root {
  align-items: center;
  flex-direction: row;
  width: auto;
  box-sizing: border-box;
  padding: 6px 16px;
  display: flex;
  flex: none;
  order: 0;
  flex-grow: 0;
}

@media (max-width: 600px) {
  .qualitySettings-menuItem-root {
    padding: 0px 16px;
  }
}

.qualitySettings-menuItem--scale-root {
  align-items: center;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
}
.qualitySettings-menuItem--scale {
  height: 123px;
  width: 36px;
  margin: 0px 1px 3px 20px;
  position: relative;
}

.qualitySettings-menuItem--scale-label {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  margin: -78px 0px 0px 31px;
  position: absolute;
}

@media (max-width: 600px) {
  .qualitySettings-menuItem--scale-label {
    margin: -42px 0px 0px 27px;
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .qualitySettings-menuItem--scale {
    height: 58px;
    width: 23px;
    margin: 1px 11px 2px 20px;
  }
}

.qualitySettings-menuItem--scale:before,
.qualitySettings-menuItem--scale:after {
  content: '';
  height: 100%;
  width: 50%;
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #5a5a5b 0%, #504e4e 100%);
}
.qualitySettings-menuItem--scale:before {
  left: 0;
  transform: skew(0deg, -43deg);
}
.qualitySettings-menuItem--scale:after {
  right: 0;
  transform: skew(0deg, 43deg);
}

.qualitySettings-menuItem-button {
  width: 210px;
  height: 120px;
  cursor: pointer;
  outline: 0;
  user-select: none;
  border-radius: 0;
  -webkit-appearance: none;
  padding: 20px 5px 1px;
  margin: 0 40px 0 0;
  color: #2a2a2a;
  background: #6e6969;
  border: 3px solid #000000;
  border-radius: 5px;
}

.qualitySettings-menuItem-button.active {
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  .qualitySettings-menuItem-button {
    width: 100px;
    padding: 15px 0px 1px;
    margin: 0px 4px 0 -21px;
    height: 55px;
    border: 2px solid #000000;
  }
}

.qualitySettings-menuItem-label {
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.00938em;
  font-weight: 500;
  font-size: 23px;
  white-space: nowrap;
  color: #ffffff;
  display: inline-block;
  padding-bottom: 24px;
}

@media (max-width: 600px) {
  .qualitySettings-menuItem-label {
    width: 96px;
    font-size: 0.8em;
  }
}

.qualitySettings-menuItem-explain {
  width: 228.8px;
  height: 80px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 38px;
  color: #2a2a2a;
  flex: none;
  order: 1;
}

@media (max-width: 600px) {
  .qualitySettings-menuItem-explain {
    width: 113.8px;
    line-height: 31px;
    text-align: center;
    height: 64px;
  }
}

.quality--id {
  display: block;
  font-size: 32px;
}

@media (max-width: 600px) {
  .quality--id {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .quality--name {
    font-size: 15px;
  }
}

.qualitySettings-menuItem-explain-button {
  cursor: pointer;
  position: absolute;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  background: #6e6969;
  line-height: 69px;
  text-align: center;
  box-sizing: border-box;
  border: 3px solid #000000;
  border-radius: 5px;
  color: white;
  width: 136px;
  height: 120px;
  right: 42px;
  padding-top: 20px;
}

@media (max-width: 600px) {
  .qualitySettings-menuItem-explain-button {
    font-size: 12px;
    line-height: 42px;
    width: 66px;
    height: 55px;
    right: 2px;
    border: 2px solid #000000;
    padding-top: 4px;
  }
}

.qualitySettings-description {
  display: none;
}

.qualitySettings-description--title {
  left: 30px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 550;
  font-size: 24px;
  color: #2a2a2a;
  padding: 112px 29px 5px;
}

@media (max-width: 600px) {
  .qualitySettings-description--title {
    padding: 80px 15px 8px;
  }
}

.qualitySettings-description--text {
  left: 30px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 24px;
  color: #2a2a2a;
  font-weight: 500;
  padding: 24px 30px 20px;
}

@media (max-width: 600px) {
  .qualitySettings-description--text {
    font-size: 17px;
  }
}

.qualitySettings-description.active {
  display: block;
}

.qualitySettings-menuItem-button:hover {
  text-decoration: none;
  background-color: #ffffff6e;
}

.qualitySettings-menu.active {
  display: block;
}
