/* Parent = référence */
.header-content .lumx-thumbnail__background {
    height: 100% !important;
    overflow: visible;
}

/* Image centrée mathématiquement */
.header-content .lumx-thumbnail__background img.lumx-thumbnail__image {

    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
  margin-left: auto;
    margin-right: auto;
}


#slide_gr .block-page-preview__content::before{
  background: linear-gradient(180deg,#0000 60%,#000000de) !important;
}

#OffreEmploi .block-page-preview--cover .block-page-preview__content::before,
#sorties_BK .block-page-preview--cover .block-page-preview__content::before{
  background: none !important;
}



 /* EFFETS PHOTOS ACCUEIL Bienvenue */
  #accueil-bienvenue .block-image,
  #accueil-ca-bouge .block-image{
      aspect-ratio: 1 / 1;
      position: relative;
      background-image: url('https://i.ibb.co/tPMK0Kf/Rond-PP-Color-Only.png');
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      width: 100%;
      height: auto;
      overflow: visible;
  }

  #accueil-bienvenue .lumx-thumbnail__background,
  #accueil-ca-bouge .lumx-thumbnail__background{
      width: 100%;
      height: 100%;
  }

  #accueil-bienvenue .lumx-thumbnail__image,
  #accueil-ca-bouge .lumx-thumbnail__image {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  #accueil-bienvenue .block-image img,
  #accueil-ca-bouge .block-image img{
      display: block;
      position: relative;
      bottom: 0;
      left: -1%;
      top: 2%;
      width: 95%;
      height: 95%;
      object-fit: cover;

      -webkit-mask-image: url('https://i.ibb.co/qCZwS6s/Rond-PP.png');
      mask-image: url('https://i.ibb.co/qCZwS6s/Rond-PP.png');
      mask-size: cover;
      mask-position: center;
  }

}

#accueil-bienvenue .block-list__item, 
#accueil-ca-bouge .block-list__item{
  margin-bottom: -7px !important;
  margin-top: -7px !important;
}

#accueil-bienvenue .widget-content,
#accueil-ca-bouge .widget-content{
  margin-top: 18px !important;
}

  /* FIN EFFETS PHOTOS ACCUEIL Bienvenue & Ca bouge */



@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700&display=swap');

/*Correction couleur chevrons des slideshows - fait le 12-04-2024*/
:root {
  --lumx-color-white-D2: #fff; 
}


/* Background color & fonts */
body,
body.theme-lumapps {
	font-family: 'Montserrat', sans-serif;
	background-image: linear-gradient(-52deg,#ffffff 95%,#ffffff 98%) !important;
}

/* Page Titles */
.widget--shared-titre-page .widget-title__title,
.widget--shared-titre-page .widget-title__title,
.widget--shared-titre-page-dark .widget-title__title{
    font-size: 42px !important;
}
/* Only for Communities */
.widget--shared-titre-page .widget-title__title,
.widget--shared-titre-page-dark .widget-title__title {
    line-height: 60px !important;
}

.widget--shared-14-px-widget-transparent-border .community-block__title,
.widget--shared-14-px-widget-transparent-border .content-block-title,
.widget--shared-14-px-widget-transparent .content-block-title a,
.widget--shared-14-px-slideshow .content-block-title a,
.widget--shared-14-px-widget-fonce .content-block-title a,
.widget--shared-14px-widget-bleu-clair .block-community-preview__title,
.widget--shared-14px-widget-post-list .lumx-typography-custom-title4,
.widget--shared-14px-widget-blanc .media-block__name,
.widget--shared-14-px-widget-blanc .media-block__name,
.widget--shared-14px-widget-blanc .folder-block__name,
.widget--shared-14-px-widget-blanc .folder-block__name,
.widget--shared-14px-widget-blanc .lumx-text,
.widget--shared-14-px-widget-blanc .lumx-text,
.widget--shared-14-px-widget-blanc .widget-file-list-toolbar__wrapper span,
#accueil-bienvenue a,
#accueil-ca-bouge a,
#commu_groupe h3,
#OffreEmploi h3,
#actu_groupe h3,
#article_groupe h3
{
	font-size: 14px !important;
}

/* WIDGET ACCUEIL BK */
#sorties_BK a {
  pointer-events: none;
  cursor: default;
}

#sorties_BK a:hover {
  pointer-events: none;
  text-decoration: none;
}

#sorties_BK img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* WIDGET ACCUEIL FILMS */
/* Cacher tout le contenu texte */
#widget_films .lumx-typography-body1,
#widget_films .lumx-typography-title,
#widget_films .lumx-typography-subtitle2,
#widget_films hr {
    display: none;
}
/* Afficher les images en ligne */
#widget_films .lumx-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: none;
}
#widget_films .lumx-list-item {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 1px;
    position: relative;
}
/* Conteneur de l'image */
#widget_films .lumx-list-item__content {
    position: relative;
    overflow: hidden;
}
/* Redimensionner les images en portrait */
#widget_films .lumx-list-item__content .lumx-thumbnail__image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: contain;
}
#widget_films .lumx-spacing-margin-right-huge {
    width: auto !important;
    height: auto !important;
}
/* Le thumbnail devient le référentiel de positionnement */
#widget_films .lumx-thumbnail {
    width: 100% !important;
    height: auto !important;
    position: relative;
    overflow: visible;
}
#widget_films .lumx-thumbnail__background {
    display: block;
    position: relative;
    overflow: hidden;
}
/* --- VOLET AU SURVOL --- */
/* Fond sombre qui monte depuis le bas */
#widget_films .lumx-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: #5C5340;
    transition: height 0.35s ease;
    z-index: 1;
}
#widget_films .lumx-list-item:hover .lumx-thumbnail::after {
    height: 100%;
}
/* Texte du volet */
#widget_films .lumx-thumbnail .lumx-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    color: #ffffff;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}
#widget_films .lumx-list-item:hover .lumx-thumbnail .lumx-overlay-text {
    opacity: 1;
    transform: translateY(0);
}
/* Titre dans le volet */
#widget_films .lumx-thumbnail .lumx-overlay-text .overlay-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
/* Description dans le volet */
#widget_films .lumx-thumbnail .lumx-overlay-text .overlay-desc {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    text-align: justify;
    overflow-y: auto;
    flex: 1;
    margin: 0;
}
/* Scrollbar discrète */
#widget_films .lumx-thumbnail .lumx-overlay-text .overlay-desc::-webkit-scrollbar {
    width: 4px;
}
#widget_films .lumx-thumbnail .lumx-overlay-text .overlay-desc::-webkit-scrollbar-track {
    background: transparent;
}
#widget_films .lumx-thumbnail .lumx-overlay-text .overlay-desc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}
/* Désactiver les liens cliquables */
#widget_films a {
    pointer-events: none;
}
#widget_films .lumx-thumbnail .lumx-overlay-text {
    pointer-events: auto;
}
/* FIN WIDGET ACCUEIL FILMS */

@media only screen and (min-width: 1280px) {
  /* EFFETS PHOTOS ACCUEIL Bienvenue & Ca bouge */
  #accueil-bienvenue .content-block__thumbnail, 
  #accueil-ca-bouge .content-block__thumbnail{
      position: relative;
      /* Utilisez l'image du masque avec la zone de couleur comme arrière-plan */
      background-image: url('https://i.ibb.co/tPMK0Kf/Rond-PP-Color-Only.png');
  }

  #accueil-bienvenue .content-block__thumbnail img, 
  #accueil-ca-bouge .content-block__thumbnail img{
      display: block;
      bottom: 0px;
      left: -1%;
      top: 2%;
      position: relative;
      /* Ajustez la taille de l'image pour correspondre à la taille de content-block__thumbnail */
      width: 95%;
      height: 95%;
      /* Utilisez le masque pour découper l'image */
      -webkit-mask-image: url('https://i.ibb.co/qCZwS6s/Rond-PP.png');
      mask-image: url('https://i.ibb.co/qCZwS6s/Rond-PP.png');
      mask-size: cover;
      mask-position: center;
      /* Ajustez le comportement de l'image pour remplir l'espace tout en conservant son rapport d'aspect */
      object-fit: cover;
  }
  /* FIN EFFETS PHOTOS ACCUEIL Bienvenue & Ca bouge */

  /* EFFETS PHOTOS ARTICLES Bienvenue & Ca bouge */
  #vignette-nouveau .widget-content {
      position: relative;
      overflow: hidden;
      /* Utilisez l'image du masque avec la zone de couleur comme arrière-plan */
      background-image: url('https://i.ibb.co/tPMK0Kf/Rond-PP-Color-Only.png');
      background-size: contain;
      background-repeat: no-repeat;
  }

  #vignette-nouveau .lumx-thumbnail__image {
      display: block;
      /* Ajustez la position de l'image pour l'aligner en bas à gauche */
      position: relative;
      /* Ajustez la taille de l'image pour correspondre à la taille de #vignette-nouveau */
      width: 80%;
      height: 95%;
      /* Utilisez le masque pour découper l'image */
      -webkit-mask-image: url('https://i.ibb.co/qCZwS6s/Rond-PP.png');
      mask-image: url('https://i.ibb.co/qCZwS6s/Rond-PP.png');
      mask-size: cover;
      mask-position: center;
      /* Ajustez le comportement de l'image pour remplir l'espace tout en conservant son rapport d'aspect */
      object-fit: cover;
  }
  /* FIN EFFETS PHOTOS ARTICLES Bienvenue & Ca bouge */
}
