/*NODE HOME PAGE*/
h1 {
  font-weight: 100;
  font-family: "proxima-nova";
}

#banner-carousel .owl-dots {
  text-align: right;
  padding-right: 14px;
}

#banner-carousel .owl-dots .owl-dot.active span {
  background-color: var(--color-grey1) ;
}

.block-news {
  color: var(--color-main-color1);
  font-weight: 600;
}

.block-news a {
  color: var(--color-main-black);
}
.block-news a:hover {
  text-decoration: underline;
}

.block-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-height: 600px;
}

.block-content {
  min-height: 250px;
}

@media (max-width: 769px) {
  p.empty {
    display: none;
  }
}


/* Hero video text overlay */
.hero {
  position: relative;
}

.hero-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.hero-text-overlay .container {
  pointer-events: auto;
  max-width: 500px;
  margin-left: 5%;
  margin-right: auto;
  padding: 2rem;
}

/* XL - Large desktop */
@media (max-width: 1199.98px) {
  .hero-text-overlay .container {
    max-width: 450px;
    padding: 1.75rem;
  }
}

/* LG - Desktop */
@media (max-width: 991.98px) {
  .hero-text-overlay .container {
    max-width: 400px;
    padding: 1.5rem;
  }
}

/* MD - Tablet */
@media (max-width: 767.98px) {
  .hero-text-overlay .container {
    max-width: 320px;
    margin-left: 3%;
    padding: 1.25rem;
  }
}

/* SM - Small tablet */
@media (max-width: 575.98px) {
  .hero-text-overlay .container {
    max-width: 280px;
    margin-left: 2%;
    padding: 1rem;
  }
}

/* Mobile <= 425px - Overlay en dessous de la vidéo */
@media (max-width: 426px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-text-overlay {
    position: relative;
    height: auto;
    pointer-events: auto;
  }

  .hero-text-overlay .container {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 1rem;
  }
}
