﻿@font-face {
    font-family: 'CaviarDreams';
    src: url('CaviarDreams.ttf');
    font-style: normal;
}

iframe{
    margin:5px;
}

.cabecera {
    background-image: url("fondo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

    .cabecera h1 {
        border: 2px solid #474B4E;
        padding: 20px;
        margin-left: 300px;
        margin-right: 300px;
        font-family: 'CaviarDreams';
        font-weight: bold;
        color: white;
    }

.oscura {
    background-color: black;
    opacity: 0.3;
    width: 100%;
    height: 100%;
}

.fondo {
    background-color: #CDCDCD;
    border-radius: 5px;
    margin: 15px;
    opacity: 0.8;
    text-align: center;
}



.barra_normal .activo {
    background-color: #6AADC2;
    color: black;
}

    .barra_normal .activo:hover {
        transform: scale(1.05);
        transition-duration: 0.4s;
        background-color: #6AADC2;
    }

body {
    margin: 0px;
    margin-bottom: 40px;
    background-color: #6AADC2;
    font-family: 'CaviarDreams';
    text-align: center;
}

.barra_normal {
    margin-top: 0px;
    background-color: #474B4E;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

    .barra_normal a {
        text-decoration: none;
        color: #BEBEBE;
        font-family: 'CaviarDreams';
        margin: 0px;
        background-color: #474B4E;
        flex-grow: 1;
        padding-top: 15px;
        padding-bottom: 15px;
    }

        .barra_normal a.icon {
            display: none;
        }

a:hover {
    transform: scale(1.07);
    transition-duration: 0.4s;
    color: white;
    font-weight: bold;
}

button {
    border-radius: 7px;
    border: none;
    background-color: #474B4E;
    color: white;
    padding: 10px;
    font-family: 'CaviarDreams';
    font-weight: bold;
    outline:none;
}

.boculto {
    visibility: hidden;
    position: relative;
    bottom: 175px;
}

.menusim a {
    flex-grow: 1;
    margin: 20px;
    text-decoration: none;
    color: white;
}

.menusim li {
    list-style-type: none;
    background-color: #409DC4;
    padding: 20px;
}

.menusim #principal {
    background-color: #474B4E;
    color: white;
}

.menusim {
    background-color: #ADD8E6;
    margin-right: 20px;
    text-align: center;
    padding: 20px;
    border-radius: 7px;
    margin-top: 40px;
    height: 100%;
    width: 50%;
}

    .menusim .activos {
        background-color: #ADD8E6;
    }

.capa {
    flex-grow: 1;
}

.formulario {
    background-color: #ADD8E6;
    margin-top: 40px;
    border-radius: 10px;
    display: inline-block;
    padding: 30px;
    text-align: left;
}

.title {
    font-weight: bold;
    border-top: 2px solid #474B4E;
    border-bottom: 2px solid #474B4E;
    padding: 5px;
}

.centrado {
    text-align: center;
}

.centrado-vert{
    display: flex;
    align-items: center;
    justify-content: center;
    width:96%;
    border: 3px solid white;
    margin:10px;
    margin-left:2%;
    padding-top:10px;
    padding-bottom:10px;
}

.centrado-vert2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    position:relative;
    bottom:50%;

}

.campo {
    border: 1px solid #474B4E;
    width: 100%;
}

    .campo:focus {
        background-color: #409DC4;
        color: white;
        transition: 0.5s;
    }

    .campo:valid {
        background-color: #409DC4;
        color: white;
    }

    .campo:not(:placeholder-shown):invalid {
        background-color: rgba(64,157,196,0.5);
        color: white;
    }

::placeholder {
    color: white;
}

#im_s1 {
    text-align: left;
    margin: 10px;
}

    #im_s1 img {
        border: 5px solid white;
        border-radius: 5px;
    }

#sim1,#sim2,#sim3,#sim4,#sim5,#sim6{
    border: 5px solid #474B4E;
    box-shadow: 1px 1px 15px #474B4E, -1px 1px 15px #474B4E, 1px -1px 15px #474B4E, -1px -1px 15px #474B4E;
}

h3 {
    background-color: #474B4E;
    padding: 10px;
    color: white;
    font-weight: bold;
    margin:0px;
}
html {
    min-height: auto;
    position: relative;
  }
footer {
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    color: white;
    z-index: 2;
  }

.fotext {
    display: flex;
    text-align: justify;
    margin: 30px;
}

.fotext_dentro {
    text-align: justify;
    align-items: flex-start;
    padding:20px;
}

.texto_sim {
    margin-left:20px;
    margin-top:0px;
    display:inline-block;
    width:50%;
}

.texto {
    margin: 20px;
}

.textbot {
    text-align: justify;
}

    .textbot button {
        margin: 20px;
    }




.capaenc {
    width: auto;
    padding-top: 10px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 0px;
    height:300px;
}

#play {
    background-image: url(play.png);
}

#stop {
    background-image: url(stop.png);
}

#pause {
    background-image: url(pause.png);
}

#forward {
    background-image: url(forward.png);
}

#pcomp {
    background-image: url(pantalla.png);
}

#info {
    background-image: url(info.png);
}

#volumen {
    background-image: url(volumen.png);
}

.btn_video {
    background-size: 30px;
    width: 30px;
    height: 30px;
    margin-top: 0px;
    padding: 0px;
    background-repeat: no-repeat;
    background-color: #474B4E;
}

.pausado {
    margin-top: 0px;
    width: 100%;
    opacity:0.7;
}

.reproduciendo {
    margin-top: 0px;
    width: 100%;
    opacity:1;
}

#mapid {
    height:400px;
    margin:30px;
    z-index: 0;
}

    #mapid div {
        background-color: none;
        margin: 0;
        margin-top: 0;
        border-radius: 0;
    }

.leaflet-control-attribution {
    margin: 5px;
}



.oculto {
    display:none;
}

.galeria {
    align-items:center;
}

#avanzar {
    position: relative;
    left: 25%;
    background-image: url("flecha.png");
    background-size: 46px,46px;
    width: 50px;
    height: 50px;
    background-color: #ADD8E6;
    border: none;
    background-repeat: no-repeat;
    -webkit-user-select: none;
}

#retroceder {
    position: relative;
    right: 25%;
    background-image: url("flecha2.png");
    background-size: 46px,46px;
    width: 50px;
    height: 50px;
    background-color: #ADD8E6;
    border: none;
    background-repeat: no-repeat;
    -webkit-user-select: none;
}

#imagen {
    margin-top:25px;
    margin-bottom:0px;
    padding:0px;
}

#boton2,#boton3,#boton4,#boton5 {
    display:none;
}

#boton {
    visibility:hidden;
}



/* Estilos de la pagina de inicio */

/* Clases para darle forma de polaroid a las imagenes*/

.container {
    text-align: center;
    padding: 10px 20px;
    color:white;
}

.polaroid {
    width: 55%;
    background-color: #474B4E;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
    position: relative;
    left: 22.5%;
    margin-top: 20px;
}

/* Clase que pone borde blanco a las imagenes */

.imagen {
    border: 5px solid white;
    border-radius: 5px;
}

.imagen_sim2 {
    border: 5px solid white;
    border-radius: 5px;
    margin-left: 2%;
    display: inline-block;
}

/* Clase de las capas grandes */

.capa {
    flex-grow: 1;
    background-color: #ADD8E6;
    margin: 20px;
    margin-top: 40px;
    border-radius: 10px;
    text-align:center;
    align-content:center;
}
.capa2 {
    flex-grow: 1;
    background-color: #ADD8E6;
    margin: 20px;
    margin-top: 40px;
    margin-bottom: 5px;
    border-radius: 10px;
    text-align:center;
    align-content:center;
}

.capa_sim1 {
    background-color: #ADD8E6;
    margin: 20px;
    margin-top: 40px;
    border-radius: 10px;
    text-align: center;
    align-content: center;
    width:100%;
}

.capa_sim {
    background-color: #ADD8E6;
    margin: 20px;
    margin-top: 40px;
    border-radius: 10px;
    text-align: center;
    align-content: center;
    width:150%;

}

/* Capa que contiene todo en las paginas */

.cuerpo {
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: auto;
}

/* Reproductor de video */

.player {
    width: 80%;
    background-color: #474B4E;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
    top: 5%;
    margin-top: 20px;
    border: 4px solid #474B4E;
    left:10%;
}

/* Barra del video */

#barra_video {
    background-color: white;
    border-radius: 0px;
    border: 0px solid #474B4E;
    width: 100%;
    position: relative;
}

/* Barra de progreso del video */
#progress {
    outline: none;
    width: 100%;
    border:none;
}

#imagen {
    width:95%;
    height:95%;
}

#infor {
    position:relative;
    bottom:23%;
    left:25%;
    background-color:white;
    opacity:0.8;
    padding:1%;
    display:none;
    border-radius:5px;
}

.capa_inicio {
    flex-grow: 1;
    background-color: #ADD8E6;
    margin: 20px;
    margin-top: 40px;
    border-radius: 10px;
    text-align: center;
    align-content: center;
    width: 50%;
}

#canvas {
    border: 5px solid white;
    border-radius: 5px;
    margin-left: 2%;
    display: inline-block;
}

#infor_audio {
    background-color: white;
    opacity: 0.8;
    padding: 1%;
    display: none;
    border-radius: 5px;
    margin:2%;
}

#sim2, #sim3, #sim4, #sim5, #sim6{
    display:none;
}

.iminf {
    width: 20%;
    border: 5px solid white;
    border-radius: 5px;
    margin-right:5%;
    margin-left:5%;
}

.texto_inf {
    margin:3%;
    text-align:justify;
}

#mapid {
    border: 5px solid white;
    border-radius: 5px;
    margin-bottom:10px;
}
