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 */

/* 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: #d3832b !important;
}


/* generic */

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

html,
body {}

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

p {
    line-height: 1.4em;
}

td{
    padding: 0.5em;
}

.section-form td{
    padding: 0 2em 0 0;
}


/* enllaç */

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: #5a9eaa;
}

/* títols */

header {}



h1 {
    font-size: 1.8em;
}

h2 {

    margin-bottom: 1.7em;
    background-color: #f5e1a4;
    border-radius: 8px;
}

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;
}

.titol-1 {
  width: 80%;
  background-color: #fff;
  color: #d3832b;
  box-shadow: 0 0 4px #b1dfea;

  font-size: 2rem;
  padding: 0.6em 0 0.6em 0.6em;
  border-radius: 0 50px 50px 0; /* redondeado solo a la izquierda */
  border: 6px solid #d3832b;  
  font-family: 'Noto Sans', sans-serif;
}

.titol-2{
  width: 70%;
  background-color: #fff;
  color: #d3832b;
  box-shadow: 0 0 4px #b1dfea;
translate: 6.8em;
  font-size: 2rem;
  padding: 0.6em 0 0.6em 0.6em;
  border-radius: 0 50px 50px 0; /* redondeado solo a la izquierda */
  border: 6px solid #d3832b;  
  font-family: 'Noto Sans', sans-serif;    
}

/* script inicio de web */
/* Pantalla negra de carga */
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
  }

/* muestra contenido al cargar */
/* Paneles de cortina */
.curtain {
  position: fixed;
  background: black;
  z-index: 9999;
}

/* Horizontales */
.curtain.left,
.curtain.right {
  top: 0;
  width: 50vw;
  height: 100vh;
}

.curtain.left {
  left: 0;
  transform-origin: left center;
  animation: openLeft 1.5s ease forwards;
}

.curtain.right {
  right: 0;
  transform-origin: right center;
  animation: openRight 1.5s ease forwards;
}

/* Verticales */
.curtain.top,
.curtain.bottom {
  left: 0;
  width: 100vw;
  height: 50vh;
}

.curtain.top {
  top: 0;
  transform-origin: top center;
  animation: openTop 1.5s ease forwards;
}

.curtain.bottom {
  bottom: 0;
  transform-origin: bottom center;
  animation: openBottom 1.5s ease forwards;
}

/* Animaciones */
@keyframes openLeft {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@keyframes openRight {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@keyframes openTop {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@keyframes openBottom {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}


/* script banner */

.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;
    z-index: 2;
}


/* script aparecer section */

section {
    position: relative;
    overflow: hidden;
    transition: all 3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.section1{

}

.section2{

}

.section3{

}

.section4{

}





section.show {
  opacity: 1;
  transform: translateY(0);
}



/* logo*/

.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;
}


/* 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: 2;
    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: 20.5em;
    height: 6em;
    background: transparent url(archivopub.do?ctrl=MCRST16686ZI522078&id=522078) no-repeat left center / auto 94%;
    margin: -0.1em 0 0em 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;
    margin-left: 5.2em;
}

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

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

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

.imc--menu li a span {
    font-size: 1.2em;
}


/* 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 a {
    font-size: 1.2 em;
    color: #d3832b;
    line-height: 1.2em;
}

.imc--menu ul button a {
    -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 a,
.imc--menu ul button:focus a {
    color: white;
}

.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: 25px;
    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;
}


/* continguts */

.imc--continguts {
    display: grid;
    grid-template-columns: 75vw;
    gap: 4em;   
    justify-content: center;  
}

.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;
    border-bottom: solid #cccfd2 1px;
    margin-top: 0px;
    padding: 12px;
    border-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.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;
}

.imc--interna #boto-veure-mes{
    display: none;
}


/* 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: #e5e5e5; 
    border-radius: 0.5em;
}


/* img */

.imc--pag.imc--inici .imc--img {
    display: flex;
    height: 77em;
    background: transparent url() no-repeat center center / cover;
    max-height: 830px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 2px 2px white inset;
    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;
}

.img--inici-1,
.img--inici-2 {
    box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 1.5s ease;
}

.img--inici-1 {
    transform: translateX(50vw);
}
.img--inici-1.show {
    transform: translateX(0);
    opacity: 1;
}

.img--inici-2 {
    transform: translateX(-50vw);
}
.img--inici-2.show {
    transform: translateX(0);
    opacity: 1;
}


/* header */

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

.imc--pag.imc--inici h2 span {
    font-size: 1.8em;
    margin-left: 11px;
}

/* Título principal */
/* Contenedor común para centrar ambos títulos */
.titol-container {
  margin-top: -30%;
  transform: translateX(-62%);
  width: 45%; /* o auto si prefieres que se adapte */
  background-color: rgba(255, 255, 255, 0.8);
  border: 6px solid #d3832b;
  border-radius: 0 100px 100px 0; /* bordes redondeados a la derecha */
}

/* Título principal */
.titol--cap {
  font: 3em 'Noto Sans';
  font-weight: 800;
  color: #41a867;
  padding: 0 0.2em 0 0.6em;

}

/* Subtítulo */
.titol--subcap {
    font-size: 1.6em !important;;
    font-weight: 500;
    color: #2d7851;
    padding: 0 0.2em 0 1em;
}

/* Ponentes */
.tborder-1{
    border-top: 6px solid #d3832b;
    border-left: 6px solid #d3832b;
    border-top-left-radius: 12px;
    background-color: #d3832b;
}

.tborder-2{
    border-top: 6px solid #d3832b;
    border-right: 6px solid #d3832b;
    border-top-right-radius: 12px;
    background-color: #d3832b;
}

.tborder-3{
    border-bottom: 6px solid #d3832b;
    border-left: 6px solid #d3832b;
    border-bottom-left-radius: 12px;
    background-color: #d3832b;
}

.tborder-4{
    border-bottom: 6px solid #d3832b;
    border-right: 6px solid #d3832b;
    border-bottom-right-radius: 12px;
    background-color: #d3832b;
}

.tborder-10{
    border-top: 6px solid #75879d;
    border-left: 6px solid #75879d;
    border-top-left-radius: 12px;
    background-color: #75879d;
}

.tborder-20{
    border-top: 6px solid #75879d;
    border-right: 6px solid #75879d;
    border-top-right-radius: 12px;
    background-color: #75879d;
}

.tborder-30{
    border-bottom: 6px solid #75879d;
    border-left: 6px solid #75879d;
    border-bottom-left-radius: 12px;
    background-color: #75879d;
}

.tborder-40{
    border-bottom: 6px solid #75879d;
    border-right: 6px solid #75879d;
    border-bottom-right-radius: 12px;
    background-color: #75879d;
}

.tabla-ponents {
    color: white;
}

.tabla-ponents ul {
  padding-left: 4%;
  margin: 0;
}

.tabla-ponents ul li::before {
  content: "• ";              /* el icono o viñeta personalizada */
  color: #fff;            
  font-weight: bold;
  margin-right: 0.5em;
}


table {
  border-collapse: separate;
  border-spacing: 0;
}

/* Programa */
.tfila\.1{
    font-size: 1.2em;
    border-top: 6px solid #d3832b;
    border-left: 6px solid #d3832b;
    border-right: 6px solid #d3832b;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #d3832b !important;
}

.tfila\.2{
    font-size: 1.2em;
    border-bottom: 6px solid #75879d;
    border-left: 6px solid #75879d;
    border-right: 6px solid #75879d;
    background-color: #75879d !important;
}


.tabla-programa ul {
  padding-left: 4%;
  margin: 0;
}

.tabla-programa ul li::before {
  content: "• ";              /* el icono o viñeta personalizada */
  color: #d3832b;             /* color corporativo */
  font-weight: bold;
  margin-right: 0.5em;
}

.img-OHIB{
    margin-top: 8px;
    margin-bottom: -20px;
    width: 40%;
}

/* Formulari */
.section-form {
    width: 70%;
    background-color: #d5d7d2;
    border: 9px solid #75879d;
    border-radius: 40px;
    margin: auto;
}




#boto-veure-mes {
  position: absolute;
  z-index: 4;
  right: 0; 
  top: 20em;
  background-color: #fff;
  box-shadow: 0 0 4px #b1dfea;
  font-weight: 900;
  letter-spacing: 0.087em;
  text-transform: uppercase;
  font-size: 2rem;
  padding: 0.6em 4.2em 0.6em 1.2em;
  border-radius: 50px 0 0 50px; /* redondeado solo a la izquierda */
  border: 6px solid #d3832b;  
  cursor: pointer;
  font-family: 'Noto Sans', sans-serif;
  transform: translateX(0.4%); /* oculta parte por la derecha */
  transition: all 0.8s ease-out;
}

#boto-veure-mes:hover {

    padding: 0.6em 6.2em 0.6em 1.2em;
}

#boto-veure-mes:active {
    background-color: white;
    text-shadow: 0 0 1px #d3832b;
     box-shadow: 0 0 15px #75879d;
    border: 6px solid #d3832b;  
    transform: scale(.97);
    color: #d3832b;
    box-shadow: 0 0 8px #b1dfea;
    transition: none
}

/* bontons d'inici*/
.img-boton {
    width: 40%;
    border-radius: 9%;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 4px solid #75879d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.img-boton:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}


/* destacats */

.imc--destacats {
    padding-top: 2em;
}

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


/* noticies */

.imc--noticies ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    gap: 2em;
    justify-content: center;
    padding-left: 0;
    margin-bottom: 1.5em;
}

.imc--noticies ul li {
    list-style: none !important;
    padding-bottom: 0 !important;
    justify-self: center;
}


/* fitxes */

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

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;
}

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

a.imc--fitxa span:last-child, 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;
}

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

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

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

a.imc--fitxa:hover span,
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 */
}


/* 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;
}


/* tenc un projecte! */

.imc--tenc-projecte {
    display: none;
    text-align: center;
    padding-top: 5em;
    padding-bottom: 2em;
}

.imc--tenc-projecte div {
    display: block;
    position: sticky;
    z-index: 1;
    top: 7em;
    width: 90%;
    margin: 0 auto;
    padding: 10em 2em 2em 2em;
    background: #f3f3f3 url(../files/archivopub.do?ctrl=MCRST131ZI497514&id=497514) no-repeat 50% 2em / 6em auto;
    border: 1px solid #f2f2f2;
    border-radius: 100%;
    box-shadow: 0px 0 .5em #ccc;
}

.imc--tenc-projecte p {
    margin-bottom: 1.5em;
}

.imc--tenc-projecte a {
    font-size: 1.2em;
}


/* currículum */

.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;
}


/*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; /* toma el resto del ancho disponible */
}



/* 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);
}


/* peu */

.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-bottom: 2%;
    margin-top: 2%;
    width: 70vw;
}

.imc-peu-govern { 
}

.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-govern p { 
}

.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;
}


/* interoperabilitat */

.ocult {
    display: none;
}

.noOcult {
    display: flex;
}


/* media */

    /*mantener el clic como forma de abrir en móviles, y hover en desktop*/

@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 : 1400px) {

    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;  /* Ajusta el tamaño de las imágenes */
        height: auto;
        margin: 30px;
    }
    .imc-peu-logo{
        margin-left: 9%;
    }
     .imc-peu-opcions a {
       font-size: 12px;
    }
     .imc-peu-opcions{
        margin-top: 10px;
    }

    .titol--cap {
        letter-spacing: 0.0em;
        font: 2.8em 'Noto Sans';
        font-weight: 800;
    }
    
    .titol-container {
      margin-top: -40%;
      transform: translateX(-46%);
      width: 52%; 
    }
    
    .titol-1 {
     width: 90%;
     font-size: 1.5rem;
    }
    .titol-2{
     width: 69%;
     font-size: 1.6rem;
     translate: 5.8em;
    }
}

@media only screen and (max-width : 1200px) {

    body {
        font-size: 80%;
    }
       
    a.imc--fitxa{
        width: 200px;
        height: 200px;
    }
    
    .imc-peu-colaborador{
        width: 150px;  /* Ajusta el tamaño de las imágenes */
        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%;
    }
    
    .imc--pag.imc--inici .imc--img {
        height: 40em;
        justify-content: space-evenly;
    }
    
    .titol-container {
      margin-top: -30%;
      transform: translateX(-45%);
      width: 53%; 
    }
    
    .titol--cap {
        letter-spacing: 0.0em;
        font: 2.1em 'Noto Sans';
        font-weight: 800;
    }
    .titol--subcap {
        font-size: 1.5em !important;
    }
    

    #boto-veure-mes {
        font-weight: 800;
        font-size: 2.3em !important;
        top: 10em;
        
    }
    
    .titol-1 {
     width: 93%;
     font-size: 1.3rem;
    }
    .titol-2{
     width: 69%;
     font-size: 1.4rem;
     translate: 5.5em;
    } 
}

@media only screen and (max-width : 1000px) {

    body {
        font-size: 78%;
    }
    
    .imc-peu {
        width: 102vw;
    }

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

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

    .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;  /* Ajusta el tamaño de las imágenes */
        height: auto;
        margin: 8px;
        margin-top: 20px;
    }
     
    .imc-peu-inferior a {
        font-size: 1vw;
    }
    .imc-peu-logo{
        margin-left: 9%;
    }
    
    .titol--cap {
        letter-spacing: 0.0em;
        font: 2.2em 'Noto Sans';
        font-weight: 800;
    }
    .titol--subcap {
        font-size: 1.3em !important;
    }
      
    .titol-container {
      margin-top: -32%;
      transform: translateX(-42%);
      width: 56%; 
      border: 4px solid #d3832b; 
    }
    
    #boto-veure-mes {
        font-weight: 800;
        font-size: 2em !important;
        top: 13em;
        border: 4px solid #d3832b; 
    }
    
    .titol-1 {
     width: 90%;
     font-size: 1rem;
     border: 4px solid #d3832b; 
    }
    .titol-2{
     width: 69%;
     font-size: 1rem;
     translate: 6em;
     border: 4px solid #d3832b; 
    } 
    .section-form {
      border: 6px solid #75879d;  
    }
}

@media only screen and (max-width : 800px) {
    
    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;  /* Ajusta el tamaño de las imágenes */
        height: auto;
        margin: 1px;
        margin-top: 40px;
    }
    
    .imc-peu-inferior {
        margin-left: -1%;
    }
     .titol-container {
      margin-top: -29%;
      transform: translateX(-48%);
      width: 52%; 
      border: 4px solid #d3832b; 
    }
    
    .titol--cap {
        letter-spacing: 0.0em;
        font: 2.2em 'Noto Sans';
        font-weight: 800;
    }
    .titol--subcap {
        font-size: 1.2em !important;
    }
    
    #boto-veure-mes {
        font-weight: 800;
        font-size: 2em !important;
        top: 13em;
        border: 4px solid #d3832b; 
        padding: 0.6em 1.2em 0.6em 1.2em;
    }
    
    .titol-1 {
     width: 92%;
     font-size: 0.9rem;
     border: 4px solid #d3832b; 
    }
    .titol-2{
     width: 69%;
     font-size: 1rem;
     translate: 5.2em;
     border: 4px solid #d3832b; 
    } 
    .section-form {
      border: 6px solid #75879d;  
    }
}

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

    .imc--continguts {
        margin-left: 2em;
        margin-right: 2em;
    }
    .imc-peu-inferior img{
        scale: 140%;
    }

}

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

    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: 3em;
    }

    .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: 20em;
        height: 100%;
        padding: 13em 1em 1em 1em;
        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--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: 19em;
        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--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;
    }


   .imc-peu-colaborador{
        width: 100px;  /* Ajusta el tamaño de las imágenes */
        height: auto;
        margin: 7px;
        margin-top: 10px;
    }
    .imc-peu-inferior img{
        scale: 120%;
    }
    
    .titol-container {
      margin-top: -41%;
      transform: translateX(-20%);
      width: 72%; 
      border: 3.5px solid #d3832b; 
    }
    
    .titol--cap {
        letter-spacing: 0.0em;
        font: 2em 'Noto Sans';
        font-weight: 800;
    }
    .titol--subcap {
        font-size: 1.2em !important;
    }
    
    #boto-veure-mes {
        font-weight: 800;
        font-size: 2em !important;
        top: 13em;
        border: 3.5px solid #d3832b; 
        padding: 0.6em 1.2em 0.6em 1.2em;
    }
    
    .titol-1 {
     width: 99%;
     font-size: 0.8rem;
     border: 3.5px solid #d3832b; 
    }
    .titol-2{
     width: 69%;
     font-size: 0.8rem;
     translate: 4em;
     border: 3.5px solid #d3832b; 
    } 
    .section-form {
      border: 3.5px solid #75879d;  
    }
    
}

@media only screen and (max-width : 440px) {
    
    
    .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: 60px;
    }
    .imc-peu-govern { 
        margin-top: 10px;
    }

    .imc-peu-opcions {
        margin-top: 70px;
    }
    
     .titol-container {
      margin-top: -60%;
      transform: translateX(-12%);
      width: 80%; 
      border: 2px solid #d3832b; 
    }
    
    .titol--cap {
        letter-spacing: 0.0em;
        font: 1.8em 'Noto Sans';
        font-weight: 800;
    }
    .titol--subcap {
        font-size: 1em !important;
    }
    
    #boto-veure-mes {
        font-weight: 800;
        font-size: 1.8em !important;
        top: 13em;
        border: 3px solid #d3832b; 
        padding: 0.6em 1.2em 0.6em 1.2em;
    }
    
    .titol-1 {
     width: 90%;
     font-size: 0.8rem;
     border: 3px solid #d3832b; 
    }
    .titol-2{
     width: 90%;
     font-size: 0.8rem;
     translate: 1em;
     border: 3px solid #d3832b; 
    } 
    .section-form {
      border: 6px solid #75879d;  
      width: 100%;
    }
}


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

@media only screen and (min-width : 341px) and (max-width: 622px) {
    .imc--destacats ul,
    .imc--noticies ul, ul.enllacos {
        grid-template-columns: 1fr 1fr;
    }
    .imc-peu-colaborador{
    width: 60px;  /* Ajusta el tamaño de las imágenes */
    height: auto;

    }
}

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

@media only screen and (min-width : 1401px) and (max-width: 2100px) {
    .imc--destacats ul,
    .imc--noticies ul, ul.enllacos {
        grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
    }
    .imc-peu-colaborador{
        width: 210px;  /* Ajusta el tamaño de las imágenes */
        height: auto;
        margin: 20px;
    }
    .imc-peu-logo{
        margin-left: 6%;
    }
     .titol--cap {
        letter-spacing: 0.0em;
        font: 3.1em 'Noto Sans';
        font-weight: 800;
    }
    
    .titol-container {
      margin-top: -34%;
      transform: translateX(-27%);
      width: 65%; 
    }
    .titol-1 {
     width: 92%;
     font-size: 1.8rem;
     border: 4px solid #d3832b; 
    }
    .titol-2{
     width: 69%;
     font-size: 1.8rem;
     translate: 5.2em;
     border: 4px solid #d3832b; 
    } 
    
}


@media only screen and (min-width : 2101px) {
    
    .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;
    }
    .imc-peu {
        height: 320px;
    }
    
}
