/* cabecera */
.z-he .csw { /* seccion y alertas */
    display: none;
  }
  
  @media (min-width: 768px) {
    
    .z-he .x-ph {
      min-height: 53px;
    }
    
    .z-he .x.x-nf {
      padding-top: 0;
      padding-bottom: 0;
    }
    
    .z-he .x-nf .x_w {
      padding-top: 10px;
      padding-bottom: 10px;
    }
    
    .z-he .x-nf .x_e { /* edicion */
      display: none;
    }
    
    .z-he .x-nf .x_bh { /* boton hamburguesa */
      margin-top: 0;
    }
    
    .z-he .x-nf .ep_l { /* contenedor logo EP */
      grid-column: 4/6;
      margin-top: 0;
    }
    
    .z-he .x-nf .ep_l .ep_e { /* logo EP */
      background-size: auto 28px;
      background-position: center 2px;
    }
    
  }
  
  @media (min-width: 1001px){
    
    .z-he .x-nf .ep_l { /* contenedor logo EP */
      grid-column: 5/9;
    }
    
  }
  
  /* apertura */
  #elpais_gpt-SKIN,
  #elpais_gpt-INTER,
  #elpais_gpt-NSTD1,
  #elpais_gpt-SKY1,
  #elpais_gpt-SKY2,
  #fusion-app .ad-giga-1 { /* siempre quitamos publidad de los skys y cabecera porque choca con las aperturas */
    display: none !important;
  }
  
  .apertura {
    height: calc(100vh - 53px); /* 52 = cabecera */
  }


    /*Segundo css dela noticia de la apertura*/

    .apertura {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      box-sizing: border-box;
      padding-bottom: 110px;
    }
    
    .apertura_textos {
      position: relative;
      z-index: 2;
      text-align: center;
    }
    
    .apertura_textos h1 {
      font-family: MajritTxRoman;
      font-style: normal;
      font-weight: 400;
      text-align: center;
      color: white;
      font-size: 30px;
      line-height: 30px;
      letter-spacing: -1.4px;
      max-width: 315px;
      margin: 0 auto 20px;
      padding: 23px 0 0;
    }
    
    .apertura_textos h1 strong {
      display: block;
      font-family: MajritTx;
      font-style: normal;
      font-weight: 900;
      font-size: 45px;
      line-height: 45px;
      margin-bottom: 10px;
      opacity: 0;
      visibility: visible;
      animation: opacidad 1.5s forwards;
    }
    
    .apertura_textos h1 span {
      display: block;
      opacity: 0;
      visibility: visible;
      animation: opacidad 1.5s forwards 1s;
      max-width: 80%;
      margin: 0 auto;
    }
    
    .apertura_textos h1:after {
      content: '';
      display: block;
      width: 0;
      height: 1px;
      background: white;
      position: absolute;
      top: 0;
      left: 0;
      animation: width 0.5s forwards 1.5s;
    }
    
    .apertura_textos h1:before {
      content: '';
      display: block;
      width: 0;
      height: 4px;
      background: white;
      position: absolute;
      top: 1px;
      left: 0;
      animation: width25 0.5s forwards 2s;
    }
    
    .apertura_imagenes {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    
    .apertura_imagenes picture {
       position: absolute;
       animation-name: fade;
       animation-timing-function: ease-in-out;
       animation-iteration-count: infinite;
       animation-duration: 12s;
       width: 100%;
       height: 100%;
    }
    
    .apertura_imagenes img {
      width: 100%;
      max-width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .apertura_imagenes picture:nth-of-type(1) { animation-delay: 9s; }
    .apertura_imagenes picture:nth-of-type(2) { animation-delay: 6s; }
    .apertura_imagenes picture:nth-of-type(3) { animation-delay: 3s; }
    .apertura_imagenes picture:nth-of-type(4) { animation-delay: 0s; }
    
    .apertura .bajar {
      display: inline-block;
      text-align: left;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      opacity: 0;
      visibility: visible;
      animation: bajar 3s infinite 3s, opacidad 1s forwards 3s;
    }
    
    .apertura .bajar span {
      display: block;
      text-indent: -9999px;
      overflow: hidden;
      width: 15px;
      height: 15px;
      border-top: 1px solid white;
      border-right: 1px solid white;
      transform: rotate(135deg);
    }
    
    .videoloop {
      max-width: 623.98px;
      margin: 0 auto;
    }
    
    .videoloop video {
      display: block;
      max-width: 100%;
    }
    
    .a .a_k,
    .a .a_t {
      display: none;
    }
    
    .a .a_c > ul {
      margin: 1rem var(--grid-10-2-column-content) 4.5rem;
      padding: 0;
      list-style: none;
    }
    
    .a .a_c > ul li {
      border-left: 3px solid #77d900;
      padding-left: 1.3125rem;
    }
    
    .a .a_c > ul li:not(:last-child) {
      margin-bottom: 2rem;
    }
    
    .a .a_c p a {
      color: black;
      font-family: MajritTx;
      font-style: normal;
      font-weight: 700;
    }
    
    .a .a_c p a:hover {
      color: #77d900;
    }
    
    @media (min-width: 768px){
      
      .apertura_textos h1 {
        max-width: 475px;
        margin-bottom: 27px;
        padding-top: 27px;
        font-size: 36px;
        line-height: 36px;
        letter-spacing: -1.68px;
      }
    
      .apertura_textos h1 strong {
        font-size: 70px;
        line-height: 64px;
        letter-spacing: -3.27px;
        margin-bottom: 26px;
      }
      
      .apertura_textos h1 span {
        max-width: 310px;
        margin: 0 auto;
      }
      
      .apertura_textos h1:before {
        height: 5px;
        animation-name: width30;
      }
      
      .apertura .bajar span {
        width: 22px;
        height: 22px;
      }
      
    }
    
    @media (min-width: 1200px){
      
      .apertura {
        padding-bottom: 50px;
      }
      
      .apertura_textos h1 {
        max-width: 1145px;
        padding-top: 37px;
      }
      
      .apertura_textos h1 strong {
        margin-bottom: 11px;
      }
      
      .apertura_textos h1 span {
        max-width: 100%;
        font-size: 50px;
        line-height: 50px;
        letter-spacing: -2.33px;
      }
      
      .apertura_textos h1:before {
        animation-name: width12;
      }
      
    }
    
    @keyframes fade {
      0% {
        opacity:1;
      }
      17% {
        opacity:1;
      }
      25% {
        opacity:0;
      }
      92% {
        opacity:0;
      }
      100% {
        opacity:1;
      }
    }
    
    @keyframes bajar {
      0%, 100% {
        transform: translateY(0);
      }
      25% {
        transform: translateY(-0.5rem);
      }
      50% {
        transform: translateY(0rem);
      }
      75% {
        transform: translateY(-0.25rem);
      } 
    }
    
    @keyframes opacidad {
      100% {
        opacity: 1;
        visibility: visible;
      }
    }
    
    @keyframes width {
      100% {
        width: 100%;
      }
    }
    
    @keyframes width12 {
      100% {
        width: 12%;
      }
    }
    
    @keyframes width25 {
      100% {
        width: 25%;
      }
    }
    
    @keyframes width30 {
      100% {
        width: 30%;
      }
    }