body {
	margin: 0;
	background-color: #c5c5c5;
	color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
	overflow:hidden;
}

/*PRELOADER*/

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #cccccc; /* o #000000 si prefieres negro */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.5s ease; /* hace que se desvanezca suave */
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid #3498db; /* color de spinner */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

#loading-percentage {
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: #333;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*BASICS*/

a {
	color: #ff0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.header{
    position:absolute;
    width:100%;
    z-index:999999999;
}

.logo{
    position:absolute;
    float:left;
    margin:30px 16px 16px 35px;
    border-radius:40px;
    box-shadow:0px 2px 2px rgba(0, 0, 0, 0.4);
}

.logo img{
    max-width:70px;
    display: block;
}

.brand{
    position: relative;
    text-align:center;
    display:inline-block;
    left:96px;
    padding:22px 35px 22px 35px;
    margin:30px 16px 16px 35px;   
    background-color:rgba(256, 256, 256, 1);
    border-radius:50px;
    box-shadow:0px 2px 2px rgba(0, 0, 0, 0.4);
}

.brand h1{
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight:400;
    color:#000;
    margin:0;
}

.brand h2{
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight:300;
    color:#555;
    margin:10px 0px 20px 0px;
}

.close{
    background: #066;
    text-align:center;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    cursor:pointer;
}

.hotspot {
    position: relative;
    top:0px;
    right:5%;
    width:80%;
    background: rgba(0,0,0,0.3);
    color: #fff;
    padding:5%;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    /*pointer-events: none;*/ /* No bloquea clicks al modelo */
    display:none;
}

/* VISOR VENTANA
.visor{
    position:absolute;
    display:flex;
    border:solid 1px #cccccc;
    width:40%;
    padding-top: 40%;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow:0px 14px 19px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}
*/

.visor{
    position:absolute;
    display:flex;
    width:100%;
    height:100%;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index:0;
}

.visor iframe{
    /*width:100%; height:100vh; border:none;*/
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    flex-grow: 1;
    margin: 0;
    padding: 0;
    border-radius: 0px;
}

.infodex{
    position: absolute;
    display: block;
    top: 20px;
    right: -420px;
    width:25%;
    height:80%;
    padding: 10px 15px;
    background: rgba(256, 256, 256, 1);
    color: #000;
    border-radius: 20px;
    box-shadow:0px 2px 2px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.infodex h1{
    text-align:center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    color:#ffffff;
    padding:14px;
    border-radius:12px;
    background-color:rgba(33, 146, 229, 0.9);
    margin:0px;
}

.map{
    position:relative;
    width:80%;
    left:50%;
    transform: translateX(-50%);
    margin-top:15px;
}

.map img{
    width:100%;
}

.features li{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height:1.5rem;
    color:#222222;
}

#infobox{
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

.menultr{
    position:absolute;
    width:150px;
    top:1150px;
    left:35px;
    z-index:3;
}

.menultr .modelo{
    position:relative;
    width:100%;
    margin-top:35px;
    background-color:#2192E5;
    text-align:center;
    color:#fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .8rem;
    cursor:pointer;
    box-shadow:0px 2px 2px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

.menultr .modelo .thumb{
    z-index:99;
}

.menultr .modelo img{
    width:100%;
    top:0px;
    border-radius: 20px;
    display:block;
    
}

.menultr .label{
    position:absolute;
    width:82%;
    line-height:20px;
    top:85%;
    left:50%;
    transform: translate(-50%, -50%);
    padding:8px;
    border-radius:17px;
    background-color:rgba(33, 146, 229, 0.9);
    z-index:999;
}

#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root { 
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}


@media only screen and (max-width: 600px) {

    .logo{
        position:absolute;
        float:left;
        margin:16px;
    }
    
    .logo img{
        max-width:45px;
    }
    
    .brand{
        position: relative;
        padding:10px 20px;
        display:inline-block;
        left:50%;
        transform: translateX(-50%);
        margin:15px 0px;   
        background-color:rgba(256, 256, 256, 1);
        border-radius:50px;
        box-shadow:0px 2px 2px rgba(0, 0, 0, 0.4);
    }
    
    .brand h1{
        font-family: 'Raleway', sans-serif;
        font-size: 0.9rem;
        font-weight:400;
        color:#000;
        margin:0;
    }
    
    .brand h2{
        font-family: Arial, Helvetica, sans-serif;
        font-size: .7rem;
        font-weight:300;
        color:#fff;
        margin:10px 0px 20px 0px;
    }
    
    .infodex{
        display:none;
    }
    
    .menultr{
    position:absolute;
    width:95px;
    top:1150px;
    left:35px;
    z-index:3;
    margin-top:-60px;
}

    .menultr .modelo{
    position:relative;
    width:100%;
    margin-top:35px;
    background-color:#ffffff;
    text-align:center;
    color:#fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .8rem;
    cursor:pointer;
    box-shadow:0px 2px 2px rgba(0, 0, 0, 0);
    border-radius: 20px;
    }
    
    .menultr .modelo img{
        display:none;
    }
    
    .menultr .label{
    position:relative;
    width:82%;
    line-height:20px;
    top:0;
    left:0;
    transform: translate(0, 0);
    padding:8px;
    border-radius:17px;
    background-color:rgba(33, 146, 229, 0.9);
    z-index:999;
    bottom:35px;
    }
}