/* THEME CSS */

.container-fluid,
.container-xxl {
  padding-left: 0;
  padding-right: 0;
}

/* ----------MD---------*/
@media only screen and (min-width: 576px) and (max-width: 1200px) {
  .container-md {
    max-width: 100%;
  }
}

/* end media*/
@media (min-width: 1200px) {
  .container-md {
    max-width: 1200px;
  }
}

/* end media*/
/* ----------container---------*/
@media only screen and (min-width: 576px) and (max-width: 1440px) {
  .container {
    max-width: 100%;
  }
}

/* end media*/
@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }
}

/* end media*/
/* ----------XL---------*/
@media only screen and (min-width: 576px) and (max-width: 1800px) {
  .container-xl {
    max-width: 100%;
  }
}

/* end media*/
@media (min-width: 1800px) {
  .container-xl {
    max-width: 1800px;
  }
}

/* end media*/
/* ----------XXL---------*/
@media only screen and (min-width: 576px) and (max-width: 1920px) {
  .container-xxl {
    max-width: 100%;
  }
}

/* end media*/
@media (min-width: 1920px) {
  .container-xxl {
    max-width: 1920px;
  }
}

/* end media*/

body {
  letter-spacing: 0;
}

@media only screen and (min-width: 768px) {
  body {
    font-size: 1.4rem;
  }
}

/* end media */

strong {
  font-weight: 500!important;
}
.fw-medium {
  font-weight: 400!important;
}
.fw-bolder {
  font-weight: 700!important;
}

.figure-img,
figure.wp-block-image img,
.wp-block-image > figure img {
  margin-bottom: 0 !important;
}

/* header */
.navbar-brand img {
  max-width: 175px;
  width: 100%;
  height: auto;
}


/* fondos degradados */

.bg-primary-deg {
  background-image: linear-gradient(to right, #66d61d, #026626);
}
.bg-primary-deg-inverso {
  background-image: linear-gradient(to right, #026626, #66d61d);
}

.bg-primary-deg-vert {
  background-image: linear-gradient(to bottom, #66d61d, #026626);
}
/* .bg-primary-deg-vert-inverso {
  background-image: linear-gradient(to bottom, #026626, #66d61d);
} */

.bg-white-deg-right {
  background-image: linear-gradient(to right, #66d61d, #fff);
}

.bg-white50-deg-right {
  background: #66d61d;
  background: linear-gradient(
    90deg,
    rgba(102, 214, 29, 1) 40%,
    rgba(255, 255, 255, 1) 60%,
    rgba(255, 255, 255, 1) 100%
  );
}
.bg-white50-deg-left {
  background: #026626;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 40%,
    rgba(255, 255, 255, 1) 60%,
    rgba(2, 102, 38, 1) 100%
  );
}


.bg-primary-deg-left {
  background-image: url('data:image/svg+xml,<svg id="Capa_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 50 50"><defs></defs><polygon style=" fill: %23fff;" points="50 50 0 50 0 0 50 50"/></svg>'),
    linear-gradient(to right, #66d61d, #026626);
  background-repeat: no-repeat;
  background-position: top left;
}

.bg-primary-deg-right {
  background-image: url('data:image/svg+xml,<svg id="Capa_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 50 50"><defs></defs><polygon style=" fill: %23fff;" points="0 0 50 0 50 50 0 0"/></svg>'),
    linear-gradient(to right, #66d61d, #026626);
  background-repeat: no-repeat;
  background-position: top right;
}

@media only screen and (max-width: 768px) {
  .bg-primary-deg-right {
    background-image: linear-gradient(to right, #66d61d, #026626);
  }
}

@media only screen and (max-width: 2500px) and (min-width: 1000px)  {

  .bg-top-nav {
    background-image: url("https://femar-si.es/wp-content/themes/theme-femar/img/bg-sup60.gif");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top right;
  }
} /* end media */



/*  end css */
#top-menu li a {
  font-size: 20px;
  font-weight: 500;
}

#top-menu .lang-item {
  padding-top: 5px;
}

#top-menu .lang-item a {
  font-size: 16px;
  font-weight: bold;
}

#main-menu .nav-link {
  text-transform: uppercase;
}

/* MENU MENU*/

@media only screen and (min-width: 769px) {
  #mega-menu-wrap-primary
    #mega-menu-primary
    li.mega-menu-megamenu
    > ul.mega-sub-menu
    > li.mega-menu-row
    > ul.mega-sub-menu
    > li.mega-menu-columns-2-of-12 {
    width: 20% !important;
  }

  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    li.mega-menu-column-standard
    > a.mega-menu-link,
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    li.mega-menu-column
    > ul.mega-sub-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    text-align: center !important;
    font-weight: 400 !important;
    font-size: 1.5vw !important;
  }

  #mega-menu-wrap-primary #mega-menu-primary .mega-menu-column .mega-sub-menu {
   padding-bottom: 15px;
   min-height: 90px;
  } 
  #mega-menu-wrap-primary #mega-menu-primary .mega-menu-column:hover .mega-sub-menu  {
  background-image: linear-gradient(to right, #82d346, #026626);
  background-size: 100% 15px; /* Ancho completo (100%) y una altura de 15px (el grosor del borde) */
  background-repeat: no-repeat; 
  background-position: bottom;
  }
} /*  end css */

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link
 {
  text-shadow: 0.05rem 0.02rem 0.05rem  #000;
}

@media only screen and (min-width: 1440px) {
   #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    li.mega-menu-column-standard
    > a.mega-menu-link,
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    li.mega-menu-column
    > ul.mega-sub-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    font-size: 18px!important;
  } 
} /*  end css */
@media only screen and (min-width: 1673px) {
    #mega-menu-wrap-primary #mega-menu-primary .mega-menu-column .mega-sub-menu {
  min-height: 65px;
    } 
} /*  end css */


@media only screen and (min-width: 768px) {
  .navbar-brand img {
    max-width: 225px;
  }

  .top-header {
    padding-top: 25px;
  }

  #main-menu .lang-item {
    display: none;
  }

  #main-menu .active .nav-item {
    color: #000;
  }

  #main-menu .nav-link {
    font-size: 1.6vw;
  }

  .menu-superior {
    display: flex;
    flex-direction: row;
  }
  .mega-menu-primary .mega-lang-item {
    display: none !important;
  }
} /*  end css */

/*. MAX WIDTH COLOR MOVIL. */
@media only screen and (max-width: 768px) {
  .nav-link {
    font-size: 22px;
    color: #fff;
  }

  .nav-link:hover,
  .active .nav-link {
    color: #fff;
  }
  #mega-menu-primary .mega-menu-link{
    padding-left: 25px!important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    background: #fff!important;
    padding-left: 0!important;
    padding-top: 25px!important;
  }
}

/*  end css */

@media only screen and (min-width: 1024px) {

  #main-menu .nav-link {
    font-size: 1.4vw;
  }
} /*  end css */
@media only screen and (min-width: 1200px) {
  #main-menu .nav-link {
    font-size: 20px;
  }
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-item
    > a.mega-menu-link {
    padding-left: 1.5vw;
  }

  .datos-inicio-wrapper .lead {
    font-size: 1.7rem;
  }


} /*  end css */
@media only screen and (max-width: 1200px) and (min-width: 768px) {
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-item
    > a.mega-menu-link {
    font-size: 1.75vw !important;
    
  }
} /*  end css */

.navbar-toggler-icon {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><g><rect x="2.2" y="9.6" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="21.8" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="34" style="fill:%23000;" width="45.7" height="6.4"/></g></svg>');
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler-icon:focus,
.btn-close:focus {
  outline: none !important;
  border: none !important;
  border-width: 0;
  box-shadow: none !important;
  border: none;
}

/* añade funcionalidad dropdown en rollover  */
@media only screen and (min-width: 768px) {
  .dropdown-hover:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li.nav-item {
    text-align: left;
  }

  .dropdown-menu li a {
    font-size: 110%;
  }
}

/*  end css */
@media only screen and (max-width: 768px) {
  .dropdown-menu.show {
    background-color: #4a4a4a !important;
  }
}

/* botones */
.btn-primary,
.understrap-read-more-link,
.active > .page-link,
.page-link.active {
  background-color: #000;
  border: none;
}

.btn-primary:hover,
.understrap-read-more-link:hover .active > .page-link:hover {
  background-color: #000;
  border: none;
}

.wp-block-button__link {
  background-color: #026626;
  color: #fff;
  border: none;
  border-radius: 0;
  line-height: 100%;
  padding: 10px 25px;
}

.wp-block-button__link:hover {
  background-color: #000;
  color: #fff;
}

/* footer */

#wrapper-footer-full,
#wrapper-static-hero {
  background-color: #263035;
  color: #fff;
}

#wrapper-footer-full a {
  color: #fff;
  text-decoration: none;
}

#wrapper-footer-full a:hover {
  color: #ddd;
  text-decoration: underline;
}

.redes-footer img:hover {
  opacity: 0.7;
}
/* menu legales*/
.legales p, .legales li, .legales table {
  font-size: 15px;
  line-height: 120%;
}
.footer-basic ul {
  list-style: none;
  margin: 10px auto;
  text-align: center;
  padding-left: 0;
}

.footer-basic ul li {
  display: inline-block;
  padding: 5px;
}

.footer-basic ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-basic ul li a:hover,
.footer-basic ul .current-menu-item a {
  color: #ddd;
  text-decoration: underline;
}

@media only screen and (min-width: 768px) {
  .footer-basic ul {
    text-align: right;
  }
  .footer-basic ul li:first-child ::after,
  .footer-basic ul li:nth-child(2) ::after {
    content: "   ";
    min-width: 15px;
    text-align: right;
  }
}

/*  end css */


.redes svg {
  width: 50px;
  height: 50px;
  margin-right:20px;
}
#wrapper-footer-full .redes svg {
  width: 30px;
  height: 30px;
  margin-right: 0;
  margin-top:30px;
}

#wrapper-footer-full .redes .st0 {
  fill: #979797;
}
.redes .st0 {
  fill: #026626;
}
#wrapper-footer-full .st0:hover, .redes .st0:hover {
  fill: #66d61d;
}
.redes .st1 {
  fill: #fff;
}

@media only screen and (min-width: 1024px) {
  .redes svg {
    width: 80px;
    height: 80px;
  }
} /* end media */


/* paginacion */
.pagination {
  margin-top: 40px;
  border-radius: 0 !important;
}

.pagination .page-item a,
.pagination .page-item .current {
  padding: 5px 15px;
  border-radius: 0 !important;
  font-size: 120%;
}

.page-link:focus {
  background-color: #ddd !important;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2) !important;
}

@media only screen and (min-width: 768px) {
  .pagination .page-item a,
  .pagination .page-item .current {
    padding: 1rem 0.5rem;
  }
} /* end media */

/* contact form  */

.wpcf7 {
  max-width: 100% !important;
 
}
.wpcf7 .contacto-form  {
  border: 1px solid #000;
}
.wpcf7 p {
 margin-bottom:0!important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7 select {
  border-radius: 0;
  background: transparent !important;
  border: none;
  box-shadow: none;
  padding: 10px 15px;
  color: #000;
  font-size: 18px;
  border-bottom: 1px solid #000;
}

.wpcf7 input[type="submit"] , .wpcf7 input[type="submit"]:focus{
  min-width: 240px;
  width: 30%;
  background: #026626;
  border: none;
  border-radius: 0;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  margin-top: 40px;
  display: block;
  text-transform: uppercase;
  text-align: center;
  padding: 15px;
}

.wpcf7 input[type="submit"]:hover {
  background: #000;
  color: #fff;
  border: none;
}

.wpcf7 input[type="submit"]:disabled {
  background: #ddd;
  color: #000;
  border:none;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0 !important;
  padding: 20px !important;
  color: #000;
  background-color: #ddd;
  border: none !important;
}

.wpcf7-form ::placeholder, .wpcf7 select  {
  color: #000 !important;
  font-weight: normal;
  font-size: 14px;
}

.wpcf7-not-valid-tip {
  color: #dc3232 !important;
  font-weight: normal;
  font-size: 15px;
  padding: 10px;
}

.wpcf7-form textarea {
  height: 140px;
}
.wpcf7-form select {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>')!important;
  background-position: 97% center!important;
  background-repeat: no-repeat!important;
  padding-right: 7px!important;
}

.form-control:focus,
.wpcf7 .wpcf7-validation-errors:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="search"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="range"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="month"]:focus,
.wpcf7 input[type="week"]:focus,
.wpcf7 input[type="time"]:focus,
.wpcf7 input[type="datetime"]:focus,
.wpcf7 input[type="datetime-local"]:focus,
.wpcf7 input[type="color"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="file"]:focus,
.wpcf7 input[type="submit"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  box-shadow: none;
  border-color: #000;
}

@media only screen and (min-width: 768px) {
  .wpcf7 input[type="submit"],  .wpcf7 input[type="submit"]:focus {
    font-size: 26px;
    letter-spacing: 0.035rem;
    margin-right: 0;
  }

  .wpcf7-form ::placeholder, .wpcf7 select  {
    font-size: 18px;
  }

  .form-control,
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    font-size: 24px;
  }
  
  .wpcf7-form input[name="nombre"], .wpcf7-form input[name="your-email"] {
    border-right:1px solid #000;
  }


} /*  end css */

.form-privacidad,
.aceptance {
  color: #000;
  font-size: 13px;
  line-height: 120%;
}

.form-privacidad a,
.aceptance a {
  color: #000;
  font-weight: bold;
}

@media only screen and (min-width: 768px) {
  .form-privacidad,
  .aceptance {
    font-size: 13px;
  }
} /*  end css */

.form-inicio .aceptance,
.form-inicio .form-privacidad,
.form-inicio .aceptance a,
.form-inicio .form-privacidad a,
.form-inicio .wpcf7-form input[type="text"],
.form-inicio .wpcf7-form input[type="tel"],
.form-inicio .wpcf7-form input[type="email"],
.form-inicio .wpcf7-form textarea,
.form-inicio .wpcf7-form ::placeholder {
  color: #fff !important;
}

.form-inicio .wpcf7-form input[type="text"],
.form-inicio .wpcf7-form input[type="tel"],
.form-inicio .wpcf7-form input[type="email"],
.form-inicio .wpcf7-form textarea {
  border-bottom: 1px solid #fff;
}

/* mapa gris*/
#contenedor-del-mapa, #archive-wrapper-proyectos .wp-block-cover {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.links-descargas-bottom a {
  color: #fff;
  text-decoration: underline;
  font-size: calc(1rem + 1.7vw);
  font-style: italic;
  font-weight: 400;
}
.links-descargas-bottom a:hover {
  color: #000;
}

#cabecera_inicio {
  background-color: #02081a;
}

.bg-cabecera {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
}

#cabecera_inicio .titulo {
  font-size: 26px;
  line-height: 120%;
  font-weight: bold;
  padding: 25px;
  max-width: 360px;
}

.lista_enlaces_inicio ul {
  list-style: none;
  margin: 0;
  padding-left: 25px;
  padding-right: 50px;
  padding-bottom: 25px;
}

.lista_enlaces_inicio li {
  padding: 0;
  margin: 0;
  border-bottom: 3px solid #fff;
  font-size: calc(1rem + 1vw);
}
.lista_enlaces_inicio li:last-child {
  border-bottom: none;
}

.lista_enlaces_inicio li a {
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  color: #fff;
  text-shadow: 4px -1px 6px rgba(0, 0, 0, 0.6);
  padding: 30px 2vw;
  font-weight: bold;
}

.lista_enlaces_inicio li a:hover {
  color: #fff;
  text-shadow: none;
}

.datos-inicio .col-12 {
  border-bottom: 4px solid #fff;
  padding-top: 2vh;
  padding-bottom: 2vh;
}

@media only screen and (min-width: 768px) {
  #cabecera_inicio .titulo {
    font-size: 3.75vw;
    line-height: 110%;
    padding-top: 14vh;
    padding-bottom: 7vh;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 70%;
  }

  .lista_enlaces_inicio ul {
    display: flex;
    flex-direction: row;
    padding: 0;
  }

  .lista_enlaces_inicio li {
    border-right: 3px solid #fff;
    border-bottom: none;
    min-height: 16vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 22%;
    font-size: 1.5vw;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to top, #026626 0%, #66d61d 50%, transparent 50%);
    transition: background-position 0.3s ease-out, color 0.3s;
    background-size: 100% 200%;
    background-position: 0 0;
  }
  .lista_enlaces_inicio li:last-child {
    border-right: none;
  }
  .lista_enlaces_inicio li:hover {
    background-position: 0 100%;
  }

  .lista_enlaces_inicio li a {
    display: block;
    width: 100%;
  }

  .datos-inicio .col-12:nth-child(1),
  .datos-inicio .col-12:nth-child(3) {
    border-right: 4px solid #fff;
  }
  .datos-inicio .col-12:nth-child(3),
  .datos-inicio .col-12:nth-child(4) {
    border-bottom: none;
  }
} /*  end css */
@media only screen and (min-width: 1024px) {
  #cabecera_inicio .titulo {
    padding-top: 20vh;
    padding-bottom: 14vh;
    max-width: 65%;
  }
  .lista_enlaces_inicio li {
    min-height: 20vh;
  }
  .links-descargas-bottom a {
    font-size: 35px;
    padding: 25px 0;
    display: block;
  }
 
} /*  end css */
@media only screen and (min-width: 1400px) {
  .datos-inicio .col-12:nth-child(1),
  .datos-inicio .col-12:nth-child(2),
  .datos-inicio .col-12:nth-child(3) {
    border-right: 4px solid #fff;
  }
  .datos-inicio .col-12 {
    border-bottom: none;
  }
  .lista_enlaces_inicio li {
    min-height: 24vh;
    font-size: 1.5rem;
  }
} /*  end css */
@media only screen and (min-width: 1920px) {
  #cabecera_inicio .titulo {
    max-width: 50%;
    font-size: 60px;
  }
} /*  end css */

/* IFRAME RESPONSIVE*/

.bloque-innovacion {
  display: flex; /* Habilita Flexbox */
  align-items: stretch; /* Asegura que los ítems se estiren para igualar la altura */
}

/*
* 2. Asegura que ambas columnas tengan la misma altura.
* Aunque 'align-items: stretch' ya lo hace, esta clase la usaremos
* como ancla para el paso 3.
*/
.bloque-innovacion .wp-block-column {
  display: flex; /* Convierte la columna en un contenedor flexible */
  flex-direction: column; /* Coloca los ítems verticalmente */
}

/*
* 3. Hace que el iframe ocupe todo el espacio restante (100% de la altura de su padre)
* dentro de su columna.
*/
.bloque-innovacion .contenedor-iframe iframe {
  flex-grow: 1; /* Permite que el iframe crezca para ocupar el espacio disponible */
  height: 100%; /* Esta línea es la clave, ahora sí se refiere al 100% de la columna */
  width: 100%;
  border: none; /* Opcional: elimina el borde por defecto del iframe */
}

.listado li {
  padding-left: 25px;
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 26.3 26.3" style="enable-background:new 0 0 26.3 26.3;" xml:space="preserve"><circle style="fill:%23026626;" cx="13.2" cy="13.2" r="12.6"/></svg>');
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: 0 10px;
  list-style: none;
  margin-bottom: 15px;
  line-height: 130%;
  font-size: calc(1rem + 1vw);
}

@media only screen and (max-width: 768px) {
  .bg-100 .wp-block-cover {
    min-height: 250px;
  }
  .sectores .bg-100 .wp-block-cover {
    min-height: 120px;
  }
  .contenedor-iframe iframe {
    height: 300px !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu:not(.mega-menu-tabbed) li.mega-menu-item-has-children:not(.mega-collapse-children) > a.mega-menu-link > span.mega-indicator, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children.mega-hide-arrow > a.mega-menu-link > span.mega-indicator  {
    display: block;
  }
} /*  end css */
@media only screen and (min-width: 769px) {
  .bg-100 .wp-block-cover,
  .bg-100 .wp-block-cover-image {
    min-height: 100%;
  }
} /*  end css */

@media only screen and (min-width: 1024px) {
  .listado li {
    background-size: 20px;
    padding-left: 45px;
    font-size: 2rem;
  }
} /*  end css */





/* --- 1. Estilos por defecto del Lightbox (Oculto) --- */
.lightbox {
    /* Ocultar el lightbox por defecto */
    visibility: hidden; 
    opacity: 0; 
    
    /* Posicionamiento y tamaño (overlay a pantalla completa) */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    
    /* Fondo semitransparente oscuro */
    background: rgba(0, 0, 0, 0.7);
    
    /* Animación suave (opcional) */
    transition: opacity 0.3s, visibility 0.3s;
    
    /* Asegura que esté por encima de todo */
    z-index: 9999;
    
    /* Centrar el contenido con Flexbox (moderno y fácil) */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- 2. Estilos al ser "Target" (Visible) --- */
.lightbox:target {
    /* Hacer el lightbox visible */
    visibility: visible;
    opacity: 1;
}

/* --- 3. Estilos del Contenido y la Imagen --- */
.lightbox .contenido img {
    /* La imagen no debe ser más ancha que la ventana */
    max-width: 90vw; 
    max-height: 90vh;
    display: block;
}

/* --- 4. Estilos del Botón de Cierre --- */
.lightbox .cerrar {
    /* Posicionar el botón de cierre (ej: en la esquina superior derecha) */
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}

.lightbox .cerrar:hover {
    color: #ccc;
}

.miniatura:hover {
  background: #026626 url('https://femar-si.es/wp-content/themes/theme-femar/img/cruz.png') no-repeat center center;
  background-size: 7vw;
  display: inline-block;
}
.miniatura:hover img {
  opacity: 0;
}


#archive-wrapper-proyectos article:nth-of-type(even) .row {
  flex-direction: row-reverse;
}