@font-face {font-family: Roboto-Thin; src: url("../fonts/Roboto-Thin.ttf")}
@font-face {font-family: Roboto-Light; src: url("../fonts/Roboto-Light.ttf")}
@font-face {font-family: Roboto; src: url("../fonts/Roboto.ttf")}

html, body {
    /*pointer-events: none;*/
}
* {
    -webkit-touch-callout:none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust:none;             /* prevent webkit from resizing text to fit */
    -webkit-tap-highlight-color:rgba(0,0,0,0); /* prevent tap highlight color / shadow */
    -webkit-user-select:none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
}

.startup {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.80);
    cursor: pointer;
}

    .startup:hover {
        /* background-color: transparent; */
		background-color: rgba(0,0,0,0.6);
    }

    .startup_button {
        position: relative;
    }
	
.startup_txt {
	display: block; 
	text-align: center;
	width: 150px;
	margin: 50px auto;
	padding: 10px;
	border: 1px solid white;
	color: #fff;
	font-family: Roboto;
	}	

.layout {
    position: absolute;
    display: none;
    pointer-events: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.hide {
    display: none;
}


.progressBar {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(0,0,0,0.6);
    transition: opacity 1s;
    justify-content: center;
    align-items: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

    .progressBar-active {
        display:flex;
        opacity:1;
    }

    .progressBar_scale {
        position: absolute;
        left: 0;
        bottom: 35px;
        width: 100%;
        height: 2px;
        background: black;
    }

    .progressBar_state {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        transition: width 0.2s;
        background: #ffffff;
    }

    .progressBar_value {
        position: relative;
        color: white;
        /*font-size: 65px;*/
        font-size: 0px;
        font-family: Roboto-Light;
    }

.infospot, .textspot {
    width: 35px;
    height: 35px;
    transform: translate(-50%, -50%);
    background-position: 35px 0;
    background-size: 70px 70px;
    background-image: url(../img/spot_sprite.png);
    cursor: pointer;
    transition-property: transform, opacity;
}

.textspot {
  -moz-user-select: all;
  -webkit-user-select: all;
  -ms-user-select: all;
  user-select: all;
    background-position: 0 0;
}
/*
.textspot:active, */

.textspot:focus, .textspot:focus-within {
  /*background-position: 0 35px;*/
  outline: none;
}

.textspot::after {
	content: " ";
}


.textspot[tabindex] {
	content:"0":
}

.infospot-rotate {
    -webkit-animation-name: rotateactive; 
    -webkit-animation-duration: 0.5s; 
    -webkit-transition-timing-function: linear;
    -webkit-animation-fill-mode: forwards; /* <--- */
}

.infospot-rotate-default {
    -webkit-animation-name: rotatedefault; 
    -webkit-animation-duration: 0.5s; 
    -webkit-transition-timing-function: linear;
    -webkit-animation-fill-mode: forwards; /* <--- */
}

.infospot-hide {
    -webkit-animation-name: fadeOut; 
    -webkit-animation-duration: 0.3s; 
    -webkit-transition-timing-function: linear;
    -webkit-animation-fill-mode: forwards; /* <--- */
}

.infospot-show {
    -webkit-animation-name: fadeIn; 
    -webkit-animation-duration: 0.3s; 
    -webkit-transition-timing-function: linear;
    -webkit-animation-fill-mode: forwards; /* <--- */
}

.panospot1 {
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    background-position: 40px 0;
    background-size: 80px 40px;
    background-image: url(../img/sprite.png);
    cursor: pointer;
}
.panospot {
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    background-position: 0px 0;
    background-size: 40px 40px; 
    background-image: url(../img/arrow.png);
    cursor: pointer;
}
	/*
    transform: translateX(-50%);
    justify-content: space-between;*/

.controlBar {
    position: absolute;
    display: flex;
    left: 50%;
    bottom: 50px;
	width: 122px;
    height: 44px;
    background-size: 122px 132px;
    background-image: url(../img/nav_sprite.png);
    background-position: 0 0;
    transform: translate(-50%, 0);
	
	}

    .controlBar_navi {
        position: relative;
        display: flex;
        pointer-events: auto;
        cursor: pointer;
        align-items: center;
		
		width: 67px;
		height: 42px;
		background-size: 122px 132px;
		background-image: url(../img/nav_sprite.png);
		background-position: 0 44px;
    }

    .controlBar_navi:hover {
		background-position: 0 88px;
    }

    .controlBar_navi::before {
        position: relative;
		/*
        content: '';
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
		*/
    }
	
    .controlBar_navi-next {transform: rotate(180deg);}
	
	
/*
    .controlBar_navi-prev::before {border-right: 12px solid #fff}
    .controlBar_navi-next::before {border-left: 12px solid #fff}
	*/

.sceneList {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 30px;
    padding: 0px 5px;
    pointer-events: auto;
}

.fullscreen {
    position: absolute;
    display: none;
    left: 55px;
    top: 60px;
    width: 80px;
    height: 80px;
    pointer-events: auto;
    background-image: url(../img/close_full.png);
    background-position: 0 0;

    transform: translate(-50%, -50%);
    background-size: 160px 160px;
    transition-property: transform, opacity;
	border: none;
    padding: 0;
    background-color: transparent;
	z-index:1000;
}
.fullscreen_active {
	background-position: 80px 0;
}

.fullscreen:focus, .fullscreen_active:focus {
  outline: none;
}

.compass {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 200px;
    background-image: url(../img/compass.png);
    background-size: 100%;
}


.gallery {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,0.4);
    transition: opacity 0.5s;
    justify-content: center;
    align-items: center;
    user-select: none;
	z-index:1000;
}

/*
.gallery {
    position: absolute;
    display: flex;
	flex-direction: column;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    justify-content: center;
    align-items: center;
    user-select: none;
	z-index:1000;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

}
*/

.gallery-opened {
    pointer-events: auto;
    opacity: 1;
}

.gallery_popup {
    position: relative;
    /*display: flex;*/
    max-width: 240px;
    flex-direction: column;
    padding: 10px 15px;	
	background-color: rgba(0,0,0,0.7);
}

.gallery_photo {
    position: relative;
    width: 100%;
	border: 1px #ffffff solid;
}

.gallery_content {
    position: relative;
    font-family: Roboto;
    padding: 12px 0 20px;
    color: #fff;
    font-size: 15px;
    text-align: right;	
	line-height: 100%;
}
.gallery_content h3 {
    font-size: 20px;
    text-align: right;	
    font-family: Roboto;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 10px;
}

.gallery_content a, .gallery_content a:hover, .gallery_content a:visited {
    color: #ffffff;
}

.fade-in {
  animation: fadeIn ease 0.9s;
  -webkit-animation: fadeIn ease 0.9s;
  -moz-animation: fadeIn ease 0.9s;
  -o-animation: fadeIn ease 0.9s;
  -ms-animation: fadeIn ease 0.9s;
}
@keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
}
}


.fade-out {
  animation: fadeOut ease 0.9s;
  -webkit-animation: fadeOut ease 0.9s;
  -moz-animation: fadeOut ease 0.9s;
  -o-animation: fadeOut ease 0.9s;
  -ms-animation: fadeOut ease 0.9s;
}
@keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-moz-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-o-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-ms-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
}
}

@-webkit-keyframes rotateactive {
  0% { -webkit-transform: translate(-50%, -50%) rotate(0deg); }
  100% { -webkit-transform: translate(-50%, -50%) rotate(225deg); }
}

@-webkit-keyframes rotatedefault {
  0% { -webkit-transform: translate(-50%, -50%) rotate(225deg); }
  100% { -webkit-transform: translate(-50%, -50%) rotate(0deg); }
}

.logo_right {
    position: absolute;
    right: 35px;
    bottom: 50px;
    width: 50px;
    height: 50px;
	pointer-events: auto;
	z-index: 1000;
	 display: none;
}

#logo3dtour {
  height: 50px;
  width: 50px;
  background: url(../img/3dtour_logo_sprite.png) 0px 50px;
  margin:0;
  padding:0;
  z-index: 100000;
}

.game {
    position: absolute;
    display: none;
    left: 15px;
    bottom: 40px;
    width: 80px;
    height: 80px;
    pointer-events: auto;
    background-image: url(../img/game_counter.png);
    background-position: 0 0;

    /* transform: translate(-50%, -50%); */
    background-size: 80px 160px;
    transition-property: transform, opacity;
	border: none;
    padding: 0;
    background-color: transparent;
	z-index:1000;

}
.game p {
    color: #fff;
    font-family: Roboto;
    font-size: 19px;
    text-align: center;
    margin-top: 47px;
}