/*
CSS Personnalisé pour l'affichage Masonry
*/

.masonry {
        margin: 1.5em 0;
        padding: 0;
        -moz-column-gap: 1.5em;
        -webkit-column-gap: 1.5em;
        column-gap: 1.3em;
        font-size: .85em;
    }

.item {
    display: inline-block;
    background: #fff;
    padding: 0em;
    margin: 0 0 2em;
    width: 100%;
}

.item img{
    width:100%;
    border:4px rgba(0,0,0,0.1) solid;
    border-radius: 8px;
}

.item h3{
    margin-top: 10px;
    margin-bottom: 10px;
}

.item p{
    font-size:13px;
    margin-bottom: .5em !important;
}

@media only screen and (min-width: 200px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 600px) {
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}


@media only screen and (min-width: 800px) {
    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
} 

@media only screen and (min-width: 1100px) {
    .masonry {
        -moz-column-count: 5;
        -webkit-column-count: 5;
        column-count: 5;
    }
} 



.item_ad {
    width: 300px;
}