﻿.cnvs-gallery-type-justified
{
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 1.5rem;
}
.cnvs-gallery-type-justified .gallery-item
{
    display: inline-block;
    overflow: hidden;
    position: absolute;
    margin: 0;
    opacity: .1;
}
.cnvs-gallery-type-justified .gallery-item>img, .cnvs-gallery-type-justified .gallery-item>a>img
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    opacity: 0;
}
.cnvs-gallery-type-justified .gallery-item>.caption
{
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: .5rem;
    opacity: 0;
    color: #fff;
    background-color: rgba(0,0,0,.5);
    font-size: .75rem;
    -webkit-transition: .2s ease opacity;
    transition: .2s ease opacity;
}
.cnvs-gallery-type-justified .gallery-item>.caption.caption-visible
{
    opacity: 1;
}
.cnvs-gallery-type-justified>.entry-visible
{
    opacity: 1;
    background: none;
}
.cnvs-gallery-type-justified>.entry-visible>img, .cnvs-gallery-type-justified>.entry-visible>a>img
{
    opacity: 1;
}
.cnvs-gallery-type-justified>.jg-filtered
{
    display: none;
}
.cnvs-gallery-type-justified.justified-loaded:before
{
    display: none;
}
.cnvs-gallery-type-justified:before
{
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(119,119,119,.25);
    border-top-color: #777;
    border-radius: 50%;
    position: relative;
    -webkit-animation: loader-rotate 1s linear infinite;
    animation: loader-rotate 1s linear infinite;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align: center;
    content: "";
}
@-webkit-keyframes loader-rotate
{
    0%
    {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100%
    {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes loader-rotate
{
    0%
    {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100%
    {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}