/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/
@import "./css/variables.css";
@import "./css/accesibilidad.css";

/*********************************\
              GENERAL
\*********************************/

@view-transition {
  navigation: auto;
}

.container {
  view-transition-name: page;
}

::view-transition-old(page) {
  animation: fade 0.2s linear forwards;
}

::view-transition-new(page) {
  animation: fade 0.3s linear reverse;
}

@keyframes fade {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(50px);
  }
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.validate_email_against_bot,
.otgs-development-site-front-end,
.wpml-ls-statics-footer {
  display: none;
}

:root {
  scrollbar-color: var(--principal) var(--blanco);
  scrollbar-width: thin;
}

.style-simple,
.style-simple .mfn-header-tmpl {
  --mfn-column-gap-bottom: 0;
  --mfn-column-gap-top: 0;
  --mfn-column-gap-right: 0;
  --mfn-column-gap-left: 0;
}

p:empty {
  margin: 0;
  display: none;
  visibility: hidden;
  opacity: 0;
}

.admin-bar .full-screen .section_wrapper {
  min-height: calc(100vh - 32px);
}

.section.has-video .section_video {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section.has-video .section_video video {
  top: unset;
  left: unset;
  height: 100%;
}

.section.has-video .section_video .mask {
  display: none;
}

.style-simple .responsiveWidth {
  max-width: calc(2 * var(--halfSection));
}

.mobile-side-slide {
  overflow-x: clip !important;
}

.section_wrapper,
.container {
  box-sizing: border-box;
  padding-left: 33px;
  padding-right: 33px;
}

.slick-list {
  width: 100%;
}

.slick-track {
  display: flex;
}

h1 {
  font-size: var(--size-h1);
  line-height: normal;
  font-weight: 700;
}

h2 {
  font-size: var(--size-h2);
  line-height: 1.2;
  font-weight: 600;
}

h3 {
  font-size: var(--size-h3);
  line-height: 1.2;
  font-weight: 600;
}

h4 {
  font-size: var(--size-h4);
  line-height: 1.2;
  font-weight: 600;
}

h5 {
  font-size: var(--size-h5);
  line-height: 1.2;
  font-weight: 600;
}

h6 {
  font-size: var(--size-h6);
  line-height: 1.2;
  font-weight: 600;
}

body,
p {
  font-size: var(--size-p);
  line-height: 1.3;
  font-weight: 400;
}

.lead,
.big {
  font-size: var(--size-plead);
  line-height: 1.3;
  font-weight: 500;
}

.small {
  font-size: var(--size-psmall);
  line-height: 1.3;
  font-weight: 400;
}

a:hover {
  text-decoration: none;
}

.decorative {
  font-family: var(--font-decorative);
}

.principal {
  color: var(--principal);
}

.secundario {
  color: var(--secundario);
}

.blanco {
  color: var(--blanco);
}

.button {
  height: var(--button-height);
}

.nowrap,
.nowrap > .mcb-wrap-inner {
  flex-wrap: nowrap;
}

.flexColumn,
.flexColumn > .mcb-wrap-inner {
  flex-direction: column;
}

.placeEnd,
.placeEnd > .mcb-wrap-inner {
  place-content: end;
}

#Wrapper .section_wrapper,
#Wrapper .container {
  max-width: 1408px;
}

.br-50,
.br-50 img,
.br-50 picture,
.br-50 video {
  border-radius: 50px;
}

.overlay-radius-32 .mcb-background-overlay {
  border-radius: 0 0 32px 32px;
}

.gap-1-rem > .mcb-wrap-inner {
  gap: 1rem;
}

.gap-4-rem > .mcb-wrap-inner {
  gap: 4rem;
}

.fix-height .content_video.auto-wh,
.fix-height .section_video,
.fix-height video {
  height: 100%;
  object-fit: cover;
}

main#Error_404 {
  place-items: center;
  place-content: center;
  height: 100%;
  width: 100%;
  margin-top: 100px;
  position: static;
  overflow: visible;
}
/* .desc {
    text-wrap: balance;
} */

.marcador .title::before {
  content: "";
  position: absolute;
  background-color: var(--principal);
  width: 17px;
  height: 17px;
  border-radius: 100vmax;
  left: -33px;
  top: 6px;
}

/*********************************\
            COMPLIANZ
\*********************************/
div#cmplz-message-1-optin > p:first-child {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
div#cmplz-message-1-optin {
  margin-bottom: 1.5rem;
}
div#cmplz-message-1-optin p {
  font-size: 1rem;
}

/* Cookies button */
body #cmplz-manage-consent .cmplz-manage-consent {
  background: var(--principal);
  right: unset !important;
  left: 10px;
  font-size: 0px;
  color: var(--negro) !important;
  bottom: 10px !important;
  padding: 0 !important;
  min-width: 1px;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
}

body #cmplz-manage-consent .cmplz-manage-consent:before {
  content: "";
  background: transparent url(imagenes/icono-ajustes.svg) center center /
    contain no-repeat;
  width: 60%;
  height: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.8s ease;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
}

body #cmplz-manage-consent .cmplz-manage-consent:hover:before {
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

/* Cookies banner */
#cmplz-cookiebanner-container .cmplz-body {
  scrollbar-width: none;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner {
  grid-row-gap: 5px;
  padding: 20px;
}

#cmplz-cookiebanner-container .cmplz-header {
  display: none;
}

#cmplz-cookiebanner-container p {
  margin: 0;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
  letter-spacing: 0;
  font-size: var(--size-psmall) !important;
  line-height: 1.2 !important;
  text-transform: none;
  justify-content: center;
  height: auto;
}

#cmplz-cookiebanner-container
  .cmplz-categories
  .cmplz-category:not(:last-child) {
  margin-bottom: 5px;
}

#cmplz-cookiebanner-container
  .cmplz-categories
  .cmplz-category
  .cmplz-category-header
  .cmplz-category-title,
#cmplz-cookiebanner-container
  .cmplz-categories
  .cmplz-category
  .cmplz-description
  > span {
  font-size: var(--size-psmall);
  line-height: 1;
}

#cmplz-cookiebanner-container
  .cmplz-categories
  .cmplz-category
  .cmplz-category-header
  .cmplz-always-active {
  font-size: 10px;
  line-height: 1;
}

/* Complianz documents */
#cmplz-document {
  max-width: 100%;
  padding: 100px 0;
  text-align: justify;
}

#cmplz-document h2,
#cmplz-document h3,
#cmplz-document h4 {
  letter-spacing: 0px;
  font-weight: 600;
  border: 0;
  padding: 0;
  margin-bottom: 15px;
  line-height: 1.2;
}

#cmplz-document h2 {
  font-size: 32px;
  margin-top: 60px;
}

#cmplz-document h2:first-child {
  margin-top: 0;
  font-size: 40px;
}

#cmplz-document h3 {
  font-size: var(--size-h3);
}

#cmplz-document h4 {
  font-size: var(--size-h4);
}

#cmplz-document p {
  font-size: var(--size-p);
}

.cmplz-message {
  text-align: center;
}

/*********************************\
              HEADER
\*********************************/
.mfn-menu-animation-text-line-bottom
  > .mfn-menu-li
  > .mfn-menu-link
  .label-wrapper:before {
  height: 2px;
}

div#mfn-sidemenu-tmpl-734 {
  box-shadow: 4px 4px 4px #00000024;
  border: 1px solid #00000033;
  border-radius: 20px;
  height: 90%;
  top: 50%;
  transform: translateY(-50%);
  height: fit-content;
  margin-left: 16px;
}

/*********************************\
              FOOTER
\*********************************/
body .mfn-footer-tmpl .mcb-section:not(.full-width) {
  max-width: 100%;
}

body #back_to_top.sticky {
  bottom: 10px;
  right: 10px !important;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

body #back_to_top.sticky:before {
  content: none;
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
  line-height: 1.2;
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay {
  border-radius: 12px;
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
  font-size: 26px;
  padding: 8px;
  border-radius: 100vmax;
  margin-right: 6px;
  border: 1px solid #202020;
  background-color: #a5e46126;
}

.footer .footer-grid > .mcb-wrap-inner {
  display: grid;
  grid-template-columns: 1fr repeat(2, auto);
  column-gap: 10rem;
}

.financiacion {
  display: flex;
  gap: 1rem;
  place-items: center;
  place-content: center;
  margin-bottom: 8px;
}

.financiacion > div,
.financiacion > div > img {
  max-width: 130px;
}

@media (width<=959px) {
  .footer .footer-grid > .mcb-wrap-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0;
  }

  .footer-grid .info-col {
    grid-column: span 2;
  }
  .footer .footer-grid .links-col > .mcb-wrap-inner {
    place-items: start;
    place-content: start;
    margin-left: 2rem;
  }
}

@media (width<=767px) {
  .mfn-footer-tmpl .mcb-section:not(.full-width) {
    padding-inline: 0;
  }
}

/*********************************\
              INICIO
\*********************************/
/* hero */

.estadisticas p.title.label > span {
  font-size: 5.625rem;
  font-weight: 600;
  font-family: "Bricolage Grotesque", sans-serif;
}

.estadisticas p.title.label {
  margin-bottom: 0.75rem;
  line-height: 1;
}

/*********************************\
         ANIMACIÓN BLOQUES
\*********************************/
/* datos */
.inner-dato {
  place-items: end;
}
.inner-dato .intro {
  font-size: 1.5rem;
  font-weight: 400;
}

.inner-dato p {
  line-height: 0.9;
  margin: 0;
}

.inner-dato .num {
  font-size: 14.5rem;
  font-weight: 600;
}

.inner-dato .cargo {
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  text-align: right;
}

/* Contenedor de los bloques animados - solo para .datos */
.datos .mcb-wrap-inner {
  overflow: hidden;
  position: relative;
  height: 327px;
}

/* Configuración inicial de los bloques dentro de .datos - preparado para GSAP */
.datos .mcb-column {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
}

/* Estado inicial para GSAP - oculto por defecto */
.datos .mcb-column.gsap-hidden {
  transform: translateY(100%);
  opacity: 0;
}

/* Estado visible para GSAP */
.datos .mcb-column.gsap-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Configuración para dispositivos móviles */
@media (width<=768px) {
  .inner-dato .num {
    font-size: 8.5rem;
  }

  .datos .mcb-column {
    height: 100%;
    place-items: center;
  }

  /* .datos .mcb-column {
    inset: 0;
  } */
}

/* Configuración para usuarios que prefieren movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .datos .mcb-column {
    transform: translateY(0) !important;
    opacity: 1 !important;
    position: static !important;
  }

  .datos .mcb-wrap-inner {
    height: auto;
  }
}

@media (width<=768px) {
  .inner-dato .num {
    font-size: 8.5rem;
  }

  /* .datos .mcb-column {
    inset: 0;
  } */
}

/* Animacion bloques. END */
@media (width<=768px) {
  .fix-width .image_frame,
  .fix-width .image_frame img {
    min-width: 100%;
    max-height: 411px;
    object-fit: cover;
  }
}
/* Bento */
.home-bento > .mcb-wrap-inner {
  display: grid;
  grid-template-columns: 620px 1fr;
  gap: 34px;
  align-items: stretch;
}

.home-bento .icon-wrapper {
  min-width: 100%;
}

.home-bento .first {
  grid-row: span 2;
}

.bento-section > .section_wrapper {
  padding: 0;
}

#Wrapper .bento-section .icon-wrapper {
  place-content: end;
}

.bento-item .mfn-icon-box {
  place-content: space-between;
}

.bento-item .column_icon_box_2,
.bento-item .mcb-item-icon_box_2-inner,
.bento-item .mcb-item-icon_box_2-inner a,
.bento-item .bento-item .mfn-icon-box {
  height: 100%;
  display: block;
}

.bento-item .mfn-icon-box {
  height: 100%;
}

.bento-item .mfn-icon-box:not(.mfn-header-icon-box) .desc-wrapper {
  flex-grow: unset;
}

@media (width<=1400px) {
  .home-bento > .mcb-wrap-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (width<=768px) {
  .home-bento > .mcb-wrap-inner {
    grid-template-columns: 1fr;
  }
}

/* CTA */
@media (width<=380px) {
  #Wrapper .cta-title p.title {
    font-size: 34px;
  }
}

/*********************************\
             CONTACTO
\*********************************/
body .wpcf7-form [type="submit"] {
  width: 100%;
  margin: 0 !important;
}

body .wpcf7-form .wpcf7-spinner {
  margin: 5px 0 0 -12px;
  left: 50%;
}

body .wpcf7-form .form-legal p {
  font-size: 0.7em;
  line-height: 1.5em;
  opacity: 0.7;
  padding: 10px 0;
  text-align: justify;
}

body .wpcf7-form input[name="politica"] + span {
  font-weight: 500;
}

body .column_cf7 input[type="checkbox"] {
  min-height: 0px;
}

body .wpcf7-list-item {
  margin: 0;
}

body input[type="checkbox"],
body input[type="radio"] {
  accent-color: var(--principal);
}

.contact-info a:hover {
  letter-spacing: 0.5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
}

.form-row .left,
.form-row .right {
  width: 100%;
}

.form-row.mensaje {
  flex-direction: column;
  gap: 0;
}

.contact-form input:not([type="submit"]),
.contact-form textarea {
  border-radius: 7px;
}

.form-row.button-row button {
  min-width: 100%;
}

@media (width>=959px) {
  .contact-info {
    position: sticky;
    top: 100px;
  }
}

@media (width<=500px) {
  #Wrapper .form-title {
    width: 100%;
  }
}

@media (width<=450px) {
  .contact-form .form-row {
    flex-wrap: wrap;
  }
}

/*********************************\
         PÁGINAS INTERNAS
\*********************************/

/* El proyecto */
.hero-proyecto > .section_wrapper {
  padding-inline: 0;
}
.hero-proyecto h1.title {
  font-size: clamp(2.5rem, 5.25vw, 6.25rem);
}
.hero-proyecto > .mcb-background-overlay {
  background: linear-gradient(
      270deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(46, 47, 52, 0.3) 82.35%
    ),
    linear-gradient(
      0deg,
      rgba(134, 189, 219, 0.05) 0%,
      rgba(134, 189, 219, 0.05) 100%
    );
}
.hero-proyecto .datos .mcb-wrap-inner {
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100vmax;
  position: relative;
}

.hero-proyecto .datos .mcb-column {
  top: 50%;
  transform: translateY(-50%);
}

.hero-proyecto .inner-dato .num {
  font-size: 8.3rem;
}

.hero-proyecto .inner-dato {
  display: flex;
  flex-direction: column;
  padding: 16px 64px;
  align-content: flex-end;
  align-items: flex-end;
}

.hero-proyecto .inner-dato .cargo {
  font-size: 1.255rem;
}

@media (width>=1440px) {
  .hero-proyecto .datos .mcb-wrap-inner {
    min-width: 511px;
  }
  .hero-proyecto .datos .mcb-wrap-inner {
    height: 271px;
    width: 100%;
    max-width: 511px;
  }
}

@media (width<=1439.9px) {
  .hero-proyecto .inner-dato .num {
    font-size: 6rem;
  }

  .hero-proyecto .datos .mcb-wrap-inner {
    height: 221px;
    width: 100%;
    max-width: 411px;
  }
}

@media (width<=959px) {
  .hero-proyecto .datos {
    place-content: start;
  }
  .hero-proyecto .datos .mcb-wrap-inner {
    height: 221px;
    width: 100%;
    max-width: 411px;
  }
}

@media (width<=768px) {
  .hero-proyecto .datos .mcb-column {
    inset: initial;
    top: 50%;
  }
}

@media (width<=425.9px) {
  .hero-proyecto .inner-dato .num {
    font-size: clamp(2rem, 17vw, 6rem);
  }
}

/* faqs */

#Wrapper .faqs.proyecto .accordion .question > .title {
  display: flex;
  align-items: center;
  padding: 0;
}

#Wrapper .faqs.proyecto .accordion .question > .title i {
  right: 0;
}

#Wrapper .faqs.proyecto .accordion .question > .answer {
  padding: 0 3.5rem;
}

.faqs.proyecto span.num {
  font-size: 45px;
  margin-right: 27px;
}

#Wrapper .faqs.proyecto .question {
  background-color: #fff;
  padding: 2rem;
}

#Wrapper .faqs.proyecto .question.active {
  border: 2px solid #77c821;
}

.style-simple .faqs.proyecto .accordion .question.active:after {
  display: none;
}

@media (width<=500px) {
  #Wrapper .faqs.proyecto .accordion .question > .title i {
    right: -19px;
  }
}

@media (width<=400px) {
  .faqs.proyecto span.num {
    display: none;
  }
  .faqs.proyecto .accordion .question {
    border-radius: 24px;
  }
  #Wrapper .faqs.proyecto .accordion .question > .answer {
    padding: 1rem 0;
  }
  #Wrapper .faqs.proyecto .question.active {
    border-radius: 24px;
  }
}

/* video row */

.video-bebe .section_video {
  text-align: right;
}

.video-bebe .section_video video {
  min-width: 1119px;
}

/* procesos */
.procesos .mfn-icon-box > div {
  width: 100%;
  max-width: 100%;
}

.procesos .mfn-icon-box img {
  width: 100%;
  max-width: 241px;
  border-radius: 50px;
}

.procesos .mfn-icon-box {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

@media (width>=500px) {
  .procesos .mfn-icon-box img {
    min-width: 241px;
  }
}

@media (width<=499.9px) {
  .procesos .mfn-icon-box {
    grid-template-columns: 1fr;
  }
  .procesos .icon-wrapper {
    place-content: start;
  }
  .procesos .mfn-icon-box img {
    max-height: 340px;
    min-width: 100%;
    object-fit: cover;
  }
}

/* MIEMBROS */
/* Modal miembro */
#mfn-popup-template-783 .mfn-popup-tmpl-content,
#mfn-popup-template-805 .mfn-popup-tmpl-content,
#mfn-popup-template-806 .mfn-popup-tmpl-content,
#mfn-popup-template-807 .mfn-popup-tmpl-content,
#mfn-popup-template-808 .mfn-popup-tmpl-content,
#mfn-popup-template-809 .mfn-popup-tmpl-content,
#mfn-popup-template-811 .mfn-popup-tmpl-content,
#mfn-popup-template-813 .mfn-popup-tmpl-content,
#mfn-popup-template-814 .mfn-popup-tmpl-content {
  border-radius: 50px;
  max-width: 1412px;
  width: 95vw;
}

#mfn-popup-template-783 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-805 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-806 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-807 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-808 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-809 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-811 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-813 .mfn-popup-tmpl-content-wrapper,
#mfn-popup-template-814 .mfn-popup-tmpl-content-wrapper {
  padding: 64px;
  overflow-y: auto; /* Cambiar de hidden a auto para permitir scroll */

  /* Ocultar scrollbar en WebKit (Chrome, Safari, Edge) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Ocultar scrollbar en WebKit */
#mfn-popup-template-783 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-805 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-806 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-807 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-808 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-809 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-811 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-813 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar,
#mfn-popup-template-814 .mfn-popup-tmpl-content-wrapper::-webkit-scrollbar {
  display: none;
}

#mfn-popup-template-783 section > .section_wrapper,
#mfn-popup-template-805 section > .section_wrapper,
#mfn-popup-template-806 section > .section_wrapper,
#mfn-popup-template-807 section > .section_wrapper,
#mfn-popup-template-808 section > .section_wrapper,
#mfn-popup-template-809 section > .section_wrapper,
#mfn-popup-template-811 section > .section_wrapper,
#mfn-popup-template-813 section > .section_wrapper,
#mfn-popup-template-814 section > .section_wrapper {
  padding: 0;
}

.modal .marcador h4.title::before {
  top: 50%;
  transform: translateY(-50%);
}

@media (width>=959.9px) {
  .modal .img-col {
    position: sticky;
    top: 0;
  }
}

@media (width<=768px) {
  #mfn-popup-template-783 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-805 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-806 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-807 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-808 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-809 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-811 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-813 .mfn-popup-tmpl-content-wrapper,
  #mfn-popup-template-814 .mfn-popup-tmpl-content-wrapper {
    padding: 40px !important;
  }
}

/* Animación del modal popup */
.mfn-bebuilder-popup * {
  opacity: 1 !important;
}

.mfn-bebuilder-popup .mfn-popup-tmpl-content-wrapper,
.mfn-bebuilder-popup .mfn-popup-tmpl {
  transform: unset;
}
.mfn-popup-tmpl {
  transform: scaleY(0.01) translateX(100%);
  opacity: 0;
  transition: none;
}

.mfn-popup-tmpl::before {
  transition: none !important;
  animation: none !important;
}

.mfn-popup-tmpl-content {
  transform: scaleY(0);
  opacity: 0;
  transition: none;
}

.mfn-popup-tmpl-content-wrapper {
  transform: scaleY(0);
  opacity: 0;
  transition: none;
}

.mfn-popup-tmpl-builder {
  transform: scaleY(0);
  opacity: 0;
  transition: none;
}

/* Slider miembros */
.slider-miembros {
  padding-left: calc((100vw - 1578px) / 2);
}

.slider-miembros .slick-track {
  cursor: grab;
}

.slider-miembros .slick-arrow,
.slider-miembros .slick-arrow:hover {
  padding: 0;
  background: unset;
  border: 0;
}

.slider-miembros .slick-slide {
  margin: 0 20px;
}

.slider-miembros .slick-arrow img {
  max-width: 36px;
}

.slider-miembros .slick-prev {
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-miembros .slick-next {
  bottom: 50%;
  transform: translateY(50%);
  left: unset;
  right: -99.8%;
}

@media (width<=1600px) {
  .slider-miembros .slick-prev {
    left: -40px;
  }
}

/* slide content */
#Wrapper .mfn-icon-box:hover p.title.label {
  letter-spacing: 1px;
}
.mfn-icon-box p.title.label {
  transition: letter-spacing 0.3s ease;
}
.slider-miembros .icon-wrapper {
  max-width: fit-content;
}

.slick-slide > .mcb-wrap-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0deg,
      rgba(46, 47, 52, 0.44) 16.7%,
      rgba(0, 0, 0, 0) 55.67%
    ),
    linear-gradient(
      0deg,
      rgba(134, 189, 219, 0.05) 0%,
      rgba(134, 189, 219, 0.05) 100%
    );
  pointer-events: none;
  border-radius: 50px;
}

/* cta miembros */
.cta.miembros .section_wrapper .mcb-wrap-inner > .mcb-wrap-background-overlay {
  background: linear-gradient(
      293deg,
      rgba(46, 47, 52, 0.3) 36.63%,
      rgba(0, 0, 0, 0) 99.34%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Mapa */
.mapa-ccaa g ellipse {
  cursor: pointer;
  transition: all 0.3s ease;
}

.mapa-ccaa g ellipse:hover {
  fill: #58abd5;
}

/*********************************\
          BLOG / NOTICIAS
\*********************************/
/* Archive */
body.blog .column_blog,
body.archive.category .column_blog,
body.archive.tag .column_blog {
  padding-bottom: 120px;
}

body.archive.category .mcb-sidebar,
body.archive.tag .mcb-sidebar {
  display: none;
}

/* Fixed nav arrows */
body .fixed-nav {
  box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

body .fixed-nav .desc h6 {
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body .fixed-nav .desc .date {
  font-size: 13px;
  color: var(--gris);
  border: 0;
}

body .fixed-nav .desc .date .icon-clock {
  display: none;
}

body .fixed-nav .photo img,
body .Recent_posts ul li .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Barra lateral */
body .Recent_posts ul li a .desc {
  padding: 8px 10px 3px;
  min-height: 80px;
}

body .Recent_posts ul li a .desc h6 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
}

body .Recent_posts ul li a .desc .date {
  font-size: 12px;
  line-height: 14px;
}

body .widget:not(.widget_block) > h3 {
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

body .mcb-sidebar select {
  width: 100%;
}

body .widget_categories ul {
  list-style: none;
  padding: 0;
  background: none;
}

body .widget_categories ul li:after {
  content: none;
}
body .widget_categories ul li a {
  padding: 5px 10px;
  background: unset;
  display: block;
  border-radius: 3px;
  margin-bottom: 0;
  color: #484848 !important;
  border: 1px solid;
  border-radius: 100vmax;
  font-weight: 500;
  font-size: 1rem;
}

body .widget_categories ul li a:hover {
  background: var(--principal);
  color: #000 !important;
  border: 1px solid #000 !important;
}

#Wrapper .faqs .accordion .title i {
  left: unset;
  right: 0;
}

#Wrapper .faqs .question {
  border-bottom: 1px solid #16192226;
}

#Wrapper .style-simple .faqs .accordion .question .title {
  padding: 18px;
}

#Wrapper .faqs .accordion .question > .title,
#Wrapper .faqs .accordion .question > .answer {
  box-shadow: unset;
  padding: 1.5rem 1rem;
}

#Wrapper .faqs .accordion .question > .answer {
  padding-top: 0;
  margin-bottom: 0.5rem;
}

/* single post */
.single-post .widget-area .widget:after {
  display: none;
}

.single-post .sidebar {
  width: 23%;
  box-shadow: 4px 4px 4px #00000024;
  border: 1px solid #00000033 !important;
  border-radius: 20px;
  margin: 1rem 0 !important;
  min-height: unset !important;
  height: 100%;
  position: sticky;
  top: 51%;
  transform: translateY(-50%);
}

.single-post #Content .content_wrapper.clearfix {
  display: flex;
  flex-direction: row-reverse;
}

aside#search-2 input[type="text"] {
  border-radius: 100vmax;
  border: 1px solid #00000033 !important;
}

aside#categories-2 ul {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.single-post .inner-wrapper-sticky.clearfix aside {
  margin: 0;
  padding: 0 !important;
}

.single-post .inner-wrapper-sticky.clearfix {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
}

.single-post .Recent_posts.blog_news ul li {
  margin-bottom: 0;
  overflow: hidden;
}

.single-post h1 {
  font-size: 2rem;
}

.single-post h2 {
  font-size: 1.5rem;
}

.single-post h3 {
  font-size: 1.25rem;
}

.single-post #Content article img {
  border-radius: 24px;
}

.single-post .posts_group .post-desc {
  padding-inline: 0;
}

/* categoría */
.category div#Content {
  padding-top: 64px !important;
}

.category h2.entry-title {
  font-size: 1.5rem;
}

.category .grid .post-desc-wrapper .post-desc {
  padding-inline: 12px;
}

.category .posts_group img {
  border-radius: 50px;
}

/*********************************\
           WOOCOMMERCE
\*********************************/
body .woocommerce ul.products li.product .woocommerce-placeholder {
  border: 0;
}

body .woocommerce .quantity .qty {
  padding: 10px 30px !important;
}

body .woocommerce table.shop_table tr.order-total .includes_tax {
  display: block;
}

body
  .woocommerce
  table.shop_table
  tr.order-total
  .includes_tax
  .woocommerce-Price-amount {
  font-size: 1em;
  font-weight: 400;
  color: #767676;
}

.woocommerce div.product form.cart .reset_variations,
.woocommerce .sku_wrapper {
  display: none;
}

.woocommerce ul.products {
  display: grid;
  gap: 40px;
}

.woocommerce.columns-2 ul.products {
  grid-template-columns: repeat(2, 1fr);
}

.woocommerce.columns-3 ul.products,
.woocommerce ul.products.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.woocommerce.columns-4 ul.products,
.woocommerce ul.products.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.woocommerce ul.products:before,
.woocommerce ul.products:after {
  display: none;
}

.woocommerce ul.products li.product {
  height: inherit;
  margin: 0;
  width: auto !important;
}

/*********************************\
            RESPONSIVE
\*********************************/
@media only screen and (min-width: 960px) and (max-width: 1239px) {
}

@media only screen and (min-width: 768px) and (max-width: 1239px) {
  body .Recent_posts ul li .photo {
    display: none;
  }

  body .Recent_posts ul li a .desc {
    margin: 0;
  }
}

@media only screen and (max-width: 959px) {
  body .animate {
    animation-delay: 0ms !important;
  }

  html.mfn-header-tmpl-burger-sidebar-opened #pojo-a11y-toolbar {
    display: none;
  }
}

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

@media only screen and (max-width: 767px) {
  .joinchat {
    --bottom: 20px;
  }

  .joinchat--left .joinchat__button {
    bottom: 0;
  }

  body .hideMobile {
    display: none !important;
  }

  body.style-simple .responsiveWidth {
    max-width: 670px;
    padding: 0 33px;
  }

  body .section_wrapper,
  body .container {
    padding-inline: 1rem;
  }

  body .content_wrapper .mcb-column-inner {
    margin: 0;
  }
}

@media only screen and (max-width: 480px) {
  body .woocommerce-variation-add-to-cart {
    flex-direction: column;
  }

  body .woocommerce .quantity {
    width: 100%;
    margin: 0 0 5px !important;
  }

  body .woocommerce .product div.entry-summary .cart .button {
    width: 100%;
  }

  body
    .woocommerce
    .product
    div.entry-summary
    .accordion
    table.shop_attributes
    tr {
    display: flex;
    flex-direction: column;
    padding: 0 0 10px;
  }

  body
    .woocommerce
    .product
    div.entry-summary
    .accordion
    table.shop_attributes
    tr:last-child {
    padding: 0;
  }

  body
    .woocommerce
    .product
    div.entry-summary
    .accordion
    table.shop_attributes
    th,
  body
    .woocommerce
    .product
    div.entry-summary
    .accordion
    table.shop_attributes
    td {
    width: 100%;
    padding: 0;
    text-align: left;
  }
}
