/* MIXINS */
@keyframes equalize {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 80%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes equalize-2 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 80%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
.equalizer {
  font-size: 0;
  height: 24px;
  overflow: hidden;
}

.equalizer-bar {
  display: inline-block;
  width: 4px;
  height: 100%;
  background: #fff;
  margin-right: 2px;
}
.equalizer-bar:nth-child(1) {
  height: 70%;
  animation: equalize 500ms ease infinite;
}
.equalizer-bar:nth-child(2) {
  animation: equalize 500ms linear infinite;
}
.equalizer-bar:nth-child(3) {
  height: 70%;
  animation: equalize 500ms 200ms ease infinite;
}
.equalizer-bar:nth-child(4) {
  animation: equalize 500ms 150ms linear infinite;
}
.equalizer-bar:nth-child(5) {
  height: 70%;
  animation: equalize 500ms 100ms ease infinite;
}

.detall section.intro {
  width: 100%;
  height: 75vh;
  display: flex;
  max-width: 100%;
  flex-direction: column;
}
.detall section.intro.con-ella .con-ella-img {
  opacity: 1;
}
.detall section.intro.con-ella .sin-ella-img {
  opacity: 0;
}
.detall section.intro.con-ella .content {
  opacity: 0;
}
.detall section.intro.con-ella .capitulo {
  display: none;
}
.detall section.intro.sin-ella .sin-ella-img {
  opacity: 1;
}
.detall section.intro.sin-ella .con-ella-img {
  opacity: 0;
}
.detall section.intro.sin-ella .content {
  opacity: 1;
}
.detall section.intro.sin-ella .capitulo {
  display: none;
}
.detall section.intro .cover {
  opacity: 0;
  transition: opacity 4s;
  -webkit-transition: opacity 4s;
  z-index: -1;
  z-index: -1;
  position: absolute;
  width: 100%;
  object-fit: cover;
  height: 100vh;
  top: 0;
  left: 0;
}
.detall section.intro .content {
  opacity: 0;
  transition: opacity 1s;
  -webkit-transition: opacity 1s;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-basis: 100%;
  font-size: 1.75vh;
  padding-top: 90px;
}
.detall section.intro .space-between {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
.detall section.intro .space-between .c2-titulo {
  width: 100%;
  text-align: center;
}
.detall section.intro .content h1 {
  font-size: 55px;
  font-family: "Anton";
  text-rendering: optimizeLegibility;
  text-rendering: geometricPrecision;
  font-smooth: always;
  font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.035em;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 500;
  max-width: 620px;
  text-align: center;
  line-height: 66px;
  margin-bottom: 20px;
  margin-top: auto;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  .detall section.intro .content h1 {
    font-size: 11vw;
    text-align: center;
    line-height: 13vw;
  }
  .detall section.intro .space-between .c2-titulo {
    width: 100%;
    text-align: center;
  }
}
.detall section.intro .content h2 {
  color: #f3be9a;
  font-size: 9.5em;
  font-family:'Raleway';
  font-size: 22px;
  text-transform: inherit;
  font-weight: 800;
}
.detall section.intro .content .pais {
  font-family: "Raleway";
  font-weight: 400;
  font-size: 30px;
  margin-top: 20px;
  color: white;
}
.detall section.intro .content .autores {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 15px;
}
.detall section.intro .content .ver-mas {
  margin-top: 25px;
}

body.detall {
  background: #ebebeb;
}
body.detall section {
  max-width: 1480px;
  width: 100%;
  margin: 0 auto 40px;
}
body.detall section.oculta {
  opacity: 0.1;
}
h5 {
  font-size: 45px;
  line-height: 1.25em;
  letter-spacing: 0;
}
.titulo {
  padding-bottom: 65px;
  padding-top: 65px;
}
.titulo h4 {
  font-size: 38px;
  line-height: 40px;
  letter-spacing: 0;
  text-align: center;
  color: #1b4cb7 !important;
  text-shadow: none !important;
}
body.detall section h1,
body.detall section h2,
body.detall section h3,
body.detall section h4,
body.detall section h5 {
  font-family: "Anton";
  text-rendering: optimizeLegibility;
  text-rendering: geometricPrecision;
  font-smooth: always;
  font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.035em;
  font-weight: 400;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.6);
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section {
    margin-bottom: 50px;
  }
}
body.detall section.capitulo {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% - 4em);
  flex-basis: 100%;
  padding: 2em;
  text-align: center;
}
body.detall section.capitulo.inici {
  margin-top: -30vh;
}
body.detall section.capitulo span {
  font-size: 25em;
  position: absolute;
  font-family: "Anton";
  text-rendering: optimizeLegibility;
  text-rendering: geometricPrecision;
  font-smooth: always;
  font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.035em;
  font-weight: 200;
  color: #2b2924;
  z-index: -1;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.capitulo span {
    font-size: 70vw;
  }
}
body.detall section.capitulo h2 {
  opacity: 0;
  font-size: 6em;
  transition: all 4s;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.capitulo h2 {
    font-size: 12vw;
    padding: 1em;
  }
}
body.detall section.capitulo h2.visible {
  opacity: 1;
  transition: all 4s;
}
body.detall section.multimedia {
  margin-top: 10px;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.multimedia {
    margin: 50px auto;
    margin-bottom: 50px;
    padding-top: 0;
  }
}
body.detall section.multimedia figure {
  width: 100%;
  position: relative;
  margin-bottom: 400px;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.multimedia figure {
    position: relative;
    margin-bottom: 0;
  }
}
body.detall section.multimedia figure img {
  max-width: 100%;
  transition: all 2.5s;
  max-height: 80vh;
  height: auto;
  display: block;
  margin: 0 auto;
}
body.detall section.multimedia figure figcaption {
  top: -150px;
  position: absolute;
  width: 100%;
  transition: all 2.5s;
  -webkit-transition: all 2.5s;
  opacity: 1;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.multimedia figure figcaption {
    position: relative;
    margin-bottom: -150px;
  }
}
body.detall section.multimedia figure figcaption > div {
  max-width: 700px;
  margin: 0 auto;
}
body.detall section.multimedia figure figcaption > div h4 {
  font-size: 80px;
  line-height: 1.25em;
  letter-spacing: 0;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.multimedia figure figcaption > div h4 {
    font-size: 2em;
    max-width: 100%;
    padding: 2em;
  }
}
body.detall section.multimedia figure figcaption > div h5 {
  font-size: 45px;
  line-height: 1.25em;
  letter-spacing: 0;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.multimedia figure figcaption > div h5 {
    font-size: 1.25em;
    max-width: 100%;
    padding: 2em;
  }
}
body.detall section.multimedia figure:last-child {
  margin-bottom: 0;
}
body.detall section.multimedia.sin-texto {
  padding-top: 0;
  margin-top: 0;
}
body.detall section.multimedia.no-visible figcaption {
  transition: all 1.5s;
  -webkit-transition: all 1.5s;
  opacity: 0;
}
body.detall section.multimedia div.text {
  max-width: 770px;
  width: calc(100% - 8em);
  padding: 0 4em;
  margin: 150px auto 0;
}
body.detall section.multimedia div.text p {
  line-height: 1.75em;
  font-weight: lighter;
  font-size: 1em;
}
body.detall video {
  width: 100%;
  max-height: 100%;
}
body.detall section.video-full-width {
  width: 55%;
  margin-top: 70px;
  margin-bottom: 70px;
}
body.detall section.foto-full-width {
    width: 100%;
    max-width: 1920px;
    margin: 0;
}
body.detall section.foto-full-width-fondo {
    width: 100%;
    max-width: 1920px;
    background-image: url(../img/9-pie.png);
    background-size: cover;
    margin: 0;
}
body.detall section.foto-full-width-fondo-ndinini {
    width: 100%;
    max-width: 1920px;
    background-image: url(../img/ndinini/13-ndinini-fondo.jpg);
    background-size: cover;
    margin: 0;
}
body.detall section.foto-full-width img {
    width: 100%;
    /* max-width: 1480px; */
}
.contenedor-pie {
  max-width: 1920px;
  margin: auto;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.3); /* Black w/opacity/see-through */
}
.contenedor-pie h2 {
  max-width: 780px;
  margin: auto;
  color: #fff;
  text-transform: uppercase;
  font-size: 40px !important;
  letter-spacing: normal;
  text-align: left;
  line-height: 1.2;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.boton-mas-cafe {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.boton-mas-cafe:hover {
  transform: scale(1.1);
}
.boton-mas-cafe a {
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 6px;
  background-color: #aa5f43;
  color: #fff !important;
  font-weight: 800 !important;
}
.boton-mas-cafe a:hover {
  text-decoration: none !important;
}

.boton-mas-verde {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.boton-mas-verde:hover {
  transform: scale(1.1);
}
.boton-mas-verde a {
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 6px;
  background-color: #afaf4f;
  color: #fff !important;
  font-weight: 800 !important;
}
.boton-mas-verde a:hover {
  text-decoration: none !important;
}

@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.video-full-width {
    width: 100%;
    margin-bottom: 70px;
  }
}
body.detall section.video-fullscreen {
  max-width: 780px;
  width: 100%;
  margin: 0 auto 60px;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.video-fullscreen {
    width: 100%;
    margin-bottom: 50px;
  }
}
body.detall section.video-fullscreen video {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}
body.detall section.galeria {
  margin: 0 auto;
}
body.detall section.galeria h2 {
  font-size: 4vw;
  width: 100%;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
body.detall section.galeria figure {
  width: 100%;
  position: relative;
  overflow: auto;
  clear: both;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 100%;
  height: 100vh;
  align-items: flex-start;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria figure {
    height: auto;
    margin-bottom: 0px;
  }
}
body.detall section.galeria figure:nth-child(odd) img {
  transition: all 1.5s;
  -webkit-transition: all 1.5s;
  max-width: 970px;
  width: 100%;
}
body.detall section.galeria figure:nth-child(odd) figcaption {
  transition: all 1.5s;
  -webkit-transition: all 1.5s;
  position: absolute;
  align-self: flex-end;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria figure:nth-child(odd) figcaption {
    position: relative;
  }
}
body.detall section.galeria figure:nth-child(odd) figcaption > div {
  max-width: 700px;
  margin: 0 auto;
}
body.detall section.galeria figure:nth-child(odd) figcaption > div h4 {
  font-size: 50px;
  line-height: 1.25em;
  letter-spacing: 0;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria figure:nth-child(odd) figcaption > div h4 {
    font-size: 1.5em;
    max-width: 100%;
    padding: 1.5em 2em;
  }
}
.img-2 img {
  align-self: flex-start !important;
}
body.detall section.galeria figure:nth-child(even) img {
  max-width: 970px;
  align-self: flex-end;
  width: 100%;
}
body.detall section.galeria figure:nth-child(even) figcaption {
  position: absolute;
  align-self: flex-start;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria figure:nth-child(even) figcaption {
    position: relative;
  }
}
body.detall section.galeria figure:nth-child(even) figcaption > div {
  max-width: 700px;
  margin: 0 auto;
}
body.detall section.galeria figure:nth-child(even) figcaption > div h4 {
  font-size: 50px;
  line-height: 65px;
  letter-spacing: 0;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria figure:nth-child(even) figcaption > div h4 {
    font-size: 1.5em;
    max-width: 100%;
    padding: 1.5em 2em;
  }
}
body.detall section.galeria.no-visible {
  align-self: center;
  transition: all 1.5s;
  -webkit-transition: all 1.5s;
}
body.detall section.galeria.no-visible figure img {
  transition: all 1.5s;
  -webkit-transition: all 1.5s;
}
body.detall section.galeria.no-visible figcaption {
  opacity: 0;
  transition: all 1.5s;
  -webkit-transition: all 1.5s;
}
body.detall section.galeria-doble {
  clear: both;
  overflow: hidden;
  height: auto;
}
body.detall section.galeria-doble figure {
  width: 49%;
  float: left;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria-doble figure {
    width: 100%;
    float: none;
    margin-top: 1em;
  }
}
body.detall section.galeria-doble figure img {
  max-width: 100%;
}
body.detall section.galeria-doble figure:nth-child(odd) {
  padding-right: 1%;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria-doble figure:nth-child(odd) {
    padding-right: 0%;
  }
}
body.detall section.galeria-doble figure:nth-child(even) {
  padding-left: 1%;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria-doble figure:nth-child(even) {
    padding-left: 0%;
  }
}
body.detall section.galeria-triple {
  clear: both;
  overflow: hidden;
  height: auto;
  width: 100%;
  max-width: 1100px;
}
body.detall section.galeria-triple figure {
  width: 32%;
  float: left;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria-triple figure {
    width: 100%;
    float: none;
    margin-top: 1em;
  }
}
body.detall section.galeria-triple figure img {
  max-width: 100%;
}
body.detall section.galeria-triple figure:nth-child(even) {
  padding-right: 2%;
  padding-left: 2%;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.galeria-triple figure:nth-child(even) {
    padding: 0;
  }
}
body.detall section.text {
  max-width: 780px;
  width: calc(100% - 8em);
  padding: 0 4em;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.text {
    max-width: 770px;
    width: calc(100% - 4em);
    padding: 0 2em;
  }
}
body.detall section.text p {
  line-height: 1.6;
  font-weight: 400;
  font-size: 18px;
}
body.detall section.despiece {
  background: #272521;
  height: 535px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 100%;
  position: relative;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.despiece {
    max-width: 100%;
    margin: 0 auto;
    width: calc(100% - 4em);
    z-index: 1;
    padding: 2em;
  }
}
body.detall section.despiece.general {
  cursor: zoom-in;
}
body.detall section.despiece.general img.general {
  display: block;
}
body.detall section.despiece.general img.zoom {
  display: none;
}
body.detall section.despiece.zoom {
  cursor: zoom-out;
}
body.detall section.despiece.zoom img.general {
  display: none;
}
body.detall section.despiece.zoom img.zoom {
  display: block;
}
body.detall section.despiece div {
  max-width: 670px;
  margin: 0 auto;
  width: 100%;
  z-index: 1;
  padding-right: 300px;
}
body.detall section.despiece div h4 {
  font-size: 50px;
}
body.detall section.despiece img {
  z-index: 0;
  position: absolute;
  top: 0;
  right: 0;
}
body.detall section.destacado {
  max-width: 670px;
  margin: 0 auto;
  font-size: 3em;
  margin-bottom: 75px;
  margin-top: -50px;
  padding: 0 2em;
  width: calc(100% - 4em);
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  body.detall section.destacado {
    font-size: 2em;
    margin-top: 50px;
    margin-bottom: 40px;
  }
}
body.detall section a {
  color: #2b2c28;
  font-weight: 700;
}
body.detall section a:hover {
  text-decoration: underline;
}

/*galeria carrusel*/
.gallery {
  background: #eee;
}
.gallery-cell {
  width: 34%;
  height: 651px;
  margin-right: 10px;
  background: #eee;
}
.gallery-cell img {
  width: 100%;
  margin-right: 10px;
}
body.detall section.carrusel {
  margin: 50px auto;
  margin-bottom: 50px;
  padding-top: 0;
}
body.detall section.carrusel figure figcaption {
  word-wrap: break-word;
  max-width: 100%;
  height: 70px;
  bottom: 0px;
  padding: 15px 0 15px 15px;
  position: absolute;
  display: block;
  transition: all 2.5s;
  -webkit-transition: all 2.5s;
  opacity: 1;
  background: rgba(96, 108, 160, 0.9);
  color: #fff;
}
.pie-foto {
  padding: 15px 0 15px 15px;
  left: -1px;
  width: 962px;
  height: 70px;
  bottom: 0px;
  position: absolute;
  display: block;
  transition: all 2.5s;
  -webkit-transition: all 2.5s;
  opacity: 1;
  background: rgba(96, 108, 160, 0.9);
}
/*superindices*/
body.detall section.text .supers p {
  font-size: 16px !important;
  font-style: italic !important;
}
/* mansonry gallery*/
.grid-wrapper > div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.grid-wrapper > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid-wrapper {
  display: grid;
  grid-gap: 1.2rem;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}
.grid-wrapper .wide {
  grid-column: span 6;
  grid-row: span 3;
}
.grid-wrapper .tall {
  grid-column: span 2;
  grid-row: span 3;
}
.grid-wrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}
.grid-wrapper .cuatro-6 {
  grid-column: span 4;
  grid-row: span 2;
}
.grid-wrapper .cuatro-6-4 {
  grid-column: span 4;
  grid-row: span 4;
}
.grid-wrapper .tres-4 {
  grid-column: span 4;
  grid-row: span 3;
}
.grid-wrapper .dos-2 {
  grid-column: span 3;
  grid-row: span 2;
}

.imagen-block {
  width: 780px;
}
.bg-imagen {
  width: 100%;
  max-width: 1080px;
  margin: auto;
  margin-top: -100px;
}
.bg-imagen img {
  width: 100%;
  height: auto;
}

.creditos-block {
  width: 100%;
}
.bg-creditos {
  max-width: 1000px;
  margin: auto;
  margin-bottom: -100px;
}
.t-centrado {
  font-size: 14px !important;
  text-align: center !important;
  color: #706e6e!important;
}
@media only screen and (min-width: 5px) and (max-width: 909px) {
  .bg-creditos img {
    max-width: 100%;
  }
  iframe {
    margin-bottom: 150px;
  }
  .gallery-cell {
    height: 200px;
  }
  .pie-foto {
    display: none;
  }
  body.detall section.carrusel figure figcaption {
    display: none;
  }
  .grid-wrapper .wide {
  grid-column: span 6;
  grid-row: span 2;
  }
  .grid-wrapper .tall {
    grid-column: span 6;
    grid-row: span 2;
  }
  .grid-wrapper .big {
    grid-column: span 6;
    grid-row: span 2;
  }
  .grid-wrapper .cuatro-6 {
    grid-column: span 6;
    grid-row: span 2;
  }
  .grid-wrapper .cuatro-6-4 {
    grid-column: span 6;
    grid-row: span 2;
  }
  .grid-wrapper .tres-4 {
    grid-column: span 6;
    grid-row: span 2;
  }
  .grid-wrapper .dos-2 {
    grid-column: span 6;
    grid-row: span 2;
  }
  .contenedor-pie h2 {
    padding: 40px 20px;
  }
}
