/* COLORES CORPORATIVOS */
:root{
    --azul: #2c79ac;           /*#537A9E*/        /*#265bbe*/    
    --beige: #FFF7EE;          /*#FFF7EE*/        /*#FFF7EE*/
    --lila: #cf7f7f;           /*#BC96BB*/        /*#ee8917*/
    --negro: #33363B;          /*#33363B*/
    --peso: 400;
}
/* Resets CSS */
html, * {
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
    font-size: 100%;
    font-size: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    overflow-y: scroll;
}
header {
    height: 70px;
}
h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8em;
}
h2 {
    font-size:0.8em;
}
main { /* todo -70 header */
    min-height: calc(100% - 70px);
    min-height: -o-calc(100% - 70px); /* opera */
    min-height: -webkit-calc(100% - 70px); /* google, safari */
    min-height: -moz-calc(100% - 70px); /* firefox */    
    font-size:18px;
}
p {
    margin-top:8px;
    font-family: 'Oswald', sans-serif;
}
a{
    color: inherit;
    text-decoration: none;
}
ol {
    margin-top:8px;
    margin-bottom:32px;
}
ol li{     
    margin-left: 3em;
    font-family: 'Oswald', sans-serif;
}
ul li{
    list-style-type: none;
    font-family: 'Oswald', sans-serif;
}

/* Navbar section */
.nav {
    width: 100%;
    height: 70px;
    background-color: white;
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index:100;
    /* border-bottom: solid 1px black; */
    box-shadow: 0 2px 4px rgba(0,0,0,.4);
}
.nav .logo {
    float: left;
    height: 60px;
    width: auto;  
    padding-left: 2rem;
}
#menulamemoria{
    position: relative;
    top:4px;
}
.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2em;
}
.nav div.logo a:hover {
    color: var(--lila);
    transition: all .5s ease;
}
.nav div.main_list {   
    height: 65px;
    float: right;  
}
.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav div.main_list ul li {  
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 2em;
}
.nav div.main_list ul li a {
    text-decoration: none;
    color:var(--negro);
    font-weight: var(--peso);
    line-height: 65px;
    font-size: 1.65em;
}
.nav div.main_list ul li a:hover {
    transition:all .3s ease;
    font-weight: var(--peso);
    color:var(--lila);
}
.seleccionado {
    color: var(--lila) !important;
}
.navTrigger {
    display: none; 
}
.nav {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


/* PÁGINA INICIO */
#home{    
    height: auto;
    display:flex;
    flex-flow: column nowrap;
}
.proyecting{
    width:100%;
    height:200px;  
    display: flex;
    flex-flow: row nowrap;
    align-content: center;
}
.imgLaMemoria{
    width: 400px;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-flow: row nowrap;
    align-content: center;
    align-items: center;   
} 
.pasos{
    margin-top:2em;
    margin-bottom: 2em;
    display:flex;
    width:100%;
    padding:30px 50px 0px;
    background-image:url("../assets/img/sobres2.jpg");
    background-size: cover;
    background-position: bottom;
    color: white; 
}
.pasos p{
    font-size: 1em;
}
.pasos ol>li {
    list-style-type:none;
    padding: 5px;
    font-weight: 400;
    font-size: 90%;
  }
.formatointro{
    padding:10px 50px;
    display: flex;
    flex-flow: column nowrap;    
    justify-content: center;  
}
.formatointro2{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}
.formatointro2 p{
    max-width: 550px;
    padding: 40px;
}
#imgCalvin{
    display: block;
    width:600px;
    margin:30px auto;
}   

/* PÁGINA MAPA */

.coleccion2{
    width:100%;
    height: 300px;
    background-image: url(/assets/img/cámaras.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    padding-top: 30px;
  }

.digitalizando.mapa b {
    font-size: x-large;
    font-weight: 600;
   
}
.digitalizando.mapa p {
    padding: 10px;
    font-weight: 400;
}


.mainer{
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}
#mapid{
    width:95%;
    height: 550px;
    margin-top:10px;
    z-index: 1;
    border-radius: 2px;
}

.switch-field {
    display:flex;
    flex-flow: row nowrap;
    justify-content: center;
    margin-bottom: 15px;
}

.switch-field input {
	
	width: 1px;
	border: 0;
	overflow: hidden;
  visibility: hidden;
    
}

.switch-field label {
	font-size: 14px;
	line-height: 1;
	text-align: center;
	padding: 8px 16px;
	margin-right: -1px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	
	transition: all 0.2s ease-in-out;
    
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
	background-color: #ec9292b6;
	box-shadow: none;
}

.filtro{
    width: 100% ;
    min-height: 50px;  
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    /* gap:10px; */
}
.textofiltro{
    font-size: 13pt;
    font-weight: 500;
}
.searchbox{
    width:60%;
    margin: 0 auto 0;
    display:flex;
    flex-flow: row wrap;
    justify-content: center;
    
}
.searchbox input[type=text] {
    width:60%;
    padding: 6px; 
    font-size: 17px;
    border:solid 1px ;
    color: var(--negro);  
  }
.searchbox  button {
    padding: 6px 10px; 
    background: #ec9292b6;
    font-size: 17px;

    border:#ec9292b6 1px;
    cursor: pointer;
    color:white;
    
  }
.searchbox  button:hover {
    background: var(--lila);
    transition: all 0.4s ease;   
  }

#btn_CancelBuscar {
 cursor:pointer;
 position: relative;
 left:-20px;
 top:5px;
 color:grey;
}  
#btn_Buscar {  
    position: relative;
    left:-10px;
   }  

   
.coleccion{
  width:100%;
  height:150px;
  background-image: url(/assets/img/cámaras.jpg);
  background-size: cover;
  background-position: bottom;
  text-align: center;
  color: white;
  font-weight: 500;
  font-size: 2em;
  margin-top: 70px;
  margin-bottom: 70px;
  padding-top: 60px;
  
}

.derecha{
    width:100%; 
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}
/* formato fichitas */
  .fichita {
      /* border:solid 1px red; */
    width: 320px;
    height: 240px;
    margin: 10px;
    position: relative;
    overflow: hidden; 
    border-radius: 2px;
   }

  .fichita * {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: baseline; 
    cursor:pointer;
    border-radius: 1px;
   }
  .fichita img {
      width:100%;
      height: 100%;
     /* border: solid 1px green;  */
    display: block;
      

    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
  }
  .clear::after {
    content: '';
    display: block;
    clear: both; 
  } 
  .fichita h1 {
    font:  130% / 140% 'Oswald', sans-serif;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    color: black;
    font-weight: 400;
    text-align: center;
   }
   .fichita h2{
     font-weight: 400;
   }
  .fichita .clear{
    margin:20px;
   }
  .fichita .texto {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    opacity: 0;
    text-align: center;
    }
    .fichita:hover .texto {
    opacity: 1;
    }
    .fichita:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
     transform: scale(1.1); 
  }

 /* PAGINA DIGITALIZA */

.digitalizando{
    padding: 80px 0 0 30px;
    text-align: center;
}

#mandandoSoportes:hover{
    color:var(--lila);
    transition: all .5s ease;
}

/* formulario */

    .main-block{
        width: 100%;
        height: 500px;
        margin: auto; 
        font-size: 16px;
        align-items: center;
        min-height: 100%;
        background-image:url("../assets/img/fondo-digitaliza.jpg");
        
        background-size: cover; 
        display: flex;
        flex-direction: column;
    }
    .main-block input { 
        padding: 0;
        margin: 0;
        outline: none;
        font-size: 16px;
        color:#191b1f;
    }
    .main-block h3 {
        padding: 12px 0; 
        font-weight: 400; 
    }
     .main-block .info {
        display: flex;
        flex-direction: column;
    }
    .main-block form {
        width: 90%; 
        max-width: 600px;
        justify-content: center;
        margin: auto;
        padding: 20px;
        border-radius: 1px; 
        box-shadow: 20px 20px 20px rgba(0,0,0,.8); 
        background: #ffffff; 
        }
    .main-block .info-item {
        margin-top:12px; 
        width: 100%;
        }
    .main-block input {
        width: calc(100% - 60px);
        height: 36px;
        padding-left: 10px; 
        /* margin: 0 0 2px -5px; */

        border-radius: 2px;
        border: solid 0px;
        box-shadow: 1px 2px 5px rgba(0,0,0,.4); 
        background: #fff; 
        font-size: smaller;
        }
    .main-block .icon {
        padding: 9px 15px;

        border-radius: 2px ;
        border: solid 0px ;
        background: #ec9292b6;
        color: white;
        box-shadow: 1px 2px 5px rgba(0,0,0,.4);
        }
    .main-block textarea {
        width: 98%;
        margin-bottom: 12px;
        box-shadow: 1px 2px 5px rgba(0,0,0,.4);
        border-radius: 2px ;
        border: none;
        }
    .main-block h3{
        color: var(--negro);
        font-size: 90%;
        }
    .main-block button {
        width: 20%;
        padding: 8px;
        border-radius: 2px; 
        border: none;
        background: #ec9292b6; 
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        box-shadow: 1px 2px 5px rgba(0,0,0,.4);
        }
    .main-block button:hover {
        background-color:var(--lila);
        transition: all .5s ease;
        }
     .main-block .error {
          color:#d32e2e;
          margin-top:0;
        }
    ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: rgb(165, 165, 165);
        opacity: 1; /* Firefox */
      }
    :-ms-input-placeholder { /* Internet Explorer 10-11 */
      color: rgb(165, 165, 165);
    }
    ::-ms-input-placeholder { /* Microsoft Edge */
      color: rgb(165, 165, 165);
    }

/* modal */
    #ex2 {
      font-weight: bold;
    }

/* soportes digitaliza */
    .zonasoportes{
        display: flex;
        flex-flow: row wrap; /*wrap para que no se rompa en versión movil*/
        padding:4px;   
        justify-content: center; 
    }
    .grid::after {
        content: "";
        flex: auto;
    }
    .h1_soportes{
        font-size:28px;
        font-weight: 600;
        margin:40px 100px 10px ;
        font-size: 22px;   
    }
    .soporte1{
        width:350px; 
        min-height: 100px; 
        margin:20px;
        padding-left:20px;
        padding-top:20px;
        position: relative;
        font-weight: 700;
    }
    .soporte1 * {
        z-index: 12;
        position:relative;
        color: black;
    }
    .soporte1 h1{
        font-weight: 600;
        font-size:18px;  
        margin-bottom: 10px;     
    }
    .soporte1 h2{
        padding-bottom: 10px;
        text-indent: 1em;
        font-weight: 600;
        font-size:14px;
    }
    .soporte1 h2::before{
        content: "- ";
    }
    .soporte1 .linea {
        margin-bottom: 12px;    
        width: 240px;
        height: 3px;
        background-color: black;
    }
    /* .soporte1 p {
        margin: 0 1.5em 0 0;
        font-size:16px;
        line-height: 1.2em;  
    } */
    .backgrnd{
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;    
        background-size: cover;
        border-radius: 2px;  
        background-position: right;
        filter: opacity(60%) grayscale(100%) contrast(100%);  
    } 
    .fondo16mm {
        background-image: url('../assets/img/soportes/DSC00085.JPG');  
        background-size: cover;
        background-position: top;  
        border: solid 3px black; 
    }
    .fondovidrio {
        background-image: url('../assets/img/soportes/diapositivas2.jpg');
        background-size: cover;
        border: solid 3px black;
    }
    .fondovhs {
        background-image: url('../assets/img/soportes/vhs2.jpg');
        background-size: cover;
        border: solid 3px black;
    }

/* PAGINA CATÁLOGO ¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿BORRAR?????????????*/
#catalogo{
    display:flex;
    flex-flow: column;
    align-items: center;
}
.fichero{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center; 
}
.img-catalogo{
    width:100%;
    margin: 0;
    padding: 0;
} 
.img-catalogo{
    width: 100%;
    height: 100%; 
    object-fit: contain;
}


/* archivo ¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿BORRAR?????????????*/
.archivo {
    margin:2em;
    padding:2em;
    min-width: 400px;
    max-width:700px;
    border-radius: 5px;
    height:200px;
    text-align:center;
    position:relative;
    box-shadow: 2px 3px 5px rgba(0,0,0,.4);
    /* la imagen de fondo vendrá por JS según el vídeo que se vaya subiendo */
}
.archivo *{
    z-index: 100;
}
.centrado{
    max-width:600px;
    max-height: 450px;
    margin:20px auto;
    border: solid;  
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    background-color: linen;
    /* para que el contenido se mantenga dentro del borde en version movil */
    overflow:hidden;
    height:1%;
}


/* REPRODUCTOR */

.reproduciendo{
    width: 100% ;
    min-height: 100px;
    padding-top: 30px;
    margin: 0 auto ; 
    align-content: center;
    text-align: center;
    font-size: 18px;
}
.reproduciendo .titulopeli{
    font-size: 28px;
    font-weight: bold;
}
.reproduciendo .descrippeli{
    font-size: 20px;
    font-weight: bolder;
    margin-bottom: 40px;
}
#myVideo{
    display: flex;
    margin: 0 auto;
}
#myVideo iframe{
    margin: 0 auto;
    border-radius: 10px;
}
.detalles{
    width:800px;
    margin:auto;
    margin-bottom: 150px;
}
.titulodetalles{
    font-size: 28px;
    font-weight: bold;
    padding:30px 0 10px 0;
    margin:auto;
}
.negri {
    font-weight: 600;
}

#myPhoto{
    display:flex;
    margin: 0 auto;
}
#myPhoto img{
    width: 800px;
    display:flex;
    margin: auto;

}

/* FOOTER */
footer{
    width:100%;
    display: flex; 
    flex-flow: column wrap ;
    justify-content: center;
    text-align:center ;
}
footer .rrss {
    padding: 40px 40px 10px 40px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    text-align:center ;   
}
footer .rrss .red-social {
    height: 24px;
    margin: 0 .85em;
    color:#33363B ;
    justify-content: center;
    content: inherit;
}
footer .rrss .a:hover{
    color: var(--lila);
    transition: all .5s ease;
}
footer .rrss .red-social .fab{
    font-size: 2em;
}
footer p.links{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: initial;
    align-content: center;
}
footer p.links a.enlaces{
    min-height: 1.2em;
    margin: 0 1.2em;
    padding-bottom: 20px;
    font-size: 1.5em;
}
footer p.links a.enlaces:hover{
    color: var(--lila);
    transition: all .5s ease;
}
footer img {
    justify-content: center;
}
footer .copy{
    width:100%;
    padding:.7em 0 .7em  0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

/* OCULTACIÓN DEL MAPA */
.oculto {
    display: none;
}


/* MEDIA QUERY SELECTION PANTALLA PEQUEÑA */

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;  
    }
    .nav div.logo {
        margin-left: 15px;  
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
        margin-top: 10px;    /*espacio entre la x t el menú desplegable*/   
    }
    .nav div.show_list {
        height: auto;
        display: none;  
    }
    .navlinks{  
        box-shadow: rgba(0,0,0,.4);   
    }
    .nav div.main_list ul {
       height: auto;
        width: 35%;
        margin-left: 65%;
        background-color: white ;
        display: flex;
        flex-direction: column;
        align-content:flex-end;
        box-shadow: rgba(0, 0, 0, 0.4) -2px 1px 4px;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
        height: 50px;
        position:relative;
        top: -12px;
    }
    .nav div.main_list ul li a {
        text-align: right;
        width: 100%;
        font-size: 1.5em;
    }
    .nav div.media_button {
        display: block;
    }

 /* INICIO   */
#home{
     display: flex;
     flex-flow: column nowrap;
     align-items: center;
     justify-content: center;
 }
.imgLaMemoria { 
     max-width: 90%;
 }
#imgCalvin {
     max-width: 95%;
 }
#mapid{
    width:96%;
    height: 300px;
    margin-top:10px;
    z-index: 1;
}
.fichero{
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;   
}
.detalles{
    max-width: 90%;
    margin-left:30px;
}
/* .digitalizando {
    padding: 10px;
} */

#myPhoto{
    max-width: 96%;
}


/* Animation */
.navTrigger {   
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}
.navTrigger i {
    background-color: black;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}
.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}
.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}
.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}
@-webkit-keyframes inM {
    50% {-webkit-transform: rotate(0deg);}
    100% {-webkit-transform: rotate(45deg); }
}
@keyframes inM {
    50% {transform: rotate(0deg);}
    100% {transform: rotate(45deg);}
}
@-webkit-keyframes outM {
    50% {-webkit-transform: rotate(0deg);}
    100% {-webkit-transform: rotate(45deg);}
}
@keyframes outM {
    50% {transform: rotate(0deg);}
    100% {transform: rotate(45deg);}
}
@-webkit-keyframes inT {
    0% {-webkit-transform: translateY(0px) rotate(0deg);}
    50% {-webkit-transform: translateY(9px) rotate(0deg);}
    100% {-webkit-transform: translateY(9px) rotate(135deg);}
}
@keyframes inT {
    0% {transform: translateY(0px) rotate(0deg);}
    50% {transform: translateY(9px) rotate(0deg);}
    100% {transform: translateY(9px) rotate(135deg);}
}
@-webkit-keyframes outT {
    0% {-webkit-transform: translateY(0px) rotate(0deg);}
    50% {-webkit-transform: translateY(9px) rotate(0deg);}
    100% {-webkit-transform: translateY(9px) rotate(135deg);}
}
@keyframes outT {
    0% {transform: translateY(0px) rotate(0deg);}
    50% {transform: translateY(9px) rotate(0deg);}
    100% {transform: translateY(9px) rotate(135deg);}
}
@-webkit-keyframes inBtm {
    0% {-webkit-transform: translateY(0px) rotate(0deg);}
    50% {-webkit-transform: translateY(-9px) rotate(0deg);}
    100% {-webkit-transform: translateY(-9px) rotate(135deg);}
}
@keyframes inBtm {
    0% {transform: translateY(0px) rotate(0deg);}
    50% {transform: translateY(-9px) rotate(0deg); }
    100% {transform: translateY(-9px) rotate(135deg);}
}
@-webkit-keyframes outBtm {
    0% { -webkit-transform: translateY(0px) rotate(0deg);}
    50% {-webkit-transform: translateY(-9px) rotate(0deg);}
    100% {-webkit-transform: translateY(-9px) rotate(135deg);}
}
@keyframes outBtm {
    0% {transform: translateY(0px) rotate(0deg);}
    50% {transform: translateY(-9px) rotate(0deg);}
    100% {transform: translateY(-9px) rotate(135deg);}
}
.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {padding:2%;}
}
}
