/*
 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;
}
/*Back to top*/
.generate-back-to-top {
    right: 5px !important;
    bottom: 15px !important;
}
/*Colores*/
.color-blanco, .color-blanco * {
  color: #fff;
}
.color-accent *{
    color:var(--accent) !important;
}
.color-base{
    background: var(--base);
}
.bg-2a{
    background: #d9e4ea;
}
/*Tamaños*/
.txt-48{
	font-size: 48px;
    line-height: 1.2;
}
.txt-26{
	font-size: 26px;
}
.txt-22{
	font-size: 22px;
}
.txt-20{
	font-size: 20px;
}
.txt-16{
	font-size: 16px;
}
.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;
}
.pad-left-30 {
    padding-left: 30px;
}
/********** Alinear elementos **********/
/* mad_center-sm */
/* mad_left-sm */
/* mad_left-xs */
/* mad_center-xs */
.mad-justify{
    text-align: justify !important;
}

/********** Botones **********/
.btn-center p {
    text-align: center;
}
.btn-center a {
    margin-left: auto;
    margin-right: auto;
}
.btn-main a {
    padding: 12px 32px;
    display: block;
    width: fit-content;
    border-radius: 15px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.5s ease, color 0.5s ease;
	text-decoration: none;
}
.btn-main a:hover {
    cursor: pointer;
}
.btn-accent a,
.btn-accent a:active,
.btn-accent a:focus{
    background: var(--accent);
    color: #fff;
	text-decoration: none;
}
.btn-accent a:hover{
    color: var(--accent-4);
}
.btn-outlined-white a{
    padding: 12px 32px;
    display: block;
    width: fit-content;
    border-radius: 15px;
    border: 2px solid #fff;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.5s ease, color 0.5s ease;
	text-decoration: none;
    color: #fff;
}
.btn-outlined-white a:hover,
.btn-outlined-white a:active,
.btn-outlined-white a:focus{
    color: var(--accent-4);
}

.btn-outlined a{
    padding: 12px 32px;
    display: block;
    width: fit-content;
    border-radius: 15px;
    border: 2px solid var(--accent);
    text-align: center;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.5s ease, color 0.5s ease;
	text-decoration: none;
    color: var(--accent);
}
.btn-outlined a:hover,
.btn-outlined a:active,
.btn-outlined a:focus{
    color: var(--accent-2);
}
/********** Secciones **********/
section.vc_section {
    padding-top: 40px;
    padding-bottom: 40px;
}

section.section-top-0{
	padding-top: 0;
}
section.section-bottom-0{
	padding-bottom: 0;
}
/* .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;
} */

.box-center .ult-content-box {
    display: flex;
    align-items: center;
}
.gap-30 .ult-content-box{
    gap: 30px;
}
.b-rad-15 {
    border-radius: 15px;
    overflow: hidden;
}
.max-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Banner */
.seccio-banner {
    background: linear-gradient(45deg, #7E57C2, #004265);
    color: #fff;
}

.imatge-banner img {
    border-radius: 15px;
    width: 300px;
}
.seccio-banner h5 {
    font-size: 30px;
}
.seccio-banner .wpb_content_element {
    margin-bottom: 0;
}
/* Reproductor videos YT */
.ult-video {
    margin: 0 !important;
}
/************************************************************************ HEADER *************************************************************************/

nav#secondary-navigation {
    padding-top: 10px;
    padding-bottom: 10px;
}
.secondary-nav-below-header .secondary-navigation .inside-navigation.grid-container, .secondary-nav-above-header .secondary-navigation .inside-navigation.grid-container {
    padding: 0 40px !important;
}


/************************************************************************ NAV *************************************************************************/

.main-navigation .menu-bar-item>a {
    padding-right: 20px 0 !important;
}
nav#secondary-navigation ul {
    margin-right: 20px;
}
nav#secondary-navigation {
    margin-bottom: -40px;
    z-index: 10000;
    position: relative;
    background: unset !important;
	padding-top: 15px;
}

/************************************************************************ HOME *************************************************************************/
.box-destacado {
    background: #d9e4ea;
    border-radius: 15px;
    height: 100%;
    padding: 20px !important;
}
.box-destacado-2 {
    background: #dbeeea;
    border-radius: 15px;
    height: 100%;
    padding: 20px !important;
}
.box-destacado-3 {
    background: #f9dfda;
    border-radius: 15px;
    height: 100%;
    padding: 20px !important;
}
.col-dos-columnas {
    width: 48% !important;
    margin-left: auto;
    margin-right: auto;
    height: auto;
}
.icono-diferents p {
    display: flex;
    align-items: center;
    gap: 20px;
}
.icono-diferents p:before {
    content: "\f672";
    font-family: 'Font Awesome 6 Pro';
    font-size: 30px;
    display: block;
    color: var(--accent-2);
}
.video-home .ultv-video__outer-wrap img {
    height: 110%;
}

/************************************************************************ SERVEIS *************************************************************************/
.icono-target p {
    display: flex;
    align-items: center;
    gap: 15px;
}
.icono-target p:before {
    content: "\f140";
    font-family: 'Font Awesome 6 Pro';
    font-size: 30px;
    display: block;
    color: var(--accent-2);
}

/* Acordeó serveis */
.tabs-serveis .vc_tta-panel-body {
    padding: 0 0 20px 0 !important;
}
.tabs-serveis strong {
    font-weight: 500;
}
.tabs-serveis h3 {
    line-height: 1.5em;
}
.vc_tta-panel-heading {
    background: transparent !important;
}
.tabs-serveis span.vc_tta-title-text,
.tabs-serveis i.vc_tta-controls-icon {
    color: #fff;
}

.vc_tta-color-white.vc_tta-style-classic .vc_tta-controls-icon::before,
.vc_tta-color-white.vc_tta-style-classic .vc_tta-controls-icon::after{
    border-color: unset !important;
}

#servei-direccio-proposit,
#servei-persones,
#servei-entorn{
    margin-bottom: 40px;
}
#servei-direccio-proposit h3 a:after {
    content: "Com ens dirigim cap l'impacte que volem generar?";
    display: block;
    font-size: 18px;
    color: #fff;
    padding-top: 15px;;
}
#servei-persones h3 a:after {
    content: "Com ens dirigim cap l'impacte que volem generar?";
    display: block;
    font-size: 18px;
    color: #fff;
    padding-top: 15px;;
}
#servei-entorn h3 a:after {
    content: "Com ens dirigim cap l'impacte que volem generar?";
    display: block;
    font-size: 18px;
    color: #fff;
    padding-top: 15px;;
}
#servei-direccio-proposit .vc_tta-panel-heading {
    background: var(--accent-2) !important;
    padding: 20px 0 30px 0 !important;
    border-radius: 15px;
}
#servei-persones .vc_tta-panel-heading {
    background: var(--accent-4) !important;
    padding: 20px 0 30px 0 !important;
    border-radius: 15px;
}
#servei-entorn .vc_tta-panel-heading {
    background: var(--accent-3) !important;
    padding: 20px 0 30px 0 !important;
    border-radius: 15px;
}

.serveis-contenedor ul.slick-dots {
    padding-top: 30px;
}

.carusel-servei .box-destacado,
.carusel-servei .box-destacado-2,
.carusel-servei .box-destacado-3 {
    min-height: 380px !important;
}
.tabs-serveis h3 {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
.tab-dimensio .vc_tta-panel-heading h3:before {
    content: "";
    background: url(https://impacta360.cat/wp-content/uploads/2025/06/colectic-icones-impacta360-v3-bruixola-bn-1.png);
    display: block;
    margin-left: 20px;
    width: 40px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
}
.tab-persones .vc_tta-panel-heading h3:before {
    content: "";
    background: url(https://impacta360.cat/wp-content/uploads/2025/06/colectic-icones-impacta360-v3-persones-bn_blanc.png);
    display: block;
    margin-left: 20px;
    width: 45px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
}
.tab-entorn .vc_tta-panel-heading h3:before {
    content: "";
    background: url(https://impacta360.cat/wp-content/uploads/2025/06/colectic-icones-impacta360-v3-entorn-bn-1.png);
    display: block;
    margin-left: 20px;
    width: 56px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
}
/************************************************************************ QUI SOM *************************************************************************/
.logo-entitat img {
    min-width: 170px;
    width: 170px;
}
.valor-titulo h5{
    display: flex;
    gap: 15px;
    align-items: center;
}
.valor-proximitat h5:before {
    content: "\e4bd";
    font-family: 'Font Awesome 6 Pro';
    font-size: 30px;
}
.valor-orientacio h5:before {
    content: "\f277";
    font-family: 'Font Awesome 6 Pro';
    font-size: 30px;
}
.valor-practicitat h5:before {
    content: "\f2a7";
    font-family: 'Font Awesome 6 Pro';
    font-size: 30px;
}
.valor-acompanyament h5:before {
    content: "\f4c4";
    font-family: 'Font Awesome 6 Pro';
    font-size: 30px;
}
/************************************************************************ SUBVENCIONS *************************************************************************/

.imagen-subvenciones {
    max-height: 400px;
}

/************************************************************************ NOTÍCIES *************************************************************************/
.type-post {
    margin-top: 25px;
}
span.posted-on {
    color: var(--accent);
}

.graella-noticia {
    border-radius: 10px;
    overflow: hidden;
    padding-right: 0 !important;
    border: 1px solid var(--base);
}
.graella-noticia .vc_gitem-zone.vc_gitem-zone-c {
    padding: 10px;
}
.graella-noticia .vc_gitem_row .vc_gitem-col{
	padding-bottom: 0;
}
.graella-noticia h5 {
    font-size: 20px;
	font-weight: bold;
}
.graella-noticia h5:hover {
	color: var(--accent)
}
.graella-noticia a.read-more {
    display: none;
}
.graella-noticia .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern {
    background: unset;
    border: unset;
	padding: 0;
	font-size: 18px;
	font-weight: 500;
	color: var(--accent-2);
}
.graella-noticia .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern:hover,
.graella-noticia .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern:focus,
.graella-noticia .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern:active{
    background: unset;
    border: unset;
	color: var(--accent)
}
/************************************************************************ CONTACT *************************************************************************/
.portada-contacte {
    max-height: 600px !important;
}
.form-contacte{
    font-size: 18px !important;
}


/************************************************************************ FOOTER *************************************************************************/

.site-footer{
    background: linear-gradient(45deg, #7E57C2, #004265);
    color: #fff;
}
#mad-footer{
    max-width: 1360px;
    padding: 30px 40px 0px 40px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}
#mad-footer a {
    color: #fff;
}
#mad-footer a:hover,
#mad-footer a:active,
#mad-footer a:focus {
    color: var(--accent-4);
}
#mad-copyright {
    max-width: 1360px;
    padding-left: 40px;
    padding-right: 40px;
	padding-bottom: 20px;
    padding-top: 35px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 16px;
}
.logos-copy img {
    width: 800px;
}
.btn-youtube{
    display: inline-block;
    margin-right: 10px;
}
.btn-linkedin{
    display: inline-block;
}