/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*CONTENIDO*/
img.descarga{
  width: 20px;
  height: auto;
  color: white;
}
div.descarga{
  margin-top:150px;
  padding: 50px 0 50px 0;
  border-bottom-style: solid;
  border-top-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);

}
div.descarga h4{
  opacity: 0.5;
  font-weight: 100;
}
div.ie{
  display: none;
}
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}
body{
  font-family: 'aktivgrotesk', sans-serif;
  letter-spacing: 1px;
  color:white;
  margin:0;
  background: url("../img/1_portada.jpg")no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  position: relative;
  height: 100%;
}

body:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url("../img/1_portada_m.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 60%;
}

.pases{

  background-color: rgba(0, 0, 0, 0.8);
}
.pas.pasado{
  opacity: 0.25;
}
.trailer{
  margin: 0 20% 0 20%;
  max-height: 75vh;
  position: relative;
  margin-top: 100px;
}
iframe{
position:absolute;
height:100%;
width:100%;
top:0px;
left:0px;
}
.docu{
  margin: 0 5% 0 5%;
  display: block;
}
.docu h1{
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 5%;
}XXª
.docu p{
  margin-top: 0;
}
.fechas{
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(350px, 1fr) );
  column-gap: 50px;
  margin: 0 5% 0 5%;
  padding-top:50px;
}
.fechas h2{
  font-size: 3rem;
  font-weight: 100;
  line-height: 2.75rem;
  margin-bottom: 0;
}
.fechas p{
  font-size: 1rem;
}
p{
  font-family: 'aktivgrotesk', sans-serif;
  letter-spacing:1px;
}
/*Preindex*/
div.preINDEX{
  position: fixed;
  top:0;
  width: 100vw;
  height: 100vh;
  display: block;
  margin:0 0 0 0 ;
  color: white;
}
.preINDEX h1{
  font-size: 4rem;
  text-align: center;
  margin-top: 20%;
  margin-bottom: 0;
  line-height: 3.5rem;
}
.preINDEX p{

  margin-top: 0;
  text-transform: uppercase;
  font-size: 2.1rem;
  text-align: center;
}
.exp p{
  margin-top: 50px;
  font-size: 1.2rem;
  text-transform: none;
}
.logoa{
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.logoa img.logo{
  padding: 0 50px 0 50px;
  margin-top: 300px;
}

.content{
  background-image: linear-gradient(to top, rgba(0,0,0,1)50%, rgba(0,0,0,0.9));
  opacity: 1;
  margin:0;
}
.content.full{
}
.flex{
  margin: 2% 5% 0 5%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start

}
.non-selectable {
   -moz-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}
.topfixed{
background-image: linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.9));
opacity: 0;
top:0px;
height: 70px;
margin:0;
}
header.redimension h1{
  font-size: 1.5rem;
}



article{
  margin: 0 5% 0 5%;
  display:grid;
  grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
  z-index: 0;
  column-gap: 50px;
  padding: 100px 0 100px 0;

}

/*HEADER*/
header{
  font-size: 16px;
  position: fixed;
  width: 100%;
  top:3%;
  left: 0;
  right: 0;
  z-index: 1;


}
header h1{
flex-grow: 1;
text-transform: uppercase;
color: white;
margin:0;
font-size: 2rem;
line-height: 1.8rem;
display: inline-flex;
}
a{
  text-decoration: none;
  color: white;
}
nav{
  flex-grow: 2;
  z-index: 0;
}
nav ul{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
nav div.idioma {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  float: right;
  justify-content: center;
  margin: -2px 0;
}
li{
  list-style: none;
}
nav li a{
font-family: 'aktivgrotesk', sans-serif;
font-weight: 100;
color: white;
padding-right: 10px;
padding-left: 10px;
font-size: 1.2rem;
text-align: center;
line-height: 10px;
transition: 0.5s;
}
a.actual{
  font-weight: 900;
}
nav li a:hover{
  font-weight: 900;
  letter-spacing: 0px;
}
@media (max-width: 575px) {
  li.idioma{
    align-items: flex-end;
  }
};


/*LAND*/
div.father{
  position: relative;
}
div.lema{
  margin-left: 5%;
  margin-right: 5%;
  margin-top: -3%;
  position: sticky;
  position: -webkit-sticky; /* Required for Safari */
  top:10%;
  border-width:10px;
  z-index: 0;
  opacity: 0.2;
}
svg.web{
  display: inherit;
}
svg.ipad{
  display:none;
}
svg.mobil{
display: none;}

/*probetatik, baina oin ez dabil:

.lema1 svg{
  width: 100vw;
  height: 100vh;
  border-width: 1px;
}
*/

img#scrollicon {
  position: fixed;
  right: 0;
  margin-right:5%;
  margin-bottom: 3%;
  bottom: 0px;
  flex-grow: 1;
  height: 70px;
  width: 50px;
  opacity: 0;
}
div.logos{
  position: fixed;
  bottom: 0;
  margin: 0 5% 3% 5%;
  left: 0;
}
 img.logo{
  float: right;
  height: 25px;
  padding: 20px 50px 0 0px;
}
img.logo.directa{
 float: right;
 height: 35px;
 padding: 10px 50px 0 0px;
}
img.logo.salt{
 float: right;
 height: 70px;
 padding: 0 50px 0 0px;
}
img.logo.pik{
  height: 40px;
  padding-top: 10px;
  padding-right: 30px;
}


div.rell_gradient{
  background-image: linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0.9)66%, rgba(0,0,0,0.9)); /* Standard syntax (must be last) */
  height: 150vh;
  z-index: 0;
}
div.rell_gradient.cap{
  background-image: linear-gradient(to bottom, rgba(12,12,12,0), rgba(12,12,12,1)60%);
  height: auto;/* Standard syntax (must be last) */
}
/*LAND*/
article.intro{
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 50px;

}
.introText{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
}
article p{
  font-size: 1.2rem;
  margin:0;
}
article h2{
  font-size: 2rem;
  line-height: 2.2rem;
  font-weight: 100;
  margin: 0;
}
/*VIDEO*/
.container{
  width: 100%;
}
#videocontainer{
background-image: url("../img/intro_lasierra.jpg");
background-position: 20% 80%;
}
.introFoto{
object-fit: cover;
}
div.videocontainer{
  padding-top: 100px;
  margin-bottom: 0;
  max-width: 100vw;
  height: auto;
}
.videocontainer video{
  width: 100%;

  height: auto;
  opacity: 1;
  z-index: 10;
}
/*INFOGRAFIA*/
article.infografia{
  margin: 0;

  background-color: rgba(0, 0, 0, 0.9);

}
div.infocontainer{
display: block;
position: relative;
margin: 0 5% 0 5%;

}

div.infoContent{
  margin: 0 5% 0 5%;
  position: relative;
}

div.left{
  width: 50%;
  height: 80vh;
  position: sticky;
  position: -webkit-sticky; /* Required for Safari */
  top:100px;
  right: 0;
  float: right;
  background-image: url("../img/INFOGRAFIA_fondo2.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0 0%;

}
.left img{
  display: none;
}
.left svg{
  display: none;
}
div.texto{
  display: block;
  width: 33%;
  float: left;
}
.texto h2{
  margin-bottom: 30vh;
}
.texto p{
  margin-bottom: 0;
}
.texto p b{
  letter-spacing: 0.05rem;
  }
.texto h3{
  margin: 0;
}
div.esquema{
  visibility: hidden;
  height: 30vh;
}

/*GALERIA*/

.capitulos
{margin-top:0px;
  border-top-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);
}
.capitulos h1{
  font-weight: 100;
  font-size: 2rem;
  line-height: 2rem;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
  text-transform: none;

}
.capitulos h2{
  padding-top: 10px;

  padding-bottom: 15px;
  font-weight: 100;
  font-size: 1rem;
  line-height: 1rem;
  opacity:0.5;
  margin: 0 0 0 0;
  text-transform: none;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);
}
h2.sinSup{
  padding-top: 90px;
}
.capitulos p{
  font-weight: 100;
  font-size: 1rem;
  line-height: 1rem;
  opacity:1;
  margin: 0 0 0 0;
  padding-top: 50px;



  text-transform: lowercase;

}
div.imgContainer{
  position: relative;
  height: 60vh;
  cursor: pointer;
  overflow: hidden;
  transition: all .2s;
  margin-top: 50px;
  margin-bottom: 100px;
}
div.imgContainer.cerrado{
  opacity: 0.2;
  cursor: inherit;
}
#detector{
  display: block;
}

.img.cap{

  opacity: 1;
  width: 100%;
  height: 100%;
  background-position: 60%;
  transition: all .5s;
}
.img.cap.uno{
  background-image:url("../img/cap100.JPG");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.img.cap.dos{
  background-image:url("../img/cap200.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 80%;
}
.img.cap.tres{
  background-image:url("../img/cap300.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.img.cap.cuatro{
  background-image:url("../img/cap400.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 55%;

}

.imgContainer:hover .img.cap{
  -ms-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.imgContainer.cerrado:hover .img.cap{
  -ms-transform:opacity(0.1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  opacity: 0.5;
}
.img.cap.cerrado{
  background-image:url("../img/x.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-position: 60%;
  transition: all .2s;
}
article.galeria{
  text-transform: lowercase;

  padding-bottom: 100px;
}

/*creditos*/
article.creditos{
  margin: 0 5% 0 5%;
  display:grid;
  grid-template-columns: repeat( auto-fit, minmax(100px, 1fr) );
  z-index: 0;
  column-gap: 50px;
  padding: 50px 0 50px 0;
  border-top-style: solid;

  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);
}
#enteros{
  margin-top: 200px;
}
.bloc h4{
  padding-top: 10px;
  padding-bottom: 0px;
  font-weight: 100;
  font-size: 1rem;
  line-height: 1rem;
  opacity:0.5;
  margin: 0 0 0 0;
  text-transform: none;
}
.bloc p{
  padding-top: 0px;
  font-weight: 100;
  font-size: 1rem;
  line-height: 1rem;
  opacity:1;
  margin: 0 0 0 0;
  text-transform: none;
}
.creditos img{
  max-width: 125px;
  max-height: 75px;

}
p.ue{
  display: block;
  padding-top: -15px;
  padding-bottom: 15px;
 margin: 0px 5% 25px 5%;
 border-bottom-style: solid;
 border-width: 1px;
 border-color: rgba(255, 255, 255, 0.5);
font-size: 0.8rem;
line-height: 1rem;}
div.cc{
  margin: 0 5% 0 5%;
  margin-top: 50px;
  padding-bottom: 50px;

  display: block;
}
div.cc img {
  margin: 0 ;
  width: 150px;
 }
div.cc p{
  font-size: 0.8rem;
  display: inline;
  float: right;
}
/*CAPITULOS*/
body.cap1{
  font-family: 'aktivgrotesk', sans-serif;
  color:white;
  margin:0;
  background-image: url("../img/cap100.JPG") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

  position: relative;
  max-width: 100%;
}
body.cap2{
  font-family: 'aktivgrotesk', sans-serif;
  color:white;
  margin:0;
  background-image: url("../img/cap200.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

  position: relative;
  max-width: 100%;
}
body.cap3{
  font-family: 'aktivgrotesk', sans-serif;
  color:white;
  margin:0;
  background-image: url("../img/cap300.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

  position: relative;
  max-width: 100%;
}
body.cap4{
  font-family: 'aktivgrotesk', sans-serif;
  color:white;
  margin:0;
  background-image: url("../img/cap400.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

  position: relative;
  max-width: 100%;
}

body.cap1:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  background: url("../img/cap100.JPG") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
body.cap2{
  font-family: 'aktivgrotesk', sans-serif;
  color:white;
  margin:0;
  background-image: url("../img/cap200.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

  position: relative;
  max-width: 100%;
}

body.cap2:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  background: url("../img/cap200.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 80%;
}
body.cap3:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  background: url("../img/cap300.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 80%;
}
body.cap4:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  background: url("../img/cap400.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 80%;
}

div.container.tit{
  position: relative;
  padding: 0 0 0 0;
}

.back img{
  width: 50px;
  height: auto;
  float: right;
  top: 5%;
    right: 5%;
  color: white;
  transition: all 0.5s;
  margin-top: 5%
}
.back.docu img{
  left: inherit;
  right: 5%;
}
.mess_back{
  position: absolute;
  top: 4%;
  left: 5%;
  transition: all 0.5s;
  opacity: 0;
}
.container.tit img:hover{
  transform: scale(1.5);
}
.back.docu img:hover{
  transform: scale(1.5);

}
.back:hover .mess_back{
  opacity: 1;
}
footer{
  background-color: #0c0c0c;

}
.back.footer{
  background-color: #0c0c0c;
  padding: 100px 0 100px 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 20%;
}
.back.footer img:hover{
  transform: translate(-20%, 0);
}

.back.footer img{
display: block;
position: relative;
margin:auto;
transition: all 0.5s;
width: 60px;
}
.back.footer p{
  opacity: 1;
  position: relative;
  display: block;
}
.container.tit h1{
  position: absolute;
  bottom: 5%;
  font-weight: 100;
  font-size: 6rem;
  line-height: 5.5rem;
  margin:0 0 0 5%;
  opacity: 0.8;
}

.cd-section {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.cd-section2 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.cd-section3 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.cd-section4 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}


.cd-section--bg-fixed {
  min-height: 100vh;
  background-attachment: fixed;
  position: relative;
}
/* backgrounds */
.cd-section:nth-child(2) {
  background-image: url("../img/cap101.jpg");
  background-position: 30% 0;
}

.cd-section:nth-child(4) {
  background-image: url("../img/cap102.JPG");
}
.cd-section2:nth-child(2) {
  background-image: url("../img/cap201.jpg");
  background-position: 30% 0;
}
.cd-section2:nth-child(4) {
  background-image: url("../img/cap202.jpg");
  background-position: 30% 0;
}
.cd-section3:nth-child(2) {
  background-image: url("../img/cap301.jpg");
  background-position: 0;
}
.cd-section3:nth-child(4) {
  background-image: url("../img/cap302.jpg");
  background-position: 0;
}
.cd-section4:nth-child(2) {
  background-image: url("../img/cap401.jpg");
  background-position: 0;
}
.cd-section4:nth-child(4) {
  background-image: url("../img/cap402.jpg");
  background-position: 0;
}




.cd-section.intro{
  background-color: none;
}
.cd-section.contenido{
  background-color: #0c0c0c;
}
/*fichas*/
.ficha{
  width: 100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
  transition-timing-function: ease-out;
  position: absolute;
  top:
}
.ficha.visible{
  visibility: inherit;
  opacity: 1;

}
article.cap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
}
 div .personaje{
  grid-column-start: 2;
}
div.cures{
  display: grid;
  grid-template-columns:repeat( auto-fit, minmax(150px, 1fr));
  column-gap: 25px;
}
article.cap h2{
  margin-bottom: 10px;
}
article.cap p{
  line-height: 1.5rem;
  margin-bottom: 25px;
}
article.cap h3{
  font-size: 0.8rem;
  font-weight: 100;
  text-transform: uppercase;
  margin:0;
  padding-top: 5px;
  padding-bottom: 10px;
  border-top-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);
}
div.mapaMigracio{
  border-top-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}
div.mapaMigracio p{
  position: absolute;
  bottom:0px;
  left: 10px;
}



div.contenedor_texto{
  background-color: black;
}
article.obj{
  padding-top: 50px;
  padding-bottom: 100px;;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  border-top-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);
}
article.obj.sintext{
  padding-top: 150px;
  padding-bottom: 300px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr ;
  column-gap: 50px;
  border-top-style: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.5);
}
article.obj p{
  max-width: 75%;
}
article.obj .datos{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
}

.obj h3{
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 100;
  margin-top: 0;
  margin-bottom: 0;
}
.sintext h3{
  font-size: 3rem;
  line-height: 2.5rem;
}
.obj h4{
  margin-top: 0;
  margin-bottom: 50px;
  font-size: 1rem;
  line-height: 1rem;
  font-weight: 100;
}
.sintext h4{
  margin-top: 10px;
}
.obj p{
  font-size: 0.8rem;
  line-height: 0.8rem;
  opacity: 0.5;
}
article.subj{
  display: grid;
  padding-top: 0;
  padding-bottom: 100px;
  margin-top: 0px;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  position: relative;
}
div.text_subj{
  display: grid;
  grid-template-columns: 1fr 3fr;
  margin-top: 2rem;
  column-gap: 50px;
}
div.text_subj.salto{
  padding-top: 100px;
  margin-top: 0px;

}
.dreta{
  grid-column-start: 2;
}
.esquerra{
  grid-column-start: 1;

}
.text_obj h2{
  font-size: 1.2rem;
  text-transform: uppercase;
}
.text_subj h1{
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 900;
}
.text_subj h2{
  font-size: 1rem;
  line-height: 1.2rem;
}
h2.paradestacado{
  padding-top: 35px;
}
.text_subj h3{
  font-family: "Canela", serif;
  font-weight: 100;
  font-size: 2rem;
  line-height: 2.4rem;
  grid-column-start: 2;
}
.text_subj h3.ini{
  margin-top: 0px;
}
.text_subj p{
  font-family: "Canela", serif;
  font-weight: 100;
  line-height: 1.6rem;
  grid-column-start: 2;
}
.firma{
  margin-top: -6rem;
  grid-column-start: 2;
}
.firma p{
  font-family: "aktivgrotesk", sans-serif;
  font-size: 1rem;
}
/*multimedia*/
div.text_multi{
  position: -webkit-sticky; /* Required for Safari */
  position: sticky;
  top:50px;

}
/*irudi aldaketa vewpointegaz*/
.modo.visible{
  display: block;
  width: 100%;
  outline: none;
  position: relative;
}
.CapFoto{
  width: 100%;
display: block;
outline: inherit;
position: relative;
}
.text_vid video{
  margin-top: 100px;
  width: 100%;
  height: auto;
  vertical-align: super;
  object-fit: none;
  outline: none;
}
.caption {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0px;
    left: 0px;
    color: white;
    background: rgba(0, 0, 0, 0.8);
	text-align:left;
	font-weight:100;
	opacity:0.8;
}
.caption p{
  font-size: 0.75rem;
  padding-left: 5px;
  line-height: 1rem;
}

video::-webkit-media-controls-panel {
   background-image: none !important;
   filter: brightness(0.4);
}
.modo{
 display: none;
 width: 100%;

}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
 .hs-responsive-embed {
   position: relative;
 height: 0;
 overflow: hidden;
 padding-top: 0;
 padding-left: 0;
 padding-right: 0;
  }

 .hs-responsive-embed iframe,
 .hs-responsive-embed object,
 .hs-responsive-embed embed {
  position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 border: 0;
  }

 .hs-responsive-embed,
 .hs-responsive-embed.hs-responsive-embed-youtube,
 .hs-responsive-embed.hs-responsive-embed-wistia,
 .hs-responsive-embed.hs-responsive-embed-vimeo {
  padding-bottom: 56.25%;
 }
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


   @media (max-width: 767.98px) {
     img#scrollicon {
       left:50%;
       margin-left: -25px;
     }
     header h1{
       font-size: 1.5rem;
       line-height: 1.2rem;
     }
     div.logos{
       visibility: hidden;
     }
     article.intro{
       display: block;
     }
   }
   /*infografia*/

/*
   // Medium devices (tablets, less than 992px)
   @media (max-width: 991.98px) {
     img#scrollicon {
       left:50%;
       margin-left: -25px;
     }
     header h1{
       font-size: 1rem;
       line-height: 1rem;
     }
   }
   */
   @media (max-width: 1550px) {
     .capitulos h1{
       font-size: 1.5rem;
       line-height: 1.5rem;
     }

     article h2{
       font-size: 1.5rem;
       line-height: 1.5rem;
     }
     article p{
       font-size: 1rem;
       line-height: 1.2rem;
     }
     #videocontainer{
     background-position: 100% 80%;
     }
    }
   @media (max-width: 1250px) {
     article.galeria{
       display: grid;
       grid-template-columns: 1fr 1fr;
     }



   }


 @media (max-width: 1000px) {
   .back.docu img{
     display: none;
   }
   h2.sinSup {
    padding-top: 20px;
  }
  .capitulos p{
  padding-top: 10px;
  }
  div.imgContainer{
    margin-bottom: 50px;
  }

   .trailer{
     margin: 0 10% 0 10%;
     margin-top: 100px;
   }
   img.logo{
    float: right;
    height: 15px;
    padding: 15px 30px 0 0px;
  }
  img.logo.directa{
   float: right;
   height: 20px;
   padding: 10px 30px 0 0px;
  }
  img.logo.salt{
   float: right;
   height: 40px;
   padding: 0 30px 0 0px;
  }
  img.logo.pik{
    height: 30px;
    padding-top: 10px;
    padding-right: 10px;
  }
   header h1{
     font-size: 1.5rem;
   }
   svg.web{
     display: none;
   }
   svg.ipad{
     display: inherit;
   }
   div.rell_gradient{
     background-image: linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0.9)80%, rgba(0,0,0,0.9));
     height: 100vh;
     z-index: 0;
   }
   .content{
    margin-top: 0px;
   }
   #videocontainer{
   background-position: 80% 80%;
   }
   .preINDEX h1{
     font-size: 3rem;
     text-align: center;
     margin-top: 20%;
     margin-bottom: 0;
     line-height: 3.5rem;
   }
   .preINDEX p{

     margin-top: 0;
     text-transform: uppercase;
     font-size: 1.5rem;
     text-align: center;
   }
   .exp p{
     margin-top: 50px;
     font-size: 1.2rem;
     text-transform: none;
   }
   .logoa{
     margin-top: 200px;
   }
/*borrar superior*/

   article.intro p{
     grid-row-start: 2;
     padding-top: 2.8rem;
   }
   div.texto{
     display: block;
     width: 100%;
     float: left;
   }
   div.texto h2{
     width: 50%;
   }

   div.infoText{
     display: grid;
     grid-template-columns: 1fr 1fr;
     column-gap: 50px;
   }
   div.left{
     height: 40vh;
     background-position: 50% 20%;
     padding-top: 50px;
      }

   article.intro{
     display: block;
     padding-top: 0;
   }
   article.intro h2{
     width: 50%;
   }
   /*capitulos multi*/
   div.text_subj{
     display: block;
   }
   .text_subj h2{
     margin: 1rem 0 1rem 0;
   }
   article.subj{
     display: block;
     margin: 0 10% 0 10%;
     padding-bottom: 50px;
   }
   article.cap{
     display: block;
   }
   /* multi texto */
   div.text_multi{
     position: inherit;
     margin-bottom: 100px;
     height: 100%;

   }
   div.videocontainer{
     padding-top: 50px;
   }
   .modo{
     display: inherit;
   }


    /*infografia*/
    article.galeria{
      padding-top: 0px;
      padding-bottom: 0px;
    }
      div.left{
        width: 100%;
        height: 50vh;
        position: sticky;
        position: -webkit-sticky; /* Required for Safari */
        top:0px;
        right: 0;
        float: right;
        background-image: url("../img/INFOGRAFIA_fondo2.svg");
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: 0 20%;
        background-color: rgb(0, 0, 0);
        border-bottom-style: solid;
        border-width: 1px;
        border-color: rgba(255, 255, 255, 0.5);
        padding-bottom: 100px;
        margin-bottom: 100px;
      }
      div.texto{
        display: block;
        width: 100%;
        float: left;
      }
      div.texto h2{
        width: 50%;
      }

      div.infoText{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
      }
      div.left{
        height: 45vh;
        background-position: 50% 10%;
        padding-top: 50px;
         }
      .left img{
        margin-top: -10%
      }
      div.texto p{
        padding-bottom: 200px;
      }
      #esquema0{
        margin-top: -10%;
      }
      div.esquema{
        display: none;
      }
      /*capitulos datos*/
      article.obj{
        display: block;
      }
      article.obj.sintext{
        display: block;


      }
      article.obj .datos{
        margin-top: 100px;
      }
      article.obj p{
        max-width: 45%;
      }
      .text_subj h2{
        font-size: 0.8rem;
        line-height: 1rem;
      }
      .firma{
        margin-top: 3rem;
      }
      .back.footer{
        padding: 0px 0 100px 0;
      }
      .creditos img {
    max-width: 100px;
    max-height: 50px;
    margin: auto;
}

    }

      @media (max-width: 800px) {
        div.left{
          height: 35vh;
        }
        .fechas{
          display: block;

          margin:0 5% 0 5%;
          padding-top: 150px;
        }
}

 @media (max-width: 740px) {
   .container.tit h1{
     font-size: 2rem;
     line-height: 2rem;
   }
   article.cap{
     padding: 50px 0 50px 0;
   }
   .mapaMigracio{
     visibility: hidden;
   }
   .back.footer{
     padding:0 0 100px 0;
   }
   div.esquema{
     display: inherit;
     visibility: visible;
     grid-column-start: 1;
     grid-row-end: 2;
     height: auto;
   }
   div.esquema img{
     width: 100%;
     height: auto;
     z-index: 5;
     margin: 0px 0 50px 0;
   }
   .left{
     display: none;
   }
   /*infografia*/
   div.left{
     width: 100%;
     height: 20vh;
     position: sticky;
     position: -webkit-sticky; /* Required for Safari */
     top:0px;
     right: 0;
     float: right;
     background-size: 100%;
     background-position: 0 -20%;
   }
   div.infoText{
     display: block;
   }
   div.texto{
     display: block;
     width: 100%;
     float: left;
   }
   div.texto p{
     padding-bottom: 0;
     font-size: 0.8rem;
     line-height: 1rem;
   }
   div.texto h2{
     width: 100%;
   }
}
 @media (max-width: 575px) {
   .caption {
       position: relative;
       background: none;
     }
   .trailer{
     margin: 0 5% 0 5%;
     margin-top: 100px;
   }
   #enteros{
     margin-top:50px;
   }
   .fechas{
     padding-top: 50px;
   }
   .cd-section3:nth-child(2) {
     background-position: 20%;
   }
   .cd-section3:nth-child(4) {
     background-position: 30%;
   }
   .cd-section4:nth-child(2) {
     background-position: 30%;
   }
   .cd-section4:nth-child(4) {
     background-position: 50%;
   }
   body.cap4:before {
     background-position: 50% 0%;
   }
   #videocontainer{
   background-image: url("../img/intro_lasierra_m.jpg");
   background-position: 5%;
   }
   .docu h1{
     font-size: 1rem;
     text-transform: uppercase;
     margin-bottom: 0;
     margin-top: 0;
     padding-top: 5%;
   }
   .docu p{
     font-size: 0.8rem;
     margin-top: 0;
   }
   .fechas h2{
     font-size: 2rem;
     font-weight: 100;
     line-height: 2rem;
     margin-bottom: 0;
   }
   .fechas p{
     font-size: 0.8rem;
     line-height: 1rem;
   }


   article.intro h2{
     width: 100%;
   }
   #videocontainer{
   background-position: 80% 90%;
   background-size: cover;
   }
   .preINDEX h1{
     font-size:1.5rem
     ;
     text-align: center;
     margin-top: 80%;
     margin-bottom: 0;
     line-height: 2rem;
   }
   .preINDEX p{

     margin-top: 0;
     text-transform: uppercase;
     font-size: 0.75rem;
     text-align: center;
   }
   .exp p{
     margin-top: 20px;
     font-size: 0.8rem;
     text-transform: none;
   }
   .logoa{
visibility: hidden  }
/*borrar superior*/
    svg.web{
      display: none;
    }
    svg.ipad{
      display: none;
    }
    svg.mobil{
      display: inherit;
    }
    div.logos{
      visibility: hidden;
    }
    img#scrollicon {
      left:50%;
      margin-left: -25px;
    }
    header{
      top:0;
    }
    .topfixed h1{
      display: none;
    }
    .flex{
      margin-top:0px;
    }
    nav{
      margin-top: 2%;
    }
    header h1{
      padding-top: 30px;
      font-size: 1rem;
      line-height: 0.9rem;
    }
    nav ul{
      float: right;
      padding-left: 0;
      justify-content: space-around;

    }
    nav li a{
    font-family: 'aktivgrotesk', sans-serif;
    font-weight: 100;
    color: white;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 0.8rem;
    }
    /*intro*/
    .introText{
      display: block;
    }
    /*infografia*/
    div.left{
      width: 100%;
      height: 20vh;
      position: sticky;
      position: -webkit-sticky; /* Required for Safari */
      top:0px;
      right: 0;
      float: right;
      background-size: 100%;
      background-position: 0 -20%;
    }
    div.infoText{
      display: block;
    }
    div.texto{
      display: block;
      width: 100%;
      float: left;
    }
    div.texto p{
      padding-bottom: 0;
      font-size: 0.8rem;
      line-height: 1rem;
    }
    div.texto h2{
      width: 100%;
      margin-bottom: 50px;
    }
    /*galeria*/
    article.galeria{
      display:block;
    }
    div.imgContainer{
      height: 40vh;
    }
    .imgContainer:hover .img.cap{
      transform: none;
    }

    .imgContainer.cerrado:hover .img.cap{
      transform: none;
    }
    /*cap intro*/
    .container.tit h1{
      font-size: 3rem;
      line-height: 3rem;
    }
    .sintext h3 {
    font-size: 2rem;
    line-height: 2rem;
}
    article.obj p{
      max-width: 100%;
    }
    article.obj .datos{
      display: block;
      margin-top: 50px;
    }
    article.obj.sintext{
      padding-top: 50px;
      padding-bottom: 100px;
    /*ficha*/
    article.cap{
      display: block;
    }
    article.cap p{
      margin-bottom: 20px;
    }
    div.text_multi{
      display: block;
      position: relative;
      padding-bottom: 50px;
      height: auto;
    }
    div.videocontainer{
      padding-top: 0px;
      margin-top:0px;
      padding-bottom: 0px;
      margin-bottom: 0px;
    }
    .caption {
        position: relative;
        width: 100%;
        height: auto;
        bottom: 0px;
        left: 0px;
        color: white;
        background: rgba(0, 0, 0, 0);
    	text-align:left;
    	font-weight:100;
    	opacity:0.7;
    }

    .modo.visible{

    }
    .modo{
      display: block;
    }
    .text_subj h3{
      font-size: 1.5rem;
      line-height: 1.85rem;
    }
    .firma{
      margin-top: 6rem;
    }
    .bloc h4{
    font-size: 0.8rem;
    }
    .bloc p{
      font-size: 0.8rem;
      line-height: 0.8rem;
    }
    div.cc img {
      margin-left: 25%;
      margin-right: 25%;
     }
    div.cc p{
      font-size: 0.8rem;
      display: inline;
      float: right;
    }
  }




@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  body{
    background-image: url("../img/1_portada.jpg")no-repeat center center fixed;
    background-size: cover;
  }
  div.ie{
    display: inherit;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10;
  }
  .normal{
    display: none;
  }
}
