h1.ajuda-form {
    color: #464646;
    font-size: 3em;
}

#surveyContainer fieldset {
    border: none;
    background-color: inherit;
}

.sd-action {
    display: none;
}

.sv-title-actions__title {
    color: #797979;;
    font-weight: bold;
    font-size: 1.6em;
}

.sv-dots__item {
    display: none;
}

.sd-element.sd-question {
    box-sizing: border-box;
    padding-right: 1em;
    padding-left: 3em;
    padding-top: 2em;
    margin-top: 1.5em;
    background-color: #f3f3f3;
    border: 2px solid #009892;
    border-radius: 25px;
    box-shadow: 0 0 .5em #ccc;
}

.sv-string-viewer {
    color: #464646;
}

.sd-question__required-text {
    color: rgb(237, 74, 74)
}

.sv-string-viewer {
    font-size: 1.2em;
}

#surveyContainer input[type=radio]{        
    accent-color: #009892;
    width: 1.2em;
}

#surveyContainer input:focus{
    background-color: inherit;
}

#surveyContainer a.imc--bt{
    margin-top: 20px;
}

/* ##########################################
   #           DOCUMENT CSS HEREDAT         #
   ########################################## */
/* formateig */
body, form, table, caption, tr, th, td, ul, ol, li, dl, dt, dd, img, p, header, h1, h2, h3, h4, h5, h6, object, iframe, legend, fieldset {
    font-size: 1em;
    list-style: none;
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

button:focus, button:hover{ 
    background-color: #d9c2a1 !important;
}

/* generic */
@font-face {
    font-family: 'Bariol Regular';
    src: url(../files/Bariol_Regular.ttf);
}

body {
    font: normal 110% 'Bariol Regular', Arial, Helvetica, sans-serif;
    color: #5b4b3a;
    background-color: #fff;
}

p { line-height: 1.4em }

td{
    padding: 0.5em;
    border-radius: 10px;
}

.celda-boton a{
    text-decoration: none !important;
}

.celda-boton:hover {  /* la celda de una tabla actua como un boton */
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* ##########################################
   #           ENLACES                      #
   ########################################## */
a { display: inline-block;
    vertical-align: middle;
    color: #d3832b;
    text-decoration: none;
}

a { -webkit-transition: color .2s ease-out, background-color .2s ease-out;
    -moz-transition: color .2s ease-out, background-color .2s ease-out;
    -ms-transition: color .2s ease-out, background-color .2s ease-out;
    -o-transition: color .2s ease-out, background-color .2s ease-out;
    transition: color .2s ease-out, background-color .2s ease-out;
}

button, a:focus-visible { outline: none }

a.imc--bt {
    display: inline-block;
    vertical-align: middle;
    padding: .3rem 1.7rem .5rem 1.7rem;
    background-color: #4e3b32;
    border-radius: 25px;
}

a.imc--bt span { color: #fff }
a.imc--bt:focus, a.imc--bt:hover { background-color: #d3832b }

/* ##########################################
   #           TÍTOLS                       #
   ########################################## */
h1 { margin-bottom: 1em }
h1 span { font-size: 1.8em }
h2 {
  font-size: 1.5em;
  color: #d3832b;
  margin-bottom: 1em;
}
h2 span { font-size: 1.5em }
h3 { margin-bottom: 1em }
h3 span { font-size: 1.2em }
h4 { margin-bottom: .7em; }
h4 span {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}
header p { line-height: 1em }

/* ##########################################
   #       CONTENEDOR CABECERA (NAV)        #
   ########################################## */
/* contenidor */
.imc--contenidor {
    width: 100%;
}
.imc--contenidor ul button{
        font-size: 1.2em;
}
.imc--opcions button:hover{
    background-color: #7a4b3a;
}

/* cap */
.imc--cap {
    display: grid;
    grid-template-columns: 1fr auto;
    position: sticky;
    z-index: 10000;
    top: 0;
    left: auto;
    margin: 0 0 -0.1em 0;
    background-color: #fff;
    width: 100vw; /* Asegura el ancho completo de la ventana */
    justify-content: center;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)
}

.imc--logo-app {
    grid-area: 1 / 1 / span 2 / 1;
    width: 6em;
    height: 4em;
    background: transparent url(../files/oie_logoc.png) no-repeat left center / auto 94%;
}

.imc--logo-appc {
    display:none;
    grid-area: 1 / 1 / span 2 / 1;
    width: 18em;
    height: 4em;
    background: transparent url(../files/oie_logoc.png) no-repeat left center / auto 94%;
}

.imc--logo-appi {
    grid-area: 1 / 1 / span 2 / 1;
    width: 18.5em;
    height: 5em;
    background: transparent url(archivopub.do?ctrl=MCRST131ZI496191&id=496191) no-repeat left center / auto 80%;
    margin: 0.5em 0 0 2em;
}

.imc--logo-appc span {
    position: absolute;
    top: -999em;
    left: -999em;
}

.imc--logo-appi span {
    position: absolute;
    top: -999em;
    left: -999em;
}

.imc--logo-app span {
    position: absolute;
    top: -999em;
    left: -999em;
}

/* opcions */
.imc--opcions {
    grid-area: 2 / 2 / 2 / 2;
    white-space: nowrap;
    text-align: right;
}

/* idioma */
.imc--idioma {
    display: inline-block;
    font-size: .9em;
    text-align: right;
    padding-bottom: .7em;
    margin-right: 2em;
}

.imc--idioma button {
    min-height: 1.8em;
    padding: .1rem .7rem .1rem .7rem;
    margin-left: .5em;
    background-color: #fff;
}

.imc--idioma button span {
    color: #d3832b;
}

.imc--idioma button:hover span {
    color: #fff;
}

.imc--idioma button:hover,
.imc--idioma button:focus {
    background-color: #7a4b3a;
}

html[lang="ca-ES"] .imc--idioma button[data-idioma="ca-ES"],
html[lang="es-ES"] .imc--idioma button[data-idioma="es-ES"] {
    border-bottom: 2px solid #ccc;
    border-radius: 0;
}

html[lang="ca-ES"] .imc--idioma button[data-idioma="ca-ES"]:hover,
html[lang="ca-ES"] .imc--idioma button[data-idioma="ca-ES"]:focus,
html[lang="es-ES"] .imc--idioma button[data-idioma="es-ES"]:hover,
html[lang="es-ES"] .imc--idioma button[data-idioma="es-ES"]:focus {
    background-color: #fff;
    cursor: default;
}

html[lang="ca-ES"] .imc--idioma button[data-idioma="ca-ES"] span,
html[lang="es-ES"] .imc--idioma button[data-idioma="es-ES"] span {
    color: #333;
}

/* cercador */
.imc--cercador {
    display: inline-block;
    font-size: .8em;
    text-align: right;
    padding-bottom: .7em;
    margin: 0 2em 0 0;
}

.imc--cercador input {
    padding-left: 2.5em;
    background: #fff url(../files/ico_cercador_ccc.svg) no-repeat .8em 52% / 1.2em auto;
}

.imc--cercador button {
    margin-top: -0.5em;
}

/* menú */
.imc--menu {
    grid-area: 6 / 1 / 6 / 6;
    align-self: center;
}

.imc--menu button {
    display: none;
}

.imc--menu li {
    display: inline-block;
    position: relative;
    padding-left: 1em;
}

.imc--menu li a {
    display: block;
    padding: .3em 1em;
}

.imc--menu li a span,
.menu-link{
    font-size: 1.2em;
    border-radius: 25px; 
}

.menu-link:focus, .menu-link:hover{ 
    background-color: #d9c2a1;
    color: #7a4b3a;    
}

/* submenu */
.imc--menu ul button {
    display: inline-block;
    position: relative;
    top: -0.2em;
    min-height: 2em;
    padding: .3em 1em;
    background-color: transparent;
}

.imc--menu ul button span {
    font-size: 1.2 em;
    color: #d3832b;
    line-height: 1.2em;
}

.imc--menu ul button span {
    -webkit-transition: color .2s ease-out;
    -moz-transition: color .2s ease-out;
    -ms-transition: color .2s ease-out;
    -o-transition: color .2s ease-out;
    transition: color .2s ease-out;
}

.imc--menu ul button:hover span,
.imc--menu ul button:focus span {
    color: #7a4b3a;
}

.imc--menu ul button::after {
    display: none !important;
    content: "";
    display: inline-block;
    position: relative;
    top: .1em;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin-left: .5em;
    background: transparent url(../files/ico_selector.svg) no-repeat center center / auto 100%;
    opacity: .5;
}

.imc--menu ul button.rotado::after {
    transform: rotate(-180deg)
}

.imc--menu ul .imc-menu--sub {
    position: absolute;
    z-index: 3;
    top: 1.5em;
    left: 1em;
    min-width: 180%;
    max-width: 20em;
    font-size: 90%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: .2em .2em .5em #aeaeae;
}

.imc--menu ul .imc-menu--sub[aria-hidden="true"] {
    visibility: hidden;
    opacity: 0;
}

.imc--menu ul .imc-menu--sub {
    transition: visibility .2s cubic-bezier(0, .78, .25, 1), opacity .2s cubic-bezier(0, .78, .25, 1), top .2s cubic-bezier(0, .78, .25, 1);
}

.imc--menu ul .imc-menu--sub[aria-hidden="false"] {
    top: 2.5em;
    transition: visibility 0s ease-out, opacity .2s cubic-bezier(0, .78, .25, 1), top .2s cubic-bezier(0, .78, .25, 1);
}

.imc--menu ul .imc-menu--sub ul {
    margin: 1em 0 1em 0;
}

.imc--menu ul .imc-menu--sub li {
    display: block;
    padding-left: .5em;
}

.imc--menu ul .imc-menu--sub li button {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
}

.imc--menu ul .imc-menu--sub li button::after {
    margin-top: .2em;
}

.imc--menu ul .imc-menu--sub li a {
    padding: .3em 1em .4em 1em;
    margin-bottom: .3em;
}

.imc--menu ul .imc-menu--sub strong {
    display: block;
    font-size: 1.1em;
    padding: .5em 1em;
    background-color: #f2f2f2;
}

.imc--menu ul .imc-menu--sub a::after {
    background-image: url(../files/botons/ico_nav.svg);
}

.imc--menu ul .imc-menu--sub .imc-menu--sub {
    left: 2.5em;
}

.imc--menu ul .imc-menu--sub .imc-menu--sub[aria-hidden="false"] {
    top: 2em;
}

.imc--menu ul .imc-menu--sub[data-posicio="dreta"] {
    left: auto;
    right: 2.5em;
}


/* ##########################################
   #           PAGINA INICIO                #
   ########################################## */
/* script banner cabecera */
.titol--cap {
    position: absolute;
    letter-spacing: 0.1em;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 0.5em 0.5em 0.5em 0.5em;
    background-color: rgba(255, 255, 255, 0.8);
    color: #d9c2a1;
    font: 900 2.2em 'Bariol Regular', Arial, Helvetica, sans-serif;
    z-index: 3;
    border-radius: 10px;
    width: 70%;
}

.banner-layer {
    position: absolute;
    top: 0;
    left: 0;     
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    z-index: 1;
}

.banner-layer.active { opacity: 1 }

/* script aparecer section */
.sec--animate {
  transition: all 4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.sec--animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* código oculto heredado*/
.imc--barra-goib {
    font-size: 90%;
    position: fixed;
    z-index: 6;
    top: 0;
    left: 0;
    width: 3.5em;
    height: 100%;
    text-align: center;
    background-color: #fff;
    border-right: 1px solid #EBEBEB;
    box-shadow: 1px 1px 1px #ebebeb;
}

.imc--barra-goib .imc--logo-goib {
    display: block;
    width: 100%;
    height: 15em;
    margin: 1.3em 0 1.6em;
    background: transparent url(../files/logo_vertical.svg) no-repeat center center / 65% auto;
}

.imc--barra-goib li {
    padding-bottom: .7em;
}

.imc--barra-goib li a {
    display: block;
    width: 3.5em;
    height: 3em;
    padding: 0;
}

.imc--barra-goib li a::before {
    content: "";
    display: inline-block;
    width: 3.5em;
    height: 3em;
    background: transparent url() no-repeat center center / 55% auto;
    opacity: 0;
}

.imc--barra-goib li a.imc--informat {
    background: transparent url(../files/noticies.png) no-repeat center center / 55% auto;
}
.imc--barra-goib li a.imc--administracio {
    background: transparent url(../files/administracio.png) no-repeat center center / 55% auto;
}
.imc--barra-goib li a.imc--illes {
    background: transparent url(../files/illes.png) no-repeat center center / 55% auto;
}
.imc--barra-goib li a.imc--informat::before {
    background-image: url(../files/noticies_on.png);
}
.imc--barra-goib li a.imc--administracio::before {
    background-image: url(../files/administracio_on.png);
}
.imc--barra-goib li a.imc--illes::before {
    background-image: url(../files/illes_on.png);
}

.imc--barra-goib li a:hover::before,
.imc--barra-goib li a:focus::before {
    opacity: 1;
}

.imc--barra-goib li a::before {
    -webkit-transition: opacity .2s ease-out;
    -moz-transition: opacity .2s ease-out;
    -ms-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
}

.imc--barra-goib a span {
    display: block;
    position: absolute;
    top: -999em;
    left: -999em;
}

/* visor pag inicio */
.visor-hero {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.visor-bg {
    width: 100%;
    display: block;
    border-radius: 10px;
    filter: grayscale(100%);
}

.visor-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.img-visor {
    transition: all 0.6s ease;
    border-radius: 50%;
    border: 3px solid #ddd;
    box-shadow: 0 0 5.5em #fff;
    scale: 140%;
}

.img-visor:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0.5em #ccc;
}

.img-dg{
    display: block;
    border-radius: 4%;
    filter: grayscale(100%);
    margin: 0 auto;
    width: 80%;
}

.sec--animate{
    position: relative;
    z-index: 9999;
}


/* ##########################################
   #   PAGINA INDICADORES I QUE ES L'OHIB   #
   ########################################## */
/* HERO INDICADORES */
.intro-rigth,
.intro {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 4rem;
    align-items: center;
    max-width: 100%; 
    margin: 0 auto; 
    padding-bottom: 1em;
}

.intro-left {
    display: grid;
    grid-template-columns: 55% 40%;
    gap: 4rem;
    align-items: start;
    max-width: 100%; 
    margin: 0 auto; 
}

.intro-rigth,
.intro-text {
    font-family: Roboto, sans-serif;
    font-size: 1rem;
    text-align: justify;
}

.intro-3 {
    grid-template-columns: 35% 60%;
    grid-template-rows: auto auto;
    gap: 2rem 4rem;
}

.intro-3 .img-top {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: center;
}

.intro-3 .img-top img {
    display: block;
    margin: 0 auto;
    width: 80%;
    height: 80%
}

.intro-3 .img-bottom {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    justify-content: center;
}

.intro-3 .img-bottom img {
    width: 100%;
    height: 100%;
}

.intro-3 .ind-hero-text {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.mapa-container {
    position: relative;
}

.banner--img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

input[type="range"] {
    width: 100%;
}

.ind-hero-img {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    padding-bottom: 1em;
    margin: 0 auto;
}

.chart-container {
    position: relative; 
    margin: auto;
}

/* #########################################################
   #        BANNER IMAGENES CON BARRA NO IMPLEMENTADO      #
   ######################################################### */
/* ESTILOS DE LA IMAGEN DEL HERO  Y SU BARRA*/
input:focus {
    border-color: #ddd !important; 
}

.mapa-container input[type="range"] {
    appearance: none;                       
    -webkit-appearance: none;
    background: transparent;
}
/* chrome */
/* BARRA */
.mapa-container input[type="range"]::-webkit-slider-runnable-track {
    background: #ddd; /* color de la barra */
    height: 6px;
    border-radius: 10px;
}
/* BOTÓN (thumb) */
.mapa-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #a0522d; /* color del botón */
    border-radius: 50%;
    border: 3px solid white;
    margin-top: -6px;
}
/* firefox */
/* barra */
.mapa-container input[type="range"]::-moz-range-track {
    background: #ddd;
    height: 6px;
    border-radius: 10px;
}
/* progreso (parte rellena) */
.mapa-container input[type="range"]::-moz-range-progress {
    background: #a0522d;
    height: 6px;
    border-radius: 10px;
}

/* botón */
.mapa-container input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #a0522d;
    border-radius: 50%;
    border: 3px solid white;
}


/* ##########################################
   #         CONTENIDOS (BODY)              #
   ########################################## */
/* continguts */
.imc--continguts {
    display: grid;
    grid-template-columns: 75%;
    gap: 4em;   
    justify-content: center;  
    margin-bottom: 7%;
}

.imc--interna .imc--contingut h2 {
    padding-left: 1%;
}

.imc--interna .imc--contingut p {
    line-height: 1.4em;
    margin-bottom: .7em;
}

.imc--contingut ul, .imc--contingut ol {
    margin-bottom: 1em;
    flex-direction: column;
}

.imc--interna .imc--contingut ol {
    padding-left: 2em;
}

.imc--interna .imc--continguts ul li {
    padding-bottom: .3em;
    list-style: none;
    margin-top: 0px;
    padding: 12px;
    border-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

table li::marker { 
    content: "✔ ";
}

table li {
    padding: 0 0 0 8px !important;
}

details li {
    padding-bottom: 0em !important;}

.imc--noticies li {
    border-bottom: none !important;
}

.imc--interna .imc--contingut ul li ul {
    padding-left: 2em;
}

.imc--interna .imc--contingut ul li ul li {
    padding: 5px;
    background-color: inherit;
    border: none;
    list-style: circle;
    list-style-position: inside;
}

/*.imc--interna .imc--contingut ul li:hover {
    background-color: #f1f5fb;  
}
*/

.imc--interna .imc--contingut ol li {
    list-style: decimal;
    padding-bottom: .3em;
}

.imc--interna .imc--contingut p a {
    display: inline;
    vertical-align: initial;
}

/* Cambiar color del texto al pasar el ratón por los enlaces del submenú */
.imc--menu .imc-menu--sub li:hover {
    color: #7a4b3a; 
    background-color: #f5e1a4; 
    border-radius: 0.5em;
}

/* img */
.imc--pag.imc--inici .imc--img {
    display: block;
    height: 25em;
    background: transparent url() no-repeat center center / cover;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 2px 2px white inset;
    border-radius: 5px;
    flex-direction: column;
    width: 100vw; /* Asegura el ancho completo de la ventana */
    position: relative;
    filter: blur(0px);
}

.imc--pag.imc--interna .imc--img {
    display: block;
    height: 8em;
    margin-bottom: 3em;
    background: transparent url() no-repeat center center / cover;
    filter: blur(0px);
    width: 100vw;
    position: relative;
}

/* header */
.imc--pag.imc--inici header {
    position: absolute;
    top: -999em;
    left: -999em;
}

.imc--pag.imc--inici h2 span {
    font-size: 1.8em;
}

#boto-veure-mes {
    display:none;
    color: #daf4f4;
    background-color: #ffffff03;
    box-shadow: 0 0 4px #b1dfea;
    font-weight: 500;
    font-size: 21px;
    letter-spacing: 0.087em;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.6em 1.2em 0.6em 1.2em;
    margin-top: 3em;
    border-radius: 30px;
    border: solid 0.5px #c8dff2;
    cursor: pointer;
}

#boto-veure-mes:hover {
    text-shadow: 0 0 1px #b1dfea;
    box-shadow: 0 0 15px #b1dfea;
    transition: all 0.8s ease-out;
    background-color: #ebf7f7;
    color: inherit;
}

#boto-veure-mes:active {
    background-color: white;
    transform: scale(.97);
    color: inherit;
    box-shadow: 0 0 8px #b1dfea;
    transition: none
}

/* ##########################################
   #     INDICADORES PAGS. INTERNAS         #
   ########################################## */
/* CABECERA INDICADORES PAG. INTERNA */
.bto-indicador {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1em;
    width: 100%;
    margin-top: -1.6%;
}

.bto {
    display: flex;             /* activa flexbox */
    flex-direction: column;    /* apila contenido verticalmente */
    justify-content: center;   /* centra verticalmente */
    align-items: center;       /* centra horizontalmente */
    padding: 0.4em;
    text-align: center;
    font-weight: bold;
    font-size: 110%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    cursor: pointer;
    color: #fff;
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(0,0,0,0.25)),
        var(--color-base);
}

.bto a {
    color: white;
}

.bto:hover {
    transform: translateY(-3px);
}

.bto:active {
    transform: translateY(4px);
    box-shadow: 
        0 2px 0 rgba(0,0,0,0.3),
        0 4px 10px rgba(0,0,0,0.2),
        inset 0 3px 6px rgba(0,0,0,0.4);
}

.bto-indicador-1 { --color-base: #f5e1a4; }
.bto-indicador-2 { --color-base: #e6b65c; }
.bto-indicador-3 { --color-base: #d9c2a1; }
.bto-indicador-4 { --color-base: #a0522d; }
.bto-indicador-5 { --color-base: #7a4b3a; }
.bto-indicador-dades { --color-base: #d3832b; }
.bto-indicador-metodo { --color-base: #d3832b; }

.icon-download {
    margin-left: 0.5em;
    font-size: 0.9em;
}

.img-preus {
    transition: all 0.3s ease; 
}

.img-preus:hover {
    transform: scale(1.05);
    border: 3px solid #ddd; 
    box-shadow: 0 0 0.5em #ccc;
}

/* ##########################################
   #     BOTONES PAGS. INICIO         #
   ########################################## */
/* bontons d'inici*/
.img-boton {
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-boton:hover {
    transform: scale(0.80) !important;
}

.desc_panel{
    position:relative;
    display:inline-block;
}

.desc_texto{
    visibility:hidden;
    opacity:1;
    position:absolute;
    bottom:100%;
    left:50%;
    transform:translateX(-50%);
    width:220px;
    height: 125px;
    padding:8px 10px;
    background:#f2f2f2;
    color:#5b4b3a;
    border-radius:6px;
    text-align:center;
    align-content: center;
    font-size:1rem;
    font-weight: bold;
    transition:opacity .2s;
}

.desc_panel:hover .desc_texto{
    visibility:visible;
    opacity:1;
}

/* ##########################################
   #     CONTADORES PAGS. INICIO         #
   ########################################## */
.contadores{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
    margin:30px 0 40px;
}

.contador_box{
    width:46%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.6rem;
    background:#f2f2f2;
    border-radius:14px;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    text-align:center;
    transition:.25s;
    border-top:5px solid #d3832b;
    cursor: pointer;
}

.contador_superior{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.contador_izquierda{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:50%;
}


.contador_box:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.contador_icono{
    margin-bottom:1px;
}

.contador_icono svg{
    width: 30%;
    fill: #5b4b3a;
}

.contador_num{
    width:50%;
    text-align:center;
    font-size:3rem;
    font-weight:700;
    color:#d3832b;
    line-height:1;
}

.contador_titulo{
    font-size:1.3rem;
    font-weight:600;
    color:#5b4b3a;
}

.contador_fecha{
    margin-top:12px;
    font-size:13px;
    color:#777;
    border-top:1px solid #6666;
    padding-top:10px;
}

/* ##########################################
   # CONTADORES VIVIENDAS Y BENEFICIAIOS HP  #
   ########################################## */

/* texto y flecha al hacer hover*/
.contadores_SUBTOTAL .flecha,
.contadores_SUBSUBTOTAL .flecha{
    visibility: hidden;
    width:100%;
    height:1.5rem;
    display:flex;
}

.contadores_SUBTOTAL .flecha svg,
.contadores_SUBSUBTOTAL .flecha svg{
    flex: 1;
    width:100%;
    height:120%;
    display:block;
}

.contadores_SUBTOTAL .contador_box:hover .flecha,
.contadores_SUBSUBTOTAL .contador_box:hover .flecha{
    visibility: visible;
    transform:translateY(4px);
}

.contadores_SUBTOTAL .contador_box.contador_activo .flecha,
.contadores_SUBSUBTOTAL .contador_box.contador_activo .flecha{
    visibility: visible;
    transform: translateY(4px);
}

.contadores_SUBTOTAL .contador_box.contador_activo,
.contadores_TOTAL .contador_box.contador_activo,
.contadores_TOTAL .contador_box.contador_siempre_activo{
    border:3px solid #d3832b;
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:all .25s ease;
}

.contadores_TOTAL .no_boton {
    cursor: default !important;
    transform:translateY(0px) !important;
}

.contadores_HP .desc_panel,
.contadores_SUBTOTAL .desc_panel,
.contadores_TOTAL .desc_panel,
.contadores_SUBSUBTOTAL .desc_panel{
    display:block;
}

.contadores_TOTAL .desc_panel:hover .desc_texto{
    height: 3.4rem;
}

/* Totales pagina de viviendas y beneficiarios */
.contadores_TOTAL .contador_box {
    width:30%;
    margin: 0 auto;
    cursor: auto;
    box-shadow:none;
    border-top:none;
    background-color: #fff;
    margin-bottom: 1rem;
}

.contadores_TOTAL .contador_box:hover{
    transform:none;
    transform: scale(1.05);
    cursor: pointer;
}

.contadores_TOTAL .contador_fecha {
    display: none;
}

.contadores_TOTAL .contador_num{
    color: #5b4b3a;
}

/* Tematicas pagina de viviendas y beneficiarios */
.contadores_HP,
.contadores_SUBTOTAL,
.contadores_SUBSUBTOTAL{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
    margin:30px 0 40px; 
}

.contadores_SUBTOTAL .contador_box{
    width:19%;
}

.contadores_SUBTOTAL .boton-XL .contador_superior{
    margin: 0 auto;
    width: 80%;
}

.contadores_SUBTOTAL .boton-XL {
    width: 26%;
}

.contadores_SUBTOTAL .boton-S {
    width: 14%;
}

.contadores_HP .contador_box:hover{
    cursor: default;
}

.contadores_HP .contador_box,
.contadores_SUBSUBTOTAL .contador_box{
    width:14%;
}

.contador_subbox {
    padding-top: 1rem;
    height: 7rem;
}

.contadores_HP .contador_titulo,
.contadores_SUBTOTAL .contador_titulo,
.contadores_SUBSUBTOTAL .contador_titulo{
    font-size: 1.1rem;    
}

.contadores_HP .contador_icono,
.contadores_SUBTOTAL .contador_icono,
.contadores_SUBSUBTOTAL .contador_icono{
    margin-bottom: 0.6rem;
}

.contadores_HP svg,
.contadores_SUBTOTAL svg,
.contadores_SUBSUBTOTAL svg{
    width: 40%
}

.contadores_HP .no_contador,
.contadores_HP .contador_num,
.contadores_SUBTOTAL .contador_num,
.contadores_SUBSUBTOTAL .contador_num{
    font-size: 2rem;
    margin-bottom: 0.6rem;
    font-weight:700;
    color:#d3832b;
}

.contadores_SUBTOTAL .contador_fecha{
    display: none;
}

.contadores_HP .contador_fecha,
.contadores_SUBSUBTOTAL .contador_fecha{
    font-size:11px;
}

.contador_inactivo {
    filter: grayscale(100%);
    opacity: 0.95;
}

/* Estilo del panel del gráfico*/
#panelTema{
    background-color: #f2f2f2;
    padding: 1rem;
    border-radius:14px;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}

#panelTema #fecha_actualizar{
    text-align: center; 
    margin-top: -2.5rem;
    margin-bottom: 1rem;
    font-size:13px;
    color:#777;
    border-bottom: 1px solid #6666;
    padding-top:10px;
}

#panelTema #url_indicador{
    margin-top: 1rem;
    font-size: 1.5rem;
    display: block;
    text-align: center;
}


/* estilo del panel de texto  */

.panelText {
    width: 70%;
    display: block;
    margin: 0 auto;
}

/* ##########################################
   #         DESTACATS                      #
   ########################################## */
/* destacats */
.imc--destacats {
    padding-top: 2em;
}

.imc--destacats ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5em;
    margin-bottom: 1em;
}

/* ##########################################
   #      FITXES INFORMACIO I NOTICIES      #
   ########################################## */
/* FITXES */
.imc--noticies ul {
    display: grid;
    gap: 1.5em;
    justify-content: center;
    padding-left: 0;
    margin-bottom: 1.5em;
}

/*estilo de las fichas noticias*/
h1#titolNoticia {
    font-size: 2em;
    margin-left: -21%;
}

.noticia-layout {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding-bottom: 2em;
    margin-left: -21%;
}

#imgNoticia img {
    width: 250px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.content {
    flex: 1; 
}

/* ##########################################
   #   MES INFORMACIÓ D'INTERES PAG. INICIO #
   ########################################## */
#elementoNoticias14317 ul{
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }

/* fitxes */
#elementoNoticias14317 a.imc--fitxa {
    justify-content: space-between;
    padding-bottom: 1.5em;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    border: 1.5px solid #ddd;
    border-radius: 10%;
    box-shadow: 0 0 5.5em #fff;
    transition: box-shadow 0.7s ease-out;
    width: 250px;
    height: 250px;
}

#elementoNoticias14317 a.imc--fitxa span {
    background: transparent url() repeat-x bottom center;
    background-size: cover;
    border-radius: 2px;
    display: block;
    width: 100%;
    transition: background-size .2s ease-out, filter .2s ease-out;
    filter: grayscale(100%);
}

#elementoNoticias14317 a.imc--fitxa span:first-child {
    width: 100%;
    height: 100%;
    margin-left: 0em;
    padding-bottom: 60%;
    background-position: center center;
    background-size: cover;
}

#elementoNoticias14317 a.imc--fitxa span:last-child, 
#elementoNoticias14317 a.imc--fitxa p {
    font-size: 1.2em;
    height: 80%;
    width: 80%;
    margin: 0 auto;
    padding-top: 0.8em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2em;
}

#elementoNoticias14317 a.imc--fitxa span:last-child {
    text-align: center;
    justify-content: center;
}

#elementoNoticias14317 a.imc--fitxa p {
    text-align: center;
}

#elementoNoticias14317 a.imc--fitxa:hover,
#elementoNoticias14317 a.imc--fitxa:focus {
    box-shadow: 0 0 0.5em #ccc;
}

#elementoNoticias14317 a.imc--fitxa:hover span,
#elementoNoticias14317 a.imc--fitxa:focus span {
    background-size: 100% auto;
}

div[id^=elementoNoticias].imc--noticies ul {
    justify-content: center;
}

div[id^=elementoNoticias].imc--noticies ul li {
    border-bottom: none;
    padding: 0;
}

div[id^=elementoNoticias].imc--noticies ul li:hover {
    background-color: transparent;
    transform: scale(0.98);
    transition: transform 0.3s ease; /* suaviza el efecto */
}

/* ##########################################
   #        NOTICIES D'ACTUALITAT           #
   ########################################## */
/* Noticies d'Actualitat version listas */
#elementoNoticias15057 ul{
    column-gap: 0rem;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

#elementoNoticias15057 ul li{
    margin: 0 auto;
    padding: 0.2rem;
    }

.imc--interna .imc--noticies ul {
    column-gap: 0.5rem;
    row-gap: 0em;
}

.imc--noticies ul li:hover {
    background-color: transparent;
    transform: scale(0.98);
    transition: transform 0.4s ease; /* suaviza el efecto */
}
#elementoNoticias15057 .imc--fitxa p,
.imc--interna .imc--fitxa p {
    font-size: 16px;
    width: 100%;
    padding: 2%;
    color: #000;
    font-family: Roboto, sans-serif;
}
#elementoNoticias15057 a.imc--fitxa,
 .imc--interna a.imc--fitxa {
    justify-content: flex-start;
    padding-bottom: 1em;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 5.5em #fff;
    transition: box-shadow 0.7s ease-out;
    width: 270px;
    height: 450px;
}

#elementoNoticias15057 a.imc--fitxa span,
.imc--interna a.imc--fitxa span {
    display: block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    transition: background-size .2s ease-out, filter .2s ease-out;
}

#elementoNoticias15057 a.imc--fitxa span:first-child,
.imc--interna a.imc--fitxa span:first-child {
    width: calc(100% - 1em);
    height: 210px;
    margin: 0.5em;
}

.imc--interna h2{
  font-size: 2em;
  text-align: center;
  color: #d3832b;
  background-color: transparent;
}

#elementoNoticias15057 .titol-noticias,
.imc--interna .titol-noticias{
    font-size: 18px;
    font-weight: bold;
    text-align: justify;
    hyphens: auto;
}

#elementoNoticias15057 .subtitol-noticias,
.imc--interna .subtitol-noticias{
    font-size: 14px;
    color: #555 !important;
    text-align: justify;
    hyphens: auto; 
}

.container-noticias-buscador {
    margin-left: 1em;
    font-size: .8em;
}

.container-noticias-buscador input {
    margin-top: -4px;
}

input:focus, 
input:hover{ 
    background-color: #d9c2a1;
    box-shadow: none !important;
}

input:hover{
     box-shadow: 0px 0px 1px 1px rgba(211, 131, 43, 1) !important;
}

.contenedorNoticiasListadas h2{
  font-size: 2em;
  text-align: center;
  color: #d3832b;
}
/* ##########################################
   #        NO IMPLEMENTAT                  #
   ########################################## */
/*Actualitat*/
.noticias{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.actualitat{
  width: calc(25% - 20px);
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.actualitat img{
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

/* efecto al pasar el ratón */
.actualitat:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.actualitat:hover img{
  transform: scale(1.05);
}

.actualitat h2{
  font-size: 18px;
  margin: 10px 0 5px 0;
}

.actualitat p{
  font-size: 14px;
  color: #555;
}

/* ##########################################
   #        NO IMPLEMENTAT                  #
   ########################################## */
/* enllaços home */
ul.enllacos {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0.5em;
}

a.enllac-home {
    padding-bottom: 0em;
    aspect-ratio: 4/3;
    box-shadow: 0 0 0.5em #ccc;
    max-width: 370px;
}

/* ##########################################
   #        FORM SUSCRIPCION                #
   ########################################## */
.imc--subscribe-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
    background-color: #f2f2f2;
    padding: 1rem;
    border-radius: 10px;
    align-items: center; 
    text-align: center;
}

.imc--subscribe-float h2{
    font-size: 0.5rem;
    color: #2b4c5c;
}

.imc--subscribe-btn {
    display: inline-block;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
    background-color: #2b4c5c !important;
}

.imc--subscribe-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal h2{
    color: #2b4c5c;
    text-align: left;
}
.modal input:focus,
.modal select:focus{
    background-color: #fff;
}
.modal input:hover,
.modal select:hover{ 
    background-color: #2b4c5c;
    box-shadow: none !important;
    color: #fff;
    border-color: #2b4c5c;
}

.modal-content {
  background: #fff;
  padding: 2em;
  width: 90%;
  max-width: 400px;
  border-radius: 20px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.modal input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
}

.modal button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #2b4c5c;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.modal button:hover {
    background: #2b4c5c !important;
    filter: brightness(1.50) !important;
}

.modal select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #222;
}

.modal label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal button[type="submit"] {
    display: block;
    margin: 1em auto 0 auto;
    text-align: center;
}

.modal p{
    font-size: 0.8rem;
    margin: 0.7rem 0 0.7rem 0;
}

/* ##########################################
   #        NO IMPLEMENTAT                  #
   ########################################## */
.imc--curriculum {
    display: grid;
    grid-template-columns: 10em 1fr;
    padding-top: 2em;
}

.imc--curriculum .imc--foto {
    width: 8em;
    height: 8em;
    background-color: #ccc;
    border-radius: 50%;
}

.imc--curriculum h2 {
    margin-bottom: .3em;
}

.imc--curriculum .imc--carrec {
    font-size: 1.1em;
    text-transform: uppercase;
    margin-bottom: .5em;
}

.imc--curriculum .imc--correu {
    margin-bottom: 1.5em;
}



/* ##########################################
   #  PREGUNTAS FRECUENTES NO IMPLEMENTADO  #
   ########################################## */
/* preguntas */
.imc--preguntes {
    padding-top: 2em;
}

.imc--pregunta {
    overflow: hidden;
    margin-bottom: 1.5em;
    border: 1px solid #ccc;
    border-radius: 25px;
}

.imc--pregunta>div {
    padding: 1em 2em;
}

.imc--pregunta>div.imc--questio {
    background-color: #f2f2f2;
    transition: background-color .2s ease-out;
}

.imc--pregunta>div.imc--questio::before {
    content: "";
    display: inline-block;
    position: relative;
    top: .2em;
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: transparent url(../files/ico_anar_000.svg) no-repeat center center / 90% auto;
    transition: transform .2s ease-out;
}

.imc--pregunta>div.imc--questio:hover,
.imc--pregunta>div.imc--questio:focus {
    background-color: #a8d7d0;
    cursor: pointer;
}

.imc--pregunta>div.imc--questio>p {
    display: inline;
    margin-bottom: 0;
}

.imc--pregunta>div.imc--resposta {
    display: none;
}

.imc--pregunta[data-estat="oberta"]>div.imc--questio::before {
    transform: rotate(90deg);
}

/* ##########################################
   #        FOOTER                          #
   ########################################## */
/* peu */
footer{
        z-index: 9999;
}

.imc-peu {
    font-size: 1%;
    color: #4e3b32;
    line-height: normal;
    padding: 0em 0 2em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Espacio entre los bloques */
    background-repeat: no-repeat;
    background-color: #fff;
    width: 100vw; /* Asegura el ancho completo de la ventana */
    position: relative;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.imc-peu a {
    color: #4e3b32;
    font-size: small;
    line-height: 1.3;
}

.imc-peu a:hover,
.imc-peu a:focus {
    color: #f2c94c;
    background-color: transparent;
}

.imc-peu .imc--contingut {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    height: auto;
}

.imc-peu .imc-peu-enlaces {
    width: 100%;
    margin-top: 1em;
    text-align: right;
    padding-bottom: 1em;
}

#imc-peu ul li {
    border-bottom: none;
}

#imc-peu ul li:hover {
    background-color: inherit;
}

.imc-peu.imc-peu-posicio-estatica {
    position: static;
    margin-top: 6em;
    margin-left: 5%;
}

.imc-peu-inferior {
    display: flex;
    justify-content: space-between;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 70vw;
}

.imc-peu-logo{
    width: 16%;
    margin-top: 6px;
    text-align: center;
}

.imc-peu-govern strong {
    text-transform: uppercase;
    padding-right: .5em;
    white-space: nowrap;
}

.imc-peu-govern span {
    white-space: nowrap;
}

.imc-peu p,
.imc-peu ul {
    display: block;
}

.imc-peu ul li {
    display: inline-block;
    vertical-align: middle;
}


.imc-peu-opcions {
    margin-top: 20px;
}

.imc-peu-opcions li::before {
    content: "|";
}

.imc-peu-opcions li:first-child::before {
    content: "";
}

.imc-peu-opcions li a {
    color: #4e3b32;
    text-transform: uppercase;
    padding: .5em;
}

.imc-peu-opcions li a:hover,
.imc-peu-opcions li a:focus,
.imc-peu-opcions li a:active {
    color: #f2c94c;
    background-color: transparent;
}

.imc-en-rss span {
    display: inline-block;
    vertical-align: middle;
}

.imc-en-rss svg {
    display: inline-block;
    width: .7em;
    height: .7em;
    vertical-align: middle;
}

.imc-en-rss path {
    fill: #000000;
}

.imc-en-rss:hover path,
.imc-en-rss:focus path,
.imc-en-rss:active path {
    fill: #f2c94c;
}

/* xarxes */
.imc-peu-colaborador{
    width: 190px;  /* Ajusta el tamaño de las imágenes */
    height: auto;
    margin-left: 60px;
    margin-right: 60px;
}

.imc-peu-colaborador:hover{
    transform: scale(1.10);
}

.imc-peu-xarxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap; /* Permite que las imágenes se ajusten en pantallas pequeñas */    
}

.imc-peu-xarxes p {
    font-size: .9em;
    padding-right: 1em;
    margin-bottom: .5em;
}

a.imc-bt-xarxa {
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    margin-right: .2em;
    border: .2em solid #333;
    border-radius: 2em;
    will-change: border-color;
}

a.imc-bt-xarxa svg {
    transform: scale(.7, .7);
}

a.imc-bt-xarxa path {
    fill: #333;
}

a.imc-bt-xarxa span {
    position: fixed;
    top: -999em;
    left: -999em;
}

a.imc-bt-xarxa:hover,
a.imc-bt-xarxa:focus,
a.imc-bt-xarxa:active {
    background-color: #ee013b;
    border-color: #ee013b;
}

a.imc-bt-xarxa:hover path,
a.imc-bt-xarxa:focus path,
a.imc-bt-xarxa:active path {
    fill: #fff;
}

a.imc-bt-xarxa {
    -moz-transition: background-color .2s ease-out, border-color .2s ease-out;
    -webkit-transition: background-color .2s ease-out, border-color .2s ease-out;
    -o-transition: background-color .2s ease-out, border-color .2s ease-out;
    -ms-transition: background-color .2s ease-out, border-color .2s ease-out;
    transition: background-color .2s ease-out, border-color .2s ease-out;
}

/* ##########################################
   #          TEXTO CABECERA                #
   ########################################## */
/* texto de la cabecera */
.ocult {
    display: none;
}

.noOcult {
    display: block;
}



/* ##########################################
   #        PRINCIPAL INDICADORES           #
   ########################################## */
.ind-title .bto {
    box-shadow: none;
    width:  100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ind-title .bto:hover {
    transform: translateY(0);
}

.ind-title .bto:active {
    box-shadow: 
        0 2px 0 rgba(0,0,0,0.3),
        0 4px 10px rgba(0,0,0,0.2),
        inset 0 3px 6px rgba(0,0,0,0.4);
}

.indicador {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 1rem;
    align-items: center;
    max-width: 100%; 
    margin: 0 auto; 
    padding: 0.6rem;
}

.ind-title {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.ind-title:not(.title-no-disponible):hover{
    transform: scale(1.05);
    filter: brightness(1.2);
}

.ind-text{
    padding-right: 1rem;
}

/* Celda de tabla proximamente 'indicadores' */
.tema-no-disponible{
    background-color: #e0e0e0 !important;
}

.tema-no-disponible::after {
  display: block;
  color: #777;
  padding: 2px 6px;
  margin-top: 5px;
  border-radius: 4px;
  font-size: 0.75em;
}

/* Catalán */
:lang(ca) .tema-no-disponible::after {
  content: "En elaboració";
}

/* Castellano */
:lang(es) .tema-no-disponible::after {
  content: "En elaboración";
}

/* ##########################################
   #    FICHA INDICADORES DETAILS/SUMMARY   #
   ########################################## */
/* Estilo general para los <details> */
details {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5em 1em;
    margin-bottom: 1em;
}

/* CSS que afecta a details hijos */
details details {
    margin-top: 1.2em;
    margin-left: 1.2em;
    border-left: 3px solid #d3832b;
    padding-left: 0.8em;
}

/* Al pasar el ratón */
details details:hover{
    background-color: #f5e1a4;
}
details details:active{
    background-color: none;
}

details:hover {
    background-color: #f1f1f1;
}

details details[open] {
    background-color: transparent;
}

.detalle-visor {
    color: white;
    background: linear-gradient( to bottom, #4a7b90 0%, #1f3945 100% );
    transition: 0.3s;
    border: none;
}

.detalle-visor:hover {
    color: #5b4b3a;
    background: linear-gradient( to bottom, #f1f1f1 0%, #888 100% );
    transition: 0.6s;
}

.detalle-visor summary{
    list-style: none;
}

.detalle-visor summary::before{
    content: "🔍";
    filter: grayscale(100%) brightness(1.7);
}

.detalle-visor h2:hover {
    transform: scale(1.05);
    transition: 0.9s;
}

/* Estilo para el <summary> (título del detalle) */
.indicadorsH1{
    font-size: 2em;
    text-align: center;
    color: #d3832b;
}

.indicadorsH1-left{
    font-size: 1.8em;
    text-align: left;
    color: #7a4b3a;
}

summary {
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1em;
}

/*estilo para los visores*/
.visorH1{
    font-size: 2em;
    text-align: center;
    color: #d3832b;
}
.visorH1:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Remueve los estilos por defecto en algunos navegadores */
summary::-webkit-details-marker {
    display: none;
}

/* Agrega un ícono personalizado al <summary> */
summary::before {

    display: inline-block;
    margin-right: .4em;
    transition: transform .2s;
}

/* Rota el ícono cuando el details está abierto */
details[open] summary::before {
    transform: rotate(90deg);
}

/* Imágenes dentro de <li> */
li img {
    max-width: 95%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ampliar imagenes dentro de details se combina con el archivo javascript 'details' */
.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.zoomed {
  transform: scale(1.20); 
  cursor: zoom-out;
  z-index: 999;
  position: relative;
  box-shadow:0 0 40px rgba(0,0,0,0.6);
}

/* Zoom para corrusel*/
.zoomed-carousel{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-width:90vw;
  max-height:90vh;
  z-index:9999;
  cursor:zoom-out;
  box-shadow:0 0 40px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.carousel {
  position: relative;
  width: 95%;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  cursor: zoom-in;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 6px;
  cursor: pointer;
  z-index: 10;
}

.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}

.carousel-counter{
  position:absolute;
  bottom:14px;
  right:45px;
  background:rgba(0,0,0,0.8);
  color:white;
  padding:6px 10px;
  border-radius:4px;
  font-size:20px;
}

/* ##########################################
   #            COL·LABORADORS              #
   ########################################## */
/* EQUIP */
.equip-container{
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.equip-img{
    display: flex;
    justify-content: center;
    align-items: center;
}

.equip-img img{
    width: 80%;
    height: auto;
    border-radius: 50%;
    box-shadow:  0 0 20px 0 #999;
}

.equip{
    flex: 2;
}

.equip h3{
    margin-left: 3%;
    line-height: 0.2;
    font-weight: normal;
}

.equip h1 {
    margin-bottom: 0.6em;
    margin-top: 2em;
}

/* Colaboradores */
.equipo-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.miembro{
    text-align: center;
}

.miembro img{
    width: 160px;
    height: 80px;
    object-fit: cover;
}

.miembro h3{
    margin-top: 10px;
    font-weight: normal;
}

.miembro p{
    font-size: 14px;
    color: #666;
}

/* ##########################################
   #            ALTRES VISORS               #
   ########################################## */
/* GRID DE CARDS */
.visores-grid.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD INDIVIDUAL */
.visor-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.visor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.visor-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.visor-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.btn-visor {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #d3832b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.btn-visor:hover {
    background-color: #b96f22;
}


/* ##########################################
   #          MEDIA RESPONSIVE              #
   ########################################## */

@media (hover: hover) and (pointer: fine) {
    .imc--menu li:hover > .imc-menu--sub {
        visibility: visible;
        opacity: 1;
        top: 2.5em;
    }
}

@media only screen and (max-width : 1440px) {
    body {
        font-size: 85%;
    }

    .imc--menu li {
        padding-left: 0;
    }
    
    a.imc--fitxa span {
        height: 7em;
    }
    a.imc--fitxa{
        width: 240px;
        height: 240px;
    }
    .imc--tenc-projecte div {
        width: 100%;
        padding: 5em 2em 2em 2em;
        background: #f3f3f3 url(../files/archivopub.do?ctrl=MCRST131ZI497514&id=497514) no-repeat 50% 1em / 4em auto;
    }
    .imc-peu-colaborador{
        width: 145px; 
        height: auto;
        margin: 30px;
    }
    .imc-peu-logo{
        margin-left: 9%;
    }
     .imc-peu-opcions a {
       font-size: 12px;
    }
     .imc-peu-opcions{
        margin-top: 10px;
    }
    
    /* RESPONSIVE ENLACES DE INTERÉS INICIO */
    #elementoNoticias14317 ul{
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    #elementoNoticias14317 a.imc--fitxa {
        width: 190px;
        height: 190px;    
    }
    
    #elementoNoticias14317 a.imc--fitxa p {
        font-size: 1.2em;
    }
        
    /* RESPONSIVE NOTICIAS INICIO */
    #elementoNoticias15057 ul{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    #elementoNoticias15057 ul li{
        margin: 0.2rem;
    }
    #elementoNoticias15057 a.imc--fitxa {
        width: 300px;
        height: 450px;
        margin: 0 auto;
    }

   #elementoNoticias15057 .titol-noticias{
        font-size: 0.9rem !important;
    }
    
    #elementoNoticias15057 .subtitol-noticias{
        font-size: 0.8rem !important;
    }
    
    /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        }

    .imc--interna a.imc--fitxa {
        width: 260px;
        height: 400px;
    }

    .imc--interna .titol-noticias{
        font-size: 0.9rem !important;
    }

    .imc--interna .subtitol-noticias{
        font-size: 0.8rem !important;
    }
    
}

@media only screen and (max-width : 1280px) {
    body {
        font-size: 80%;
    }
    
    .imc--pag.imc--inici .imc--img {
        height: 20em;
        justify-content: space-evenly;
    }
    #boto-veure-mes {
        margin-top: 0px
    }
   
    a.imc--fitxa{
        width: 200px;
        height: 200px;
    }
    
    .imc-peu-colaborador{
        width: 150px; 
        height: auto;
        margin: 15px;
        margin-top: 30px;
    }

    .imc-peu-opcions a{
        font-size: 10px;
    }
    
    .imc-peu-govern a{
        font-size: 10px;
    }
    .imc-peu-logo{
        margin-left: 11%;
    }
    
    /* HEROS de Pag. inicio y de imagen a la derecha o izquierda de pag. internas */
    .intro,
    .intro-left,
    .intro-3 {
        grid-template-columns: 1fr;
    }
    
    .intro-3 .img-top,
    .intro-3 .img-bottom,
    .intro-3 .ind-hero-text {
        grid-column: auto;
        grid-row: auto;
    }
    
    .intro-img {
        order: -1;
    }
    
    .intro-left .ind-hero-img {
        order: -1;
    }
    
    .intro-3 {
        display: flex;
        flex-direction: column;
    }

    .intro-3 .img-top {
        order: 1;
    }

    .intro-3 .ind-hero-text {
        order: 2;
    }

    .intro-3 .img-bottom {
        order: 3;
    }
    
    .ind-hero-img{
        width: 60%;
        display: block;
        margin: 0 auto;    
    }
  
    /* RESPONSIVE NOTICIAS INICIO */
    #elementoNoticias15057 ul{
        grid-template-columns: 1fr 1fr 1fr;
    }
    #elementoNoticias15057 ul li{
        margin: 1 auto;
    }

    #elementoNoticias15057 a.imc--fitxa {
        width: 330px;
        height: 250px;
        margin: 0 auto;
    }   
    
    /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
        grid-template-columns: 1fr 1fr 1fr;
        }

    .imc--interna a.imc--fitxa {
        width: 310px;
        height: 250px;    
    }
}

@media only screen and (max-width : 1024px) {
    body {
        font-size: 78%;
    }
    
    .imc-peu {
        width: 102vw;
    }

    .imc--logo-app {
        width: 13em;
        height: 3em;
    }

    .imc--pag.imc--inici .imc--img {
        height: 15em;
    }

    .imc--continguts {
        gap: 2em;
    }

    .imc--destacats ul {
        gap: 1em;
    }

    a.imc--fitxa span {
        height: 6em;
    }

    .imc--tenc-projecte div {
        padding: 6em 1.5em 1.5em 1.5em;
    }

    .imc-peu-colaborador{
        width: 130px;  
        height: auto;
        margin: 8px;
        margin-top: 20px;
    }
     
    .imc-peu-inferior a {
        font-size: 1vw;
    }
    .imc-peu-logo{
        margin-left: 9%;
    }
    
    /* responsive menu indicadores*/
    .indicador{
        width: 85%;
        grid-template-columns: 1fr;
        border: 1px solid #e1e1e1;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    .ind-title {
        order: 1;
        display: block;
        margin: 0 auto;
    }
    .ind-title div{
        padding: 0.2rem 0 0.2rem 0;
        font-size: 1.3rem;
    }

    .ind-text {
        order: 2;
        width: 90%;
        display: block;
        margin: 0 auto;
        translate: 1em;
    }
    /* RESPONSIVE ENLACES DE INTERÉS INICIO */
    #elementoNoticias14317 ul{
        grid-template-columns: 1fr 1fr 1fr;
    }
    #elementoNoticias14317 a.imc--fitxa {
        width: 170px;
        height: 170px;    
    }
    
    #elementoNoticias14317 a.imc--fitxa p {
        font-size: 1.2em;
    }
        
   /* RESPONSIVE NOTICIAS INICIO */
    #elementoNoticias15057 ul{
        grid-template-columns: 1fr 1fr;
    }
    /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
        grid-template-columns: 1fr 1fr;
    }

    .imc--interna a.imc--fitxa {
        width: 320px;
        height: 380px;    
    }
    
    /*RESPONSIVE SUBCRIPCION */
    .imc--subscribe-float {
        right: 0px;
        bottom: 0px;
        z-index: 9998;
        background: none;
    }
    
    footer {
        z-index: 9999;
    }

    .imc--subscribe-float h2{
        display: none
    }
    
    .img-visor {
        scale: 120%;
    }

}

@media only screen and (max-width : 768px) {
    body {
        font-size: 65%;
    }

    .imc--menu li a {
        padding: .3em .5em;
    }
    
    .imc--tenc-projecte div {
        top: 16em;
        width: 120%;
        padding: 4em 1em 1em 1em;
        background: #f3f3f3 url(../files/archivopub.do?ctrl=MCRST131ZI497514&id=497514) no-repeat 50% 1em / 3em auto;
    }
    
     .imc--tenc-projecte p {
        margin-top:-10px;
    }
    
    a.imc--fitxa{
        width: 150px;
        height: 150px;
    }

    .imc-peu-colaborador{
        width: 120px;  
        height: auto;
        margin: 1px;
        margin-top: 40px;
    }
    
    .imc-peu-inferior {
        margin-left: -1%;
    }
     /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
        grid-template-columns: 1fr 1fr;
    }

    .imc--interna a.imc--fitxa {
        width: 280px;
        height: 400px;    
    }

    .imc--interna .titol-noticias{
        font-size: 0.9rem !important;
    }

    .imc--interna .subtitol-noticias{
        font-size: 0.8rem !important;
    }
}

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

    .imc-peu-inferior img{
        scale: 140%;
    }
}

@media only screen and (max-width : 700px) {
    .imc--continguts {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    body {
        font-size: 60%;
    }
    
    .imc--noticies ul {
        gap: 1em;
        margin-right: 10%;
        margin-left: 10%;
    }
 
    .imc--menu>button {
        display: block;
        position: fixed;
        z-index: 5;
        top: 1.2em;
        right: 6em;
    }

    .imc--menu>button::before {
        content: "";
        display: inline-block;
        position: relative;
        top: .3em;
        width: 1em;
        height: 1em;
        margin-right: .5em;
        background: transparent url(../files/ico_menu.svg) no-repeat 50% 50% / .7em auto;
    }

    .imc--menu>div {
        position: fixed;
        z-index: 4;
        top: 0;
        right: 0;
        width: calc(100% - 3em);
        height: 100%;
        visibility: hidden;
        opacity: 0;
        transition: visibility .2s cubic-bezier(0, .78, .25, 1), opacity .2s cubic-bezier(0, .78, .25, 1);
    }

    .imc--menu>div::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: .6;
    }

    .imc--menu>div>ul {
        position: fixed;
        top: 0;
        right: 0;
        width: 24em;
        height: 100%;
        padding: 13em 1em 1em 0em;
        background-color: #fff;
        transform: translateX(100%);
        transition: transform .2s ease-out;
    }

    .imc--menu>div>ul>li {
        display: block;
        border-top: 1px solid #f2f2f2;
    }

    .imc--menu>div>ul>li:last-child {
        border-bottom: 1px solid #f2f2f2;
    }

    .imc--menu>div>ul>li a {
        padding: 1em;
    }

    .imc--menu>div>ul>li a span {
        font-size: 1.2em;
    }
    
    .imc--obert{
        margin-right: 35px;
    }

    .imc--menu.imc--obert>button {
        position: fixed;
    }

    .imc--menu.imc--obert>button::before {
        background-image: url(../files/menu_tanca_fff.svg);
    }

    .imc--menu.imc--obert>div {
        visibility: visible;
        opacity: 1;
        transition: visibility 0s ease-out, opacity .2s cubic-bezier(0, .78, .25, 1);
    }

    .imc--menu.imc--obert>div ul {
        transform: translateX(0);
    }

    .imc--menu ul li button {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
        padding: .8em 1em .7em 1em;
    }

    .imc--menu ul li button::after {
        margin-top: .2em;
    }

    .imc--menu ul .imc-menu--sub {
        overflow: hidden;
        position: static;
        min-width: 100%;
        max-width: auto;
        border: none;
        box-shadow: none;
    }

    .imc--menu ul .imc-menu--sub[aria-hidden="true"] {
        display: none;
        visibility: visible;
        opacity: 1;
    }

    .imc--menu ul .imc-menu--sub[aria-hidden="false"] {
        display: true;
    }

    .imc--menu ul .imc-menu--sub ul {
        margin: auto;
    }

    .imc--menu ul .imc-menu--sub li a {
        padding: .5em 1em .5em 2em;
    }

    .imc--menu ul .imc-menu--sub li button {
        padding-left: 2em;
    }

    .imc--menu ul .imc-menu--sub .imc-menu--sub li a {
        padding-left: 3em;
    }

    .imc--opcions {
        position: fixed;
        z-index: 6;
        top: 5.5em;
        right: 0;
        width: 20em;
        text-align: left;
        visibility: hidden;
        opacity: 0;
        transform: translateX(200%);
        transition: transform .1s ease-out, visibility .2s cubic-bezier(0, .78, .25, 1), opacity .2s cubic-bezier(0, .78, .25, 1);
    }

    .imc--opcions.imc--obert {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        transition: transform .3s cubic-bezier(0, .78, .25, 1), visibility 0s ease-out, opacity .2s cubic-bezier(0, .78, .25, 1);
    }

    .imc--idioma,
    .imc--cercador {
        display: block;
        text-align: left;
        margin-right: 0;
    }
    
    .imc--cercador input {
        padding-left: 2em;
        margin-left: 1em;
        background: #fff url(../files/ico_cercador_ccc.svg) no-repeat .8em 52% / 1.2em auto;
    }

    .imc--cercador button {
        margin-top: -1em;
        width: 10%;
    }

    .imc--cercador button span {
        display: block;
        margin-left: -10px; 
    }

    .imc--idioma {
        margin-bottom: 1em;
    }

    .imc--idioma input {
        height: auto;
    }

    .imc--continguts {
        display: block;
    }

    .imc--tenc-projecte {
        position: fixed;
        z-index: 10;
        right: 1em;
        bottom: 17em;
        font-size: 1.5em;
    }

    .imc--tenc-projecte div {
        display: block;
        width: 100%;
        padding: .5em .5em .5em 3em;
        background: #f3f3f3 url(../files/archivopub.do?ctrl=MCRST131ZI497514&id=497514) no-repeat 1em 50% / 1.5em auto;
        border-radius: 0;
    }

    .imc--tenc-projecte div h2 {
        display: inline-block;
        margin-right: 1em;
        margin-bottom: 0;
    }

    .imc--pag .imc--tenc-projecte div h2 span {
        font-size: 1.2em;
    }

    .imc--tenc-projecte p {
        display: none;
    }

    .imc--tenc-projecte a.imc--bt {
        width: 1.5em;
        height: 2em;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .imc--tenc-projecte a.imc--bt span {
        position: absolute;
        top: -999em;
        left: -999em;
    }

    .imc--tenc-projecte a.imc--bt::before {
        content: "";
        display: inline-block;
        position: relative;
        top: .2em;
        width: 1em;
        height: 1em;
        background: transparent url(../files/ico_anar.svg) no-repeat 50% 50% / .7em auto;
    }

     #boto-veure-mes {
        font-size: 0.8rem
    }
   .imc-peu-colaborador{
        width: 100px;  
        height: auto;
        margin: 7px;
        margin-top: 10px;
    }
    
    .imc-peu-inferior img{
        scale: 120%;
    }
    
    /* RESPONSIVE ENLACES DE INTERÉS INICIO */
    #elementoNoticias14317 ul{
        grid-template-columns: 1fr 1fr;
    }
    #elementoNoticias14317 a.imc--fitxa {
        width: 170px;
        height: 170px;    
    }
    
    #elementoNoticias14317 a.imc--fitxa p {
        font-size: 1.6em;
    }
        
    /* RESPONSIVE NOTICIAS INICIO */
    #elementoNoticias15057 ul{
        grid-template-columns: 1fr;
    }
  
    #elementoNoticias15057 a.imc--fitxa {
        width: 450px;
        height: 250px;
        margin: 0 auto;
    } 
    
     /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
        grid-template-columns: 1fr;
    }

    .imc--interna a.imc--fitxa {
        width: 450px;
        height: 250px;    
    }
    
    /* Boto verure mes*/
    a.imc--bt span { font-size: 150% }
    
    /*RESPONSIVE SUBCRIPCION */
    .imc--subscribe-float {
        position: static;
        width: 100%;
        right: auto;
        bottom: auto;
        margin: 2rem 0 0 0;
        padding: 0;
    }

    .imc--subscribe-btn {
        font-size: 0.6rem;
        display: block;
        width: 100%;
    }
    
    html[lang="es"] .imc--subscribe-btn::after {
        content: " para recibir novedades";
        font-size: 150%;
    }

    html[lang="ca"] .imc--subscribe-btn::after {
        content: " per rebre novetats";
        font-size: 150%;
    }

}

@media only screen and (max-width : 480px) {    
    .imc--destacats ul,
    .imc--noticies ul, ul.enllacos {
        grid-template-columns: 1fr 1fr;
    }

    a.imc--fitxa .fitxa--titol {
        font-size: 1.5em;
    }
        
    .imc--tenc-projecte {
        bottom: 27em;
        font-size: 1.3em;
    }
    
    .imc-peu-colaborador {
        display: none;
    }

    .imc-peu-inferior ul {
        display: none;
    }
    
    .imc-peu-inferior a{
        font-size: 10px;
    }
    .imc-peu-inferior img{
        margin-top: 20px;
        margin-left: -40%;
        scale: 220%;
    }
    .imc-peu-inferior{
        display: flex;
        flex-direction: column; /* Apila a y p verticalmente */
        align-items: center; /* Centra horizontalmente */
        justify-content: center; /* Centra verticalmente si el padre tiene altura */
        text-align: center; /* Centra texto */
        width: 100%;
        margin-top: 20px;
    }
    .imc-peu-govern { 
        margin-top: 10px;
    }

    .imc-peu-opcions {
        margin-top: 20px;
    }
    
    
    
    /* RESPONSIVE NOTICIAS INICIO */
    #elementoNoticias15057 a.imc--fitxa {
        width: 350px;
        height: 250px;
        margin: 0 auto;
    } 
    
    /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
        grid-template-columns: 1fr;
    }

    .imc--interna a.imc--fitxa {
        width: 340px;
        height: 250px;    
    }

    /* ampliar imagen indicador */
    .ind-hero-img{
        width: 100%;
        margin-bottom: -10%;
    }
}


@media only screen and (min-width : 200px) and (max-width: 340px) {
    .imc--destacats ul,
    .imc--noticies ul, ul.enllacos {
        grid-template-columns: 1fr;
    }
    

    .imc--interna .titol-noticias{
            font-size: 0.8rem !important;
        }

    .imc--interna .subtitol-noticias{
            font-size: 0.7rem !important;
        }
    
    /* RESPONSIVE ENLACES DE INTERÉS INICIO */
    #elementoNoticias14317 a.imc--fitxa {
        width: 150px;
        height: 150px;    
    }
     #elementoNoticias14317 a.imc--fitxa p {
        font-size: 1.2em;
    }
    
    /* RESPONSIVE NOTICIAS INICIO */
    #elementoNoticias15057 a.imc--fitxa {
        width: 300px;
        height: 250px;
        margin: 0 auto;
    } 
    
    /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
        grid-template-columns: 1fr;
    }

    .imc--interna a.imc--fitxa {
        width: 16rem;
        height: 250px;    
    }
    
    .img-visor {
        scale: 200%;
        border: 1px solid #ddd;
    }
    
    /* contadores */
    .contador_box{
        padding: 0.9px;
        padding-bottom: 10px;
        width: 75%;
    }
    .contador_superior {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.8px;
    }
    
    .contador_izquierda {
        display: contents;
    }
    
    .contador_box .contador_titulo {
        font-size: 0.78rem;
        order: 3;
    }
    
    .contador_box .contador_num{
        font-size: 1.5rem;
        order: 2;
    }
    
    .contador_box .contador_icono {
        width: 60%;
        order: 1;
    }
    
    .contador_box .contador_fecha{
        font-size: 0.65rem;
        padding: 8px;
    }
    
    
}

@media only screen and (min-width : 341px) and (max-width: 622px) {
    .imc--destacats ul,
    .imc--noticies ul, ul.enllacos {
        grid-template-columns: 1fr;
    }
    .imc-peu-colaborador{
        width: 60px; 
        height: auto;
    }   
        
    .img-visor {
        scale: 200%;
        border: 1px solid #ddd;
    }
    
    /* contadores */
    .contador_box{
        padding: 0.9px;
        padding-bottom: 10px;
        width: 42%;
    }
    .contador_superior {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.8px;
    }
    
    .contador_izquierda {
        display: contents;
    }
    
    .contador_box .contador_titulo {
        font-size: 0.78rem;
        order: 3;
    }
    
    .contador_box .contador_num{
        font-size: 1.5rem;
        order: 2;
    }
    
    .contador_box .contador_icono {
        width: 60%;
        order: 1;
    }
    
    .contador_box .contador_fecha{
        font-size: 0.65rem;
        padding: 8px;
    }
}

    /* =====================================
        RESPONSIVE PARA CONTADORES INTERNOS
       ===================================== */
@media only screen and (min-width : 200px) and (max-width: 622px) {
    /* =====================================
        CONTADORES INTERNOS TOTAL
       ===================================== */
    .contadores_TOTAL {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .contadores_TOTAL .contador_box {
        width: 90%;
        max-width: 380px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
        /* =====================================
        CONTADORES INTERNOS SUBTOTAL
       ===================================== */
    .contadores_SUBTOTAL {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .contadores_SUBTOTAL .contador_box {
        width: 40%;
        margin-left: -8px;
        margin-right: -8px;
        box-sizing: border-box;
    }
    .contadores_SUBTOTAL .contador_subbox {
        height: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    /* =====================================
       MENÚ DE TARJETAS
       ===================================== */
    .contadores_HP,
    .contadores_SUBSUBTOTAL {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        width: 100%;
        padding: 5px 12px 15px;
        box-sizing: border-box;
        justify-content: flex-start;
        /* desplazamiento táctil */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        /* ocultamos la barra de desplazamiento */
        scrollbar-width: none;
    }

    .contadores_HP::-webkit-scrollbar,
    .contadores_SUBSUBTOTAL::-webkit-scrollbar {
        display: none;
    }
    
    .contadores_HP .contador_subbox {
        height: 70%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    /* =====================================
       Flechas del menu
       ===================================== */
    .contadores_HP,
    .contadores_SUBSUBTOTAL {
        position: relative;
    }

    .contadores_HP::after,
    .contadores_SUBSUBTOTAL::after {
        content: "›";
        position: sticky;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        line-height: 1;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 5px 0 0 5px;
        z-index: 10;
        pointer-events: none;
    }


    /* =====================================
       TARJETAS DEL MENÚ
       ===================================== */
    .contadores_HP .contador_box,
    .contadores_SUBSUBTOTAL .contador_box {
        flex: 0 0 155px;
        width: 155px;
        min-width: 155px;
        margin: 0;
        box-sizing: border-box;
    }


    /* =====================================
       CONTENIDO INTERNO DE LAS TARJETAS
       ===================================== */
    .contadores_HP .contador_superior,
    .contadores_SUBSUBTOTAL .contador_superior {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5px;
    }


    .contadores_HP .contador_izquierda,
    .contadores_SUBSUBTOTAL .contador_izquierda {
        display: contents;
    }

    /* ICONO */
    .contadores_HP .contador_icono,
    .contadores_SUBSUBTOTAL .contador_icono {
        width: 50%;
        order: 1;
    }

    /* NÚMERO */
    .contadores_HP .contador_num,
    .contadores_HP .no_contador,
    .contadores_SUBSUBTOTAL .contador_num,
    .contadores_SUBSUBTOTAL .no_contador {
        font-size: 1.25rem;
        order: 2;
        margin-top: -5px;
    }

    /* TÍTULO */
    .contadores_HP .contador_titulo,
    .contadores_SUBSUBTOTAL .contador_titulo {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 0.78rem;
        line-height: 1.15;
    }

    /* FECHA */
    .contadores_HP .contador_fecha,
    .contadores_SUBSUBTOTAL .contador_fecha {
        width: 100%;
        min-height: 32px;
        padding: 5px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 0.62rem;
    }

    /* =====================================
       TARJETA ACTIVA
       ===================================== */
    .contadores_HP .contador_activo,
    .contadores_SUBSUBTOTAL .contador_activo {

        /* mantenemos el estilo que ya tengas */
        transform: none;
    }

    /* =====================================
       GRÁFICO / PANEL
       ===================================== */
    #panelTema,
    .contador_grafico {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    #tituloGrafico {
        margin-bottom: 40px !important;
    }

}

@media only screen and (min-width : 623px) and (max-width: 1440px) {
   
    .imc--destacats ul,
    .imc--noticies ul, ul.enllacos {
        grid-template-columns: 1fr 1fr;
    }
    
    .img-visor {
        scale: 180%;
        border: 1px solid #ddd;
    }
    
    /* contadores */
    .contador_box .contador_titulo {
        font-size: 1rem;
    }
    
    .contador_box .contador_num{
        font-size: 2rem;
    }
    
    .contador_box .contador_icono {
        width: 80%;
    }
    
    .contador_box .contador_fecha{
        font-size: 0.75rem;
    }
 
    /* =====================================
        CONTADORES INTERNOS TOTAL
       ===================================== */
    .contadores_TOTAL {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .contadores_TOTAL .contador_box {
        width: 90%;
        max-width: 380px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
        /* =====================================
        CONTADORES INTERNOS SUBTOTAL
       ===================================== */
    .contadores_SUBTOTAL,
    .contadores_SUBSUBTOTAL{
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .contadores_SUBTOTAL .contador_box,
    .contadores_SUBSUBTOTAL .contador_box{
        width: 40%;
        margin-left: -8px;
        margin-right: -8px;
        box-sizing: border-box;
    }
    .contadores_SUBTOTAL .contador_subbox{
        height: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    /* contadores internos */
    .contadores_HP .contador_box,
    .contadores_SUBSUBTOTAL .contador_box{
        padding: 0.9px;
        padding-bottom: 10px;
        width: 14%;
        margin-left: -8px;
        margin-right: -8px;       
    }
    .contadores_HP .contador_subbox,
    .contadores_SUBSUBTOTAL .contador_subbox{
        margin-top: -10px;
        margin-bottom: 1.6rem;
    }
    .contadores_HP .contador_superior,
    .contadores_SUBSUBTOTAL .contador_superior{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.8px;
    }
    
    .contadores_HP .contador_izquierda,
    .contadores_SUBSUBTOTAL .contador_izquierda{
        display: contents;
    }
    
    .contadores_HP .contador_box .contador_titulo,
    .contadores_SUBSUBTOTAL .contadores_HP .contador_box .contador_titulo{
        font-size: 0.78rem;
        width: 100%;
        min-height: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .contadores_HP .contador_box .contador_num,
    .contadores_HP .contador_box .no_contador,
    .contadores_SUBSUBTOTAL .contador_box .contador_num,
    .contadores_SUBSUBTOTAL .contador_box .no_contador{
        font-size: 1.2rem;
        order: 2;
        margin-top: -12px;
    }
    
    .contadores_HP .contador_box .contador_icono,
    .contadores_SUBSUBTOTAL .contador_box .contador_icono{
        width: 80%;
        order: 1;
    }
    
    .contadores_HP .contador_box .contador_fecha,
    .contadores_SUBSUBTOTAL.contador_box .contador_fecha{
        font-size: 0.65rem;
        padding: 8px;
        width: 100%;
        min-height: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    #tituloGrafico {
        margin-bottom: 40px !important;
    }
}

@media only screen and (min-width : 1441px) and (max-width: 1920px) {
    
     body {
        font-size: 100%;
    }
    
     /* RESPONSIVE NOTICIAS INTERNAS */
    .imc--interna .imc--destacats ul,
    .imc--interna .imc--noticies ul, 
    .imc--interna ul.enllacos {
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        }

    .imc--interna a.imc--fitxa {
            width: 240px;
            height: 400px;    
        }

    .imc--interna .titol-noticias{
            font-size: 0.9rem !important;
        }

    .imc--interna .subtitol-noticias{
            font-size: 0.8rem !important;
        }

    .imc-peu-colaborador{
        width: 210px; 
        height: auto;
        margin: 20px;
    }
    .imc-peu-logo{
        margin-left: 6%;
    }
    
    /* contadores internos */
    .contadores_HP .contador_box{
        padding: 0.9px;
        padding-bottom: 10px;
        width: 14%;
        margin-left: -8px;
        margin-right: -8px;       
    }
    
    .contadores_HP .contador_num,
    .contadores_HP .no_contador{
        font-size: 1.8rem;
    }
}


@media only screen and (min-width : 1920px) {
    
    .imc--destacats ul,
    .imc--noticies ul, ul.enllacos {
        grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    }
        
    .imc--noticies ul{grid-gap: 50px;}
    
    .imc-peu-colaborador{
        width: 300px;  /* Ajusta el tamaño de las imágenes */
        height: auto;
        margin: 30px;
    }
    .imc--tenc-projecte div {
        width: 70%;
        padding: 11em 2em 2em 2em;
        background: #f3f3f3 url(../files/archivopub.do?ctrl=MCRST131ZI497514&id=497514) no-repeat 50% 1em / 8em auto;
    }
}