/*
Theme Name: Ribas Alvarez
Theme URI: https://example.com/
Description: Tema hijo de Hello Elementor para Rivas Alvarez.
Author: Rivas Alvarez
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: rivas-alvarez
*/

/* Personalizaciones del tema hijo */

html,body{font-size:16px;line-height:1.2em;font-family: "Montserrat", sans-serif;}

h2,.elementor-kit-6 h2,.bigText,.bigText p{font-size: 2.18rem;font-weight: 300;}
.text45 h2{font-size:2.81rem}
p,.elementor-widget-text-editor{line-height:1.4em;}

h1 strong, h2 strong, p strong {
  font-weight: 500 !important;
}




/* Maquetación página */
  #header > .e-con-inner{width:95%}
  /*body > div.elementor > div:not(#theHeader) > .e-con-inner,
  .page-content > div > div:not(#theHeader) > .e-con-inner,
  #theHeader .elementor-element > .e-con-inner{width: 95%;} */

  body > div.elementor > div:not(#theHeader) > *,
  #theHeader .elementor-element > .e-con-inner{width: 95%;margin:auto}

.page-content > div > div{padding-top:2em;padding-bottom:2em}

#menu-content ul{list-style: none;padding: 0;}
#menu-content svg#Capa_1{width: 6px}

/* Encabezados fullwidth */
body #theHeader .e-con-inner > div{--align-self:none}
body #theHeader .e-con > .elementor-widget{max-width: 90%;width:600px}
body #theHeader h1{font-size: 3.75rem;font-weight: 300;line-height: 1.1em;color:#fff;max-width: 700px}
body #theHeader h1 strong{font-weight: 500 !important;}

/* Home */
body > div.elementor > #slider-home > div {width: 100%;margin:0}
#home-services-loop .swiper-slide a{background-position: center;background-size: cover} 
#home-services-loop .swiper-wrapper a::after{content: " ";position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0, 0) 50%);pointer-events: none;}
#home-services-loop .swiper-wrapper a:hover::after{background: linear-gradient(0deg, rgba(0,0,0,.4), rgba(0,0,0, 0) 50%);}
#home-services-loop .elementor-widget-heading{color:#fff;z-index: 100}
/* Contacte */
.e-hotspot__tooltip p{color:#101A21;font-size: .8rem;font-weight: 300}
.e-hotspot__tooltip{padding:2em;box-shadow: 0px 8px 30px #68929F38;}

/* Contacte: Form elementor */
body form.elementor-form .elementor-field{background:#f3f3f3!important;border-radius: .62em;border:1px solid #ededed;margin-top:.25em;margin-bottom:.25em;}
body form.elementor-form .elementor-field[type="input"]{height: 3.25em}
body form.elementor-form .elementor-field::placeholder{color:#101a21;font-size: .81em}
body form.elementor-form .elementor-button[type="submit"]{flex-basis: inherit!important}

/* Nosaltres */
.twae-title b, .twae-title strong{margin-left:.2em}
.single-teamribasalvarez ul.wp-block-list {
    padding-left: 20px !important;
}
a.team-email:hover {
    color: var( --e-global-color-primary );
}

/* Team */
.team-grid{display: flex;flex-wrap: wrap;}
.team-grid .team-member{width:23%;background:#f3f3f3;float:left;margin-right:2%;margin-bottom:2em;flex: 0 0 23%}
.team-grid .team-member img{width:100%}
.team-grid .team-member *{text-align: center}
.team-grid .team-member h4,
.team-grid .team-member p{padding-left:1em;padding-right:1em;}
.team-grid .team-member p{font-size:.8rem}
.team-grid .team-member h4{font-weight: 300;margin-top:1em}
.team-grid .team-member .contact{padding-bottom:1em}
.team-grid .team-member .contact a{margin:0 .5em}
.team-grid .team-member .contact .text{display:none}

.team-member h4 {
    height: 60px !important;
}

.team-member p.cargo {
    height: 40px;
}

.team-member p.team-titulo {
    height: 50px;
}



/* Col·laboradors */
#logos-colabs .e-con-inner{display: flex;flex-wrap: wrap;flex-direction: row}
#logos-colabs .e-con-inner > div{width:33%;float:left;margin-bottom:2em;flex: 33%;text-align: center;}
#logos-colabs .e-con-inner img{margin:auto}
#membres img{filter:grayscale(1);}



/* Blog */
.page-id-1517 header{box-shadow: 0px 3px 6px #101A2110;}
.page-id-1517 h1, .page-id-2611 h1{font-weight: 300;font-size:3.75rem}
#blogroll-ra{padding-bottom:2em}
#blogroll-ra .elementor-widget-loop-grid .e-loop-item{background:#f3f3f3;padding:0}
#blogroll-ra .elementor-widget-loop-grid article{flex-direction: column;padding:0}
#blogroll-ra .elementor-widget-loop-grid .e-loop-item .elementor-post-info a:not(.elementor-post-info__terms-list-item){display: none}
#blogroll-ra .elementor-widget-loop-grid .e-loop-item .elementor-post-info__terms-list-item{color:#E33B3B}
#blogroll-ra .elementor-widget-loop-grid article a{width:100%}
#blogroll-ra .elementor-widget-loop-grid article img{margin-bottom:2em}
#blogroll-ra .elementor-widget-loop-grid article h2{color:#101A21;line-height: 1.2em;margin:.5em 0;font-weight: 300}

.category-buttons a.cat-btn{background: transparent!important;color:#E33B3B;border:1px solid #e33b3b;height: 3em;border-radius: 5px;vertical-align: middle;display: inline;padding:.5em 2em}
.category-buttons a.cat-btn:hover,
.category-buttons a.cat-btn.current{color:#fff;background: #e33b3b!important}




/* Article */
.single-post header{box-shadow: 0px 3px 6px #101A2110;}
.single-post .post{padding-top:3em}
.single-post .elementor-widget-theme-post-title h1.elementor-heading-title{font-weight: 300;font-size:3.75rem;color:#101A21;}
.single-post .ra-metadata {padding:2em 0}
.single-post .ra-featured img{width:100%}

.elementor-widget-author-box{width: 500px;}
.elementor-widget-author-box .elementor-author-box{background: #f3f3f3;margin:2em 2em 2em 0;padding:1em;}

#related-posts{margin-bottom:2em}
#related-posts .elementor-widget-posts article{background:#f3f3f3;padding:0;}
#related-posts .elementor-widget-posts article img{margin-bottom:2em}
#related-posts .elementor-widget-posts .elementor-post__text{margin:2em 10%;width: 80%}
#related-posts .elementor-widget-posts article h3,#related-posts .elementor-widget-posts article h3 a{color:#101A21;line-height: 1.2em;margin:.5em 0;font-weight: 300}


/* Notícies */

.page-id-1588 header{box-shadow: 0px 3px 6px #101A2110;}
.page-id-1588 main#content{background:#f3f3f3}
.page-id-1588 h1, .page-id-2655 h1{font-weight: 300;font-size:3.75rem}
#noticies-ra .elementor-widget-loop-grid .e-loop-item{background:#fff;padding:0}
#noticies-ra .elementor-widget-loop-grid article{flex-direction: column;padding:0}
#noticies-ra .elementor-widget-loop-grid .e-loop-item .elementor-post-info a:not(.elementor-post-info__terms-list-item){display: none}
#noticies-ra .elementor-widget-loop-grid .e-loop-item .elementor-post-info__terms-list-item{color:#E33B3B}
#noticies-ra .elementor-widget-loop-grid article a{width:100%}
#noticies-ra .elementor-widget-loop-grid article img{margin-bottom:2em}
#noticies-ra .elementor-widget-loop-grid article h2{color:#101A21;line-height: 1.2em;margin:.5em 0;font-weight: 300}


/* Noticia */
.single-newsribasalvarez header{box-shadow: 0px 3px 6px #101A2110;}
.single-newsribasalvarez .post{padding-top:3em}
.single-newsribasalvarez .elementor-widget-theme-post-title h1.elementor-heading-title{font-weight: 300;font-size:3.75rem;color:#101A21;}
.single-newsribasalvarez .ra-metadata {padding:2em 0}
.single-newsribasalvarez .ra-featured img{width:100%}
.single-newsribasalvarez #related-posts{display: none}


/* Serveis */
#serveis-grid {padding-bottom:6em}
#serveis-grid .e-con-inner{justify-content: center}
#serveis-grid .e-con-inner > a{display: block;margin-bottom:2em}
#serveis-grid .elementor-widget-image img{width: 100%}
#serveis-grid .elementor-widget-image::after{content: " ";position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0, 0) 50%);pointer-events: none;}
#serveis-grid .elementor-widget-image:hover::after{background: linear-gradient(0deg, rgba(0,0,0,.4), rgba(0,0,0, 0) 50%);}
#serveis-grid .elementor-widget-text-editor{position: absolute;bottom:1em;width: 80%;margin:auto;left:0;right:0}
#serveis-grid .elementor-widget-text-editor p{font-size: 1.5em;font-weight: 500;color:#fff;}


/* Serveis relacionats */
#serveis-relacionats-grid .swiper-slide::after{content: " ";position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0, 0) 50%);pointer-events: none;}
#serveis-relacionats-grid .swiper-slide:hover::after{background: linear-gradient(0deg, rgba(0,0,0,.4), rgba(0,0,0, 0) 50%);}
#serveis-relacionats-grid .swiper-slide a{background-size: cover}
#serveis-relacionats-grid .swiper-slide .elementor-widget-heading{position: absolute;bottom:1em;color:#fff;width: 80%;margin:auto;left:0;right:0;font-weight: bold;z-index: 100}




#soluciones .elementor-icon-box-icon {
  margin-top: 14px;
}

/* Noticias */

#noticias .elementor-posts .elementor-post__badge {
    background: none !important;
    position: relative;
    padding: 0px 0px 0px 31px;
    margin: 0 !important;
    color: #E33B3B;
    font-size: 16px !important;
    text-transform: capitalize !important;
    font-weight: 500 !important;
}

/* Menu overlay */
body.menu-open-is-active {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow-y: scroll;
}

body.admin-bar {
  --ra-admin-bar-offset: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --ra-admin-bar-offset: 46px;
  }
}

#header {
  position: relative;
  z-index: 1000;
}

#menu-open {
  position: fixed !important;
  top: var(--ra-admin-bar-offset, 0px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;
  display: none !important;
  width: 100%;
  height: calc(100vh - var(--ra-admin-bar-offset, 0px));
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#menu-open.is-open {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#menu-open.is-open.is-closing {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#menu-open.is-open.elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
}

#menu-open:not(.is-open) {
  animation: none !important;
}

#menu-open > .e-con-inner {
  width: 100%;
  min-height: calc(100vh - var(--ra-admin-bar-offset, 0px));
}

#menu-open .e-con-inner {
  height: 100%;
}

#menu-open #close-menu,
#menu-open a[href="#close-menu"],
#header .open-menu a[href="#abrir-menu"],
.open-menu a[href="#abrir-menu"],
#header .open-menu a[href="#open-menu"],
#abrir-menu {
  cursor: pointer;
}

/* Formulario contacto CF7 */
#ra-contacto-cf7 #ra-contacto-form,
.wpcf7 #ra-contacto-form {
  max-width: 760px;
  margin: 0 auto;
}

#ra-contacto-cf7 #ra-contacto-form p,
.wpcf7 #ra-contacto-form p {
  margin: 0;
}

#ra-contacto-cf7 #ra-contacto-form br,
.wpcf7 #ra-contacto-form br {
  display: none;
}

#ra-contacto-cf7 #ra-contacto-form .wpcf7-form-control-wrap,
.wpcf7 #ra-contacto-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 22px;
}

#ra-contacto-cf7 .ra-input,
#ra-contacto-cf7 .ra-textarea,
.wpcf7 #ra-contacto-form .ra-input,
.wpcf7 #ra-contacto-form .ra-textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  background: #ffffff;
  color: #6a6a6a;
  border-radius: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.2;
  padding: 0 22px;
  box-sizing: border-box;
}

#ra-contacto-cf7 .ra-input,
.wpcf7 #ra-contacto-form .ra-input {
  height: 52px;
}

#ra-contacto-cf7 .ra-textarea,
.wpcf7 #ra-contacto-form .ra-textarea {
  height: 320px;
  padding-top: 18px;
  resize: none;
}

#ra-contacto-cf7 .ra-input::placeholder,
#ra-contacto-cf7 .ra-textarea::placeholder,
.wpcf7 #ra-contacto-form .ra-input::placeholder,
.wpcf7 #ra-contacto-form .ra-textarea::placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #6a6a6a;
  opacity: 1;
}

#ra-contacto-cf7 .ra-consent-row,
.wpcf7 #ra-contacto-form .ra-consent-row {
  margin: 14px 0 28px;
}

#ra-contacto-cf7 .wpcf7-acceptance .wpcf7-list-item,
.wpcf7 #ra-contacto-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

#ra-contacto-cf7 .wpcf7-acceptance label,
.wpcf7 #ra-contacto-form .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: #7c7c7c;
  line-height: 1.35;
}

#ra-contacto-cf7 .wpcf7-acceptance input[type="checkbox"],
.wpcf7 #ra-contacto-form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border: 2px solid #ededed;
  border-radius: 8px;
  background: #ffffff;
  margin: 0;
  position: relative;
  cursor: pointer;
}

#ra-contacto-cf7 .wpcf7-acceptance input[type="checkbox"]:checked::after,
.wpcf7 #ra-contacto-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 7px;
  height: 14px;
  border: solid #a85f7f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#ra-contacto-cf7 .wpcf7-acceptance a,
.wpcf7 #ra-contacto-form .wpcf7-acceptance a {
  color: #e33b3b;
  text-decoration: none;
  font-weight: 500;
}

#ra-contacto-cf7 .ra-submit,
.wpcf7 #ra-contacto-form .ra-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: #E33C3B !important;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: .5em 2em !important;
}

#ra-contacto-cf7 .ra-submit:hover,
.wpcf7 #ra-contacto-form .ra-submit:hover {
  opacity: .8;
  cursor: pointer;
}

#ra-contacto-cf7 .ra-submit:hover,
.wpcf7 #ra-contacto-form .ra-submit:hover {
  filter: brightness(0.96);
}

/* Errores CF7 */
#ra-contacto-cf7 .wpcf7-not-valid-tip,
.wpcf7 #ra-contacto-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 14px;
}

@media (max-width: 1024px) {
  #ra-contacto-cf7 #ra-contacto-form,
  .wpcf7 #ra-contacto-form {
    max-width: 100%;
  }

  #ra-contacto-cf7 #ra-contacto-form .wpcf7-form-control-wrap,
  .wpcf7 #ra-contacto-form .wpcf7-form-control-wrap {
    margin-bottom: 16px;
  }

  #ra-contacto-cf7 .ra-input,
  #ra-contacto-cf7 .ra-textarea,
  .wpcf7 #ra-contacto-form .ra-input,
  .wpcf7 #ra-contacto-form .ra-textarea {
    font-size: 16px;
    border-radius: 14px;
    padding-inline: 18px;
  }

  #ra-contacto-cf7 .ra-input,
  .wpcf7 #ra-contacto-form .ra-input {
    height: 58px;
  }

  #ra-contacto-cf7 .ra-textarea,
  .wpcf7 #ra-contacto-form .ra-textarea {
    height: 260px;
    padding-top: 14px;
  }


}



/* Cta Servicios */
div.cta-section-servicios {
  position: relative;
  overflow: hidden;
}

div.cta-section-servicios:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 110px;
    width: 410px;
    background-size: contain;
    height: 1000px;
    background-repeat: no-repeat;
    background-position: right 340px;
}

div.cta-section-servicios:after,
div.cta-section-servicios.carles:after,
div.cta-section-servicios-carles:after {
    background-image: url("/wp-content/uploads/2026/06/Carles-Roura.webp");
}

div.cta-section-servicios.david:after,
div.cta-section-servicios-david:after {
    background-image: url("/wp-content/uploads/2026/06/David-Carbones.webp");
}

div.cta-section-servicios.jordi:after,
div.cta-section-servicios-jordi:after {
    background-image: url("/wp-content/uploads/2026/06/Jordi-Cabratosa.webp");
}

div.cta-section-servicios.ariadna:after,
div.cta-section-servicios-ariadna:after {
    background-image: url("/wp-content/uploads/2026/06/Ariadna-Alvarez.webp");
}

div.cta-section-servicios.imma:after,
div.cta-section-servicios-imma:after {
    background-image: url("/wp-content/uploads/2026/06/Imma-Bague.webp");
}

div.cta-section-servicios.decre:after,
div.cta-section-servicios-decre:after {
    background-image: url("/wp-content/uploads/2026/06/Paula-Decre.webp");
}


div.cta-section-servicios.jessica:after,
div.cta-section-servicios-jessica:after {
    background-image: url("/wp-content/uploads/2026/06/Jessica-Alvarez.webp");
}

div.cta-section-servicios.joan:after,
div.cta-section-servicios-joan:after {
    background-image: url("/wp-content/uploads/2026/06/Joan-Vidal.webp");
}

div.cta-section-servicios.joan-ernest:after,
div.cta-section-servicios-joan-ernest:after {
    background-image: url("/wp-content/uploads/2026/06/Joan-Ernest-Ribas.webp");
}

div.cta-section-servicios.david-carpena:after,
div.cta-section-servicios-david-carpena:after {
    background-image: url("/wp-content/uploads/2026/06/David-Carpena.webp");
}

div.cta-section-servicios.jordi-domenech:after, 
div.cta-section-servicios-jordi-domenech:after {
    background-image: url(/wp-content/uploads/2026/06/Jordi-Domenech-Barbosa.webp);
    width: 650px !important;
    background-position: right 290px;
}


div.cta-section-servicios.marta:after, 
div.cta-section-servicios-marta:after {
    background-image: url(/wp-content/uploads/2026/09/marta-oduber-1.webp);
    width: 650px;
    background-position: right 290px;
}

@media (max-width: 768px) {
div.cta-section-servicios.marta:after, 
div.cta-section-servicios-marta:after {
    background-image: url(/wp-content/uploads/2026/09/marta-oduber-1.webp);
    width: 340px !important;
    background-position: right 290px;
}
}


div.cta-section-servicios.laia:after, 
div.cta-section-servicios-laia:after {
    background-image: url(/wp-content/uploads/2026/09/laia-zarza.webp);
    width: 640px !important;
    background-position: right 280px;
    right: -140px;
}

@media (max-width: 768px) {
div.cta-section-servicios.laia:after, 
div.cta-section-servicios-laia:after {
    background-image: url(/wp-content/uploads/2026/09/laia-zarza.webp);
    width: 280px !important;
    background-position: right 280px;
    right: 0px;
}
}

div#ul-numeros ol li {
    line-height: 33px;
    padding-left: 10px;
    margin-left: -20px;
}

div#ul-numeros ol li::marker {
    color: #E33C3B !important;
}

.elementor-135 .elementor-element.elementor-element-06a508a::before {
  opacity: 0.1;
}

@media (min-width: 1024px ) and (max-width: 1350px) {
  /* Principal (excluye jordi-domenech y marta) */
  div.cta-section-servicios:not(.jordi-domenech):not(.marta):after {
    width: 320px !important;
    bottom: -85px;
    right: -10px;
  }

  .elementor-element-3193ffc {
    right: 46px !important;
  }
}

@media (min-width: 1024px ) and (max-width: 1300px) {
  /* Compartido jordi-domenech + marta */
  div.cta-section-servicios.jordi-domenech:after,
  div.cta-section-servicios-jordi-domenech:after,
  div.cta-section-servicios.marta:after,
  div.cta-section-servicios-marta:after {
    width: 430px !important;
    bottom: -120px;
    right: -50px;
  }

  /* Texto jordi-domenech + marta */
  div.cta-section-servicios.jordi-domenech .elementor-element-3193ffc,
  div.cta-section-servicios-jordi-domenech .elementor-element-3193ffc,
  div.cta-section-servicios.marta .elementor-element-3193ffc,
  div.cta-section-servicios-marta .elementor-element-3193ffc {
    right: -6px !important;
  }
}

@media (min-width: 1301px ) and (max-width: 1650px) {
  /* jordi-domenech + marta */
  div.cta-section-servicios.jordi-domenech:after,
  div.cta-section-servicios-jordi-domenech:after,
  div.cta-section-servicios.marta:after,
  div.cta-section-servicios-marta:after {
    width: 430px !important;
    bottom: -120px;
    right: 100px !important;
  }

  /* Texto jordi-domenech + marta */
  div.cta-section-servicios.jordi-domenech .elementor-element-3193ffc,
  div.cta-section-servicios-jordi-domenech .elementor-element-3193ffc,
  div.cta-section-servicios.marta .elementor-element-3193ffc,
  div.cta-section-servicios-marta .elementor-element-3193ffc {
    right: 142px !important;
  }
}


@media (min-width: 1200px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
      max-width: 1200px;
    }
    .page-content {
      padding-bottom: 100px !important;
    }
}

/* Footer */

.title-section-footer {
  margin-bottom: .9rem !important;
}

.title-section-footer a {
  font-weight: 500 !important;
}









/* RESPONSIVE GENERAL */

@media (min-width: 768px) {
  #header > .e-con-inner{max-width: 1200px}
  div#menu-open-header {max-width: 1200px;}
}

@media (min-width: 1224px) {
  /* Header */
  #header .elementor-element-2209a07{margin-left:0}
  #header .elementor-element-af2c5e7{padding-right: 0}

    .page-content {
        padding-bottom: 0!important;
    }


  .header-menu-col{margin-bottom:4em}
  #serveis-col2{padding-top:1.2em}
  #menu-content{width: 95%;margin:auto}
}

@media (min-width: 1440px) {
  /* Header */
  #header > .e-con-inner{max-width: 1380px}
  div#menu-open-header {max-width: 1380px;}
  body > div.elementor > div:not(#theHeader) > .e-con-inner,
  .page-content > div > div:not(#theHeader) > .e-con-inner,
  #theHeader .elementor-element > .e-con-inner{max-width: 1380px}
}





@media (max-width: 1440px) {
  /* Header */
  #header > .e-con-inner{max-width: 1190px}
   div#menu-open-header {max-width: 1190px;}
  body > div.elementor > div:not(#theHeader) > .e-con-inner,
  .page-content > div > div:not(#theHeader) > .e-con-inner,
  #theHeader .elementor-element > .e-con-inner{max-width: 1190px}
}



@media screen and (max-width: 1224px) {
  #header > .e-con-inner{max-width: 1100px}
  #header > .e-con-inner{max-width: 90%}


  body > div.elementor > div:not(#theHeader) > .e-con-inner,
  .page-content > div > div:not(#theHeader) > .e-con-inner,
  #theHeader .elementor-element > .e-con-inner{max-width: 1100px;width: 95%}

/* MENU */
  #menu-open-header{padding:0 1em;flex-direction: row;}
  #menu-open-header > div{width: 50%}
  /* Permitir scroll en el menú móvil */
  #menu-open {overflow-y: auto !important; overflow-x: hidden !important; -webkit-overflow-scrolling: touch;}
  /* Altura máxima para que no ocupe más que la ventana */
  #menu-open {max-height: 100vh !important;}
  #menu-content{width: 95%;margin:auto}
  #menu-open #nosaltres-col1,
  #menu-open #serveis-col2,
  #actualitat-col1,
  #contacte-col1,
  #clients-col1{margin-bottom:2em}
  div#menu-open-header {max-width: 90%;}

}

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

  .text45 h2{font-size:2.4rem;line-height: 1.2em}
  body > div.elementor > div,
  .page-content > div > div:not(#theHeader){padding-left:0em;padding-right:0em}

#header .e-con-inner{flex-direction: row}
#header .e-con-inner > div{width: 50%}
  /* Team */
  .team-grid .team-member{flex: 45%;margin:0 2% 2em 2%}

  /* Home */
  #mobileHomeHeader{padding-left:0;padding-right:0}
  #mobileHomeHeader > div{margin:0;width: 100%}
  #FAQs .elementor-widget-n-accordion{width:90%;margin:0 5%}

  /* Serveis */
  #contacto .nomContacte{width: 100%;bottom:0;left:0;background: #101a21;padding:.5em 1em}
  div.cta-section-servicios::after{width: 200px;right: 0;bottom: -12em;}

}



@media screen and (max-width: 768px) 
{
  /* #serveis-grid .e-con-inner > a{margin-bottom: -4em} */
}

@media screen and (max-width: 600px) {
    body,html{font-size:15px}


    body #theHeader h1{font-size: 2.75rem;}

  /* .team-grid {flex-direction: column;} */
  .team-grid .team-member{flex:100%;margin:0 0 2em 0}

  #logos-colabs .e-con-inner{flex-direction: column}
  #logos-colabs .e-con-inner > div{width:100%;flex: 100%}

}

/* Oculto mensaje wpml y desarrollo */
.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal {
    display: none;
}

.otgs-development-site-front-end {
    display: none;
}
/* padding en la noticia ampliadaa */
.elementor-location-single.newsribasalvarez {
    padding-top: 30px;
}

.idioma.is-active {
    font-weight: 700;
    color: #E33B3B !important;
}

@media(max-width: 768px) {
    .cta-section-servicios .e-con-inner {
    z-index: 99 !important;
}
}

/* Arreglo ficha de empleado */ 
@media(max-width:999px) {
    div#btn-links {
    justify-content: flex-start;
    flex-direction: column;
    gap: 5px;
}
}