/* conteneurs  */

/* centre
pour centrer un div en dessous, max 1400px, 
variantes mw1000 et .mw1200
blocks aligné en hautpar défaut */

.centre {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  max-width: 1400px;
}

/* begin */
.begin {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-left: 0;
  margin-right: auto;
} /* begin */

.end {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  flex-wrap: nowrap;
  margin-right: 0;
  margin-left: auto;
}

/* between classique, utilisé pour bandeau et footer */
/* between pour bloc d'images -> imbloc */
.between,
.imbloc,
.colbloc {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 1400px;
}

.imbloc img,
.imbloc figcaption,
.colbloc img,
.colbloc figcaption,
.colbloc figure,
.imbloc p,
.imbloc video {
  width: 100%;
  height: auto;
}

.colbloc div {
  width: 32%;
}

@media (max-width: 768px){
  .colbloc div {
  width: 48% !important;
  }
}


@media (max-width: 576px) {
  /* padding: 1.5% ou 1.5rem ??? */
  .between,
  .imbloc {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1.5% !important;
    padding-right: 1.5% !important;
  }
}

/* colonnes utile pour mettre les images dans des colonnes, par 1, 2 ou 3 en faisant un réglage de pourcentage au dessus */

.colonne {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nowrap {
  flex-wrap: nowrap;
}

/* mise en page bio */

#ateliers > div {
  width: 650px;
}
@media (max-width: 576px) {
  #ateliers > .end {
    flex-wrap: wrap;
  }
  #ateliers div {
    width: 550 px;
  }
}
/* page vasepref  */
/* mise en page de type imbloc avec spécificité pour les textes latéraux à coté des images */

.vasepref {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
  max-width: 1400px;
}
.vasepref > article {
  width: 20%;
  padding-right: 0.5%;
}

.vasepref > div {
  width: 80%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: var(--gt-4);
}

.vasepref > div > figure {
  width: 32%;
}

.vasepref img {
  width: 100%;
}
@media (max-width: 992px) {
  .vasepref > article {
    width: 80%;
    padding-left: 1%;
  }

  .vasepref > div {
    width: 98%;
  }
}

/* installations: gestion des 3 colonnes */





.colbloc figure, .colbloc img  {
  width: 100%;
}
/* HABITANTS DELICATS */

.habitant {
  display: grid;
}

.habitant img {
  width: 100%;
  height: auto;
}

.hab-1 {
  grid-template-columns: 60% 4% 36%;
}

.hab-2 {
  grid-template-columns: 33% 2.5% 37% 2.5% 25%;
}

.hab-3 {
  grid-template-columns: 43% 2% 55%;
}

/* w-xx */

.w-20 {
  width: 20% !important;
}
/* mxxx : sert à centrer les imbloc avec largeur contrainte, utile avec centre */

.mw960 {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.mw1000 {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}
.mw1080 {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}
.mw1100 {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}
.mw1120 {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}
.mw1160 {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}
.mw1200 {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
.mw1250 {
  max-width: 1250px;
  margin-right: auto;
  margin-left: auto;
}
.mw1300 {
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
}
.mw1350 {
  max-width: 1350px;
  margin-right: auto;
  margin-left: auto;
}
.mw1400 {
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
}

/*  GESTION DU MENU  */



/* container-vert: conteneur pour le menu déroulant sur les petits écrans */

  .container-vert {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* sert à masquer le menu déroulant dès le départ */

#navigation {
  display: none;
}
@media (min-width: 992px) {
  .menu {
    align-items: center;
  }

  .menu ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-right: -0.4rem;
  }
  #navigation {
    display: block !important;
  }
  .barre {
    padding: 0.4rem;
    margin: auto;
  }
  .menu li {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
  }
}

.projets .titreprojets,
.installations .titreinstallations,
.infographie .titreinfographie,
.edition .titreedition,
.carnets .titrecarnets,
.bio .titrebio,
.contact .titreressources {
  background-color: rgba(255, 255, 255, 0.15);
  background-color: var(--bs-body-bg);
  border-radius: 5px;
  border-radius: 0px;
}

/* fin menu  */

.footer {
  position: fixed;
  width: 100%;
  max-width: 1400px;
  bottom: 0;
}


/* fin bandeau  */

/* Global Styles */

/* .maxwidth {
  max-width: 100vw;
} */

.maxw-1400 {
  max-width: 1400px;
}

.maxw-700 {
  max-width: 700px;
}

.maxw-1000 {
  max-width: 1000px;
}

.maxh-100vh {
  max-width: 100vh;
}

.maxw-50vh {
  max-width: 50vh;
}

.maxw-60vh {
  max-width: 60vh;
}

.maxw-120vh {
  max-width: 120vh;
}

/* fin variante */

h2,
h3,
h4,
h5,
p,
article {
  text-align: left;
}

/* .texte-gauche {
  text-align: left;

} */

.t-c {
  text-align: center;
}

#index > body > .slider {
  overflow: hidden;
}
body {
  padding-right: 0px;
  padding-left: 0px;
  padding-top: 90px;
  padding-bottom: 120px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 1400px;
  min-height: 100vh;
}
#index body {
  padding-top: 55px;
}
/* c'est ici */
body > *,
.bandeau {
  padding-left: 4vw !important;
  padding-right: 4vw !important;
}

@media (max-width: 768px) {
  body > *,
  .bandeau {
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }
}

/* fin */
a:hover {
  color: var(--bs-body-color);
}

.header {
  position: fixed;
  z-index: 5;
  top: 0;

  /* left: 0;
  right: 0; */
  opacity: 1;
  /* border-bottom: 1px solid gray; */
  min-height: 80px;
  width: 100%;
  max-width: 1400px;
}

.max-1400 {
  max-width: 1400px;
}
.max-512 {
  max-width: 750px;
}

.h50vh {
  width: 50vh;
  height: auto;
}

.h90vh {
  width: 90vh;
  height: auto;
}

.w100vh {
  width: 100vh;
  height: auto;
}

.border {
  color: gray;
}

.bottom-90 {
  margin-bottom: 90px;
}

.black {
  color: black;
  text-decoration: none;
}
.trait {
  border-bottom: 1px solid gray;
}

.contaround {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  /* padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto; */
  max-width: 1400px;
  align-items: center;
}

.contcenter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1400px;
  align-items: center;
}

/* dimension séries d'image */

.navbar-nav {
  float: right !important;
}

/* obsolète ? */

.navbar {
  position: absolute;
}

/* obsolète ? */

/* traits et lignes */

.ligne {
  border-top: 1px solid #666;
  max-width: 1400px;
}

/* formats vidéo */
.video-carnets video {
  width: 460px;
}

.video-ateliers video {
  height: 260px;
}

@media (max-width: 768px) {
  .video-carnets video {
    width: 300px;
  }
}

/* ascenseur */
.up {
  visibility: hidden;
}

.up {
  position: fixed;
  bottom: 1rem;
  width: 100%;
  max-width: 1400px;
  padding-right: 10px !important;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  background-color: rgba(0, 0, 0, 0);
  border: none !important;
}

.contact .up {
  bottom: 7rem;
}

.back {
  position: fixed;
  z-index: 7;
  top: 1rem;
  padding-top: 90px;
  padding-left: 0 !important;
  margin-left: 1rem;
  background-color: rgba(0, 0, 0, 0);
  border: none !important;
}

@media screen and (max-width: 992px) {
 .back {
    padding-top: 45px;
  }
}
/* 
.btn-default {
  color: #55acee;
  border: 1px solid #cccccc;
}

.btn-default:hover {
  color: #ffffff;
  background-color: #339beb;
  border-color: #339beb;
}



.btn {
  padding: 5px 5px;
  font-size: 14px;
  line-height: 1.42857143;
  min-width: 100px;
  text-align: center !important ;
  border-radius: 0;
  text-transform: uppercase;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
 */

/* 
@media (max-width: 768px) {
  .btn {
    font-size: 10px;
    line-height: 1.2;
    min-width: 60px;
  }


} */

/* 
.icone button {
  color: black;
  background-color: rgba(255, 255, 255, 0.5);
} */

.img > figcaption {
  color: black;
}

@media screen and (min-width: 780px) {
  .ss {
    display: none;
  }
}

@media screen and (max-width: 780px) {
  .ls {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .sg {
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .lg {
    display: none;
  }
}

/*  réglage des images popup */

.affiche {
  position: fixed;
  z-index: 6;
  /* padding-top: 50px; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgb(132, 132, 132);
}

.ferme {
  top: 0;
  padding-top: 1%;
  padding-left: 1%;
  z-index: 2;
}

.top-6 {
  position: fixed;
  top: 6%;
}

.strong {
  font-weight: bolder;
}

.scroll-container {
  overflow-y: scroll;
  max-height: 70vh;
}

.mars-a {
  overflow-y: scroll;
  max-height: 70vh;
}

.critiques h6 {
  font-weight: bolder;
  margin-top: 1rem !important;
  margin-bottom: 0.25rem !important;
}
.critiques p {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.h5-6 {
  font-size: 1.1rem;
}

.fb {
  font-size: 1rem;
}
