@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Limelight&display=swap");
/********************* Color *********************/
/********************* font *********************/
/*font-size*/
/*line height*/
/********************* Utilities *********************/
/********************* Animation *********************/
* {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
  font-weight: 400;
  line-height: 1.4;
  color: #000000;
}

.small {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
}

h1, .h1 {
  font-size: clamp(2rem, 0.2222rem + 3.7037vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
}

h2, .h2 {
  font-size: clamp(1.75rem, 1.2885rem + 0.9615vw, 2.25rem);
  font-weight: 400;
  line-height: 1.3;
}

h3, .h3 {
  font-size: clamp(1.75rem, 1.625rem + 0.4167vw, 2.125rem);
  font-weight: 400;
  line-height: 1.3;
}

h4, .h4 {
  font-size: clamp(1.5rem, 1.4167rem + 0.2778vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
}

.accent-color {
  color: #E3051B;
}

.text-white {
  color: #FFFFFF;
}

h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  margin-bottom: 30px;
}

.letter-spacing {
  letter-spacing: 30%;
}

.bu-home {
  font-size: clamp(2.1875rem, 0.9792rem + 2.5174vw, 4rem);
  line-height: 1.3;
  font-weight: 400;
}

/*#image-carousel:before{
	animation: respiroSoft 15s ease-in-out infinite;
}*/
@keyframes respiroSoft {
  0% {
    transform: scale(1);
    rotate: 0deg;
  }
  25% {
    rotate: 5deg;
  }
  50% {
    transform: scale(1.5);
    rotate: -5deg;
  }
  100% {
    transform: scale(1);
    rotate: 0deg;
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}
.text-bg-primary a {
  text-decoration: underline;
}

.text-bg-primary .IMEC-title-before:before {
  background: #FFFFFF;
}

.bg-gray-100 {
  background: #EDF2F7 !important;
}

.bg-gray-50 {
  background: #7F8C91;
}

.txt-primary {
  color: #E3051B;
}

.txt-gray-100 {
  color: #EDF2F7;
}

.txt-gray-50 {
  color: #7F8C91;
}

.txt-gray-60 {
  color: #667074;
}

.black-link {
  color: #000000;
  text-decoration: none;
}
.black-link:hover, .black-link:focus {
  text-decoration: underline;
  color: #E3051B;
}

.btn {
  border-radius: 0;
  text-align: left;
}

.btn-wide {
  padding-left: 20px;
  padding-right: 20px;
}

.btn-icon img {
  margin-left: auto;
}

.btn-light:hover {
  background: #E3051B;
  color: #FFFFFF;
  border-color: #E3051B;
}
.btn-light:hover img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.btn-outline-dark:hover {
  background: #E3051B;
  color: #FFFFFF;
  border-color: #E3051B;
}
.btn-outline-dark:hover img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.btn-outline-light {
  text-decoration: none !important;
}
.btn-outline-light img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.btn-outline-light:hover img {
  filter: unset;
}

body {
  overflow-x: hidden !important;
}

* {
  scrollbar-width: thin;
  /*scrollbar-color: darken($primary, 20%) $primary;*/
} /*
*::-webkit-scrollbar {
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: $primary;
  border-radius: 10px;
}*/
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
.main-title-container {
  padding: 20px;
  width: 670px;
  max-width: 100%;
  margin-left: auto;
  z-index: 3;
  position: relative;
}
@media screen and (max-width: 768px) {
  .main-title-container {
    padding: 20px 12px;
  }
}

.IMEC-cutted-container {
  max-width: calc(100% - 20px);
  margin: 0;
}

.IMEC-title-before {
  position: relative;
  padding-left: 20px;
}
.IMEC-title-before:before {
  content: "";
  display: block;
  width: 4px;
  height: 100%;
  background: #E3051B;
  position: absolute;
  left: 0;
}
.IMEC-title-before.text-light:before {
  background: #FFFFFF;
}

.blend-mode-container {
  position: relative;
  min-height: inherit;
}
.blend-mode-container:before {
  content: "";
  display: block;
  background: #E3051B;
  mix-blend-mode: darken;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
}

/*photo header*/
.photo-header::before {
  content: "";
  width: calc(100% - 40px);
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .photo-header::before {
    width: 100%;
  }
}
.photo-header {
  background-size: calc(100% - 40px) auto;
  background-repeat: no-repeat;
  min-height: 400px;
  background-position: center;
  margin-bottom: 100px;
  position: relative;
}
.photo-header .breadcrumb {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  gap: 10px;
}
.photo-header .breadcrumb a {
  color: #FFFFFF;
  text-decoration: none;
}
.photo-header .breadcrumb a:hover {
  text-decoration: underline;
}
.photo-header .blend-mode-container {
  margin-top: 40px;
  margin-bottom: -40px;
  max-width: calc(100% - 20px);
}
@media screen and (max-width: 768px) {
  .photo-header {
    min-height: unset;
  }
  .photo-header img {
    max-width: calc(100% - 20px);
    margin-left: auto;
    height: 160px;
    object-fit: cover;
  }
  .photo-header .blend-mode-container {
    margin-top: -20px;
    margin-bottom: 0;
    margin-right: 20px;
    margin-left: 0;
    max-width: calc(100% - 20px);
  }
}
@media screen and (max-width: 768px) {
  .photo-header {
    margin-bottom: 50px;
  }
}

.container-imec {
  max-width: calc(100% - 40px);
  margin: auto;
  position: relative;
  transition: all 0.25s ease;
}
.container-imec.fixed-top {
  max-width: 100%;
  transition: all 0.25s ease;
}
.container-imec.fixed-top.container-imec-before::before {
  opacity: 0;
  transition: all 0.25s ease;
}
.container-imec.container-imec-before::before {
  content: "";
  background: inherit;
  width: 100%;
  height: 50%;
  position: absolute;
  top: -50%;
  z-index: -1;
  opacity: 1;
  transition: all 0.5s ease;
  transition-delay: 1s;
}

.container-slim {
  max-width: 880px !important;
}

.page-list {
  gap: 60px;
  display: flex;
  margin-bottom: 0;
}
.page-list a {
  color: #667074;
  text-decoration: none;
}
.page-list li {
  border-bottom: 4px solid transparent;
  padding: 30px 5px;
  transition: all 0.5s ease;
}
.page-list li:hover a, .page-list li.active a, .page-list li:has(a.active) a {
  color: #000000;
}
.page-list li:hover, .page-list li.active, .page-list li:has(a.active) {
  border-color: #E3051B;
}
.page-list li.active a, .page-list li a.active a {
  font-weight: 700;
}

#contactMenu li {
  padding: 0;
  border: none;
}
#contactMenu li:hover a, #contactMenu li a {
  border-bottom: 4px solid transparent;
  padding: 30px;
  transition: all 0.5s ease;
}
#contactMenu li:hover a.active, #contactMenu li a.active {
  border-color: #E3051B;
}

.bu-section-homepage {
  min-height: 700px;
  position: relative;
}
.bu-section-homepage:after {
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  height: 50%;
  width: 100%;
  position: absolute;
  bottom: 0;
}
.bu-section-homepage .bu-section-content {
  z-index: 2;
}
.bu-section-homepage .bu_label {
  font-size: clamp(1.25rem, 1rem + 0.5208vw, 1.625rem);
  text-transform: uppercase;
  font-weight: 600;
  color: #FFFFFF;
  background: #E3051B;
  padding: 10px 20px;
  padding-left: calc((100% - 1640px) / 2);
  margin-bottom: 20px;
  z-index: 2;
}
.bu-section-homepage h3 {
  padding-left: calc((100% - 1640px) / 2);
  color: #FFFFFF;
  font-weight: 400;
}
@media screen and (max-width: 1700px) {
  .bu-section-homepage {
    min-height: 400px;
  }
  .bu-section-homepage h3, .bu-section-homepage .bu_label {
    padding-left: 40px;
  }
}
@media screen and (max-width: 992px) {
  .bu-section-homepage h3, .bu-section-homepage .bu_label {
    padding-left: 20px;
  }
}
@media screen and (max-width: 576px) {
  .bu-section-homepage {
    position: relative;
  }
  .bu-section-homepage:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 1;
  }
  .bu-section-homepage h3, .bu-section-homepage .bu_label, .bu-section-homepage .btn {
    z-index: 2;
  }
  .bu-section-homepage .btn {
    margin: 0 20px;
  }
}

.company-card h3 {
  font-size: clamp(1.25rem, 1rem + 0.5208vw, 1.625rem);
}
.company-card p {
  margin-bottom: 2rem !important;
}
.company-card .card-image-container {
  position: relative;
  margin-left: 10px;
  margin-right: -30px;
  margin-top: -15px;
}
.company-card .card-image-container img {
  height: 160px;
  object-fit: cover;
}
@media screen and (max-width: 992px) {
  .company-card .card-image-container {
    margin-left: 20px;
  }
}
.company-card .card-image-container img {
  position: relative;
  margin-top: -20px;
  z-index: 2;
}
.company-card .card-image-container::before {
  content: "";
  display: block;
  width: 120px;
  height: 120px;
  background: #E3051B;
  left: -10px;
  bottom: -10px;
  position: absolute;
  z-index: 1;
}

.with-document {
  border-right: 1px solid rgba(127, 140, 145, 0.4);
  padding-right: 40px;
}

.manifesto-with_bk {
  position: relative;
}
.manifesto-with_bk:before {
  content: "";
  display: block;
  background: rgba(227, 5, 27, 0.9);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.manifesto-with_bk .col-md-6, .manifesto-with_bk .col-md-12 {
  z-index: 2;
}

.IMEC-manifesto-section {
  padding: 100px;
}
@media screen and (max-width: 992px) {
  .IMEC-manifesto-section {
    padding: 40px 0;
    max-width: 100%;
  }
}

.IMEC-contact-section {
  border-bottom: 10px solid #EDF2F7;
}
.IMEC-contact-section h3 {
  font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
}
.IMEC-contact-section h4 {
  font-size: 22px;
}
.IMEC-contact-section .contact_section a {
  display: block;
}

.IMEC-contact-title-container {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.bu-header {
  min-height: 400px;
  background-repeat: no-repeat;
  background-size: calc(100% - 40px) auto;
  background-position: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .bu-header {
    min-height: unset;
  }
}
@media screen and (max-width: 768px) {
  .bu-header > img, .bu-header picture img {
    height: 160px;
    object-fit: cover;
    width: calc(100% - 20px);
    margin-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .bu-header .col-md-6 {
    margin-top: -20px;
  }
}
.bu-header .BU-title {
  max-width: calc(100vw - 20px);
}
.bu-header .BU-title img {
  width: 400px;
  max-width: calc(100% - 40px);
  z-index: 2;
  position: relative;
}
.bu-header .BU-title {
  position: relative;
}
.bu-header .BU-title:before {
  content: "";
  background: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 2;
}
.bu-header .blend-mode-container {
  max-width: calc(100% - 40px);
  padding: 20px 0;
}
.bu-header .blend-mode-container .main-title-container {
  max-width: 630px;
}
.bu-header::before {
  content: "";
  width: calc(100% - 40px);
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .bu-header::before {
    width: 100%;
  }
}

.bu-external-link-section img {
  width: 40px;
}
.bu-external-link-section a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
}

.slick-next {
  right: 0;
  width: 80px;
  height: 80px;
  background: transparent;
}
.slick-next:before {
  content: url("../image/arrow_next.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
}

.slick-prev {
  background: transparent;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 2;
}
.slick-prev:before {
  content: url("../image/arrow_back.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
}

.slick-slide {
  margin: 10px;
}

.carousel-slick .slick-prev, .carousel-slick .slick-next {
  opacity: 0;
  transition: all 0.5s ease;
  background: #FFFFFF;
}
.carousel-slick .slick-prev:hover, .carousel-slick .slick-next:hover {
  opacity: 1;
  transition: all 0.5s ease;
  background: #FFFFFF;
}
.carousel-slick .slick-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
@media screen and (max-width: 992px) {
  .carousel-slick .slick-slide img {
    height: 300px;
  }
}

.slick-dots li button:before {
  font-size: 20px !important;
  color: #000000;
}

.video_section iframe {
  aspect-ratio: 16/9;
  height: 100%;
  width: 100%;
}

.card_with_red_label_row .inner-card {
  position: relative;
}
.card_with_red_label_row a {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 100%;
}
.card_with_red_label_row a span {
  z-index: 3;
  position: relative;
  font-size: clamp(1.5rem, 1.4167rem + 0.2778vw, 1.75rem);
}
.card_with_red_label_row .blend-btn {
  color: #fff;
  text-decoration: none;
}
.card_with_red_label_row .blend-btn::before {
  z-index: 1;
}
.card_with_red_label_row .blend-btn::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  z-index: 0;
}

.news-grid .news-card .news-title a {
  text-decoration: none;
  color: #000000;
  font-size: clamp(1.5rem, 1.4167rem + 0.2778vw, 1.75rem);
  font-weight: 700;
  transition: all 0.5s ease;
}
.news-grid .news-card .news-title a:hover {
  color: #E3051B;
}
.news-grid .news-card .news-link {
  text-decoration: none;
  transition: all 0.5s ease;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .bu-row.even .bu-txt-container {
    padding-left: 100px;
  }
}
.bu-row.even {
  margin-bottom: 100px;
}
.bu-row.odd {
  margin-bottom: 120px;
}
.bu-row {
  position: relative;
}
@media screen and (max-width: 768px) {
  .bu-row.odd, .bu-row.even {
    margin-bottom: 100px;
  }
  .bu-row img {
    max-height: 200px;
  }
  .bu-row.odd .bu-img-container {
    position: relative;
  }
  .bu-row.odd .bu-img-container img {
    position: relative;
    right: -20px;
    bottom: -20px;
    z-index: 2;
  }
  .bu-row.even .bu-img-container {
    position: relative;
  }
  .bu-row.even .bu-img-container img {
    position: relative;
    left: -20px;
    bottom: -20px;
    z-index: 2;
  }
}
@media screen and (min-width: 768px) {
  .bu-row .bu-img-container img {
    height: 100%;
    object-fit: cover;
  }
  .bu-row.odd .bu-img-container {
    position: relative;
  }
  .bu-row.odd .bu-img-container img {
    position: relative;
    left: -40px;
    bottom: -40px;
    z-index: 2;
  }
  .bu-row.even .bu-img-container {
    position: relative;
  }
  .bu-row.even .bu-img-container img {
    position: relative;
    right: -40px;
    top: -40px;
    z-index: 2;
  }
}
.bu-row .bu-img-container {
  /*min-height: 200px;    */
}
@media screen and (max-width: 768px) {
  .bu-row .bu-img-container .order-1, .bu-row .bu-img-container .order-0 {
    margin-top: 0;
  }
}
.bu-row .bu-txt-container {
  background: #FFFFFF;
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: 305px;
  padding: 50px 60px;
}
.bu-row .bu-txt-container h2 {
  font-size: clamp(1.75rem, 1.4462rem + 0.6329vw, 2rem);
  margin-bottom: 20px;
}
.bu-row .bu-txt-container p {
  margin-bottom: 40px;
}
.bu-row .bu-txt-container .bu-logo {
  width: 260px;
}
@media screen and (max-width: 992px) {
  .bu-row .bu-txt-container {
    padding: 50px;
  }
}
@media screen and (max-width: 768px) {
  .bu-row .bu-txt-container {
    padding: 60px 20px;
  }
}
.bu-row .bu-txt-container::before {
  content: "";
  background: #EDF2F7;
  width: 305px;
  height: 305px;
  position: absolute;
  bottom: -20px;
  z-index: -1;
}
.bu-row .bu-txt-container.order-1:before {
  right: -20px;
}
.bu-row .bu-txt-container.order-0:before {
  left: -20px;
}

.IMEC-contact-section .row.pb-3:last-child hr {
  display: none;
}

/*eccezione per i titoli messina line*/
.messina-line .contact_section.col-md-12 h3 {
  color: #E3051B;
}
.messina-line .contact_section.col-md-4 h4.text-primary {
  font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
  color: #000000 !important;
}
.messina-line .accordion-item .accordion-body hr {
  display: block !important;
}
.messina-line .accordion-item .accordion-body .contact_section h4 {
  color: #E3051B !important;
}

@media screen and (max-width: 768px) {
  .accordion-body {
    padding: 20px 12px;
  }
}

/* animazione homepage */
#home-slider-animation {
  /* min-height: calc(100vh - 82px);*/
  position: relative;
  z-index: 2;
  padding: 0 60px;
}
#home-slider-animation #title-container {
  min-height: 300px;
}
@media screen and (max-width: 1024px) {
  #home-slider-animation #title-container {
    min-height: 180px;
  }
}
@media screen and (max-width: 768px) {
  #home-slider-animation #title-container {
    min-height: 150px;
  }
}
#home-slider-animation h1 .tagline-static {
  display: block;
}
#home-slider-animation h1 {
  font-size: clamp(2.4375rem, 0.5337rem + 3.9663vw, 4.5rem);
}
@media screen and (max-width: 768px) {
  #home-slider-animation h1 {
    position: relative;
    z-index: 2;
  }
}
@media screen and (max-width: 1024px) {
  #home-slider-animation {
    padding: 0;
  }
}
@media screen and (max-width: 992px) {
  #home-slider-animation {
    padding-bottom: 30px !important;
  }
}

#text-carousel {
  position: relative;
  margin-bottom: 50px;
}

.text-slide, .image-slide {
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 1.5s ease-in-out; /* Durata del fade */
}

.featured-text {
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 0.5208vw, 1.625rem);
}

/* Stato Attivo (Visibile) */
.text-slide.active, .image-slide.active {
  position: absolute; /* Ripristina il flusso per il contenuto attivo */
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease-in-out;
}

/* Stili specifici per l'animazione del titolo */
#typewriter-text {
  display: inline;
  min-height: 150px;
  white-space: normal;
}
@media screen and (max-width: 768px) {
  #typewriter-text {
    min-height: 50px;
  }
}
#typewriter-text .word {
  display: inline-block;
}
#typewriter-text .letter {
  display: inline-block;
  line-height: 1em;
}
#typewriter-text p {
  font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
}

.image-container-wrapper {
  position: relative;
  overflow: hidden;
}

#image-carousel {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 85px);
}
#image-carousel:before {
  content: "";
  width: 900px;
  height: 900px;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(177.099137931, 3.900862069, 21.0646551724);
  max-width: calc(100% - 100px);
  max-height: calc(100% - 100px);
}
@media screen and (max-width: 1400px) {
  #image-carousel:after {
    content: "";
    height: 200px;
    width: 100%;
    background: linear-gradient(to top, #E3051B, rgba(227, 5, 27, 0));
    position: absolute;
    bottom: 0;
  }
}
@media screen and (max-width: 1024px) {
  #image-carousel {
    min-height: 50vh;
  }
}
@media screen and (max-width: 768px) {
  #image-carousel:before {
    width: 300px;
    height: 300px;
  }
}

#image-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  object-position: left;
}
@media screen and (max-width: 1024px) {
  #image-carousel img {
    max-height: 50vh;
  }
}

#image-carousel img.active {
  opacity: 1;
}

.down-arrow {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 30px;
  bottom: 50px;
  -webkit-animation: bounce 3s ease-in-out infinite;
  animation: bounce 3s ease-in-out infinite;
}
@media screen and (max-width: 992px) {
  .down-arrow {
    bottom: 20px;
  }
}

.modal-fullscreen .bg-dark {
  background: rgba(0, 0, 0, 0.7) !important;
}
.modal-fullscreen .media-carousel {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.modal-fullscreen .btn-close {
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 1000;
}

.IMEC-history-box .history-box-content {
  padding: 50px;
}
.IMEC-history-box .history-box-content:first-child {
  border-bottom: 1px solid #FFFFFF;
}

.blockquote-footer {
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
  font-weight: 700;
}
.blockquote-footer:before {
  display: none;
}

.media_section {
  margin-bottom: 100px;
}

.text_block_with_header p {
  font-size: clamp(1.25rem, 1rem + 0.5208vw, 1.625rem);
}

#IMEC-quote {
  min-height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  #IMEC-quote {
    min-height: 600px;
    background-position: top;
    padding-bottom: 60px;
  }
}

.card_row p {
  margin-bottom: 2rem;
}
.card_row h4 {
  font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
  margin-bottom: 0 !important;
}
@media screen and (max-width: 768px) {
  .card_row h4 {
    font-size: clamp(1.25rem, 1rem + 0.5208vw, 1.625rem);
  }
}

/*maintenance mode template*/
.maintenance-mode-template {
  background: #EDF2F7;
}
.maintenance-mode-template .maintenance-mode-logo img {
  width: 350px;
  max-width: calc(100% - 40px);
}
.maintenance-mode-template .maintenance-mode-container {
  height: calc(100% - 900px);
  min-height: 500px;
  max-height: 100vh;
  width: 600px;
  max-width: calc(100% - 30px);
}
.maintenance-mode-template .maintenance-mode-container p {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
}

.error404 h2 {
  font-size: clamp(2.4375rem, 0.5337rem + 3.9663vw, 4.5rem) !important;
}
.error404 .btn-wide {
  max-width: 200px !important;
}
.error404 .container404 {
  height: calc(100% - 900px);
  max-width: calc(100% - 30px);
  min-height: 500px;
  max-height: 100vh;
  width: 600px;
}

.page-numbers {
  padding: 0 20px !important;
}
.page-numbers a {
  text-decoration: none !important;
}

#cmplz-document, .privacy-policy .container {
  max-width: 1000px !important;
  margin: auto;
}

.cmplz-functional table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.cmplz-functional table tr {
  padding: 20px;
}
.cmplz-functional table td, .cmplz-functional table th {
  padding: 15px 10px;
}
.cmplz-functional table tr:nth-child(even) {
  background: #EDF2F7;
}
.cmplz-functional table thead {
  background: #FFFFFF;
  border-bottom: 2px solid #333333;
}
.cmplz-functional table thead th {
  text-align: left;
}

footer img.custom-logo {
  width: 350px;
  height: auto;
  max-width: 100%;
}
footer hr {
  opacity: 0.4;
}
footer {
  background: #FFFFFF;
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.6;
}
footer img {
  max-width: 100%;
}
footer .wp-block-social-links {
  margin-bottom: 5px;
}
footer .IMEC-privacy p {
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  footer .IMEC-privacy p {
    flex-direction: column;
  }
}
footer .BU-footer figure img {
  height: 38px !important;
  width: auto;
}
@media screen and (max-width: 767px) {
  footer .BU-footer figure {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 767px) {
  footer .BU-footer figure img {
    height: 30px !important;
  }
}
@media screen and (max-width: 545px) {
  footer .BU-footer figure img {
    height: 25px !important;
  }
}
@media screen and (max-width: 768px) {
  footer .IMEC-partner-section {
    margin-top: 30px;
  }
}
footer .IMEC-partner-section figure img {
  height: 50px;
}
@media screen and (max-width: 768px) {
  footer .IMEC-partner-section figure img {
    margin-bottom: 10px;
  }
}
footer .text-bg-primary a {
  color: #FFFFFF !important;
  text-decoration: underline;
}
footer .text-bg-primary a:hover {
  color: rgba(255, 255, 255, 0.7);
}

body:has(.navbar-collapse.show) {
  overflow: hidden;
}

.site-header .navbar {
  background: #FFFFFF;
  z-index: 5;
  padding: 0 60px;
  width: 100vw;
}
.site-header .navbar.fixed-top {
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.site-header .navbar.is_scroll {
  position: fixed;
  top: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transition-delay: 0.7s;
}
.site-header .menu-item {
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
  font-family: "IBM Plex Sans", sans-serif;
  padding: 10px 0;
  transition: all 0.5s ease;
  position: relative;
}
.site-header .menu-item a {
  color: #000000;
  padding: 20px !important;
}
.site-header .menu-item a:before {
  content: "";
  display: block;
  width: calc(100% - 10px);
  height: 4px;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: all 0.5s ease;
}
.site-header .menu-item a:hover:before {
  background: #E3051B;
}
.site-header .menu-item.current_page_item, .site-header .menu-item.current-menu-ancestor, .site-header .menu-item.current-page-ancestor, .site-header .menu-item.current-menu-item {
  /*background-color: $gray-100;*/
}
.site-header .menu-item.current_page_item > a, .site-header .menu-item.current-menu-ancestor > a, .site-header .menu-item.current-page-ancestor > a, .site-header .menu-item.current-menu-item > a {
  font-weight: 700;
  /* font-size: $p;*/
}
.site-header .menu-item.current_page_item > a:before, .site-header .menu-item.current-menu-ancestor > a:before, .site-header .menu-item.current-page-ancestor > a:before, .site-header .menu-item.current-menu-item > a:before {
  background: #E3051B;
}
@media screen and (min-width: 1200px) {
  .site-header .menu-item.current-menu-ancestor {
    background-color: #EDF2F7;
  }
}
.site-header .dropdown-menu {
  background: #E3051B;
  min-width: 224px;
  border-radius: 0;
  padding: 20px;
}
.site-header .dropdown-menu li {
  border-top: 0;
  border-bottom: 1px solid #FFFFFF;
  padding: 15px 0;
  position: relative;
}
.site-header .dropdown-menu li a {
  padding: 0 !important;
}
.site-header .dropdown-menu li.current_page_item a, .site-header .dropdown-menu li.current-menu-item a {
  background: transparent;
}
.site-header .dropdown-menu li.current_page_item, .site-header .dropdown-menu li.current-menu-item {
  border-color: #FFFFFF;
}
.site-header .dropdown-menu li.current_page_item::before, .site-header .dropdown-menu li.current-menu-item::before {
  content: "";
  width: 10px;
  background: transparent;
  height: 100%;
  position: absolute;
  top: 0;
  left: -25px;
  right: auto;
  transition: all 0.5s ease;
  max-height: 25px;
}
.site-header .dropdown-menu li.current_page_item:hover:before, .site-header .dropdown-menu li.current-menu-item:hover:before {
  background: #000000;
}
.site-header .dropdown-menu a {
  color: #FFFFFF !important;
  padding: 0;
}
.site-header .dropdown-menu a:hover {
  opacity: 0.8;
  font-weight: 400;
}
.site-header .navbar-brand {
  max-width: 300px;
}
.site-header .navbar-brand img {
  max-width: 100%;
}
@media screen and (min-width: 1200px) {
  .site-header .social-widget {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .site-header .custom-logo {
    max-width: 224px;
  }
}

/*mobile menu*/
@media screen and (max-width: 1200px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: #E3051B;
    z-index: 15;
    overflow: auto;
    transition: height 0.5s ease;
  }
  .navbar-collapse .navbar-nav {
    width: 100vw;
    height: auto;
    padding: 60px 16px;
    padding-bottom: 20px;
  }
  .navbar-collapse .menu-item {
    border: none;
    font-size: clamp(1.5rem, 1.4167rem + 0.2778vw, 1.75rem);
    padding: 0;
  }
  .navbar-collapse .menu-item a {
    padding: 10px !important;
    position: relative;
  }
  .navbar-collapse .menu-item a:before {
    content: "";
    display: block;
    width: 10px;
    height: 100%;
    background: transparent;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -20px;
    right: 100%;
    height: 32px;
  }
  .navbar-collapse .menu-item.current_page_item > a:before, .navbar-collapse .menu-item.current-menu-item > a:before {
    background: #000000 !important;
  }
  .navbar-collapse .menu-item.current_page_item > a, .navbar-collapse .menu-item.current-menu-ancestor > a, .navbar-collapse .menu-item.current-menu-item > a {
    font-size: clamp(1.5rem, 1.4167rem + 0.2778vw, 1.75rem);
    color: #FFFFFF;
    font-weight: 700;
  }
  .navbar-collapse .menu-item a {
    color: #FFFFFF;
  }
  .navbar-collapse .dropdown-menu {
    display: block;
    border: none;
    padding: 0;
    padding-left: 20px;
    margin-left: 20px;
  }
  .navbar-collapse .dropdown-menu li {
    border: none;
    font-size: clamp(1rem, 1rem + 0vw, 1rem);
    padding: 10px 0;
  }
  .navbar-collapse .dropdown-menu li a.active {
    font-size: clamp(1rem, 1rem + 0vw, 1rem);
  }
  .navbar-collapse .social-widget {
    /*position: absolute;*/
    right: 20px;
    bottom: 30px;
  }
  .navbar-collapse .social-widget .has-black-color {
    color: #FFFFFF !important;
  }
}
.navbar-toggler {
  z-index: 16;
  border: none;
  padding: 0;
  color: #000000;
  text-transform: uppercase;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  letter-spacing: 3px;
  padding-bottom: 5px;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler .menu-icon span {
  background-color: var(--bar-bg, #E3051B);
}
.navbar-toggler .menu-text {
  position: relative;
  top: 8px;
  display: block;
}
.navbar-toggler[aria-expanded=true] {
  color: #FFFFFF;
}
.navbar-toggler[aria-expanded=true] .menu-text {
  display: none;
}
.navbar-toggler[aria-expanded=true] .menu-icon span {
  background-color: var(--bar-bg, #FFFFFF);
}
.navbar-toggler[aria-expanded=true] .menu-icon span:first-of-type {
  transform: rotate(45deg);
  top: 5px;
}
.navbar-toggler[aria-expanded=true] .menu-icon span:last-of-type {
  transform: rotate(-45deg);
  bottom: 5px;
}
.navbar-toggler {
  /* &[aria-expanded="false"] {
     .menu-close {
       display: none;
     }
   }*/
}

/* Hamburger menu */
.menu-icon {
  position: relative;
  width: 50px;
  height: 14px;
  cursor: pointer;
  display: block;
}
.menu-icon div {
  margin: auto;
  position: absolute;
  inset: 0;
  width: 45px;
  height: 12px;
}
.menu-icon span {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);
}
.menu-icon span:first-of-type {
  top: 0;
}
.menu-icon span:last-of-type {
  bottom: 0;
}
@media (min-width: 1024px) {
  .menu-icon:hover span:first-of-type {
    width: 26px;
  }
  .menu-icon:hover span:last-of-type {
    width: 12px;
  }
}

/*IMEC sub menu fixed on scroll*/
.IMEC-sub-menu.is_scroll {
  position: fixed;
  top: 80px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 4;
  left: 0;
  right: 0;
}
.IMEC-sub-menu.fixed-top {
  position: fixed;
  z-index: 4;
  top: 80px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  transition-delay: 0.5s;
}

.logged-in .navbar.fixed-top {
  margin-top: 32px;
}
.logged-in.is_scroll {
  margin-top: 32px;
}
.logged-in .IMEC-sub-menu.fixed-top {
  margin-top: 31px;
}
.logged-in .IMEC-sub-menu.is_scroll {
  margin-top: 32px;
}

/*WPML menù*/
.wpml-ls-legacy-dropdown {
  width: auto;
}
.wpml-ls-legacy-dropdown .wpml-ls-item {
  display: inline-block;
  width: 100%;
  font-weight: 700;
}
.wpml-ls-legacy-dropdown a {
  display: inline-block;
  color: #000000;
  border: unset;
  text-transform: uppercase;
}
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover > a,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown a:hover {
  color: #E3051B;
  background: transparent;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
  border-top: none;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
  width: 100%;
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
  content: url("../image/expand_more.svg");
  vertical-align: middle;
  display: inline-block;
  border: none;
  top: 25%;
}
@media screen and (max-width: 1200px) {
  .wpml-ls-legacy-dropdown {
    /*position: absolute;*/
    bottom: 40px;
  }
  .wpml-ls-legacy-dropdown a {
    color: #FFFFFF;
    background: transparent !important;
  }
  .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover > a,
  .wpml-ls-legacy-dropdown a:focus,
  .wpml-ls-legacy-dropdown a:hover {
    color: #000000;
  }
  .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
    filter: brightness(0) invert(1);
  }
}