/* SOMMAIRE */
/* 1. GRID
/* 2. MASONRY
/* 3. LIGHTBOX
/* 4. DIAPO
/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
/* GALLERY GRID */
/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/

/* gallery.js | style - BEGIN */

#fvgalleryID {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: calc(100% - 340px);
  -webkit-transition: all .8s ease;
  -o-transition: all .8s ease;
  transition: all .8s ease;
}

#fvgalleryID.loading {
  -webkit-filter: blur(4px) grayscale(100%);
          filter: blur(4px) grayscale(100%);
}

#fvgalleryID .gallery-element {
  -webkit-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
}

#fvgalleryID .gallery-element.hide {
  display: none !important;
}

#gallery_filters {
  width: 340px;
  background-color: #EDEDED;
  padding: 35px 20px 20px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* gallery.js | style - END */

.hello {
  opacity: 1 !important;
}

.full {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.full .content {
  background-color: rgba(0, 0, 0, 0.75) !important;
  height: 100%;
  width: 100%;
  display: -ms-grid;
  display: grid;
}

.full .content img {
  left: 50%;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  width: initial;
}

.byebye {
  opacity: 0;
}

.byebye:hover {
  -webkit-transform: scale(0.2) !important;
      -ms-transform: scale(0.2) !important;
          transform: scale(0.2) !important;
}

.galleryG {
  display: -ms-grid !important;
  display: grid !important;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 8px;
}

.galleryG img {
  max-width: 100%;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 16px #333;
          box-shadow: 0 0 16px #333;
  -webkit-transition: all 1.5s ease;
  -o-transition: all 1.5s ease;
  transition: all 1.5s ease;
}

.galleryG img:hover {
  -webkit-box-shadow: 0 0 32px #333;
          box-shadow: 0 0 32px #333;
}

.galleryG .content {
  padding: 4px;
}

.galleryG .gallery-item {
  -webkit-transition: grid-row-start 300ms linear;
  -o-transition: grid-row-start 300ms linear;
  transition: grid-row-start 300ms linear;
  transition: grid-row-start 300ms linear, -ms-grid-row 300ms linear;
  -webkit-transition: -webkit-transform 300ms ease;
  transition: -webkit-transform 300ms ease;
  -o-transition: transform 300ms ease;
  transition: transform 300ms ease;
  transition: transform 300ms ease, -webkit-transform 300ms ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  cursor: pointer;
}

.galleryG .gallery-item:hover {
  -webkit-transform: scale(1.025);
      -ms-transform: scale(1.025);
          transform: scale(1.025);
}

@media (max-width: 600px) {
  .galleryG {
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
  }
}

@media (max-width: 400px) {
  .galleryG {
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  }
}

/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
/* GALLERY MASONRY */
/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
.galleryS ul {
  display: -ms-grid;
  display: grid;
  height: calc(100vh - 10px);
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 0.5em;
}

.galleryS>ul .layer:nth-child(6n+1) {
  -ms-grid-column-span: 2;
  grid-column: span 2;
  -ms-grid-row-span: 2;
  grid-row: span 2;
}

.galleryS>ul .layer:nth-child(2) {
  -ms-grid-column-span: 3;
  grid-column: span 3;
  -ms-grid-row-span: 3;
  grid-row: span 3;
}

.galleryS>ul .layer:nth-child(4) {
  -ms-grid-column-span: 1;
  grid-column: span 1;
  -ms-grid-row-span: 2;
  grid-row: span 2;
}

.galleryS>ul .layer>a {
  opacity: 0;
  position: absolute;
  color: #000;
  background-color: #000;
  text-shadow: 0 -1px 5px #fff, -1px 0px 5px #fff, 0 1px 5px #fff, 1px 0px 5px #fff;
  padding: 2rem;
  mix-blend-mode: difference;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 1s;
  -o-transition: all ease 1s;
  transition: all ease 1s;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
}

.galleryS>ul .layer>img {
  width: 100%;
  min-height: 100%;
  -webkit-transition: all ease 1s;
  -o-transition: all ease 1s;
  transition: all ease 1s;
  -o-object-fit: cover;
     object-fit: cover;
}

.galleryS>ul .layer:hover img {
  transform: scale(1.1);
}

.galleryS>ul .layer:hover a {
  opacity: 1;
}

.galleryS>ul .layer {
  overflow: hidden;
  position: relative;
  /* box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 20px 0 rgba(0, 0, 0, 0.19); */
}

.galleryS ul .layer,
.galleryS ul a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
}

[id^=lightbox-] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 0;
  -webkit-transition: opacity 450ms ease-in-out;
  -o-transition: opacity 450ms ease-in-out;
  transition: opacity 450ms ease-in-out;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  pointer-events: none;
  z-index: 99999;
}

[id^=lightbox-]:target {
  opacity: 1;
  pointer-events: inherit;
}

[id^=lightbox-]:target img {
  -webkit-filter: blur(0);
          filter: blur(0);
}

[id^=lightbox-] .content {
  max-width: 90%;
  position: relative;
  color: #fff;
}

[id^=lightbox-] .content:hover>a.close {
  opacity: 1;
  -webkit-transform: scale(1, 1);
      -ms-transform: scale(1, 1);
          transform: scale(1, 1);
}

[id^=lightbox-] .content:hover>.title {
  opacity: 1;
  -webkit-transform: translateY(0px);
      -ms-transform: translateY(0px);
          transform: translateY(0px);
}

[id^=lightbox-] .content:hover>.title::after {
  opacity: 1;
}

[id^=lightbox-] .content>* {
  -webkit-transition: all 450ms ease-in-out;
  -o-transition: all 450ms ease-in-out;
  transition: all 450ms ease-in-out;
}

[id^=lightbox-] .title {
  display: block;
  padding: 1em;
  position: absolute;
  bottom: 0;
  width: 90%;
  -webkit-transform: translateY(50%);
      -ms-transform: translateY(50%);
          transform: translateY(50%);
  font-size: 1.5em;
  opacity: 0;
  text-align: center;
  margin: 0 5%;
}

[id^=lightbox-] .title::after {
  content: " ";
  background-color: rgba(0, 0, 0, 0.4);
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  -webkit-transition: all 350ms ease-in-out 250ms;
  -o-transition: all 350ms ease-in-out 250ms;
  transition: all 350ms ease-in-out 250ms;
  opacity: 0;
  -webkit-transform-origin: bottom;
      -ms-transform-origin: bottom;
          transform-origin: bottom;
  mix-blend-mode: soft-light;
}

[id^=lightbox-] img {
  max-height: 80vh;
  max-width: 90%;
  margin: auto;
  padding: 0;
  -webkit-filter: blur(50px);
          filter: blur(50px);
}

[id^=lightbox-] a.close {
  width: 2em;
  height: 2em;
  position: absolute;
  right: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: scale(0, 0);
      -ms-transform: scale(0, 0);
          transform: scale(0, 0);
  opacity: 0;
  -webkit-transform-origin: right top;
      -ms-transform-origin: right top;
          transform-origin: right top;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
}

[id^=lightbox-] a.close::after {
  content: "X";
}

.galleryS .lightbox img {
  -o-object-fit: cover;
     object-fit: cover;
}

.lightArrows div {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 800;
}

.prevLight {
  left: 5%;
}

.nextLight {
  right: 5%;
}

.lightArrows a {
  color: #fff;
}

.lightArrows a::before {
  content: " ";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 13px;
  display: inline-block;
  margin-right: 10px;
  border-color: transparent transparent transparent #fff;
}

.lightArrows .prevLight a::before {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .galleryS>ul  {
    display: flex;
    flex-direction: column;
    height: auto;
  }
}

@media (max-width: 800px) {
  #instagram .galleryS ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    height: 100%;
  }
  .galleryS ul{
    grid-gap: inherit;
  }
  .galleryS>ul .layer {
    width: 100%;
    margin: 1%;
  }
  .galleryB .bloc-i{
    width: 48%;
  }
}

@media (max-width: 400px) {
  .galleryS>ul .layer {
    width: 98%;
  }
}

/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
/* GALLERY LIGHTBOX */
/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
.galleryL {
  width: 100%;
  height: 100%;
  position: relative;
  /* margin-bottom: 130vh; */
}

.galleryL .blocks {
  width: 100%;
}

.galleryL .bloc-1 {
  height: 100%;
}

.galleryL .bloc-2 {
  height: 50%;
}

.galleryL .bloc-3 {
  height: 33%;
}

.galleryL .bloc-4 {
  height: 100px;
}


.bloc-6 {
  height: 16.65%;
}

.galleryL img {
  -o-object-fit: cover;
     object-fit: cover;
  width: initial;
}

.trans {
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
}

.galleryL .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  /* height: 20vw; */
  margin-top: 5vh;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4vh;
}

.galleryL .top ul {
  list-style: none;
  width: 100%;
  height: 100%;
  z-index: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.galleryL .top ul li {
  position: relative;
  float: left;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.galleryL .top ul li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  content: '';
  color: white;
  opacity: 0.4;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  pointer-events: none;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

.galleryL .top ul li:hover::before {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.90);
}

.galleryL .top ul li img {
  width: 100% !important;
  height: 100%;
  overflow: hidden;
}

.galleryL .lightbox {
  position: fixed;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}


.galleryL .lightbox img {
  max-width: 100%;
  max-height: 80%;
  position: absolute;
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
  margin: auto;
}


.galleryL .lightbox:target {
  outline: none;
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 1.2s ease;
  -moz-transition: all 1.2s ease;
  -ms-transition: all 1.2s ease;
  -o-transition: all 1.2s ease;
  -webkit-transition: all 1.2s ease;
}

.galleryL .lightbox:target img {
  top: 10%;
  left:50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.lightboxBar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  bottom: 0;
  opacity: 1;
  width: 100%;
  height: 10%;
  text-align: center;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 999;
  opacity: 1;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.lightboxBar {
  display: none;
}

.lightboxBar>div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.lightboxBar .arrow-rite {
  width: 70px;
}

.lightboxBar .arrow-rite a {
  color: red;
}

#page .lightboxBar .arrow-rite img {
  width: 100%;
  height: 70px;
}

@media screen and (max-width: 767px) {
  .galleryL .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (min-width: 767px) and (max-width: 1023px) {

  .galleryL .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

}

@media screen and (min-width: 767px) {
  /* .galleryL {
    margin-bottom: 70vh;
  } */

  .galleryL .bloc-4 {
    height: 200px;
  }
}

/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
/* GALLERY DIAPO */
/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
.slider_focus {
  max-width: 1280px;
  margin: 2rem auto
}

.slider_focus ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 50%;
  position: relative;
  overflow: hidden;
  list-style-type: none;
  margin: 0;
}

.slider_focus ul li::before {
  content: none;
}

.slider_focus ul li a img {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: .5rem;
  height: 200px;
}

.slider_focus ul li span img {
  position: absolute;
  bottom: 0;
  left: -100%;
  opacity: 0;
  -webkit-transition: all .6s;
  -o-transition: all .6s;
  transition: all .6s;
  height: 600px;
  -o-object-fit: contain;
     object-fit: contain;

}


.slider_focus ul li:focus-within span img {
  left: 0;
  opacity: 1
}

@media screen and (max-width: 600px) {
  .slider_focus ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }

}



/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
/* GALLERY CUBE */
/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
#galleryCube {
  width: 300px;
  height: 300px;
  margin: 15% auto;
}

#galleryCube .box-area {
  -webkit-animation: animate 10s ease-in-out infinite;
  animation: animate 10s ease-in-out infinite;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: 100px 100px 0;
  -ms-transform-origin: 100px 100px 0;
  transform-origin: 100px 100px 0;
}

@-webkit-keyframes animate {

  from,
  to {
    -webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  16% {
    -webkit-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
  }

  33% {
    -webkit-transform: rotateY(-90deg) rotateZ(90deg);
    transform: rotateY(-90deg) rotateZ(90deg);
  }

  50% {
    -webkit-transform: rotateY(-180deg) rotateZ(90deg);
    transform: rotateY(-180deg) rotateZ(90deg);
  }

  66% {
    -webkit-transform: rotateY(-270deg) rotateZ(90deg);
    transform: rotateY(-270deg) rotateZ(90deg);
  }

  83% {
    -webkit-transform: rotateX(-270deg);
    transform: rotateX(-270deg);
  }

}

@keyframes animate {

  from,
  to {
    -webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  16% {
    -webkit-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
  }

  33% {
    -webkit-transform: rotateY(-90deg) rotateZ(90deg);
    transform: rotateY(-90deg) rotateZ(90deg);
  }

  50% {
    -webkit-transform: rotateY(-180deg) rotateZ(90deg);
    transform: rotateY(-180deg) rotateZ(90deg);
  }

  66% {
    -webkit-transform: rotateY(-270deg) rotateZ(90deg);
    transform: rotateY(-270deg) rotateZ(90deg);
  }

  83% {
    -webkit-transform: rotateX(-270deg);
    transform: rotateX(-270deg);
  }

}

#galleryCube .box-area div {
  position: absolute;
  width: 300px;
  height: 300px;
  line-height: 300px;
}

#galleryCube .box-area .box1 {
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(100px);
  transform: translateZ(100px);
}

#galleryCube .box-area .box2 {
  background-size: cover;
  background-position: center center;
  -webkit-transform: rotateY(90deg) translateZ(100px);
  transform: rotateY(90deg) translateZ(100px);
}

#galleryCube .box-area .box3 {
  background-size: cover;
  background-position: center center;
  -webkit-transform: rotateY(90deg) rotateX(90deg) translateZ(100px);
  transform: rotateY(90deg) rotateX(90deg) translateZ(100px);
}

#galleryCube .box-area .box4 {
  background-size: cover;
  background-position: center center;
  -webkit-transform: rotateY(180deg) rotateZ(90deg) translateZ(100px);
  transform: rotateY(180deg) rotateZ(90deg) translateZ(100px);
}

#galleryCube .box-area .box5 {
  background-size: cover;
  background-position: center center;
  -webkit-transform: rotateY(-90deg) rotateZ(90deg) translateZ(100px);
  transform: rotateY(-90deg) rotateZ(90deg) translateZ(100px);
}

#galleryCube .box-area .box6 {
  background-size: cover;
  background-position: center center;
  -webkit-transform: rotateX(-90deg) translateZ(100px);
  transform: rotateX(-90deg) translateZ(100px);
}

/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
/* GALLERY VINTAGE */
/*****************************************************************************************************/
/*****************************************************************************************************/
/*****************************************************************************************************/
#galleryV {
  position: relative;
  height: 500px;
}

#galleryV ul {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  list-style: none;
  width: 955px;
  height: 450px;
  border-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 1px 1px 3px 1px;
          box-shadow: 1px 1px 3px 1px;
  list-style-type: none;
}

#galleryV li {
  position: relative;
  width: 190px;
  height: 450px;
  float: left;
  border-left: 1px solid white;
  -webkit-transition: all 0.7s;
  -o-transition: all 0.7s;
  transition: all 0.7s;
  -webkit-box-shadow: -2px 0 10px 2px;
          box-shadow: -2px 0 10px 2px;
}

#galleryV li::before {
  content: none;
}

#galleryV ul li:first-child {
  border: none;
}

#galleryV span {
  display: block;
  position: absolute;
  bottom: 0;
  width: 50%;
  color: white;
  white-space: nowrap;
  padding: 20px;
  /* FF3.6+ */
  /* Chrome,Safari4+ */
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  /* Opera 11.10+ */
  /* IE10+ */
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.65)), to(rgba(0, 0, 0, 0)));
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=1);
  /* IE6-9 */

}

#galleryV img {
  width: 800px;
  height: 450px;
  -o-object-fit: cover;
     object-fit: cover;
}

#galleryV ul:hover li {
  width: 50px;
}


#galleryV ul li:hover {
  width: 750px;
}
/* galleries - END */
