/* --------------
TRUCS GENERAUX
----------------- */
html {
  scrollbar-width: none;
}

body{
  font-family: Trainer;
  background-color:#ffffff;
  color: #000000;
  padding-top: 55px;
  -ms-overflow-style: none;
}


/* COULEUR SELECTION TEXTE */
::selection {  background-color:  #333;  color: #fff; }
::-moz-selection {  background-color:  #333;  color: #fff;  }
::-webkit-scrollbar {
  display: none;
}

a{
  text-decoration: none;
  color: black;
}

header{
  position: fixed;
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
}

/* bouton info: curseur doigt */
.bouton{
  cursor: pointer;
}

/* REGLAGES DU TEXTE DE HEADER */
.textesHeader{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 10px 0 10px;
  background-color: #ffffff;
}

/* CECI EST LE DEGRADE SITUE SOUS LA BARRE DE HEADER */
.degradeHeader{
  width: 100%;
  height: 15px;

  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff00', endColorstr='#00ffffff',GradientType=0 );

}


/* BLOC D'INFOS QUI APPARAIT AU CLICK */
#blocInfos{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
  padding: 70px 0 10px 0;
  text-align: center;

  z-index: 999;
  display: none;
  line-height: 1.2em;
}

.infoTailleFixe{
  max-width: 800px;
  display: block;
  margin: auto;
  height: 100%;
}

.infoFlex{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* left: 0;
  right: 0; */
  height: 100%;
  /* width: 560px; */
}

#infosMobile{
  display: none;
}

.degradeCote{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 15px;
  background: -moz-linear-gradient(left,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 29%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 29%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 29%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}

/* -------------------------
-----------------------
SLIDERS PHOTOS
-----------------------
---------------------------- */

.blocObjet{
  margin-bottom: 6px;
  cursor: url(double_arrow_cursor.svg);
}

/* .blocObjet:last-child {
  margin-bottom: 60px;
} */


/* cacher les vignettes quand une est cliquée */
.accordionButton.hideBouton {
  display:none;
  transition: 0.5s;
}

/* carroussels horizontaux */
.sliderPhotos {
  max-width: 100%;
  overflow: auto;
  overflow-y: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  /* pour rajouter la scroll bar : desactiver scrollbar width et mettre padding-bottom à 10px */
  padding-bottom: 5px;
  scrollbar-width: none;
  cursor: pointer;
}

.sliderPhotos img.photo:last-child{
  margin-right: 10px;
}

.premierePhoto{
  margin-left: 15px;
}

/* vignettes clickables */
.premierePhotoWEB{
  display: block;
  margin: auto;
  max-width: 270px;
  /* height: auto; */
  max-height: 20vh;
  cursor: pointer;
  transition: opacity 0.3s;
}

img.premierePhotoWEB:hover{
  opacity: 0.8;
}

.legende{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 1px 15px 0px 15px;
  font-size: 10pt;
}

p.date{
  text-align: right;
}

/* LES PHOTOS */
img.photo{
  margin-top: 6px;
  margin-right: 3px;
  height: 67vh;
}

/*
------------------------------------------
LIGHTBOX
------------------------------------------
*/
.lightbox {
  background: rgba(255,255,255,0.9);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  color: #fff;
  z-index: 1102;
}

.close{
  cursor: pointer;
}

.close {
  right: 0;
  top: 0;
  /* background-color: #fff; */
  position: fixed;
  width: 50px;
  height: 25px;
  z-index: 1150;
  padding: 10px;
  /* cursor: url('croix2.png'), auto; */
}

.closePhoto{
  box-sizing: border-box;
  /* padding: 5px; */
  color: #000;
  width: 100%;
  text-align: right;
  font-size: 14pt;
    z-index: 1200;
}

.prev {
  left: 0;
  top: 0;
  position: fixed;
  width: 50vw;
  height: 100vh;
  z-index: 1101;
  /* background: rgb(255,255,255);
 background: -moz-linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.3) 100%);
 background: -webkit-linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.3) 100%);
 background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.3) 100%);
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1); */
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
    cursor: url('fleche_gauche2.png'),
    w-resize;
}

.next {
  right: 0;
  top: 0;
  position: fixed;
  width: 50vw;
  height: 100vh;
  z-index: 1101;
  /* background: rgb(255,255,255);
 background: -moz-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.3) 100%);
 background: -webkit-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.3) 100%);
 background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.3) 100%);
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1); */
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
    cursor: url('fleche_droite2.png'),
    e-resize;
}

.prevPhoto{
  box-sizing: border-box;
  padding: 5px 5px 40px 5px;
  color: #000;
  font-size: 12pt;
}

.nextPhoto{
  box-sizing: border-box;
  padding: 5px 5px 40px 5px;
  color: #000;
  font-size: 12pt;
  width: 100%;
  text-align: right;
}

.next:hover {
  opacity: 1;
}

.prev:hover {
  opacity: 1;
}

.lightbox img{
  display: block;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  max-height: 95vh;
  max-width: 95vw;
}

/* @media screen and (max-height: 700px) {
  .lightbox img{
  padding: 25px 0 0 0;
}
} */

/* --------------
VERSION MOBILE
----------------- */

@media screen and (max-width: 700px) {

  body{
    font-size: 10pt;
  }

  a{
    text-decoration: underline;
  }

  .lightbox {
    background: rgba(255, 255, 255, 0.3);
  }

  .sliderPhotos {
    padding-bottom: 0;
  }

  img.photo{
    height: 35vh;
    padding: 5px 1px 5px 0;
    margin-top: 0;
    margin-right: 0;
  }

  .prevPhoto{
display: none;
  }

  .nextPhoto{
display: none;
  }

  .premierePhotoWEB{
    display: none;
  }

  #blocInfos{
    padding: 70px 20px 10px 20px;
  }

  .infoTailleFixe{
    max-width: 360px;
    width: 90vw;
    /* display: block;
    margin: auto; */
  }

  #infosWeb{
    display: none;
  }

  #infosMobile{
    display: flex;
  }

  .legende{
    padding: 0 15px 25px 15px;
    font-size: 9pt;
  }

}
