
/**
 * ECA - FOOTER PREVIEW
 * Theme: ecanja.253
 */

#eca-footer-preview {
    --eca-footer-bg: #026873;
    --eca-footer-text: #ffffff;

    width: 100%;
    background: var(--eca-footer-bg);
    color: var(--eca-footer-text);
    padding: 42px 30px 0;
    box-sizing: border-box;
}

#eca-footer-preview *,
#eca-footer-preview *::before,
#eca-footer-preview *::after {
    box-sizing: border-box;
}

/* CONTENIDOR */

#eca-footer-preview .eca-footer-container {
    max-width: 980px;
    margin: 0 auto;
}

/* LOGOTIP SUPERIOR */

#eca-footer-preview .eca-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 65px;
}

#eca-footer-preview .eca-footer-line {
    height: 1px;
    background: rgba(255,255,255,.7);
    flex: 1;
}

#eca-footer-preview .eca-footer-logo {
    flex: 0 0 auto;
    text-align: center;
}

#eca-footer-preview .eca-footer-logo img {
    display: block;
    width: auto;
    max-width: 280px;
    max-height: 125px;
}

#eca-footer-preview .eca-footer-site-name {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

/* ESTRUCTURA PRINCIPAL */

#eca-footer-preview .eca-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 55px;
    align-items: start;
    padding-bottom: 65px;
}

/* MENÚ DE NAVEGACIÓ */

#eca-footer-preview .eca-footer-navigation {
    min-width: 0;
}



#eca-footer-preview .eca-footer-menu-list a {
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    border: 0;
    white-space: normal;
}

#eca-footer-preview .eca-footer-menu-list a:hover,
#eca-footer-preview .eca-footer-menu-list a:focus {
    color: #fff;
    text-decoration: underline;
}

/* SUBMENÚS */



#eca-footer-preview .eca-footer-menu-list .sub-menu li {
    margin-bottom: 10px;
}

#eca-footer-preview .eca-footer-menu-list .sub-menu a {
    font-weight: 400;
}

/* WIDGET DRET */

#eca-footer-preview .eca-footer-sidebar {
    min-width: 0;
}

#eca-footer-preview .eca-footer-sidebar .widget {
    float: none;
    width: 100%;
    margin: 0 0 35px;
    padding: 0;
    color: #fff;
    background: transparent;
}

#eca-footer-preview .eca-footer-sidebar h2,
#eca-footer-preview .eca-footer-sidebar h3,
#eca-footer-preview .eca-footer-sidebar h4,
#eca-footer-preview .eca-footer-sidebar .widgettitle {
    color: #fff;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 24px;
    padding: 0;
    text-transform: none;
}

#eca-footer-preview .eca-footer-sidebar p,
#eca-footer-preview .eca-footer-sidebar label,
#eca-footer-preview .eca-footer-sidebar li {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

#eca-footer-preview .eca-footer-sidebar a {
    color: #fff;
}

#eca-footer-preview .eca-footer-sidebar a:hover {
    text-decoration: underline;
}

/* FRANJA INFERIOR */

#eca-footer-preview .eca-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.6);
    padding: 24px 0;
}

#eca-footer-preview .eca-footer-legal {
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}

/* TABLET */

@media (max-width: 989px) {

    #eca-footer-preview .eca-footer-main {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    #eca-footer-preview .eca-footer-menu-list {
        columns: 3;
    }

    #eca-footer-preview .eca-footer-sidebar {
        max-width: 450px;
    }
}

/* MÒBIL */

@media (max-width: 767px) {

    #eca-footer-preview {
        padding: 35px 20px 0;
    }

    #eca-footer-preview .eca-footer-brand {
        gap: 15px;
        margin-bottom: 40px;
    }

    #eca-footer-preview .eca-footer-logo img {
        max-width: 175px;
    }

    #eca-footer-preview .eca-footer-site-name {
        font-size: 21px;
    }

    #eca-footer-preview .eca-footer-main {
        display: block;
        padding-bottom: 40px;
    }

    #eca-footer-preview .eca-footer-menu-list {
        columns: 2;
        column-gap: 25px;
        margin-bottom: 45px;
    }

    #eca-footer-preview .eca-footer-menu-list a {
        font-size: 13px;
    }

    #eca-footer-preview .eca-footer-sidebar h2,
    #eca-footer-preview .eca-footer-sidebar h3 {
        font-size: 24px;
    }

    #eca-footer-preview .eca-footer-bottom {
        padding: 20px 0;
    }
}

@media (max-width: 420px) {

    #eca-footer-preview .eca-footer-menu-list {
        columns: 1;
    }
}


/**
 * FIX - Amplades del footer
 */

#eca-footer-preview .eca-footer-container {
    display: block !important;
    width: 100% !important;
    max-width: 1170px !important;
    margin: 0 auto !important;
    float: none !important;
}

#eca-footer-preview .eca-footer-brand {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

#eca-footer-preview .eca-footer-main {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) !important;
    float: none !important;
}

#eca-footer-preview .eca-footer-navigation,
#eca-footer-preview .eca-footer-sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    float: none !important;
}


/* =====================================
   FOOTER - MENU EN COLUMNES
===================================== */

#eca-footer-preview .eca-footer-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

#eca-footer-preview .eca-footer-menu-column {
    min-width: 0;
}

/* TÍTOLS DE COLUMNA */

#eca-footer-preview .eca-footer-menu-title {
    color: #fff;
    font-size: 14px !important;
    line-height: 1.4;
    font-weight: 700 !important;
    margin: 0 0 15px;
    padding: 0;
    text-transform: none;
}

/* LLISTA D'ENLLAÇOS */

#eca-footer-preview .eca-footer-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#eca-footer-preview .eca-footer-menu-links li {
    display: block;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

/* ENLLAÇOS */

#eca-footer-preview .eca-footer-menu-links a {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    text-decoration: none;
}

#eca-footer-preview .eca-footer-menu-links a:hover {
    color: #fff;
    text-decoration: underline !important;
}

/* TABLET */

@media (max-width: 989px) {

    #eca-footer-preview .eca-footer-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

}

/* MÒBIL */

@media (max-width: 767px) {

    #eca-footer-preview .eca-footer-menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


/* =====================================
   FOOTER - WIDGET CONTACT
===================================== */

/* Text del widget */
#eca-footer-preview .eca-footer-sidebar p {
    margin: 0 0 12px;
    line-height: 1.6;
}

/* Enllaços del text */
#eca-footer-preview .eca-footer-sidebar a {
    color: #fff;
    text-decoration: none;
}

#eca-footer-preview .eca-footer-sidebar a:hover {
    text-decoration: underline;
}

/* Icones socials d'Enfold */
#eca-footer-preview .eca-footer-sidebar .av_font_icon {
    display: inline-block;
    float: none;
    vertical-align: middle;
    margin: 0 8px 8px 0;
    padding: 0;
    line-height: 1;
}

/* Mida i alineació de les icones */
#eca-footer-preview .eca-footer-sidebar .av_font_icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Eliminar espais interns d'Enfold */
#eca-footer-preview .eca-footer-sidebar .av-icon-char {
    margin: 0;
    padding: 0;
}

/* Mòbil */
@media (max-width: 767px) {

    #eca-footer-preview .eca-footer-sidebar {
        width: 100%;
    }

    #eca-footer-preview .eca-footer-sidebar .av_font_icon {
        margin-right: 10px;
    }
}

.av_font_icon.av-av_font_icon-fd1f5a8d151f2fa171896c47ce746972 .av-icon-char,
.av_font_icon.av-av_font_icon-9f1e26857d569d42e1a1ee36581ac5f6 .av-icon-char,
.av_font_icon.av-av_font_icon-9f1e26857d569d42e1a1ee36581ac5f6 .av-icon-char,
.av_font_icon.av-av_font_icon-9f1e26857d569d42e1a1ee36581ac5f6 .av-icon-char,
.av_font_icon.av-av_font_icon-232562563749fb9cb077a4e0607a51db .av-icon-char,
.av_font_icon.av-av_font_icon-22e0a8d74fde6bff0998e644159794d8 .av-icon-char{
    font-size: 20px !important;
}


/* ====================================
   FOOTER NEWSLETTER
==================================== */

.eca-footer-newsletter {
    color: #fff;
    width: 100%;
    max-width: 360px;
}

.eca-newsletter-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 24px;
}

.eca-newsletter-description {
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 22px;
    color: #fff;
}

/* ====================================
   GRAVITY FORMS
==================================== */

.eca-newsletter-form .gform_wrapper {
    width: 100%;
}

/* Variables de Gravity Forms Orbital */

.eca-newsletter-form .gform-theme--framework {
    --gf-ctrl-bg-color: transparent;
    --gf-ctrl-bg-color-focus: transparent;
    --gf-ctrl-bg-color-hover: transparent;
    --gf-ctrl-text-color: #fff;
    --gf-ctrl-border-color: rgba(255,255,255,.65);
    --gf-ctrl-font-size: 15px;
    --gf-ctrl-radius: 0;
}

/* Distribució vertical */

.eca-newsletter-form .gform_fields {
    row-gap: 20px;
}

/* Labels dels camps */

.eca-newsletter-form .gfield_label {
    color: #fff !important;
    font-size: 14px;
    font-weight: 400;
}

/* Email i desplegable */

.eca-newsletter-form input[type="email"],
.eca-newsletter-form select {
    width: 100%;
    min-height: 42px;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.7) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    padding: 8px 0 !important;
    font-size: 15px;
}

/* Placeholder */

.eca-newsletter-form input::placeholder {
    color: #fff;
    opacity: 1;
}

/* Focus */

.eca-newsletter-form input:focus,
.eca-newsletter-form select:focus {
    outline: none;
    border-bottom-color: #fff !important;
    box-shadow: none !important;
}

/* Opcions del desplegable */

.eca-newsletter-form select option {
    color: #222;
    background: #fff;
}

/* Consentiment */

.eca-newsletter-form .gfield--type-consent {
    margin-top: 10px;
}

.eca-newsletter-form .ginput_container_consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.eca-newsletter-form
.ginput_container_consent input[type="checkbox"] {
    accent-color: #fff;
    flex-shrink: 0;
    margin-top: 3px;
}

.eca-newsletter-form .gfield_consent_label {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.4;
}

.eca-newsletter-form .gfield_consent_label a {
    color: #fff;
    text-decoration: underline;
}

/* Botó d'enviament */

.eca-newsletter-form .gform_footer {
    margin-top: 16px;
    padding: 0;
}

.eca-newsletter-form .gform_button {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.7) !important;
    border-radius: 0 !important;
    padding: 10px 18px !important;
    cursor: pointer;
    font-size: 15px;
}

.eca-newsletter-form .gform_button:hover {
    background: #fff !important;
    color: #4c806f !important;
}

/* Errors de validació */

.eca-newsletter-form .gfield_validation_message {
    color: #fff !important;
    font-size: 12px;
}

.eca-newsletter-form .gform_validation_errors {
    background: transparent;
    border-color: rgba(255,255,255,.7);
    color: #fff;
}

/* Confirmació */
 
.eca-newsletter-form .gform_confirmation_message {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive */

@media (max-width: 767px) {
    .eca-footer-newsletter {
        max-width: 100%;
    }

    .eca-newsletter-title {
        font-size: 26px;
    }
}

/* ====================================
   FOOTER NEWSLETTER
==================================== */

.eca-footer-newsletter {
    color: #fff;
    width: 100%;
    max-width: 360px;
}

.eca-newsletter-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 22px;
}

.eca-newsletter-description {
    font-size: 16px;
    line-height: 1.25;
    margin: 0 0 26px;
    color: #fff;
    max-width: 320px;
}

/* ====================================
   GRAVITY FORMS WRAPPER
==================================== */

.eca-newsletter-form .gform_wrapper,
.eca-newsletter-form .gform-theme--framework {
    width: 100%;
}

/* Treure estils massa "formulari estàndard" */
.eca-newsletter-form .gform_fields {
    row-gap: 22px;
}

/* ====================================
   OCULTAR REQUIRED
==================================== */

/* amaga "(Required)" i llegenda global */
.eca-newsletter-form .gfield_required,
.eca-newsletter-form .gform_required_legend,
.eca-newsletter-form .gfield_description.gfield_required,
.eca-newsletter-form .gfield .gfield_required_text {
    display: none !important;
}

/* ====================================
   LABELS
==================================== */

.eca-newsletter-form .gfield_label {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    line-height: 1.2;
}

/* Consent label propi */
.eca-newsletter-form .gfield--type-consent .gfield_label {
    margin-bottom: 10px !important;
}

/* ====================================
   INPUTS I SELECT
==================================== */

.eca-newsletter-form input[type="email"],
.eca-newsletter-form select {
    width: 100%;
    min-height: 44px;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.75) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    padding: 8px 36px 8px 0 !important;
    font-size: 14px !important;
    line-height: 1.2;
}

/* Placeholder */
.eca-newsletter-form input[type="email"]::placeholder {
    color: #fff !important;
    opacity: 1 !important;
}

/* Focus net */
.eca-newsletter-form input[type="email"]:focus,
.eca-newsletter-form select:focus {
    outline: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid #fff !important;
}

/* ====================================
   DROPDOWN: fer-lo semblar un desplegable
==================================== */

.eca-newsletter-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'><path fill='white' d='M8 10L0 0h16z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    background-size: 12px 8px !important;
}

/* a IE/antics */
.eca-newsletter-form select::-ms-expand {
    display: none;
}

/* Text de les opcions del dropdown */
.eca-newsletter-form select option {
    color: #222;
    background: #fff;
}

/* ====================================
   CONSENT
==================================== */

.eca-newsletter-form .gfield--type-consent {
    margin-top: 4px;
}

.eca-newsletter-form .ginput_container_consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.eca-newsletter-form .ginput_container_consent input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #fff;
}

.eca-newsletter-form .gfield_consent_label {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.eca-newsletter-form .gfield_consent_label a {
    color: #fff !important;
    text-decoration: underline !important;
}

/* ====================================
   BOTÓ
==================================== */

.eca-newsletter-form .gform_footer,
.eca-newsletter-form .gform-theme__footer {
    margin-top: 18px !important;
    padding: 0 !important;
}

.eca-newsletter-form .gform_button,
.eca-newsletter-form button[type="submit"] {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.8) !important;
    border-radius: 0 !important;
    padding: 10px 18px !important;
    font-size: 15px !important;
    line-height: 1.2;
    box-shadow: none !important;
}

.eca-newsletter-form .gform_button:hover,
.eca-newsletter-form button[type="submit"]:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

/* ====================================
   ERRORS / CONFIRMATION
==================================== */

.eca-newsletter-form .gfield_validation_message,
.eca-newsletter-form .validation_message {
    color: #fff !important;
    font-size: 12px !important;
    margin-top: 6px;
}

.eca-newsletter-form .gform_validation_errors {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #fff !important;
}

.eca-newsletter-form .gform_confirmation_message {
    color: #fff !important;
    font-size: 15px;
    line-height: 1.4;
}

#top .gform-field-label.gform-field-label--type-inline.gfield_consent_label{
    font-size: 14px !important;
}

/* ====================================
   FOLLOW US
==================================== */

.eca-footer-social {
    width: 100%;
    min-width: 0;
    color: #fff;
}

.eca-social-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
}

/* Contenidor */

.eca-social-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
}

/* Icona individual */

.eca-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 20px;
    height: 20px;
}

/* Shortcodes d'Enfold */

.eca-social-icon .av_font_icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eca-social-icon .av-icon-char {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

/* SVG manuals */

.eca-social-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #fff !important;
    text-decoration: none !important;
}

.eca-social-svg svg {
    display: block;
    width: 20px;
    height: 20px;
    color: #fff;
}

/* Hover */

.eca-social-icon:hover {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

/* Accessibilitat */

.eca-social-icon a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Responsive */

@media (max-width: 767px) {

    .eca-social-title {
        font-size: 25px;
    }

    .eca-social-links {
        gap: 10px;
    }

    .eca-social-icon {
        flex-basis: 24px;
        width: 24px;
    }

    .eca-social-icon .av-icon-char {
        font-size: 23px !important;
    }

    .eca-social-svg,
    .eca-social-svg svg {
        width: 23px;
        height: 23px;
    }
}

/* ============================================
   NEWSLETTER - GRAVITY FORMS VALIDATION
============================================ */

/* Evitar que el formulari es desbordi */

.eca-newsletter-form,
.eca-newsletter-form .gform_wrapper,
.eca-newsletter-form .gform-theme {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* ============================================
   AVÍS GENERAL
============================================ */

.eca-newsletter-form .gform_validation_errors {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 0 24px !important;
    padding: 12px 14px !important;

    background: transparent !important;
    border: 1px solid rgba(255, 190, 190, 0.9) !important;
    border-radius: 3px !important;

    box-shadow: none !important;

    color: #fff !important;
}

/* Títol del missatge general */

.eca-newsletter-form
.gform_validation_errors
.gform_submission_error {

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;

    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Evitar que la icona del tema deformi l'avís */

.eca-newsletter-form
.gform_validation_errors
.gform_submission_error::before {

    display: none !important;
}

/* Icones addicionals de validació */

.eca-newsletter-form
.gform_validation_errors
.gform-icon {

    display: none !important;
}

/* ============================================
   ERRORS DE CADA CAMP
============================================ */

.eca-newsletter-form
.gfield_validation_message,
.eca-newsletter-form
.validation_message {

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    margin: 5px 0 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    color: #ffd0d0 !important;

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* ============================================
   CAMPS AMB ERROR
============================================ */

/* No mostrar els errors amb fons blanc */

.eca-newsletter-form
.gfield_error {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Email amb error */

.eca-newsletter-form
.gfield_error input[type="email"] {

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid #ffb5b5 !important;

    color: #fff !important;
    box-shadow: none !important;
}

/* Dropdown amb error */

.eca-newsletter-form
.gfield_error select {

    background-color: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid #ffb5b5 !important;

    color: #fff !important;
    box-shadow: none !important;
}

/* Focus */

.eca-newsletter-form
.gfield_error input:focus,
.eca-newsletter-form
.gfield_error select:focus {

    outline: none !important;
    border-bottom-color: #fff !important;
}

/* ============================================
   LABELS I REQUIRED
============================================ */

/* Ocultar Required però mantenir validació */

.eca-newsletter-form .gfield_required,
.eca-newsletter-form .gform_required_legend {
    display: none !important;
}

/* Mantenir labels blancs */

.eca-newsletter-form .gfield_label {
    color: #fff !important;
}

/* ============================================
   ESPAIAT DESPRÉS DE VALIDACIÓ
============================================ */

.eca-newsletter-form .gform_fields {
    row-gap: 18px !important;
}

.eca-newsletter-form
.gfield_error .ginput_container {
    margin-bottom: 0 !important;
}

/* Evitar amplades inesperades d'Enfold */

.eca-newsletter-form
.gform_validation_errors * {
    max-width: 100%;
    box-sizing: border-box;
}

/* ============================================
   MOBILE
============================================ */

@media (max-width: 767px) {

    .eca-newsletter-form
    .gform_validation_errors {
        padding: 10px 12px !important;
        margin-bottom: 18px !important;
    }

    .eca-newsletter-form
    .gform_validation_errors
    .gform_submission_error {
        font-size: 12px !important;
    }

    .eca-newsletter-form
    .gfield_validation_message {
        font-size: 11px !important;
    }
}


/* ============================================
   FOOTER NOU - EU FUNDING
============================================ */

.eca-footer-eu {
    width: 100%;
    background-color: var(--enfold-socket-color-bg);
    padding: 45px 20px;
    box-sizing: border-box;
    clear: both;
}

/* Contenidor principal */

.eca-footer-eu-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* Contingut d'Enfold */

.eca-footer-eu .entry-content-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ============================================
   ELIMINAR LÍNIA SUPERIOR
============================================ */

/* Separador horitzontal d'Enfold */

.eca-footer-eu .hr,
.eca-footer-eu .hr-custom,
.eca-footer-eu .avia-builder-el-first.hr {
    display: none !important;
}

/* ============================================
   COLUMNES I ALINEACIÓ
============================================ */

/* Contenidor de les dues columnes */

.eca-footer-eu .flex_column_table {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 45px;
    width: 100%;
    margin: 0 !important;
}

/* Cada columna */

.eca-footer-eu .flex_column {
    float: none !important;
    margin: 0 !important;
    min-width: 0;
    flex: 1 1 0;
}

/* ============================================
   LOGOTIP UE
============================================ */

.eca-footer-eu .flex_column:first-child img {
    width: 100%;
    max-width: 330px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Centrar el contingut de la columna esquerra */

.eca-footer-eu .flex_column:first-child {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
}

/* ============================================
   TEXT LEGAL
============================================ */

.eca-footer-eu .flex_column:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eca-footer-eu .flex_column:last-child p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 767px) {

    .eca-footer-eu {
        padding: 35px 20px;
    }

    .eca-footer-eu .flex_column_table {
        flex-direction: column;
        align-items: center !important;
        gap: 25px;
    }

    .eca-footer-eu .flex_column {
        width: 100% !important;
        flex: none;
    }

    .eca-footer-eu .flex_column:first-child img {
        max-width: 260px;
    }

    .eca-footer-eu .flex_column:last-child p {
        font-size: 12px;
        line-height: 1.6;
        text-align: center;
    }
}


/* ==========================================
   eCAN PLUS - FOOTER RESPONSIVE
   Tablet + Mobile
========================================== */

/* Base: evitar desbordaments */
#eca-footer-preview,
#eca-footer-preview * {
    box-sizing: border-box;
}

#eca-footer-preview {
    width: 100%;
}

#eca-footer-preview .eca-footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#eca-footer-preview .eca-footer-main,
#eca-footer-preview .eca-footer-navigation,
#eca-footer-preview .eca-footer-sidebar,
#eca-footer-preview .eca-footer-menu-grid,
#eca-footer-preview .eca-footer-menu-column {
    min-width: 0;
}

#eca-footer-preview img,
#eca-footer-preview svg {
    max-width: 100%;
}

/* ==========================================
   TABLET (768px - 1024px)
========================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    #eca-footer-preview .eca-footer-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    #eca-footer-preview .eca-footer-main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 300px !important;
        gap: 35px;
        align-items: start;
    }

    #eca-footer-preview .eca-footer-menu-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 30px 20px;
    }

    #eca-footer-preview .eca-newsletter-title,
    #eca-footer-preview .eca-social-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
}

/* ==========================================
   MOBILE (fins a 767px)
========================================== */

@media (max-width: 767px) {

    /* Contenidor */
    #eca-footer-preview .eca-footer-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 35px 24px !important;
    }

    /* Logo superior */
    #eca-footer-preview .eca-footer-brand {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 40px;
    }

    #eca-footer-preview .eca-footer-logo {
        flex: 0 0 auto;
        width: 130px;
        max-width: 45%;
    }

    #eca-footer-preview .eca-footer-logo img {
        width: 100%;
        height: auto;
    }

    #eca-footer-preview .eca-footer-line {
        flex: 1;
        min-width: 0;
    }

    /* Menú i sidebar en una sola columna */
    #eca-footer-preview .eca-footer-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 45px !important;
        width: 100% !important;
    }

    #eca-footer-preview .eca-footer-navigation,
    #eca-footer-preview .eca-footer-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
    }

    /* Menú: una columna */
    #eca-footer-preview .eca-footer-menu-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
        width: 100% !important;
    }

    #eca-footer-preview .eca-footer-menu-column {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Títols del menú */
    #eca-footer-preview .eca-footer-menu-title {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
    }

    /* Enllaços */
    #eca-footer-preview .eca-footer-menu-links {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    #eca-footer-preview .eca-footer-menu-links li {
        margin-bottom: 12px;
    }

    #eca-footer-preview .eca-footer-menu-links a {
        font-size: 14px;
        line-height: 1.6;
        overflow-wrap: break-word;
    }

    /* Sidebar */
    #eca-footer-preview .eca-footer-sidebar {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px;
    }

    /* Newsletter */
    #eca-footer-preview .eca-footer-newsletter,
    #eca-footer-preview .eca-newsletter-form,
    #eca-footer-preview #gform_wrapper_7,
    #eca-footer-preview #gform_7 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* Títols newsletter i social */
    #eca-footer-preview .eca-newsletter-title,
    #eca-footer-preview .eca-social-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word;
        margin-bottom: 24px;
    }

    /* Camps Gravity Forms */
    #eca-footer-preview #gform_7 .gform_fields {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px;
        width: 100%;
    }

    #eca-footer-preview #gform_7 .gfield {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #eca-footer-preview #gform_7 select,
    #eca-footer-preview #gform_7 input[type="email"],
    #eca-footer-preview #gform_7 textarea {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Consentiment RGPD */
    #eca-footer-preview #gform_7
    .ginput_container_consent {
        display: flex !important;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    #eca-footer-preview #gform_7
    .ginput_container_consent input[type="checkbox"] {
        flex: 0 0 auto;
        width: 18px !important;
        height: 18px;
        margin: 3px 0 0;
    }

    #eca-footer-preview #gform_7
    .gfield_consent_label {
        flex: 1;
        min-width: 0;
        font-size: 13px;
        line-height: 1.6;
    }

    /* Botó */
    #eca-footer-preview #gform_7 .gform-footer {
        margin-top: 25px;
    }

    #eca-footer-preview #gform_submit_button_7 {
        width: auto !important;
        max-width: 100%;
        padding: 14px 28px;
    }

    /* Xarxes socials */
    #eca-footer-preview .eca-social-links {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        justify-content: flex-start;
        gap: 18px !important;
        width: 100%;
    }

    #eca-footer-preview .eca-social-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        margin: 0 !important;
    }

    #eca-footer-preview .eca-social-icon a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #eca-footer-preview .eca-social-svg svg {
        width: 26px;
        height: 26px;
    }

    /* Part inferior */
    #eca-footer-preview .eca-footer-bottom {
        width: 100%;
        margin-top: 40px;
        text-align: center;
    }
}

/* ==========================================
   MÒBILS PETITS
========================================== */

@media (max-width: 375px) {

    #eca-footer-preview .eca-footer-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    #eca-footer-preview .eca-newsletter-title,
    #eca-footer-preview .eca-social-title {
        font-size: 23px !important;
    }

    #eca-footer-preview .eca-social-links {
        gap: 14px !important;
    }
}

.avia-image-container.av-101nve0-32157cecf0ed44d42a9013167f49a6ed{
    margin-left: 0px !important;
    margin-top: 0px !important;
}


#socket .container{
    padding: 5px !important;
    padding-top: 15px !important;
}

#socket .container {
    max-width: 980px !important;
}

#top .gform_wrapper .gfield_checkbox li label{
    font-size: 15px !important;
}