html, body {
    width: 100%;    
    height: 100%;
    margin: 0;
    padding: 0;
    margin-left: 2.5%;
    color: white !important;
    background-color: black !important; 
    overflow-y: auto !important;
    overflow-x: auto !important; 
    font-family: "Arial", Gadget, sans-serif;
    font-size: 15px;
    min-width: 800px;
}

body{
    background-position: center;
    background-size: cover;
}

/* GENERAL */

/* Tooltip */
.astro + .tooltip > .tooltip-inner {
    background-color: whitesmoke; 
    color: dimgray;     
    padding: 10px;
    font-size: 15px;
    width: 350px;
    min-width: 400px;
    z-index: 100;    
}

/* Tooltip on right */
.astro + .tooltip.right > .tooltip-arrow {
    border-right: 5px solid whitesmoke;
}
/* Tooltip on bottom */
.astro + .tooltip.bottom > .tooltip-arrow {
    border-bottom: 5px solid whitesmoke;
}
/* Tooltip on top */
.astro + .tooltip.top > .tooltip-arrow {
    border-top: 5px solid whitesmoke;
}

.center-text{
    text-align: center;    
    margin-top: 3% !important;    
}

/* PERSONALIZACION DE SLIDES */
.fp-slides{
    height: 50% !important;
}

@media (min-width: 990px) { 
    .personalSlidesContainer{    
        height: 60% !important;
        padding-top: 0px !important;
        background-image: url("../texturas/slide-background.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-color: transparent !important;    
    }    
}

@media (max-width: 990px) {
    .personalSlidesContainer{    
        height: 60% !important;
        padding-top: 0px !important;
        background-image: url("../texturas/slide-background-tall.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-color: transparent !important;    
    }
}

.slide-padding{
    margin-left: 8%;
    margin-right: 8%;
}
/* FIN DE PERSONALIZACION DE SLIDES */

/* SIGNOS DE PREGUNTA DE DONDE SALEN LOS TOOLTIPS DE AYUDA */
.ayuda-de-slide {
    border-radius: 0px;
    background: url("../texturas/questionMark.png") no-repeat scroll 0 0 transparent;
    background-position: center center;
    background-size: 50px 50px;
    background-repeat: no-repeat;
    cursor: default;
    float: left;
    position: absolute;
    height: 50px;
    margin-top: 70px;
    margin-left: 15px;
}

/* FIN DE SIGNOS DE PREGUNTA */

#inner-body{
    width: 100%;
    height: 95%;
    padding-left: 3%;    
    padding-right: 3%; /* Increase/decrease this value for cross-browser compatibility */
}

h2 {
    background: url("../texturas/Input.png") no-repeat center;    
    background-size: 60% 100%;
    background-repeat: no-repeat center;
    min-height: 50px;
    padding-top: 8px;
    color: #31ff00;
}

#stepButtons{
    float: right;
    display: block;
}

.titulo{
    text-align: center;
    font-size: 45px;
    padding: 10px;
    color: white;
    background-color: black; 
}

button {    
    border: none;
    color: white; 
    padding: 15px 32px 15px 32px;
    cursor: pointer;
    font-weight: bold;    
    font-size: 15px;
    border-radius: 25px;    
}

/* CONSOLA DE ERRORES */

@media (min-width: 990px) { 
    #consola{
        background-image: url("../texturas/consola-alta.png");
        background-size: 100% 805px;
        background-repeat: no-repeat;
        min-height: 805px;
        padding-left: 22%;    
        padding-right: 22%;
        padding-top: 90px;
        margin-top: 0px !important;
    }
}

@media (max-width: 990px) { 
    #consola{
        background-image: url("../texturas/consola-ancha.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;         
        height: 800px;
        margin-bottom: 10px;
        padding-left: 12%;    
        padding-right: 12%;
        padding-top: 150px;
    }
}

#mensajes {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 600px;
}

/* COLORES DE ERROR DE LA CONSOLA */
.critical { 
    color: #ff2626;
    font-weight: bold;
}

.warning { color: yellow; font-weight: bold; }

.allOK { color: #31ff00; font-weight: bold; }
/* FIN DE COLORES DE ERROR DE CONSOLA */

/* FIN DE CONSOLA DE ERRORES */


/* SLIDE 1 */

.inputText{
    padding: 12px 12px;    
    text-decoration: none;
    width: 95%;
    color: black;
    text-align: center;
    font-size: 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

textarea {
    resize: none;
}

    

@media (min-width: 990px) { 
    .introduccion{
        background-image: url("../texturas/panel-back-big-wide.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        height: 30%;        
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 3% 5%;
        font-size: 18px;
    }
}

@media (max-width: 990px) {
    .introduccion{
        background-image: url("../texturas/panel-back-big.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        height: 30%;        
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 3%;
        font-size: 18px;
    }
}



/* SLIDE 2 */

.borrar-escenario{
    border-radius: 0px;
    background: url("../texturas/BotonSeleccionar.png") no-repeat scroll 0 0 transparent; 
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    float: right;
    margin-right: 10%;
    margin-bottom: 5px;
    cursor: pointer;
}

#renderCanvas {    
    height: 100% !important;
    width: 80% !important;
    touch-action: none;        
    border: solid;  
    margin-left: 5%;
    margin-right: 5%;
}

.water{	background: url("../texturas/blockWater.png") no-repeat scroll 0 0 transparent; background-position: center center; /*background-color: dodgerblue;*/}

.brick { background: url("../texturas/blockBrick.png") no-repeat scroll 0 0 transparent; background-position: center center; /*background-color: orangered;*/ }

.empty { background: url("../texturas/blockEmpty.png") no-repeat scroll 0 0 transparent; background-position: center center;  /*background-color: mediumseagreen;*/ }

.piece { background: url("../texturas/blockPiece.png") no-repeat scroll 0 0 transparent; background-position: center center;  /*background-color: mediumpurple;*/ }

.chest { background: url("../texturas/blockChest.png") no-repeat scroll 0 0 transparent; background-position: center center;  /*background-color: lightslategrey;*/ }

.dig { background: url("../texturas/blockDig.png") no-repeat scroll 0 0 transparent; background-position: center center;  /*background-color: saddlebrown;*/ }

.casillero-button {    
    margin: 2px;
    width: 12%;
    height: 100px;
    font-size: 25px;
    background-color: lightgray !important;
    text-align: center;
}

@media (min-width: 990px) { 
    .ayuda-de-consola {
        border-radius: 0px;
        background: url("../texturas/questionMark.png") no-repeat scroll 0 0 transparent;
        background-position: center center;
        background-size: 50px 50px;
        background-repeat: no-repeat;
        cursor: default;
        position: absolute;
        height: 50px;
        top: 750px;
        right: 18vw;
    }
}

@media (max-width: 990px) { 
    .ayuda-de-consola {
        border-radius: 0px;
        background: url("../texturas/questionMark.png") no-repeat scroll 0 0 transparent;
        background-position: center center;
        background-size: 50px 50px;
        background-repeat: no-repeat;
        cursor: default;
        position: absolute;
        height: 50px;
        top: 720px;
        right: 60vw;
    }
}

/* SLIDE 3 */

.panel-back-tall {
    background-image: url("../texturas/panel-back-tall.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 600px;
    background-origin: content-box;
    padding: 3px 5px 25px 5px;
}

/* SLIDE 4 */

.renderCanvasForMinPath {    
    height: 100% !important;
    width: 96% !important;
    touch-action: none;        
    border: solid;  
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 25px;
}

/* LOADER SPINNER */
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin-left: 30%;    
}

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

/* OSCURECEDOR DE PANTALLA PARA EL SPINNER*/
.dim {
    visibility: hidden;
    height:100%;
    width:100%;
    position:fixed;
    left:0;
    top:0;
    z-index:1 !important;
    background-color:black;
    filter: alpha(opacity=75); /* internet explorer */
    -khtml-opacity: 0.75;      /* khtml, old safari */
      -moz-opacity: 0.75;      /* mozilla, netscape */
           opacity: 0.75;      /* fx, safari, opera */
}

.dialog_wrapper {
    visibility: hidden;
    width: 100%;
    top: 50px;
    left: 0px;
    position: absolute;
    z-index: 9999;
    display: block;    
}

.dialog {
    text-align: center;
    width: 400px;
    height: 250px;
    margin: 0 auto;
    padding: 40px;
    background: url("../texturas/panel-back.png") no-repeat scroll 0 0 transparent;
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;  
}

/* FIN DEL SPINNER DE GUARDADO */

#minPathCalculationOptions {
    background-image: url("../texturas/panel-back.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;    
    height: 200px;
    min-width: 220px;
    max-width: 350px;
    padding-top: 22px;     
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    font-size: 16px;
}

.escenario-nombre-titulo-display{
    font-size: 18px;
}
.escenario-nombre-display{
    font-size: 22px;    
    color: yellow;
}

#minPathCalculationSelect {
    width: 85%;
    color:black;
    margin-top: 5px;
    margin-bottom: 15px;
    height: 35px;
    border-radius: 5px;
}

.borrar-camino{
    border-radius: 0px;
    background: url("../texturas/BotonSeleccionar.png") no-repeat scroll 0 0 transparent; 
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;    
    cursor: pointer;
}

#minPathCalculationOptions h3 {
    margin-top: 0px;
}

.save {
    width: 100%;
    margin: 0 auto;
    max-width: 150px;
    height: 120px; 
    background: url("../texturas/save.png") no-repeat scroll 0 0 transparent; 
    background-position: center center;
}

hr{
    margin: 20px !important;
}

