/*Scrollbar*/

::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background-color: #fff;
  padding: 1px;
}
::-webkit-scrollbar-thumb {
  background: #9ca2b0;
  border-radius: 4px;
}


/*Courant*/

body{
    background-color: #ffff;
    color: #000;
    font-family: Calibri;
    font-size: 1em;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
.texte{
  width: 350px;
  background-color: #000;
  color: #ffff;
  text-align:left;
  padding: 16px;
  margin: 50px;
}
.texte_2{
  text-align: center;
  margin: 50px;
}
.texte_3{
  text-align: justify;
  margin: 50px;
}
.texte_4{
  font-size: 1em;
  font-weight: 500;
  color: #fff;
}
.texte_5{
  text-align: justify;
  margin: 50px;
  margin-top: 0px;
}
.texte_6{
  font-size: 1.5em;
  font-weight: lighter;
  text-align: justify;
  margin: 50px;
  margin-bottom: 10px;
}

span{
  font-family: Cambria;
  font-style: italic;
  font-weight: lighter;
}
.titre{
    color:#ffff;
    font-size: 3.5em;
    font-weight:bold;
    text-align: center;
}
.titre_2{
  font-size: 2.5em;
  font-weight:bold;
}
em{
    font-weight: bold;
    font-style: normal;
}
a{
    color: #000;
    text-decoration: none;
    border: none;
}
a:hover {
    color: #404040;
}
.banniere{
    padding: 200px;
    background-image: url("images/banniere.jpg");
    background-size: cover;
}
.map{
  background-size: cover;
}

header,
footer{
    padding: 10px 20px;
}
footer,
nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.lien_icone_main{
    position: relative;
    right: 30px;
    top: 5px;
}
.lien_icone_main:hover{
    opacity: 0.5;
}
.lien_icone{
    margin-left: 30px;
}
.lien_icone:hover{
    opacity: 0.5;
}

.lien_icone_2{
  max-width: 200px;
  max-height: 200px;
  margin: auto;
}
.lien_icone_2:hover{
  opacity: 0.5;
}

.droits{
    font-size: 0.8em;
}
.formulaire{
  border: none;
  box-shadow: none;
}
.message{
  width: calc(100vw - 20px);
}
img{max-width: 100%;max-height: 100%;}


/*Grille*/

.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  justify-content: center;
  align-content: center;
  grid-gap: 10px;
}
@media (max-width: 768px){
  .grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    
    justify-content: center;
    align-content: center;
    grid-gap: 10px;
  }
}
.grid img{
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.grid img:hover{
  opacity: 0.7;
}


/*Principal*/

.fond_intro {
  background-color: #000;
}
.fond_actu {
  background-color: #fff;
}
.fond_1pourcent {
  background-color: #000;
}

.conteneur_1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-template-rows: repeat(1, 1fr);
  max-width: 1500px;
  justify-content: center;
  align-items: center;
  grid-gap: 30px;
  margin: auto;
}
.conteneur_2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  grid-template-rows: repeat(1, 1fr);
  max-width: 1500px;
  justify-content: center;
  align-content: center;
  grid-gap: 30px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
  margin-left: minmax(50px, auto);
  margin-right: minmax(50px, auto);
}
.conteneur_3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-template-rows: repeat(1, 1fr);
  max-width: 1500px;
  justify-content: center;
  align-content: center;
  grid-gap: 30px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
  margin-left: minmax(50px, auto);
  margin-right: minmax(50px, auto);
}
.conteneur_4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-template-rows: repeat(1, 1fr);
  max-width: 1500px;
  justify-content: center;
  align-content: center;
  grid-gap: 30px;
  margin: auto;
  margin-left: minmax(50px, auto);
  margin-right: minmax(50px, auto);
}
.conteneur_5 {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-template-rows: 0.1fr 0.3fr;
  max-width: 1500px;
  justify-content: center;
  align-content: center;
  grid-gap: 30px;
  margin: auto;
  margin-left: minmax(50px, auto);
  margin-right: minmax(50px, auto);
}
.conteneur_6 {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-template-rows: repeat(2, 1fr);
  max-width: 1500px;
  justify-content: center;
  align-content: center;
  grid-gap: 30px;
  margin: auto;
  margin-top: 50px;
  margin-left: minmax(50px, auto);
  margin-right: minmax(50px, auto);
}

.une {
  padding: 50px;
}
.deux {
  padding: 0px;
}
.trois {
  background-color: #f1f1f0;
  padding: 50px;
}
.quatre {
  background-color: #f1f1f0;
  padding: 50px;
}
.cinq {
  grid-column: 1 / 3;
  padding: 0px;
}
.six {
  grid-column: 3;
  padding: 50px;
}
.sept {
  padding: 50px;
}
.huit {
  padding: 50px;
}
.neuf {
  padding: 50px;
  padding-bottom: 0px;
  margin: auto;
  margin-bottom: 0px;
}
.dix {
  grid-column: 1 / 3;
  padding: 50px;
}

.intro_image {
  max-width: 750px;
  margin: auto;
  align-items: center;
}
.actu_image {
  height: fit-content;
}
.icone_image {
  max-width: 400px;
  max-height: 400px;
  margin: auto;
}
.icone_image_2 {
  margin: auto;
}
.icone_image_3 {
  max-width: 1500px;
  margin: auto;
}

.icone_texte_1 {
  font-size: 1em;
  font-weight: 500;
}
.icone_texte_2 {
  font-size: 2.5em;
  font-weight: 500;
}
.icone_texte_3 {
  font-size: 1em;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.icone_texte_4 {
  font-size: 2.5em;
  font-weight: 500;
  color: #fff;
}
.icone_texte_5 {
  font-size: 1em;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.icone_texte_6 {
  font-size: 1.5em;
  font-weight: lighter;
  color: #fff;
}
.icone_texte_7 {
  font-size: 1em;
  font-weight: 800;
}

/*test-lightbox*/

/*
#lightbox{
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}
#lightbox.active{
  display: flex;
  justify-content: center;
  align-items: center;
}
#lightbox img{
  max-width: 90%;
  max-height: 90%;
}
*/


/*Lightbox*/

.lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  animation: lightboxIn .5s;
  transition: opacity .3s;
}
.lightbox.fadeOut {
  opacity: 0;
}
.lightbox__next, .lightbox__prev {
  border: none;
  background: url(images/arrow_white.png) center center / 100% 100%;
  width: 32px;
  height: 32px;
  position: fixed;
  top: 50%;
  right: 0;
  margin-top: -16px;
  transform: rotate(90deg);
  z-index: 1001;
}

.lightbox__prev {
  right: auto;
  left: 0;
  transform: rotate(270deg);
}

.lightbox__close{
  border: none;
  width: 22px;
  height: 22px;
  background: url(images/cross_white.png) center center / 100% 100%;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1002;
}
.lightbox button{
  opacity: .5;
  cursor: pointer;
  transition: opacity .3s;
}
.lightbox button:hover{
  opacity: 1;
}

.lightbox__container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 50px;
  margin-right: 50px;
  min-height: 100vh;
}
.lightbox__container img{
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  animation: lightboxIn .5s;
}
.lightbox__loader{
  width: 38px;
  height: 38px;
  opacity: .5;
  background: url(images/loader.svg) center center no-repeat;
}
.lightbox__text {
  color: white;
  font-size: 1em;
}

@keyframes lightboxIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.lightbox_text {
font-size: 1em;
  font-weight: 500;
  color: #fff;
}