.vc_galerie {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 43px;
}

.vc_galerie .galerie_image {
    position: relative;
    width: 25%;
    overflow: hidden;
    padding: 5px;
}

.vc_galerie .galerie_image a {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.vc_galerie .galerie_image img {
    width: 100%;
    height: auto;

    transition: transform 250ms ease-in-out;
}

.vc_galerie .image_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255, 0);
    opacity: 0;

    transition: all 150ms ease-in-out;
}

.vc_galerie .image_overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 30px;

    transition: all 150ms ease-in-out;
}

.vc_galerie .image_infos {
    position: absolute;
    bottom: 5px;
    left: 5px;

    display: flex;
    flex-wrap: wrap;

    width: calc(100% - 10px);

    background-color: rgba(255,255,255, .85);

    transition: all 150ms ease-in-out;
}

.vc_galerie .image_infos:after {
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    border-top: 10px solid transparent;
    border-right: 10px solid;
    border-bottom: 20px solid;
    border-left: 20px solid transparent;
}

.vc_galerie .image_infos h3 {
    color: #151515;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding: 5px 15px 5px 15px;
    width: calc(100% - 40px);
    text-align: left;
}

.vc_galerie .image_infos i {
    width: 32px;
    position: relative;
    padding: 5px;
    color: #fff;
    font-size: 20px;
}

.vc_galerie .image_infos i:after {
    content: "";
    position: absolute;
    border-top: 10px solid;
    border-right: 10px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid;
    right: -29px;
    top: 0;
}

.vc_galerie .image_infos.image {
    height: 30px;
}

.vc_galerie .image_infos.image::after {
    right: 32px;
}

.vc_galerie .image_infos i.fa-heart {
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.vc_galerie .image_infos i.fa-heart.active {
    font-weight: 900;
}

.vc_galerie .image_infos i.fa-heart::after {
    display: none;
}

.vc_galerie .galerie_image a:hover img {
    transform: scale(1.03);
}

.vc_galerie .galerie_image a:hover .image_overlay {
    opacity: 1;
    background-color: rgba(255,255,255, .35);
}

.vc_galerie .galerie_image a:hover .image_overlay i {
    font-size: 50px;
}

.vc_galerie .galerie_image a:hover .image_infos {
    background-color: rgba(255,255,255, 1);
}

/* Pour images 360 */
.vc_galerie .galerie_image.image360 a:before{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://chartwell.graphsynergie.com/guildwood/wp-content/uploads/sites/3/2018/08/icone_360.png);
    background-repeat: no-repeat;
    background-size: 22%;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

/* Pour images 360 */
.vc_galerie .galerie_image.image360 a:hover:before{
    opacity: 0 !important;
}


/* RESPONSIVE */

@media only screen and (max-width: 1366px) {
    .vc_galerie .galerie_image {
        width: 33.3333%;
    }
}

@media only screen and (max-width: 1024px) {
    .vc_galerie .galerie_image {
        width: 50%;
    }
}

@media only screen and (max-width: 640px) {
    .vc_galerie .galerie_image {
        width: 100%;
    }
}