/**
Theme Name: Jornadas Día mundial del agua 2026
Author: moio
Author URI: https://moio.io
Description: Jornadas Día Mundial del Agua 2026
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jornadas-dia-mundial-del-agua-2026
Template: astra
*/

:root {
  --font-primary: "din-2014", sans-serif;
  --base-size: 16px;
  --title-size: 55px;
  --title-weight: 700;
  --subtitle-size: 0.64em;
  --subtitle-weight: 400;
}

html,
body {
  font-family: var(--font-primary);
}

.hero-desktop-deco_wrapper {
  min-height: min(340px, 28vw) !important;
  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: min(620px, 50vw) !important;

    -webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Capa_2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1199.96 338.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%233e6568;%7D%3C/style%3E%3C/defs%3E%3Cg id='Capa_1-2'%3E%3Cpath class='cls-1' d='M155,129.17l28.12,88.93h-58.07l29.95-88.93ZM121.17,2.74L0,336.07h85.73l16.23-49.61h102.65l15.55,49.61h85.5L184.49,2.74h-63.33Z'/%3E%3Cpath class='cls-1' d='M1049.3,129.17l28.12,88.93h-58.07l29.95-88.93ZM1015.47,2.74l-121.17,333.32h85.73l16.23-49.61h102.65l15.55,49.61h85.5L1078.8,2.74h-63.33Z'/%3E%3Cpath class='cls-1' d='M396.87,9.15c-14.62,6.1-28.25,15.47-40.88,28.12-14.62,14.63-23.91,31.29-27.87,49.95-3.96,18.67-5.94,42.33-5.94,70.98v22.4c0,28.66,1.98,52.28,5.94,70.87,3.96,18.6,13.25,35.21,27.87,49.84,24.67,25,55.5,37.49,92.51,37.49s69.43-12.8,94.56-38.41c12.18-12.19,20.67-26.86,25.47-44.01,4.8-17.15,7.19-39.59,7.19-67.33v-45.04h-127.34v68.35h45.95v3.89c0,6.86-.99,13.64-2.97,20.35-1.98,6.71-5.03,12.04-9.15,16-4.27,4.42-8.95,7.74-14.06,9.95-5.11,2.21-11.7,3.32-19.77,3.32-14.18,0-24.92-4.72-32.24-14.18-2.74-3.5-5-7.85-6.74-13.03-1.75-5.18-3.09-13.11-4-23.78-.91-10.67-1.37-25.83-1.37-45.5s.46-34.78,1.37-45.38c.92-10.59,2.25-18.44,4-23.55,1.75-5.1,4-9.41,6.74-12.92,7.46-9.75,18.21-14.63,32.24-14.63,9.9,0,18.17,1.79,24.8,5.37,6.63,3.58,14.14,9.72,22.52,18.41l55.78-55.56c-14.93-15.24-29.89-25.91-44.88-32.01-15-6.09-34.37-9.15-58.12-9.15-19.8,0-37,3.05-51.62,9.15'/%3E%3Cpath class='cls-1' d='M795.28,1.37v214.44c0,10.21-1.83,18.97-5.5,26.29-3.67,7.32-8.94,12.88-15.82,16.69-6.88,3.81-14.75,5.71-23.61,5.71-13.75,0-24.56-4.3-32.44-12.92-7.87-8.61-11.8-20.54-11.8-35.78V1.37h-81.84v216.27c0,23.63,5.6,44.54,16.8,62.76,11.2,18.21,26.52,32.27,45.95,42.18,19.43,9.91,40.5,14.86,63.21,14.86,17.22,0,33.53-2.78,48.93-8.34,15.39-5.56,28.95-13.68,40.69-24.35,11.73-10.66,20.88-23.47,27.43-38.41,6.55-14.93,9.83-31.17,9.83-48.7V1.37h-81.84Z'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Capa_2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1199.96 338.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%233e6568;%7D%3C/style%3E%3C/defs%3E%3Cg id='Capa_1-2'%3E%3Cpath class='cls-1' d='M155,129.17l28.12,88.93h-58.07l29.95-88.93ZM121.17,2.74L0,336.07h85.73l16.23-49.61h102.65l15.55,49.61h85.5L184.49,2.74h-63.33Z'/%3E%3Cpath class='cls-1' d='M1049.3,129.17l28.12,88.93h-58.07l29.95-88.93ZM1015.47,2.74l-121.17,333.32h85.73l16.23-49.61h102.65l15.55,49.61h85.5L1078.8,2.74h-63.33Z'/%3E%3Cpath class='cls-1' d='M396.87,9.15c-14.62,6.1-28.25,15.47-40.88,28.12-14.62,14.63-23.91,31.29-27.87,49.95-3.96,18.67-5.94,42.33-5.94,70.98v22.4c0,28.66,1.98,52.28,5.94,70.87,3.96,18.6,13.25,35.21,27.87,49.84,24.67,25,55.5,37.49,92.51,37.49s69.43-12.8,94.56-38.41c12.18-12.19,20.67-26.86,25.47-44.01,4.8-17.15,7.19-39.59,7.19-67.33v-45.04h-127.34v68.35h45.95v3.89c0,6.86-.99,13.64-2.97,20.35-1.98,6.71-5.03,12.04-9.15,16-4.27,4.42-8.95,7.74-14.06,9.95-5.11,2.21-11.7,3.32-19.77,3.32-14.18,0-24.92-4.72-32.24-14.18-2.74-3.5-5-7.85-6.74-13.03-1.75-5.18-3.09-13.11-4-23.78-.91-10.67-1.37-25.83-1.37-45.5s.46-34.78,1.37-45.38c.92-10.59,2.25-18.44,4-23.55,1.75-5.1,4-9.41,6.74-12.92,7.46-9.75,18.21-14.63,32.24-14.63,9.9,0,18.17,1.79,24.8,5.37,6.63,3.58,14.14,9.72,22.52,18.41l55.78-55.56c-14.93-15.24-29.89-25.91-44.88-32.01-15-6.09-34.37-9.15-58.12-9.15-19.8,0-37,3.05-51.62,9.15'/%3E%3Cpath class='cls-1' d='M795.28,1.37v214.44c0,10.21-1.83,18.97-5.5,26.29-3.67,7.32-8.94,12.88-15.82,16.69-6.88,3.81-14.75,5.71-23.61,5.71-13.75,0-24.56-4.3-32.44-12.92-7.87-8.61-11.8-20.54-11.8-35.78V1.37h-81.84v216.27c0,23.63,5.6,44.54,16.8,62.76,11.2,18.21,26.52,32.27,45.95,42.18,19.43,9.91,40.5,14.86,63.21,14.86,17.22,0,33.53-2.78,48.93-8.34,15.39-5.56,28.95-13.68,40.69-24.35,11.73-10.66,20.88-23.47,27.43-38.41,6.55-14.93,9.83-31.17,9.83-48.7V1.37h-81.84Z'/%3E%3C/g%3E%3C/svg%3E");
    mask-repeat: no-repeat;
  }

  @media screen and (width <= 767px) {
    img {
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 577 690.0000000000001' width='577' height='691'%3E%3Cstyle%3E .s0 %7B fill: %233e6568 %7D %3C/style%3E%3Cg id='Capa_1-2'%3E%3Cpath class='s0' d='m121.17 2.74l-121.17 333.33h85.73l16.23-49.61h102.65l15.55 49.61h85.5l-121.17-333.33c0 0-63.33 0-63.32 0zm33.83 126.43l28.12 88.93h-58.07z'/%3E%3Cpath class='s0' d='m397.83 366.58l-117.65 323.64h83.24l15.76-48.17h99.67l15.09 48.17h83.02l-117.64-323.64zm32.85 122.76l27.3 86.34h-56.38z'/%3E%3Cpath class='s0' d='m396.87 9.15q-21.93 9.15-40.88 28.12-21.93 21.95-27.87 49.95-5.94 28.01-5.94 70.98v22.4q0 42.99 5.94 70.87 5.94 27.9 27.87 49.84 37 37.5 92.51 37.49c37.01 0 69.43-12.8 94.56-38.41q18.27-18.29 25.47-44.01 7.19-25.72 7.19-67.33v-45.04h-127.34v68.35h45.95v3.89q0 10.29-2.97 20.35-2.97 10.06-9.15 16-6.4 6.63-14.06 9.95-7.67 3.32-19.77 3.32-21.27 0-32.24-14.18-4.12-5.26-6.74-13.03-2.63-7.77-4-23.78-1.37-16-1.37-45.5 0-29.49 1.37-45.38 1.38-15.89 4-23.55 2.63-7.65 6.74-12.92 11.19-14.63 32.24-14.63 14.85 0 24.8 5.37 9.95 5.37 22.52 18.41l55.78-55.56q-22.39-22.86-44.88-32.01-22.5-9.14-58.12-9.15-29.7 0-51.62 9.15'/%3E%3Cpath class='s0' d='m184.04 365.25v208.21q0 14.87-5.34 25.53-5.34 10.66-15.36 16.2-10.02 5.55-22.92 5.55-20.03 0-31.5-12.55-11.46-12.54-11.46-34.74v-208.2h-79.46v209.99q0 34.41 16.31 60.93 16.32 26.53 44.62 40.96 28.29 14.43 61.37 14.43 25.08 0 47.51-8.1 22.41-8.1 39.51-23.64 17.08-15.53 26.63-37.3 9.54-21.75 9.54-47.28v-209.99h-79.46z'/%3E%3C/g%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 577 690.0000000000001' width='577' height='691'%3E%3Cstyle%3E .s0 %7B fill: %233e6568 %7D %3C/style%3E%3Cg id='Capa_1-2'%3E%3Cpath class='s0' d='m121.17 2.74l-121.17 333.33h85.73l16.23-49.61h102.65l15.55 49.61h85.5l-121.17-333.33c0 0-63.33 0-63.32 0zm33.83 126.43l28.12 88.93h-58.07z'/%3E%3Cpath class='s0' d='m397.83 366.58l-117.65 323.64h83.24l15.76-48.17h99.67l15.09 48.17h83.02l-117.64-323.64zm32.85 122.76l27.3 86.34h-56.38z'/%3E%3Cpath class='s0' d='m396.87 9.15q-21.93 9.15-40.88 28.12-21.93 21.95-27.87 49.95-5.94 28.01-5.94 70.98v22.4q0 42.99 5.94 70.87 5.94 27.9 27.87 49.84 37 37.5 92.51 37.49c37.01 0 69.43-12.8 94.56-38.41q18.27-18.29 25.47-44.01 7.19-25.72 7.19-67.33v-45.04h-127.34v68.35h45.95v3.89q0 10.29-2.97 20.35-2.97 10.06-9.15 16-6.4 6.63-14.06 9.95-7.67 3.32-19.77 3.32-21.27 0-32.24-14.18-4.12-5.26-6.74-13.03-2.63-7.77-4-23.78-1.37-16-1.37-45.5 0-29.49 1.37-45.38 1.38-15.89 4-23.55 2.63-7.65 6.74-12.92 11.19-14.63 32.24-14.63 14.85 0 24.8 5.37 9.95 5.37 22.52 18.41l55.78-55.56q-22.39-22.86-44.88-32.01-22.5-9.14-58.12-9.15-29.7 0-51.62 9.15'/%3E%3Cpath class='s0' d='m184.04 365.25v208.21q0 14.87-5.34 25.53-5.34 10.66-15.36 16.2-10.02 5.55-22.92 5.55-20.03 0-31.5-12.55-11.46-12.54-11.46-34.74v-208.2h-79.46v209.99q0 34.41 16.31 60.93 16.32 26.53 44.62 40.96 28.29 14.43 61.37 14.43 25.08 0 47.51-8.1 22.41-8.1 39.51-23.64 17.08-15.53 26.63-37.3 9.54-21.75 9.54-47.28v-209.99h-79.46z'/%3E%3C/g%3E%3C/svg%3E");

      width: 100%;
      position: relative;
      mask-repeat: no-repeat;
      mask-size: contain;
      aspect-ratio: 577 / 691;
      object-fit: cover;
      height: auto !important;
    }
  }
}

@media screen and (width <= 767px) {
  .hero-title p {
    margin-bottom: 0.3em !important;
  }
}

.gallery_collab {
  .gallery {
    display: flex;
    align-items: center;
  }
  .gallery-item {
    img[src*="Cabildo"] {
        width: auto;
        height: 80px;
    }
  }
}

body {
  .elementor-widget-n-accordion {
    > .e-n-accordion {
      display: grid;
      gap: 1rem;
      details.e-n-accordion-item {
        > summary.e-n-accordion-item-title {
          border-top: 2px solid var(--ast-global-color-7);
          border-bottom: 2px solid var(--ast-global-color-7);
          border-right: 0 none;
          border-left: 0 none;

          .e-n-accordion-item-title-text {
            font-weight: 700;
            text-transform: uppercase;
            .time {
              font-weight: 400;
              color: var(--ast-global-color-0);
              padding-right: 1.5rem;
            }
          }

          + div {
            padding: 1rem 1rem 1rem 5.5rem;
            border: 0 none !important;
            p {
              color: var(--ast-global-color-8);
            }
          }
        }
      }
    }
  }
}

footer {
  nav.menu-main-container {
    ul {
      display: flex;
      gap: 1rem;
      justify-content: flex-end;
      li {
        a {
          color: var(--ast-global-color-4);
        }
      }
    }
  }
}

@media screen and (width <= 992px) {
  footer {
    nav.menu-main-container {
      ul {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0 10px;

        li {
          white-space: nowrap;
          flex-shrink: 0;
        }
      }
    }
  }
}

/* Acordeón sin información del programa */
#nocontent {
  pointer-events: none;
  & .e-n-accordion-item-title-icon {
    display: none;
    visibility: hidden;
  }
}

/* Imágenes en el home */
.img-home {
  aspect-ratio: 4 / 3;
}

/* Formulario inscripción */
.form-inscripcion {
  .gfield_label {
    color: #6c7879;
    font-size: 18px;
    font-weight: 600;
  }

  .ginput_container {
    border: none !important;
  }
  input[type="text"],
  input[type="email"] {
    border: 1px solid #e5e5e5;
  }

  .gfield_consent_label {
    color: #6c7879;
    font-size: 18px;
    font-weight: 600;
  }

  .gform_button {
    background-color: #86a4a8 !important;
    border-radius: 3px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  .gform_required_legend {
    display: none;
  }
}

/* Logos */
.gallery_patrocinadores figure div {
  overflow: unset;
}
.gallery_patrocinadores figure img[src*="logo-teidagua"] {
  margin-top: 20px;
}

.gallery_patrocinadores figure img[src*="Logo-GDL"] {
  transform: translateY(-10px);
}
.gallery_patrocinadores figure img[src*="Logo-Entemanser"] {
  transform: translateY(-10px);
}
.gallery_patrocinadores.patrocinadores-cauce .gallery-item{
  vertical-align: middle !important;
} 

.gallery_organiza figure div {
  overflow: unset;
}

.gallery_organiza figure{
  vertical-align: center !important;
} 

.gallery_organiza figure img[src*="CITOP"] {
  height: 70px !important;
}

.gallery_collab figure div{
	overflow: unset;
}
.gallery_collab figure img[src*="Logotipo_del_Gobierno_de_Canarias-1"]{
	  transform: translateY(-5px);
}


@media screen and (width <= 767px) {
    
  .gallery_collab .gallery{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-content: center;
    text-align: center;
    justify-items: center;
  }


  
  }