.justified-gallery {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.justified-gallery > a, .justified-gallery > div {
    position: absolute;
    display: inline-block;
    overflow: hidden;
}

.justified-gallery > a > img, .justified-gallery > div > img, .justified-gallery > a > a > img, .justified-gallery > div > a > img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    border: 0
}

.justified-gallery .caption {
    display: none;
    position: absolute;
    bottom: 0;
    padding: 5px 5px 5px 10px ;
    background-color: rgba(0, 0, 0, 0.85);
    left: 0;
    right: 0;
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    font-family: sans-serif
}
.justified-gallery .jg-entry:hover .caption
{
    display: inline-block;
    opacity: 1;
}


.justified-gallery > .spinner {
    position: absolute;
    bottom: 0;
    margin-left: -24px;
    padding: 10px 0;
    left: 50%;
    opacity: initial;
    filter: initial;
    overflow: initial
}

.justified-gallery > .spinner > span {
    display: inline-block;
    opacity: 0;
    filter: alpha(opacity=0);
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #000;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px
}

.content .justified-gallery img
{
    max-width: 100% !important;
    border: 0 !important;
}
.gallery-cont .item-video {
    margin-bottom: 20px;
}
.gallery-cont .item-video i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 45px;
    height: 42px;
    margin: -21px 0 0 -21px;
    display: block;
    color: rgba(255, 255, 255, 0.7);
}

#fancybox-content {
    box-sizing: content-box;
}
.clear-fix
{
    clear: both;
}