:not(:root):-webkit-full-screen::backdrop {
    background-color: white!important;
}
::-webkit-scrollbar {
   -webkit-appearance: none;
   width: 7px;
}
::-webkit-scrollbar-thumb {
   border-radius: 4px;
   background-color: rgba(0, 0, 0, .5);
   -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
a{color: #3c6c7a;}
body, #viewport {
    background-color: white!important;
}
.items{
    position: sticky;
}
#message{ position:absolute; left:0; top:0;right:0.5em; padding:0.5em; border-radius:0.5em; margin:0.5em; background-color: rgba(100,100,100,0.2);
/*border:0.1em solid #666;*/
}

#menu span #menu button{z-index:2000;}

#menu button{z-index:2000;font-size:30px;padding:0;height:50px;}
@font-face {
	font-family: 'Indie Flower';
	font-style: normal;
	font-weight: 400;
	src: local('Indie Flower'), local('IndieFlower'), url(3d_party/indie_flower.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
#app,#viewport {
	 font-family: 'Indie Flower';
}
.splash,.prefaz,#indice{
	background-color: #f8f8f8; /*#dce8f5;*/
	height:100%;
	padding-left:20px;
}
.prefaz{text-align:justify;}
.prefaz p{margin-right:2em;margin-left:1em;padding:0;}
#indice p{text-align:center;}
button, input{	font-family: 'Indie Flower';
}
#splash{

	background-image: url('res/bg0.png');
	background-repeat: no-repeat;
    background-size: 100%;
}
button  {
	cursor: crosshair;
	font-size: 1em;
	font-weight: bold;
	display: inline-block;
	padding: 0.3em 1.1em;
	border-radius: 0.15em;
	box-sizing: border-box;
	text-decoration: none;
	color: #FFFFFF;
	background-color: #c6be9a;
	box-shadow: inset 0 -0.6em 0 -0.35em rgba(0, 0, 0, 0.17);
	text-align: center;
	border: none;
}
@keyframes fade_in_anim { /* flame pulses */
   to  { opacity:0; }
}

.fade_in {
    animation: fade_in_anim 1s;
        animation-fill-mode: forwards;

}

@keyframes fade_out_anim { /* flame pulses */

  100%  { opacity:1; }
}

.fade_out {
    animation: fade_out_anim 1s;
}
button:active{
	position: relative;
	top:0.1em;
}
#toc{
    border-radius:.2em;
    border: 1px solid gray;
    background-color:rgba(255,255,255,.2);
    width:20em;
    margin:auto;
    padding-left:2em;
    text-align: left;
}
h1,h2,h3,h4{
//font-size:smaller;

}

h1,h2,h4 {
	margin: 0;
	padding: 0;
	text-align: center;
}
h3 {
    width:20em;
    margin:auto;
    text-align: left;

}

#flashview {
	position: absolute;
	display: none;
	z-index:14;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

p{margin-top:0; margin-bottom:0;}
body,p {font-size: 25px;}
#flashview {font-size: 40px;}
@media (orientation: landscape) {
	#flashview {font-size: 120px;}
}
h1,.timer{font-size: 100px;}
h1 {
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
}

.splash{text-align:center; height:100%;}


#menu button{width:60px;margin:2px;}

[v-cloak] { display: none; }


.inventario_ele{
	background-color:rgba(100,100,50,0.5);
	padding:0.5em;
	position:relative;
    border-radius: 0.5em;
    margin-left: 0.5em;

}

.modal-mask{
/*	display:block;
*/
  transition: all .5s linear;
}

.div-master-cover {
	pointer-events: none;
}

.fade {
	animation: fade-in-out 2.0s;
}

.fade * {
	animation: opacity-in 2.0s;
}
.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to  {
  opacity: 0;
}

@keyframes fade-in-out {
	0% {
		opacity: 0;
		background-color: white;
	}
	100% {
		opacity: 1.0;
		background-color: white;
	}
}
@keyframes opacity_in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1.0;
	}
}

@keyframes opacity-out-in-out {
	0% {		opacity: 1;}
	50% {		opacity: 0;}
	100% {		opacity: 1;}
}


.modal-top {
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  width: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index:1000;
  transition: opacity 1s ease;
}

.modal-mask {
	position: absolute;
	z-index: 9998;
	top: 50%;
	left: 50%;
	padding: 1em;
	position: absolute;
	top: 50%;
	margin: auto;
	width: 30em;
	transform: translate(-50%, -50%);
	background-color: white;
	border-radius: .2em;
	border: 1px solid #aaa;
}
.modal-enter {
	opacity: 0;
}

.modal-leave-active {
	opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

#loading{
  position:absolute;
    top:0;
   z-index:20;



}
.timer{
     animation-name: opacity-out-in-out;
    animation-duration: 500ms;    animation-iteration-count: infinite;
    opacity: 1;
    position:absolute;
    top:0;
 	left:50%;

    	font-size:7em;
    z-index:20;
 text-shadow: 2px 0 0 #ddd, -2px 0 0 #ddd, 0 2px 0 #ddd, 0 -2px 0 #ddd, 1px 1px #ddd, -1px -1px 0 #ddd, 1px -1px 0 #ddd, -1px 1px 0 #ddd;

 }


.lang a{color:blue;}

@-webkit-keyframes rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(3600deg);
    }
}

.gira {
	-webkit-animation: rotating 60s linear infinite;
	transform-origin: 50% 50%;
    transform-box: fill-box;
}
