@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;
		padding-left: 10px;
		margin: auto;
		display: block;
	padding-top: 50px;
	}
	
.startup_txt {
    display: block;
    text-align: center;
    width: 150px;
    margin: 50px auto;
    padding: 10px 30px;
    border: 3px solid #ffcc33;
    color: #fff;
    font-family: Roboto;
    font-size: 22px;

    position: absolute;
    bottom: 0px;
	}	

.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: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    background-position: 20px 0;
    background-size: 40px 40px;
    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 {
	display: none;
    -webkit-animation-name: fadeOut; 
    -webkit-animation-duration: 0.3s; 
    -webkit-transition-timing-function: linear;
    -webkit-animation-fill-mode: forwards; /* <--- */
}

.infospot-show {
	display: block !important;
    -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: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    background-position: 0px 0;
    background-size: 20px 20px; 
    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}
	*/
	/*
="topleftBar">
                <div class="topleftBar_diller" onclick="object3D.next()"></div>
                <div class="topleftBar_testdrive" onclick="object3D.prev()"></div>
            </div>
			
			*/
 .topleftBar {
	z-index: 1000;



	 position: absolute;
    display: block;
    top: 120px;
    right: 42px;	
	}
   .topleftBar_diller {
        position: absolute;
        display: block;
        pointer-events: auto;
        cursor: pointer;
        align-items: center;
		top: 0px;
		right: 1px;
		width: 50px;
		height: 50px;
		background-size: 287px 100px;
		background-image: url(../img/diller_bg.png);
		background-position: 50px 0px;
   }

    .topleftBar_diller:hover {
		color: #ffffff;
		width: 192px;
		height: 30px;
		background-position: 0 0px;
		padding: 15px 0 5px 45px;
		margin: auto;
		/* padding-left: 0px; */
		font-family: opensans, sans-serif;
		text-decoration: none;
		font-size: 14px;
 }
    .topleftBar_diller::after {

		content: "";
    }
	
    .topleftBar_diller:hover::after {

		content: "Запит до дилера";
    }
	
	

   .topleftBar_testdrive {
        position: absolute;
        display: block;
        pointer-events: auto;
        cursor: pointer;
        align-items: center;
		top: 55px;
		right: 1px;
		width: 50px;
		height: 50px;
		background-size: 287px 100px;
		background-image: url(../img/diller_bg.png);
		background-position: 50px 50px;
    }

    .topleftBar_testdrive:hover {
		color: #ffffff;
		width: 148px;
		height: 30px;
		background-position: 0 50px;
		padding: 15px 0 5px 89px;
		margin: auto;
		/* padding-left: 0px; */
		font-family: opensans, sans-serif;
		text-decoration: none;
		font-size: 14px;
   }

    .topleftBar_testdrive::after {
		content: "";
    }
    .topleftBar_testdrive:hover::after {

		content: "Прайс-лист";
    }
	
/* ********************************************** */
.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: Montserrat,sans-serif;
    padding: 12px 0 20px;
    color: #fff;
    font-size: 15px;
    text-align: left;	
	line-height: 120%;
}
.gallery_content h3 {
    font-size: 18px;
    text-align: left;	
    font-family: Montserrat,sans-serif;
    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;
}

.logo_right_top {
    position: absolute;
    right: 20px;
    top: 60px;
    width: 337px;
    height: 102px;
	pointer-events: auto;
	z-index: 1000;
	 display: none;
}


.js-renaultlogo {
    height: 80px;
    width: 93px;
    background-size: 93px 80px;
    background-image: url(../img/logo_top.png);
    background-position: 0 0;
    margin: 0;
    padding: 0;
    z-index: 100000;
    transform: translate(0, -50%);
}

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