html {
    overflow-x: hidden;
}

#galeriePhotos .ombre {
    text-transform: none;
    top: 35px;
}

/* BLOC GALERIE */

#galeriePhotos .bloc_galerie {
    position: relative;
    margin-bottom: 80px;
    height: 300px;
    cursor: pointer;
}

#galeriePhotos .bloc_galerie.type_01 {
    margin-top: 20px;
    float: left;
    width: 40%;
}

#galeriePhotos .bloc_galerie.type_02 {
    margin-top: 80px;
    float: right;
    width: 40%;
}

#galeriePhotos .bloc_galerie.type_03 {
    width: 60%;
    margin: 20px auto 80px 15%;
}

#bloc_galerie1 {
    height: 400px;
    width: 600px;
    margin: 20px auto 0 auto;
}

/* TITRE */

#galeriePhotos .titre_galeriePhotos {
    z-index: 1;
    position: absolute;
    font-family: 'Playfair Display', serif;
    color: rgba(193, 153, 71, 0.5);
    font-size: 24px;
}

#galeriePhotos .bloc_galerie.type_01 .titre_galeriePhotos {
    right: 0;
    bottom: -30px;
}

#galeriePhotos .bloc_galerie.type_02 .titre_galeriePhotos {
    left: 0;
    top: -35px;
}

#galeriePhotos .bloc_galerie.type_03 .titre_galeriePhotos, #galeriePhotos #bloc_galerie1 .titre_galeriePhotos {
    left: 0;
    bottom: -30px;
}

#galeriePhotos .bloc_galerie div {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}



/* BLOC 1 > GALERIE PHOTO 1 (ACCORDEON) */

#galeriePhotos #galerie_photos_1 {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .5);
    height: 100%;
    overflow: hidden;
    width: 100%;
    margin: auto;
}

/* BLOC 2 > GALERIE PHOTO 2 */


/* ANIMATION DEMARAGE */

@keyframes apparitionGauche {
  0% {
    opacity: 0;
   left: -500px;
  }
  100% {
    opacity: 1;
    left: 0px;
  }
}

@keyframes apparitionDroite {
  0% {
    opacity: 0;
   right: -500px;
  }
  100% {
    opacity: 1;
    right: 0px;
  }
}

#galeriePhotos .triggeredCSS3.bloc_galerie.type_01 {
    animation: apparitionGauche 1s 1 ease-out;
}

#galeriePhotos .double_bloc_galerie:last-of-type {
    justify-content: flex-end;
    position: relative;
}

#galeriePhotos .triggeredCSS3.bloc_galerie.type_02 {
    animation: apparitionDroite 1s 1 ease-out;
}

/* ANIMATION HOVER */

#galeriePhotos .scalingOnHover {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .3);
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
}

#galeriePhotos .scalingOnHoverImg {
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

#galeriePhotos .galerie_overflow {
    overflow: hidden;
    height: 100%;
    width: 100%;
}

#galeriePhotos .scalingOnHover:hover .scalingOnHoverImg,
#galeriePhotos .scalingOnHover:focus .scalingOnHoverImg {
    transform: scale(1.2);
}

#galeriePhotos .scalingOnHover:hover,
#galeriePhotos .scalingOnHover:focus {
    transform: scale(0.9);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .5);
}

/* ACCORDEON */

.accordeon {
    width: 100%;
    height: 100%;
    background-color: #C19947;
    transform: translateZ(0);
}

/* Taille des onglets fermés */

.accordeon .link {
    position: relative;
    float: left;
    width: 10%;
    height: 100%;
    color: #aaa;
    border-right: 2px solid #9b762b;
    overflow: hidden;
    cursor: pointer;
    transition: .5s ease-out;
}

.accordeon .link:last-child {
    border-right: 0;
}

/* Taille des onglets ouverts */

.accordeon .link.hovered {
    width: 60%;
    background-color: #eaeaea;
}

.accordeon .link:not(.hovered) a {
    width: 0;
    height: 0;
}

.accordeon .link.hovered .prev {
    opacity: 1;
}

.accordeon .link img {
    filter: brightness(0%);
}

.accordeon .link:not(.hovered) .full_content {
    opacity: 0.3;
}

.accordeon .link:not(.hovered) .full_content .intitule_slide {
    opacity: 0;
}

.accordeon .link .full_content {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    text-transform: uppercase;
    transition: 0.4s ease;
}
/*
.accordeon .link .full_content:hover,
.accordeon .link .full_content:focus {
    transform: scale(1.2);
}
*/
.accordeon .link .prev {
    display: inline-block;
    /*margin-top: 210px;*/
    position: absolute;
    bottom:25px;
    white-space: nowrap;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
    width: 100%;
    transform: rotate(-90deg);
    font-size: 20px;
    transition: 0.3s ease;
}

.accordeon .link .prev > span {
    display: block;
    height: 100%;
    width: 100%;
    font-size: 20px;
    transition: 0.3s ease;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.accordeon .link:hover .prev {
    filter: brightness(0%);
}

.accordeon .link.hovered .prev {
    filter: brightness(0%);
}

#galeriePhotos .intitule_slide {
    position: absolute;
    left: 25px;
    bottom: 25px;
    font-size: 20px;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
}

/* GALERIE NUMBER */

#galeriePhotos .galerie_number {
    position: absolute;
    z-index: 1;
    width: 50px;
    height: 50px;
    border-color: #C19947;
    border-bottom-width: 2px;
}

.hide_scrollbar::-webkit-scrollbar { 
    display: none; 
}

#galeriePhotos .galerie_number > p {
    position: absolute;
    font-size: 45px;
    font-weight: 800;
    color: #C19947;
    opacity: 0.7;
}

/* ON BOTTOM LEFT CORNER */

#galeriePhotos .bloc_galerie.type_01 .galerie_number {
    bottom: -20px;
    z-index: 2;
    left: 100px;
    border-left-style: solid;
    height: 80px;
}

#galeriePhotos .bloc_galerie.type_01 .galerie_number > p {
    top: 70px;
    left: -5px;
}

/* ON TOP RIGHT CORNER */

#galeriePhotos .bloc_galerie.type_02 .galerie_number, #galeriePhotos #bloc_galerie1 .galerie_number {
    top: -20px;
    right: 50px;
    border-left-style: solid;
    height: 80px;
}

#galeriePhotos .bloc_galerie.type_02 .galerie_number > p, #galeriePhotos #bloc_galerie1 .galerie_number > p {
    top: -50px;
    left: -5px;
}

/* ON RIGHT TOP CORNER */

#galeriePhotos .bloc_galerie.type_03 .galerie_number {
    top: 100px;
    right: -20px;
    border-top-style: solid;
    width: 80px;
}

#galeriePhotos .bloc_galerie.type_03 .galerie_number > p {
    top: -40px;
    right: -70px;
}

/**/

/* Code CSS Only pour le zoom image sur click */

a.lightbox {
    display: block;
    height: 100%;
}

/* Style de la Lightbox */

.lightbox-target {
    display: none;
    position: fixed;
    z-index: 5;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Style et animation du bouton fermer */

a.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    cursor: pointer;
    z-index: 98;
    border-radius: 16px;
    height: 30px;
    width: 30px;
    background-color: rgba(255,255,255,0.7);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../images/retour_catalogue.png);
}

a.lightbox-close:hover {
    background-color:rgba(255,255,255,0.9);
}

#conteneur_jssor_1 {
    position:relative;
    width:100vw;
    height:100vh;
}

/* ---------------------- @NOTE RESPONSIVE 800px */

@media (max-width: 800px) {
    
    #bandeau_galerie {
        min-height: 50vh;
        
    }

    /* ANIMATIONS */
    @keyframes apparitionGauche {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }

    @keyframes apparitionDroite {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
    
    /* GALERIE NUMBER */ 
    #galeriePhotos #galeriesBlocs .bloc_galerie .scalingOnHover .galerie_number {
        bottom: inherit;
        left: inherit;
        top: 0px;
        right: 10px;
        border-style: none;
        width: 0;
        height: 0;
    }

    #galeriePhotos #galeriesBlocs .bloc_galerie .scalingOnHover .galerie_number > p {
        width: 100px;
        text-align: right;
        top: 0;
        right: 0;
        left: inherit;
        bottom: inherit;
    }

    /* TITRE GALERIE */

    #galeriePhotos #galeriesBlocs .bloc_galerie .titre_galeriePhotos, #galeriePhotos #bloc_galerie1 .titre_galeriePhotos {
        right: inherit;
        bottom: inherit;
        top: -35px;
        left: 10px;
    }

    /* BLOC GALERIE */
    
    #bloc_galerie1 {
        margin-top: 50px;
        width: 90%;
    }

    #galeriesBlocs {
        display: flex;
        flex-flow: column;
    }

    #galeriePhotos #galeriesBlocs .bloc_galerie {
        float: inherit;
        width: 90%;
        margin: 0 auto 60px auto;
    }
    /* ACCORDEON */
    
    #galeriePhotos .bloc_galerie.acc{
        height: 500px;
    }
    #galeriePhotos .intitule_slide {
        position: absolute;
        left: 50px;
        top: 25px;
    }
    
    #galeriePhotos #galerie_photos_1 {
        width: 100%;
    }
    .accordeon .link .prev {
        /*margin-top: 0px;*/
        margin-left: 50px;
        top: 25%;
        transform: rotate(0deg);
        font-size: 25px;
    }
    .accordeon .link {
        width:100%;
        height:10%;
        display: flex;
        align-items: center;
        border-bottom: 2px solid #9b762b;
        border-right: none;
    }
    .accordeon .link:last-child {
        border-bottom: 0;
    }

    .accordeon .link.hovered {
        width: inherit;
        height: 60%;
    }
}