/*.container-banner .banner-overlay{ 
    font-size: 30px;
    color: #000000;
  height: 700px;
}*/

@font-face {
  font-family: 'Outfit';
  src: url('/media/templates/site/cassiopeia_gdr_biofouling/fonts/Outfit-Medium.woff2') format('woff2'),
    url('/media/templates/site/cassiopeia_gdr_biofouling/fonts/Outfit-Medium.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Eurocine';
  src: url('/media/templates/site/cassiopeia_gdr_biofouling/fonts/Eurocine-Regular.woff2') format('woff2'),
    url('/media/templates/site/cassiopeia_gdr_biofouling/fonts/Eurocine-Regular.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.h3 {
  font-family: 'Outfit', sans-serif;
}

body {
  font-family: 'Outfit', sans-serif;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('/images/motif_gdr-2.png'); 
  background-size: 10%;
  background-repeat: no-repeat;
  background-position: 103% 48%;
  font-size: 1.2em;
  background-color: #ffffff !important;
}

body.itemid-138,
body.itemid-122,
body.itemid-141,
body.itemid-142,
body.itemid-143,
body.itemid-144{ /*pour cacher le motif de background sur certaines pages*/
  background-image: none !important;
}

.container-topbar {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.container-topbar form {
  float: right;  
  margin-right:10px;
}

.container-topbar form .form-control {
  padding: 0.2rem 0.8rem;
  font-size: 1rem;
  line-height: 1.2;
}

.metismenu.mod-menu .parent>ul { /*changer la couleur du texte du sous menu dans le footer*/
  color: #ffffff;
}

.navbar-toggler { /*menu burger*/
  display: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 8999 !important;
  position: relative;
  width: auto;
  height: auto;
}

#cookiesck_options { /*cacher le bouton des cookies*/
  display: none !important;
}


footer .mm-collapse { /*sous-menu footer position*/
  transform: translateY(-100%);
}


.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #000;
    pointer-events: auto;
}


/* Optionnel : empêche les images d’aller jusqu'au bord */
.swiper-container {
    padding: 0 40px; /* pour compenser les flèches en dehors */
    box-sizing: border-box;
}

:root {
  --website-color-1: #07A438; /*vert basique*/
  --website-color-2: #90B224;/*vert pomme*/
  --website-color-3: #1C7B82;/*bleu foncé*/
  --website-color-4: #24A8B3;/*bleu clair*/
  --website-color-5: #056B24; /*vert foncé*/
}

.titre {
  color: green;
  font-size: 2em;
  font-weight: medium;
}

.titre.labo {
  padding: 30px 0px 30px 0px;
}

@media (max-width: 991px) {
     .navbar-toggler { /*menu burger*/
  display: block !important; /*pour que le menu burger s'affiche*/
     background: var(--website-color-3); /*couleur du menu burger*/
   }
  
  header .mm-collapse { /*sous-menu header position*/
  position: relative !important;
  z-index: 9999 !important;
}
  
  .navbar-toggler {
    display: block !important;
  }
  .navbar-collapse {
    display: none;
  }
  .navbar-collapse.show {
    display: block;
  }

  .titre {
  font-size: 1.3em;
}

body {
  font-size: 1em;
}
  
}

.mm-collapse a {
  color: var(--website-color-3); 
}

.banner-overlay-filter { /*filtre sombre sur la bannière*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* ajuster l'opacité ici */
  z-index: 0;
}

.axeaxe { /*?*/
  font-size: 30px;
}

/*pour changer le header*/
.header .grid-child {
  background-color: #ffffff;
    align-items: center;
gap: 50px;
  z-index: 3;
  clear: both;
}

body, html { /*?*/
  overflow-x: hidden;
}

/*pour changer le logo dans le header*/
.navbar-brand {
  display: flex;
  align-items: center;
  max-height: 300px;
    justify-content: flex-start; /* Aligne à gauche */
padding: 50px;
}

.header {
  background-color: #ffffff;
  flex-wrap: wrap;
}

.container-header { /*changer le header et la barre dessous*/
    background-color: #ffffff !important;
  background-image: none;
    border-bottom: 5px solid var(--website-color-3); 
  box-shadow: none;
}

.container-header .mod-menu li{
  color: #1C7A82 !important; /*pour changer la couleur de 'axes'*/
    align-items: center;
z-index: 1;
}

.container-header .mod-menu li{ /*?*/
  color: #1C7A82 !important; 
    align-items: center;
z-index: 1;
}

.container-header .mod-menu li:hover{ /*?*/
  color: #ffffff !important; 
    align-items: center;
}

#mod-custom131 {
  margin-right: 40px;
}


/* Lien normal */
.container-header .mod-menu > li > a {
  color: var(--website-color-3) !important;
  transition: color 0.3s ease;
}

/* Hover sur lien */
.container-header .mod-menu > li > a:hover {
  color: #000000 !important;
}

/* Hover sur élément de menu sans lien */
.container-header .mod-menu > li:hover {
  color: #000000 !important;
}

body {
  margin-top: 5px;
}

.bloc-image { /*pour changer le style des blocs d'images de separation du contenu*/
  background-attachment: fixed; /*effet parallaxe*/
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
  width: 100%;
}

.bloc-texte {
  font-size: 20px; 
  font-family: 'Outfit';
}

@media (max-width: 768px) {
  .bloc-texte {
    font-size: 12px;
  }

  .objectif {
    flex: 1 1 100%; /* Empilé sur mobile */
  }

  .objectifrond {
    flex: 1 1 100%; /* Empilé sur mobile */
  }
}

#image-contact { /*pour changer le style des blocs d'images de separation du contenu de la page contact*/
  background-size: cover;
  background-position: center 65%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  position: relative;
  width: 100%;
}

/*vague de la bannière*/
.custom-shape-divider-top-1744964597 {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    position: relative; 
    z-index: 2;
  bottom: 0;
}

/*vague de la bannière*/
.custom-shape-divider-top-1744964597 svg {
    display: block;
    width: 100vw;
    height: 100px; 
  position: relative;
  left: calc(-50vw + 50%);

}

.custom-shape-divider-top-1744964597 .shape-fill {
    fill: #FFFFFF; /*couleur de la vague de bannière*/
}



.wave-wrapper { /*?*/
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.waves-svg { /*?*/
  display: block;
  width: 100%;
  height: 120px;
}





.btn-download { /*changer le bouton de dl des pages labos*/
  display: inline-block;
  padding: 8px 14px;
  background-color: #4CAF50;
  color: white !important;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1em;
  font-weight: bold;
}

.btn-download:hover {
  background-color: #3e8e41;
}

/*pour changer le bouton de navigation vers un site de labo */
.btn-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;      
  height: 80px;     
  border-radius: 50%;  
  background-color: var(--website-color-2);  
  text-decoration: none;  
  margin-right: 10px;     
  overflow: hidden;   
  transition: background-color 0.3s ease-out; 
}

.btn-icon img {
  width: 70%;   
  height: 70%;  
  object-fit: contain;  
  object-position: center;

}

.btn-icon:hover {
  background-color: var(--website-color-3); /* Couleur de survol */
}


.objectifs-container { /*pour changer les objectifs*/
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
  padding: 0 40px;
}

.objectifrond {
  flex: 1 1 calc(33.333% - 20px); /*3 colonnes*/
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.icone-cercle { /*icones objectifs*/
  width: 200px;
  height: 200px;
  margin: 0 auto 15px auto;
background: var(--website-color-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icone-cercle img {
  width: 50%;
  height: auto;
}

.fullwidth-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 10px 20px;
  position: relative;
}

.personneslabo { /*pour changer le style de la liste des personnes par labo*/
   background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.personneslabo p {
  margin-bottom: 10px;
  font-size: 16px;
}

.personneslabo ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.personneslabo li {
  margin-bottom: 6px;
}

/* Affiche le sous-menu au hover du menu axes */
li.parent:hover > ul.mod-menu__sub {
  display: block !important;
}


ul.mod-menu__sub { /*sous-menu des axes en hover, s'il est affichable*/
  display: none; /* Masque le sous-menu par défaut */
  position: absolute;
  background: white; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 200px;
}

li.parent {
  position: relative;
}




/* Bannière avec image de fond */
.banner-with-wave {
  position: relative;
    background-color: transparent; 
    width: 100%;
    height: 400px; 
    overflow: hidden;
}

/* Section image de la bannière */
.image-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.image-banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.2); /* noir à 50% */
  z-index: 1;
}

.image-banner.deplacer {
  background-position-y: 25%;
}

/* Contenu de la bannière */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
}

/* Forme de la vague du bas */
.wave-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;  
    z-index: 1;
  transform: scaleY(-1);
    transform-origin: center;
}

/* Masque basé sur la forme de la vague */
.wave-path {
       fill: white;
}

@media (prefers-color-scheme: dark) {
  .wave path {
    fill: black;
  }
}


grid-child .container-bottom-b { /*style des 4 blocs du footer*/
  margin-bottom: -50px;
  padding-bottom: -50px;
}


footer.container-footer.footer.full-width,
footer.footer {
  margin-top: 0 !important;
}

.banner-number { /*nombre dans la bannière des axes*/
  font-family: 'Eurocine';
  position: absolute;
  top: 45%;
  left: 0%;
  font-size: 230px; 
  font-weight: bold;
  color: rgba(255, 255, 255, 0.4); 
  z-index: 0;
  pointer-events: none; /* le texte derrière ne gêne pas les clics */
}

@media (min-width: 1920px) { /*pour les écrans larges*/
  .banner-number {
    left: 15%; 
  }
}
  
.colored-section { /*section en bas de la page actions (en bleu)*/
  background-color: #24A8B3;
  color: white;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
}

.colored-section-inner {
      max-width: 1426px; 
  margin: 0 auto;
    padding: 2em 2em;
}

.axe1boite { /*bloc coloré de l'axe 1 et 3*/
  font-size: 32px;
  flex: 1; 
  padding: 20px;
  text-align: center;
  background: var(--website-color-1);
  color: #ffffff !important;
  justify-self: center !important;
}

.axe1boite a {
    color: #ffffff !important;
  text-decoration: none;
}

.axe2boite { /*bloc coloré de l'axe 2 et 4*/
  font-size: 32px;
  flex: 1; 
  padding: 20px;
  text-align: center;
  background: var(--website-color-2);
  color: #ffffff;
}

.axe2boite a {
    color: #ffffff !important;
  text-decoration: none;
}

.axe3boite { /*bloc coloré des pages des axes*/
  color: white;
  font-size: 32px;
  flex: 1; 
  padding: 20px;
  text-align: center;
  background: var(--website-color-5);
}

.axe1boite.labo {
  margin: 20px 0px 0px 0px;
}

.axe2boite.labo {
  margin: 20px 0px 0px 0px;
}

/* Conteneur global de la liste d'éléments taggés*/
.com-tags__items {
  max-width: 1100px;
  margin: auto;
  padding: 2em 1em;
}

/* La liste d'éléments taggés*/
.com-tags-tag__category {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 2em 0 0 0;
}

/* Chaque élément de la liste */
.com-tags-tag__category .list-group-item {
  background: transparent;
  border: 3px solid #000000;
  border-radius: 8px;
  color: black;
  padding: 1em;
  flex: 1 1 calc(33% - 1em); /* 3 par ligne */
  transition: background 0.3s ease;
  text-align: left;
}

.com-tags-tag__category .list-group-item,
.com-tags-tag__category .list-group-item * {
  font-family: 'Outfit', sans-serif;
}

.com-tags-tag__category .list-group-item:hover {
  background: var(--website-color-3);
  color: #fff;
}

/* Lien à l’intérieur de chacun des éléments de la liste*/
.com-tags-tag__category .list-group-item a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

.com-tags-tag__category .list-group-item a:hover { /*hover des éléments taggés*/
  text-decoration: underline;
}

.page-header {
  display: none;
}

/* Conteneur du module */
ul.mod-tagssimilar {
  padding: 2em 1em;
  list-style: none;
}

/* Chaque élément en bloc */
ul.mod-tagssimilar li {
  background: transparent;
  border: 3px solid #000000;
  border-radius: 8px;
  color: black;
  padding: 1em;
  margin-bottom: 1em; /* espacement entre les items */
  transition: background 0.3s ease;
  text-align: left;
  width: 100%;
}

/* hover des éléments taggés*/
ul.mod-tagssimilar li:hover {
  background: var(--website-color-3);
  color: #fff;
}

/* Lien des éléments taggés*/
ul.mod-tagssimilar li a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

ul.mod-tagssimilar li a:hover {
  text-decoration: underline;
}

.main-content {
  position: relative;
  z-index: 1;
}

.li.parent:hover > ul.mod-menu__sub {
  z-index: 999;
}

.actions { /*changer le texte de la partie bleue de la page action*/
  max-width: 1200px;
  align-items: center;
  justify-content: center;
}


.footer {
  background-color: #4C4C4C;
  display: flex;
  justify-content: center;
   margin-top: none;
  padding-top: none;
}

footer .grid-child { /*l'un des deux est pour changer le footer, l'autre pour changer ce qu'il y a sur les côtés du footer*/
    background-color: #4C4C4C;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: none;
  padding-top: none;
}

.mod-footer > div,
.mod-menu {
  margin: 10px 0;
}

.mod-footer { /*menu du footer*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* pour le responsive */
  gap: 1em;
  margin-top: 1em;
}

.mod-menu mod-list nav {
  background-color: #f6f6f6 !important;
}

.container-bottom-b > .moduletable {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

footer.container-footer {
  background-color: #4C4C4C;
  background-image: none;
}














footer .mod-menu {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  padding-top: 20px;
}



.footer-menu ul.mod-menu li {
  display: inline; /* pour éviter les blocs */
}

.bloc-chiffre1 {
  flex: 1; 
  padding: 5px; 
  font-size: 60px; 
  color: #ffffff; 
  height: 270px; 
  text-align: center; 
  background: var(--website-color-1); 
  font-family: 'Eurocine';
}

.bloc-chiffre2 {
  flex: 1; 
  padding: 5px; 
  font-size: 60px; 
  color: #ffffff; 
  height: 270px; 
  text-align: center; 
  background: var(--website-color-2); 
  font-family: 'Eurocine';
}



.image-batiment {
  float: right;
  margin-left: 20px;
  margin-top: 10px;
  width: 400px; /* ajustez à votre convenance */
  border-radius: 15px;
  display: block;
}

h2 {
  margin-top: 40px;
}

.container-search {
  display: flex;
  flex-direction: row !important;
}

.icone-axe1 {
display: inline-block;
  text-align: center;
    line-height: 1;       /* réduit l’espace vertical */
}

.icone-axe1::before {
  content: "";
  display: block;
  width: 120px; /* tu mets ici la taille que tu veux */
  height: 120px;
  background-image: url('/images/icones/Axe_1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* force l'image à remplir le bloc */
  line-height: 0;
  font-size: 0;
}

.icone-axe2 {
display: inline-block;
  text-align: center;
    line-height: 1;       /* réduit l’espace vertical */
}

.icone-axe2::before {
  content: "";
  display: block;
  width: 120px; /* tu mets ici la taille que tu veux */
  height: 120px;
  background-image: url('/images/icones/Axe_2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* force l'image à remplir le bloc */
  line-height: 0;
  font-size: 0;
}

.icone-axe3 {
display: inline-block;
  text-align: center;
    line-height: 1;       /* réduit l’espace vertical */
}

.icone-axe3::before {
  content: "";
  display: block;
  width: 120px; /* tu mets ici la taille que tu veux */
  height: 120px;
  background-image: url('/images/icones/Axe_3.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* force l'image à remplir le bloc */
  line-height: 0;
  font-size: 0;
}

.icone-axe4 {
display: inline-block;
  text-align: center;
    line-height: 1;       /* réduit l’espace vertical */
}

.icone-axe4::before {
  content: "";
  display: block;
  width: 120px; /* tu mets ici la taille que tu veux */
  height: 120px;
  background-image: url('/images/icones/Axe_4.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* force l'image à remplir le bloc */
  line-height: 0;
  font-size: 0;
}

.image-float-right {
  float: right;
  width: 600px;
  border-radius: 25px;
  object-fit: cover;           /* ou fixe : 200px par exemple */
  margin: 0 0 1em 1em;   /* espace entre image et texte */
  max-width: 400px;      /* limite la taille si grand écran */
}

.image-float-left {
  float: left;
  width: 400px;
  border-radius: 25px;
  object-fit: contain;           /* ou fixe : 200px par exemple */
  margin: 1em 1em 1em 1em;   /* espace entre image et texte */
  max-width: 400px;      /* limite la taille si grand écran */
}

.auteur-photo {
   position: absolute;
            bottom: 10px;
            left: 10px;
            font-size: 0.8rem;
            color: white;
            background-color: rgba(0, 0, 0, 0.7);
            padding: 4px 8px;
            border-radius: 4px;
            display: block;
            /* Ajout pour une meilleure lisibilité */
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            font-weight: 500;
}

.image-batiment-wrapper {
  position: relative;
  display: inline-block;
  float: right;
  margin-left: 20px;
  margin-bottom: 90px;
  margin-top: 10px;
  width: 400px;
}

.bottom_labo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-component {
      margin-bottom: 60px;
}

body.itemid-139 .container-component, body.itemid-135 .container-component {
      margin-bottom: 0px;
}