/* imatges icones*/
.img-icones {
	width:100px;
}
/* seccions inici*/
.padding-100 {
	padding: 10% 5%;
}
.padding-20-5 {
    padding: 20px 5%;
}
.img-overlay {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(100%) contrast(100%) saturate(100%) blur(0px);
}
.img-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.65;
}
.imatge-inici-1{
	background-image: url(https://fundacioseira.coop/wp-content/uploads/2025/10/instruments-inversio.jpg);
}
.imatge-inici-1::before {
    background-color: var(--accent)
}
.imatge-inici-2{
	background-image: url(https://fundacioseira.coop/wp-content/uploads/2025/10/Formacio-Seira.jpeg);
}
.imatge-inici-2::before {
    background-color: var(--accent-3)
}
.imatge-inici-3{
	background-image: url(https://fundacioseira.coop/wp-content/uploads/2025/11/seira.orientacio-financera.jpeg);
}
.imatge-inici-3::before {
    background-color: var(--accent)
}
.img-overlay ::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.65;
}
/* Nosaltres*/
.imatges-3 img {
	height: 300px !important;
	object-fit: cover
}
.box-col-2 .ult-content-box {
    display: flex;
    gap: 25px;
}

/* */
.element {
	display: flex;
	gap: 10px;
    align-items: center;
}
.element::before {
  content: "\f0a9";
  font-family: "Font Awesome 7 Pro";
  color: var(--accent-3);
  margin-right: 8px; 
}
.background-image {
    background-image: url(https://fundacioseira.coop/wp-content/uploads/2025/11/seira-fondo-2.png);
    background-repeat: no-repeat;
    background-size: cover;
}
/* */

.width-55 {
	width: 55% !important;
}
.width-45 {
	width: 45% !important;
}

/*
 Theme Name:   MAD - GeneratePress
 Theme URI:    https://generatepress.com
 Description:  Client version on GeneratePrees
 Author:       MP
 Template:     generatepress
 Version:      0.2
 Text Domain:  mad
*/
/************************************************************************ GENERAL *************************************************************************/
/* vc_hidden-lg vc_hidden-md vc_hidden-sm vc_hidden-xs */

/*ocultar copy predet.*/
footer.site-info {
    display: none;
}
/*ocultar aviso dev WPML*/
.otgs-development-site-front-end {
    display: none !important;
}
/*Selector WPML nav-list*/
.wpml-ls-menu-item a {
  padding: 5px !important;
  font-size: 0.7em !important;
}
.grecaptcha-badge {
    display: none !important;
}
/* Flex*/
.flex-junt {
    display: flex;
    justify-content: flex-start; 
    align-items: center;         
    gap: 0;                      
}
/*Back to top*/
.generate-back-to-top {
    right: 5px !important;
    bottom: 50px !important;
}
/*Colores*/
.color-blanco, .color-blanco * {
  color: #fff;
}
.color-accent{
    color:var(--accent);
}
.color-accent-3{
    color:var(--accent-3);
}
.color-base{
    background: var(--base);
}
/* Colores background*/
.bg-accent {
    background: var(--accent);
}
.bg-accent-2 {
    background: var(--accent-2);
}
.bg-accent-3 {
    background: var(--accent-3);
}
/* buttons*/

            /********** Botones **********/
            .btn-center p {
                text-align: center;
            }
            .btn-center a {
                margin: 0 auto;
            }
            .btn-right a {
                margin-left: auto;
            }
.btn-main a {
    text-decoration: none;
    width: fit-content;
    padding: 3px 30px;
    display: block;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
    transform-origin: center;
    font-size: 16px;
}

.btn-main a:hover {
    cursor: pointer;
}

/* BOTÓN ACCENT */
.btn-accent a,
.btn-accent a:active,
.btn-accent a:focus {
    color: #fff;
    background: var(--accent);
    text-decoration: none;
}

.btn-accent a:hover {
    background: var(--accent-3);
    transform: scale(1.07);
    color: #fff;
}

/* BOTÓN ACCENT-2 (idéntico, solo cambia el color inicial) */
.btn-accent-2 a,
.btn-accent-2 a:active,
.btn-accent-2 a:focus {
    color: #fff;
    background: var(--accent-2);
    text-decoration: none;
}

.btn-accent-2 a:hover {
    background: var(--accent-3);
    transform: scale(1.07);
    color: #fff;
}
/* BOTÓN ACCENT-3 (idéntico, solo cambia el color inicial) */
.btn-accent-3 a,
.btn-accent-3 a:active,
.btn-accent-3 a:focus {
    color: #fff;
    background: var(--accent-3);
    text-decoration: none;
}

.btn-accent-3 a:hover {
    background: var(--accent);
    transform: scale(1.07);
    color: #fff;
}
/*Tamaños*/
.txt-26{
	font-size: 26px;
}
.txt-20{
	font-size: 20px;
}
.txt-17{
	font-size: 17px;
}
.txt-16{
	font-size: 16px;
}
.txt-15{
	font-size: 15px;
}
.txt-14{
	font-size: 14px;
}
.txt-12{
	font-size: 12px;
}
/* Márgenes */
.mg-bot-0{
	margin-bottom: 0 !important;
}
.mg-bot-5{
	margin-bottom: 5px !important;
}
.mg-bot-15{
	margin-bottom: 15px !important;
}
.mg-20 {
	margin: 20px;
}
/* Padding*/
.pg-50{
	padding: 50px;
}
.pg-30{
	padding: 30px;	
}
.pg-20{
	padding: 20px;	
}
.pg-10{
	padding: 10px;	
}
/********** Alinear elementos **********/
/* mad_center-sm */
/* mad_left-sm */
/* mad_left-xs */
/* mad_center-xs */
.mad-justify{
    text-align: justify !important;
}
/********** Secciones **********/
section.vc_section {
    /* padding-top: 50px; */
    padding-bottom: 50px;
}

section.section-top-0{
	padding-top: 0;
}
section.section-bot-35{
	padding-bottom: 35px;
}

/* .vc_section:first-of-type {
    padding-top: 0;
}
.vc_section:last-of-type{
	padding-bottom: 0;
}
.vc_section:last-of-type .wpb_content_element:last-of-type{
	margin-bottom: 0 !important;
} */
    .columnas-L.vc_col-sm-6 {
        width: 49%;
        margin-right: 1%;
    }
    .columnas-R.vc_col-sm-6 {
        width: 49%;
        margin-left: 1%;
    }
.entry-title{
    display: flex;
    gap: 20px;
    align-items: center;
	color: var(--acent);
}
h1.entry-title:before {
    content: "";
    background: url(https://fundacioseira.coop/wp-content/uploads/2026/03/seira-form.png);
    display: block;
    width: 100px;
    height: 50px;
    background-size: cover;
}
.titol-principal{
    color: var(--accent);
    text-transform: inherit;
    font-weight: 500;
}
.etiqueta-principal{
    display: flex;
    align-items: center;
    gap: 30px;
}
.etiqueta-principal:before {
    content: "";
    background: url(https://fundacioseira.coop/wp-content/uploads/2026/03/seira-form.png);
    display: inline-block;
    width: 100px;
    height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
}
.link-lila a {
    display: inline-block;
    color: var(--accent-3);
    border-bottom: 1px solid;
    padding-bottom: 5px;
    transition: transform 0.2s ease, color 0.2s ease;
    transform-origin: center;
}

.link-lila a:hover {
    color: var(--accent-2);
    transform: scale(1.1);
}

/************************************************************************ HEADER *************************************************************************/
.site-header {
    z-index: 2;
}
#secondary-navigation {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    z-index: 2;
    position: relative;
}
#sticky-navigation {
    background: var(--accent);
}
.inside-header{
    padding-top: 10px !important;
    padding-bottom : 10px !important;
}
.secondary-nav-below-header .secondary-navigation .inside-navigation.grid-container, .secondary-nav-above-header .secondary-navigation .inside-navigation.grid-container {
    padding: 0 40px !important;
}
.main-navigation .main-nav ul ul li a {
    border-bottom: 1px solid #009fff1f;
}
/************************************************************************ NAV *************************************************************************/

.main-navigation .menu-bar-item>a {
    padding-right: 0 !important;
}
.slideout-navigation.main-navigation .main-nav ul ul li a {
    color: var(--contrast) !important;
    background: var(--accent) !important;
    line-height: 1;
    padding: 0;
}
.slideout-navigation.do-overlay .menu-item-has-children .dropdown-menu-toggle {
    border: none !important;
    padding: 0 !important;
}
.slideout-navigation .sub-menu li{
    height: 25px !important;
}
/************************************************************************ HOME *************************************************************************/
.video-home .ultv-video {
    border: 3px solid white;
    border-radius: 30px;
    overflow: hidden;
}

/************************************************************************ NOSALTRES *************************************************************************/
.img-personal {
    margin-bottom: 10px !important;
}
.img-personal img {
    height: 340px !important;
    width: 250px;
    object-fit: cover;
}
.nom-personal {
    margin-bottom: 10px !important;
    color: var(--accent);
    font-size: 22px;
}
.text-personal {
    font-size: 14px;
    max-width: 75%;
}
/************************************************************************ ORIENTACIÓ FINANCERA *************************************************************************/
.orientacio-financera .element,
.financoop .element {
    display: flex;
    gap: 5px;
    align-items: center;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 500;
}
.financoop .element {
    color: var(--contrast);
}
/************************************************************************ MEMÒRIES *************************************************************************/
 .ult_tabcontent {
    box-shadow: 0 0 10px #d5d5d5;
}
.tabs-estilo-1 .ult_tabcontent.style2 {
    padding: 0 !important;
}
.tabs-estilo-1 .ult_tabitemname {
    padding-top: 50px;
    text-align: center;
}
.tabs-estilo-1 .wpb_text_column.wpb_content_element {
    margin-bottom: 30px !important
}
/************************************************************************ CONTACTE *************************************************************************/
.box-contacte-cards .ult-content-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.box-contacte-cards .wpb_content_element {
    margin-bottom: 0;
    padding: 0 10%;
}
.wpforms-submit-container {
    text-align: right;
}
/************************************************************************ LEGALS *************************************************************************/
.titol-legals h1 {
    font-size: 38px;
    color: var(--accent);
}
.deco-titol-legals img {
    max-height: 150px;
    width: auto;
}



/************************************************************************ NOTICIES GRID *************************************************************************/
.general-archive-title {
    margin: 50px 0 !important;
}

/* Grid de archive general */
.general-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Tarjeta individual */
.general-archive-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px #d9d7d7;
    position: relative; /* para que la etiqueta de categoría se posicione */
}

/* Imagen de la tarjeta */
.general-card-image img {
    width: 100%;
    display: block;
    height: 200px !important;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.general-card-image img:hover {
    filter: brightness(1);
}

/* Título de la tarjeta */
.general-card-title {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
    padding: 0 20px;
}

.general-card-title a {
    color: var(--accent-3);
    text-decoration: none;
}

/* Extracto debajo del título */
.general-card-excerpt {
    padding: 0 20px 20px 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

/* Etiqueta de categoría */
.general-card-category {
    position: absolute;
    right: 15px;
    top: 15px;
    background: var(--accent-3);
    padding: 0px 10px;
    color: #fff;
    font-size: 14px;
    z-index: 1;
}
/************************************************************************ CONVERSES AMB IMPACTE GRID *************************************************************************/
.archive-projectes-title {
    margin: 50px 0 !important;
}
/* Grid de proyectos */
.projectes-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.projectes-archive-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 10px #d9d7d7;
}

.projectes-card-image img {
    width: 100%;
    display: block;
    height: 200px !important;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}
.projectes-card-image img:hover {
    filter: brightness(1);
}

.projectes-card-title a {
    color: var(--accent-3);
}

.projectes-card-title {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
    padding: 0 20px;
}
.projectes-card-category {
    position: absolute;
    right: 15px;
    top: 15px;
    background: var(--accent-3);
    padding: 0px 10px;
    color: #fff;
    font-size: 14px;
    z-index: 1;
}
.projectes-archive-card {
    position: relative; /* para que la etiqueta se posicione sobre la tarjeta */
}
/************************************************************************ CONVERSES AMB IMPACTE SINGLE *************************************************************************/
.projectes-featured-image {
    width: 100vw;          /* ancho de la ventana completa */
    position: relative;
    left: 50%;             /* centrado */
    right: 50%;
    margin-left: -50vw;    /* ajusta para que ignore el padding del body */
    margin-right: -50vw;
    position: relative;
}

.projectes-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -50px;
    max-height: 420px;
    object-fit: cover;
}
.projectes-featured-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #009fffbf;
    pointer-events: none;
}
/* Solo posts de la categoría projectes */
.category-projectes #content {
    padding-top: 0;
}
h1.projectes-post-title {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 15px;
}
.projectes-impact-label
 {
    font-size: 22px;
    color: var(--accent);
}
.acf-objecte-wrapper {
    background: var(--accent-3);
    padding: 20px;
    margin-bottom: 32px;
    color: #fff;
}
.acf-tipus-wrapper {
    background: var(--accent);
    padding: 20px;
    margin-bottom: 32px;
    color: #fff;
}
.acf-objecte-label,
.acf-tipus-label {
    font-size: 22px;
}
/************************************************************************ PROJECTES INVERTITS GRID *************************************************************************/
.mad_projectes-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 50px;
	width: 100%;
}

.mad_projecte-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.mad_projecte-logoWrap{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}
.mad_projecte-logoWrap:hover {
    filter: grayscale(0);
}
.mad_projecte-logo{
	height: 50px;
	width: auto;
	display: block;
}

.mad_projecte-logoPlaceholder{
	font-size: 60px;
	line-height: 1;
}

.mad_projecte-entitatLink,
.mad_projecte-entitatText{
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
}

/* Tooltip */
.mad_projecte-tooltip{
	position: absolute;
	left: 50%;
	bottom: calc(100% + 12px);
	transform: translateX(-50%);
	width: auto;           /* ancho se ajusta al contenido */
	min-width: 200px;      /* ancho mínimo opcional */
	max-width: 90vw;       /* nunca se salga de la pantalla */
	z-index: 50;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease, visibility .2s ease;
}

.mad_projecte-tooltipCard{
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 12px 40px rgba(0,0,0,.15);
	text-align: left;
	display: inline-block;
	white-space: nowrap; 
    font-size: 14px;
    line-height: 1;
}


.mad_projecte-logoWrap:hover .mad_projecte-tooltip{
	opacity: 1;
	visibility: visible;
}


.mad_projecte-row{
	margin-bottom: 10px;
}

.mad_projecte-row:last-child{
	margin-bottom: 0;
}

.mad_projecte-label{
	font-weight: 600;
    color: var(--accent);
}

.mad_projecte-value{
	margin: 0;
    font-weight: 500;
}
.mad_projecte_row_flex {
    display: flex;
    align-items: center;
    gap: 5px;
}
.mad_projecte-ods{
	display: inline-flex; 
	gap: 4px;
	align-items: center; 
}
.mad_projecte-odsIcon{
	width: 20px;
	height: 20px;
}
/* Modal móvil */
.mad_projecte-modal{
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.mad_projecte-modal.is-open{
	display: block;
}

.mad_projecte-modalOverlay{
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.55);
}

.mad_projecte-modalCard{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(92vw, 420px);
	background: #fff;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.mad_projecte-modalClose{
	position: absolute;
	top: 10px;
	right: 10px;
	border: 0;
	background: transparent;
	font-size: 20px;
	cursor: pointer;
}

.mad_projecte-modalContent{
	padding-top: 18px;
	text-align: left;
}
/************************************************************************ FOOTER *************************************************************************/
/* .mad_footer-marcador {
    background: url(https://dev.appv83.madsys.com/fundacioseira/wp-content/uploads/2026/02/marcador.png) no-repeat;
    background-size: contain;
    height: 80px;
    width: 100%;
    position: absolute;
    margin-top: -80px;
} */

.site-footer{
    /* background: var(--accent); */
    color: #fff;
}
#mad-footer{
    max-width: 1360px;
    padding: 40px;
    margin-left: auto;
    margin-right: auto;

}
.logo-seira-ft  {
    margin-bottom: 10px !important;
}
.logo-seira-ft img {
    max-width: 200px !important;
}
.txt-ft-descripcio {
    max-width: 350px;
}
.menu-ft-legales {
    font-size: 14px;
    line-height: 1.8;
}
.box-ft-contacte a {
    color: #fff;
}
.box-ft-contacte .ult-content-box {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    margin-bottom: 5px !important;
}
.box-rrss-ft{
    margin-top: 30px;
}
.box-rrss-ft .ult-content-box {
    display: flex;
    gap: 10px;
    font-size: 16px;
}
.box-rrss-ft a {
    color: #fff;
    background: #67affc;
    padding: 5px;
}
.box-rrss-ft .wpb_content_element{
    margin-bottom: 0 !important;
}
.box-ft-contacte .wpb_content_element{
    margin-bottom: 0;
}
#mad-copyright {
    max-width: 1360px;
    padding-left: 40px;
    padding-right: 40px;
	padding-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#mad-copyright .wpb_content_element {
    margin-bottom: 0 !important;
}
.logo-febea-ft img{
    width: 100px !important;
}
.box-logos-ft img {
    max-height: 40px;
    width: auto;
}
.box-logos-ft-2 img {
    max-height: 50px;
    width: auto;
}
.box-logos-ft-3 img {
    max-height: 70px;
    width: auto;
}
.box-logos-ft .ult-content-box,
.box-logos-ft-2 .ult-content-box,
.box-logos-ft-3 .ult-content-box  {
    display: flex;
    gap: 20px;
    margin-bottom: 40px !important;
    justify-content: space-between;
    align-items: center;
}
/* Primer item dentro del flex */
.box-logos-ft .ult-content-box > :first-child,
.box-logos-ft-2 .ult-content-box > :first-child,
.box-logos-ft-3 .ult-content-box > :first-child {
    flex: 0 0 25%; /* no crece, no se encoje, ancho fijo al 25% */
}