/* 
    Created on : 23 juil. 2018, 10:16:35
    Author     : LOIC
    CSS spécifique à l'action'
*/

.masonry-grid figure {margin:0; }

.legend-hover figure{
    position:relative;
    display: inline-flex;
}
/* ================================ */
.legend-hover figure figcaption{
    position: absolute;
    display:none;
    justify-content:center;
    align-items:center;
    font-size: 0.9rem;
    font-weight: 400;
    left: auto;
    width: 100%;
    height: 0px;
    padding: 0 10px;
    color: transparent;
    background: transparent;
    transition: all 0.6s ease;
}
.legend-hover.legend-bottom figure figcaption{
    bottom: 0px;
}
.legend-hover.legend-top figure figcaption{
    top:0px;
}
.legend-hover figure:hover figcaption{
    display:flex;
    height: 60px;
    background: rgba(0,0,0,0.6);
    color: #ddd;
}
/* au-dessous */
.legend figure figcaption{
    text-align:center;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 5px 10px;
    color: #333;
}
/* raz */
figure.upgallery{
    margin:0;
}